• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling TheOTXServer Tibia 7.4

Boor

New Member
Joined
Jun 4, 2017
Messages
26
Reaction score
4
How to compile this server wether on WSL Ubutu or Windows?

I tried lots of suggestive steps but none seemed to achieve a result, thanks
 
How to compile this server wether on WSL Ubutu or Windows?

I tried lots of suggestive steps but none seemed to achieve a result, thanks
Can you link source files github/otland thread? If it's old engine, it will probably need multiple fixes from my thread:
to make it compile on modern Linux like Ubuntu 22.04.
 
Can you link source files github/otland thread? If it's old engine, it will probably need multiple fixes from my thread:
to make it compile on modern Linux like Ubuntu 22.04.
It was taken from a Brazilian video on Youtube. Can you confirm if it is your mentioned methodology as:
 
Last edited:
After messing with compilation process again i face this issue as the version of server is: : The SoftCores Version: (1.0.X.S - 4) - Codename: (LORD ZEDD), how to fix these family of errors as i shortened the total errors as they are similar
Rebuild started at 12:25 PM...
1>------ Rebuild All started: Project: TheOTXServer, Configuration: Release x64 ------
1>otpch.cpp
1>actions.cpp
1>baseevents.cpp
1>beds.cpp
1>chat.cpp
1>combat.cpp
1>condition.cpp
1>configmanager.cpp
1>connection.cpp
1>container.cpp
1>creature.cpp
1>creatureevent.cpp
1>cylinder.cpp
1>database.cpp
1>databasemanager.cpp
1>databasemysql.cpp
1>databasemysqlpp.cpp
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\house.h(26,10): error C1083: Cannot open include file: 'boost/tr1/unordered_set.hpp': No such file or directory
1>(compiling source file '/configmanager.cpp')
1>databasepgsql.cpp
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\connection.h(68,17): error C2039: 'io_service': is not a member of 'boost::asio'
1>(compiling source file '/connection.cpp')
1> C:\vcpkg\installed\x64-windows\include\boost\asio\impl\write_at.hpp(35,11):
1> see declaration of 'boost::asio'
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\connection.h(68,17): error C2061: syntax error: identifier 'io_service'
1>(compiling source file '/connection.cpp')
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\databasemysql.h(27,10): error C1083: Cannot open include file: 'mysql.h': No such file or directory
1>(compiling source file '/databasemysql.cpp')

1>iologindata.cpp
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\connection.h(108,65): error C2039: 'io_service': is not a member of 'boost::asio'
1>(compiling source file '/chat.cpp')
1> C:\vcpkg\installed\x64-windows\include\boost\asio\impl\write_at.hpp(35,11):
1> see declaration of 'boost::asio'
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\connection.h(108,65): error C2061: syntax error: identifier 'io_service'
1>(compiling source file '/chat.cpp')

1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\server.h(97,48): error C2065: 'm_io_service': undeclared identifier
1>(compiling source file '/waitlist.cpp')
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\server.h(97,21): error C2614: 'ServiceManager': illegal member initialization: 'm_io_service' is not a base or member
1>(compiling source file '/waitlist.cpp')
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\server.h(110,15): error C2065: 'm_io_service': undeclared identifier
1>(compiling source file '/waitlist.cpp')
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\server.h(97,48): error C2065: 'm_io_service': undeclared identifier
1>(compiling source file '/weapons.cpp')
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\server.h(97,21): error C2614: 'ServiceManager': illegal member initialization: 'm_io_service' is not a base or member
1>(compiling source file '/weapons.cpp')
1>C:\Users\Kevin\Desktop\Darkera Game Development\Darkera\Darkera Server\sources\server.h(110,15): error C2065: 'm_io_service': undeclared identifier
1>(compiling source file '/weapons.cpp')
1>Done building project "TheOTXServer.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
========== Rebuild completed at 12:25 PM and took 07.498 seconds ==========
 
how to fix these family of errors as i shortened the total errors as they are similar
Again: you can't tell us some random name of server like The SoftCores Version: (1.0.X.S - 4) - Codename: (LORD ZEDD). Link github/otland post or .zip/.rar with server files, so we can check how compilation in your files work.

What commands do you use to compile server?
Code:
sh autogen.sh
./configure --enable-mysql --disable-dependency-tracking
sh build.sh
or something else?

About errors:
Code:
 error C2039: 'io_service': is not a member of 'boost::asio'
IDK, maybe use older Ubuntu like 20.04 to get older boost::asio lib.
Code:
Cannot open include file: 'boost/tr1/unordered_set.hpp':
It looks like error no 1 from my tutorial ( [C++/Linux] Compiling old engine (sources) on Debian 10 / Ubuntu 20.04 (https://otland.net/threads/c-linux-compiling-old-engine-sources-on-debian-10-ubuntu-20-04.274654/) ), but somehow not detected on './configure' step (which checks, if all C++ libraries are installed), so it failed on compilation.
Code:
Cannot open include file: 'mysql.h':
Missing library in Linux or you did not run `./configure', so it did not detect C++ libraries in your Linux and use them during compilation.

Rest is related to previous errors or code is really bugged and use undefined variable (maybe use invalid variable name).
 
Again: you can't tell us some random name of server like The SoftCores Version: (1.0.X.S - 4) - Codename: (LORD ZEDD). Link github/otland post or .zip/.rar with server files, so we can check how compilation in your files work.

What commands do you use to compile server?
Code:
sh autogen.sh
./configure --enable-mysql --disable-dependency-tracking
sh build.sh
or something else?

About errors:
Code:
 error C2039: 'io_service': is not a member of 'boost::asio'
IDK, maybe use older Ubuntu like 20.04 to get older boost::asio lib.
Code:
Cannot open include file: 'boost/tr1/unordered_set.hpp':
It looks like error no 1 from my tutorial ( [C++/Linux] Compiling old engine (sources) on Debian 10 / Ubuntu 20.04 (https://otland.net/threads/c-linux-compiling-old-engine-sources-on-debian-10-ubuntu-20-04.274654/) ), but somehow not detected on './configure' step (which checks, if all C++ libraries are installed), so it failed on compilation.
Code:
Cannot open include file: 'mysql.h':
Missing library in Linux or you did not run `./configure', so it did not detect C++ libraries in your Linux and use them during compilation.

Rest is related to previous errors or code is really bugged and use undefined variable (maybe use invalid variable name).
I'm trying to compile on Windows.


This is the server, please check for me and teach me how to compile, i spent already 7 days trying, for hours
 
I'm trying to compile on Windows.


This is the server, please check for me and teach me how to compile, i spent already 7 days trying, for hours
ok you can compile with the current version of Ubuntu, but you will have to edit the project to recent logic, as they use some old variables or as it says (deprecated), but this has already changed, so when you use the new version of boost you must change this variable, as the Boost-asio object is wrong no longer ::io_service is ::io_context.

I could help you but if you upload this project to github because there you will be able to understand where made the changes to be more transparent, i dont like downloading things that are not from github.
 
Last edited:
ok you can compile with the current version of Ubuntu, but you will have to edit the project to recent logic, as they use some old variables or as it says (deprecated), but this has already changed, so when you use the new version of boost you must change this variable, as the Boost-asio object is wrong no longer ::io_service is ::io_context.

I could help you but if you upload this project to github because there you will be able to understand where made the changes to be more transparent, i dont like downloading things that are not from github.
Check this:

 
Up, anyone can help me?

Hello, I know how to compile normal OTX and OTX X.s in Windows. Unfortunately, I can't post a link to the tutorial because it's a link from another forum. If you write me privately, I'll send it to you. I only speak Spanish.
 
Back
Top