habiba
New Member
thanks for Nikolas
I have an error that when i open the forgotten server it says press any button to continue and then it closed.
plz any help??
I have an error that when i open the forgotten server it says press any button to continue and then it closed.
plz any help??
Any answer for:
1 E:\Sławek\OTS\Forgotten sources\actions.cpp [Warning] `nul.gcda' is not a gcov data file
29 E:\Sławek\OTS\Forgotten sources\condition.h libxml/xmlmemory.h: No such file or directory.
127 E:\Sławek\OTS\Forgotten sources\condition.h `xmlNodePtr' does not name a type
128 E:\Sławek\OTS\Forgotten sources\condition.h `unserialize' declared as a `virtual' field
25 E:\Sławek\OTS\Forgotten sources\creature.h:31, from .\player.h from ../creature.h:31, from ../player.h
33 E:\Sławek\OTS\Forgotten sources\creatureevent.h:24, from .\creature.h In file included from ../creatureevent.h:24, from ../creature.h
39 E:\Sławek\OTS\Forgotten sources\luascript.h lauxlib.h: No such file or directory.
40 E:\Sławek\OTS\Forgotten sources\luascript.h lualib.h: No such file or directory.
287 E:\Sławek\OTS\Forgotten sources\luascript.h expected `;' before '(' token <<<<THIS I HAVE MEYBE x200.
44 E:\Sławek\OTS\Forgotten sources\baseevents.h ISO C++ forbids declaration of `p' with no type
48 E:\Sławek\OTS\Forgotten sources\tools.h expected primary-expression before "const"
64 E:\Sławek\OTS\Forgotten sources\tools.h `tokenizer' has not been declared
42 E:\Sławek\OTS\Forgotten sources\tasks.h `boost' has not been declared
81 E:\Sławek\OTS\Forgotten sources\actions.h `configureEvent' declared as a `virtual' field
128 E:\Sławek\OTS\Forgotten sources\actions.cpp At global scope:
571 E:\Sławek\OTS\Forgotten sources\actions.cpp `pushPosition' is not a member of `LuaScriptInterface'
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__CONSOLE__ -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -D__TEMPORARY_CRASH_FIX__ -Werror -O2 -c database.cpp
In file included from database.cpp:31:
databasesqlite.h:29:21: error: sqlite3.h: No such file or directory
databasesqlite.h:85: error: ISO C++ forbids declaration of âsqlite3â with no type
databasesqlite.h:85: error: expected â;â before â*â token
make: *** [database.o] Error 1
Kompilator: Default compiler
Building Makefile: "E:\Sławek\OTS\WodzislawskiOTS\sources\devcpp\Makefile.win"
Wykonywanie make...
make.exe -f "E:\Sławek\OTS\WodzislawskiOTS\sources\devcpp\Makefile.win" all
g++.exe -c ../actions.cpp -o ../actions.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/others/lua-5.1/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__RULEVIOLATIONREPORT__
In file included from ../map.h:35,
from ../game.h:29,
from ../actions.cpp:27:
../tools.h:34:31: boost/tokenizer.hpp: No such file or directory
In file included from ../map.h:35,
from ../game.h:29,
from ../actions.cpp:27:
../tools.h:35: error: `boost' has not been declared
../tools.h:35: error: expected init-declarator before '<' token
../tools.h:35: error: expected `,' or `;' before '<' token
../tools.h:64: error: `tokenizer' has not been declared
../tools.h:64: error: `iterator' was not declared in this scope
../tools.h:64: error: `it' was not declared in this scope
../tools.h:64: error: `tokenizer' has not been declared
../tools.h:64: error: `iterator' was not declared in this scope
In file included from ../game.h:36,
from ../actions.cpp:27:
../scheduler.h:24:30: boost/function.hpp: No such file or directory
../scheduler.h:25:26: boost/bind.hpp: No such file or directory
In file included from ../scheduler.h:32,
from ../game.h:36,
from ../actions.cpp:27:
../tasks.h:38: error: `boost' has not been declared
../tasks.h:38: error: expected `)' before '<' token
../tasks.h:42: error: `boost' has not been declared
../tasks.h:42: error: ISO C++ forbids declaration of `function' with no type
../tasks.h:42: error: expected `;' before '<' token
../tasks.h:44: error: `boost' has not been declared
../tasks.h:44: error: `createTask' is neither function nor member function; cannot be declared friend
../tasks.h:44: error: expected `;' before '(' token
../tasks.h: In member function `void Task::operator()()':
../tasks.h:33: error: `m_f' undeclared (first use this function)
../tasks.h:33: error: (Each undeclared identifier is reported only once for each function it appears in.)
../tasks.h: At global scope:
../tasks.h:47: error: `boost' has not been declared
../tasks.h:47: error: `createTask' declared as an `inline' variable
../tasks.h:47: error: `function' was not declared in this scope
../tasks.h:47: error: expected primary-expression before "void"
../tasks.h:47: error: expected `,' or `;' before '{' token
In file included from ../game.h:36,
from ../actions.cpp:27:
../scheduler.h:50: error: `boost' has not been declared
../scheduler.h:50: error: `function' has not been declared
../scheduler.h:50: error: expected `,' or `...' before '<' token
../scheduler.h:50: error: ISO C++ forbids declaration of `parameter' with no type
../scheduler.h:58: error: `boost' has not been declared
../scheduler.h:58: error: `function' has not been declared
../scheduler.h:58: error: expected `,' or `...' before '<' token
../scheduler.h:58: error: ISO C++ forbids declaration of `parameter' with no type
../scheduler.h: In constructor `SchedulerTask::SchedulerTask(uint32_t, int)':
../scheduler.h:50: error: `f' undeclared (first use this function)
../scheduler.h: At global scope:
../scheduler.h:61: error: `boost' has not been declared
../scheduler.h:61: error: `function' has not been declared
../scheduler.h:61: error: expected `,' or `...' before '<' token
../scheduler.h:62: error: ISO C++ forbids declaration of `parameter' with no type
../scheduler.h: In function `SchedulerTask* createSchedulerTask(uint32_t, int)':
../scheduler.h:63: error: `f' undeclared (first use this function)
In file included from ../actions.cpp:32:
../house.h:28:27: boost/regex.hpp: No such file or directory
In file included from ../actions.cpp:32:
../house.h: At global scope:
../house.h:57: error: `boost' has not been declared
../house.h:57: error: `regex' was not declared in this scope
../house.h:57: error: template argument 1 is invalid
../house.h:57: error: template argument 1 is invalid
../house.h:57: error: template argument 2 is invalid
../house.h:57: error: ISO C++ forbids declaration of `RegExList' with no type
make.exe: *** [../actions.o] Error 1
Wykonanie zakończone
Yes,you're missing a fast method.
A Tutorial how to download the sources at once:
1)Download tortoiseSVN from Here
2)After downloading, installing it. (might not be supported from your CPU so use the other version that is uploaded there.)If it asks you for restart click no.
3)Create a folder on the desktop called forgotten Sources.Right click it and select SVN checkout
4)Where it says URL of Rapository write:Tick omit externals and press ok.Code:http://forgottenserver.svn.sourceforge.net/svnroot/forgottenserver
5)Now you have all forgotten sources in the file Forgotten Sources
SVN dont download anything. Why it is so?
I Gotta say something is wrong with that tutorial and i dont recomend to use it =) and if u do so then theres a solution to fix the problem, download lith server (its based on forgotten), and inside his project add your files. and compile =)
If i would know then i would tell right?, as i said only people that got the same error as me tried for real that tutorial i posted solution Thx. bye.
Compiler: Default compiler
Building Makefile: "C:\nightmare\TFS_SVN\dev-cpp\Makefile.win"
Executing make...
make.exe -f "C:\nightmare\TFS_SVN\dev-cpp\Makefile.win" all
g++.exe -D__DEBUG__ ../account.o ../actions.o ../admin.o ../allocator.o ../ban.o ../baseevents.o ../chat.o ../combat.o ../commands.o ../condition.o ../configmanager.o ../container.o ../creature.o ../creatureevent.o ../cylinder.o ../database.o ../databasemysql.o ../databasesqlite.o ../depot.o ../exception.o ../fileloader.o ../game.o ../gui.o ../house.o ../housetile.o ../inputbox.o ../ioguild.o ../iologindata.o ../iomap.o ../iomapserialize.o ../item.o ../items.o ../logger.o ../luascript.o ../mailbox.o ../map.o ../md5.o ../monster.o ../monsters.o ../movement.o ../networkmessage.o ../npc.o ../otserv.o ../outfit.o ../player.o ../playerbox.o ../position.o ../protocol80.o ../protocol.o ../quests.o ../raids.o ../rsa.o ../scheduler.o ../scriptmanager.o ../spawn.o ../spells.o ../status.o ../talkaction.o ../tasks.o ../teleport.o ../textlogger.o ../thing.o ../tile.o ../tools.o ../trashholder.o ../vocation.o ../waitlist.o ../weapons.o nightmare_private.res -o "nightmare.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/others/boost_1_33_1/libregex" -L"C:/Dev-Cpp/others/lua-5.1/lib" -mwindows C:/Dev-Cpp/lib/libxml2.lib C:/Dev-Cpp/lib/lua5.1.dll -lmysql -lwsock32 -lgmp -lsqlite3 -lregex -s -lgmon -pg -g3
g++.exe: C:/Dev-Cpp/lib/lua5.1.dll: No such file or directory
make.exe: *** [nightmare.exe] Error 1
Execution terminated