• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

The Forgotten Dev-Cpp v2.6!

Status
Not open for further replies.
I've compiled it without any problem, but now I have no idea where it ended up :S :p can someone tell me where the folder with the compiled things end up?
 
Should be same place as .dev file.
 
I've compiled it without any problem, but now I have no idea where it ended up :S :p can someone tell me where the folder with the compiled things end up?

Should be in the source folder, else check in Dev-CPP in Project Options, it tells you there.
 
I've compiled the latest sources with the lates tfsdev-cpp and I had some errors :S

This apear on the window GUI:
>> All modules has been loaded, server starting up...
>> Forgotten Server Online!

Account Manager has logged in.
> Broadcasted message: "New record: 1 players are logged in.".
removing creature
Account Manager has logged out.
Account Manager has logged in.
removing creature
Account Manager has logged out.
Account Manager has logged in.
removing creature
Account Manager has logged out.
Devokz has logged in.
distance: 10, ticks: 62
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 16
Devokz, addContainer: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 8, ticks: 32
distance: 8, ticks: 16
distance: 9, ticks: 0
distance: 0, ticks: 78
distance: 1, ticks: 16
distance: 1, ticks: 0
distance: 1, ticks: 31
distance: 0, ticks: 94
distance: 0, ticks: 32
distance: 0, ticks: 47
distance: 10, ticks: 16
distance: 9, ticks: 0
distance: 8, ticks: 15
distance: 10, ticks: 31
distance: 10, ticks: 31
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
Devokz, closeContainer: 0
Devokz, closeContainer: 0
Devokz, addContainer: 0
Delaying Devokz --- 611
Delaying Devokz --- 392
Delaying Devokz --- 282
Delaying Devokz --- 157
Delaying Devokz --- 48
distance: 10, ticks: 0
distance: 10, ticks: 0
distance: 9, ticks: 0
distance: 9, ticks: 0
distance: 10, ticks: 0
distance: 10, ticks: 0
removing creature
Devokz has logged out.
 
It's because you compiled with debug.
 
apers this erro with the last source

windres.exe -i TheForgottenServer_private.rc --input-format=rc -o TheForgottenServer_private.res -O coff

g++.exe 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 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 protocol.o protocol80.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 waitlist.o weapons.o vocation.o game.o TheForgottenServer_private.res -o "TheForgottenServer.exe" -L"C:/Dev-Cpp/lib" -mwindows -lgmp -lluasql-mysql -lluasql-sqlite3 -llua5.1 -lmysql -lregex -lsqlite3 -lwsock32 -lxml2 -lmysql -s

game.o(.text+0x146b7):game.cpp: undefined reference to `Game::getSkillName(unsigned short)'
game.o(.text+0x186ef):game.cpp: undefined reference to `Game::getReason(int)'
game.o(.text+0x18745):game.cpp: undefined reference to `Game::getAction(int, bool)'
collect2: ld returned 1 exit status

make.exe: *** [TheForgottenServer.exe] Error 1

Execução terminada
 
i need the link to pack of C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: lpthread


-lpthread


pls post the link
 
ok for some reason when i try to run the program ti jsut says there is an error and closes. can someone help? :S

EDIT: ok it runs now :)
 
Last edited:
i folowed Nikolas tutorial line by line using this but at the end i get this error:

C:\Documents and Settings\Proprietário\Ambiente de trabalho\bla\Forgotten Sources 303\project\Makefile.win [Build Error] [ForgottenServer.exe] Error 1

Why???
 
Status
Not open for further replies.
Back
Top