• 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!

Compiling Compiling The Forgotten Server latest source code - Last Update: 02/12/2010

Remove these files:
* main.cpp
* databaseodbc.cpp
* databaseodbc.h
* databasepgsql.cpp
* databasepgsql.h
 
rab7er.jpg


I Entered the correct svn link :/

help
 
Any clue why I get a Windows - No Disk error (Exception Processing Message 0xc0000013) when I try to rebuild/compile/alt-p on Winblows Vista?

I haven't checked around due to lack of time, but in case it's common..

Thanks.
 
Any clue why I get a Windows - No Disk error (Exception Processing Message 0xc0000013) when I try to rebuild/compile/alt-p on Winblows Vista?

I haven't checked around due to lack of time, but in case it's common..

Thanks.

Run as admin and try again, I don't use Vista
 
# databaseodbc.cpp
# databaseodbc.h
# databasepgsql.cpp
# databasepgsql.h

ain't used on TFS 0.2.5 at least.

Thanks for the tutorial. This is definitely my favourite tutorial when I need to change simple things on the sources. Been using it a while and its still the best. :)
 
# databaseodbc.cpp
# databaseodbc.h
# databasepgsql.cpp
# databasepgsql.h

ain't used on TFS 0.2.5 at least.

Thanks for the tutorial. This is definitely my favourite tutorial when I need to change simple things on the sources. Been using it a while and its still the best. :)

Thanks :) I added a little pointer about these files so now it might be more clear :p
 
expensive-optimizations -O1

../player.cpp:4694: error: expected unqualified-id before "if"

make.exe: *** [obj//player.o] Error 1

I am getting this error while i try to compile my ot. To notice - i didn't touch this file. I tried too implement Elbot antidebuger. What can be wrong?
 
expensive-optimizations -O1

../player.cpp:4694: error: expected unqualified-id before "if"

make.exe: *** [obj//player.o] Error 1

I am getting this error while i try to compile my ot. To notice - i didn't touch this file. I tried too implement Elbot antidebuger. What can be wrong?

Can I see the code?
 
#ifdef __UCB_DDOS_PROTECTION__
if(skillLoss && g_game.isOutSideWorldResponding()){
#else
if(skillLoss){
#endif

#ifdef __UCB_DDOS_PROTECTION__
if( g_game.isOutSideWorldResponding() ){
experience -= getLostExperience();
}
#else

It is showing this where green color.

EDIT

Done it under Windows Xp. Vista suck..;/
 
Last edited:
Code:
  [Resource error] can't open icon file `TheForgottenServer.ico': No such file or directory 
 C:\Documents and Settings\Froxen\Desktop\0.3.5pl1\Project\Makefile.win [Build Error]  [Project1_private.res] Error 1

nvm
 
Code:
  [Resource error] can't open icon file `TheForgottenServer.ico': No such file or directory 
 C:\Documents and Settings\Froxen\Desktop\0.3.5pl1\Project\Makefile.win [Build Error]  [Project1_private.res] Error 1

when compiling.. ?

Move TheForgottenServer.ico file in the Dev-Cpp folder which is inside the sources folder.
 
Move TheForgottenServer.ico file in the Dev-Cpp folder which is inside the sources folder.

Okay, well now it worked. Done everything like you said in the tutorial, I get the exe file, but when trying to start it it just doesn't start. Loads like half second then nothing more happens..

No errors
 
Okay, well now it worked. Done everything like you said in the tutorial, I get the exe file, but when trying to start it it just doesn't start. Loads like half second then nothing more happens..

No errors

Did you remove "main.cpp" file?
 
Back
Top