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

TFS 1.X+ Cant compile tfs

Szmycu

Tibiaservers.net
Joined
Sep 2, 2008
Messages
65
Reaction score
5
Location
Poland
Could someone tell me how to compile tfs 1.2 for 8.0
I got ubuntu 20.04
I have tried this celohere/forgottenserver (https://github.com/celohere/forgottenserver)

Lua:
/home/otsmanager/forgottenserver/src/database.cpp: In member function ‘bool Database::connect()’:
/home/otsmanager/forgottenserver/src/database.cpp:52:2: error: ‘my_bool’ was not declared in this scope; did you
 mean ‘bool’?
   52 |  my_bool reconnect = true;
      |  ^~~~~~~
      |  bool
/home/otsmanager/forgottenserver/src/database.cpp:53:46: error: ‘reconnect’ was not declared in this scope; did
you mean ‘connect’?
   53 |  mysql_options(handle, MYSQL_OPT_RECONNECT, &reconnect);
      |                                              ^~~~~~~~~
      |                                              connect
make[2]: *** [CMakeFiles/tfs.dir/build.make:287: CMakeFiles/tfs.dir/src/database.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:16

I have tried several version on servers and cant compile it.
forgottenserver-8.0 (http://www.mediafire.com/file/918b37nohagk5bg/forgottenserver-8.0.rar/file)
this for example
this

Could someone tell me what I have to install to compile it or what OS should I have?
Maybe someone got compiled tfs 1.2 for 8.0 or for 8.6
 
Could someone tell me how to compile tfs 1.2 for 8.0
I got ubuntu 20.04
I have tried this celohere/forgottenserver (https://github.com/celohere/forgottenserver)

Lua:
/home/otsmanager/forgottenserver/src/database.cpp: In member function ‘bool Database::connect()’:
/home/otsmanager/forgottenserver/src/database.cpp:52:2: error: ‘my_bool’ was not declared in this scope; did you
mean ‘bool’?
   52 |  my_bool reconnect = true;
      |  ^~~~~~~
      |  bool
/home/otsmanager/forgottenserver/src/database.cpp:53:46: error: ‘reconnect’ was not declared in this scope; did
you mean ‘connect’?
   53 |  mysql_options(handle, MYSQL_OPT_RECONNECT, &reconnect);
      |                                              ^~~~~~~~~
      |                                              connect
make[2]: *** [CMakeFiles/tfs.dir/build.make:287: CMakeFiles/tfs.dir/src/database.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:16

I have tried several version on servers and cant compile it.
forgottenserver-8.0 (http://www.mediafire.com/file/918b37nohagk5bg/forgottenserver-8.0.rar/file)
this for example
this

Could someone tell me what I have to install to compile it or what OS should I have?
Maybe someone got compiled tfs 1.2 for 8.0 or for 8.6

just try change that "my_bool" to bool ;o
 
Back
Top