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

[7.7] RealOTS Login Server

Yamaken

Pro OpenTibia Developer
Joined
Jul 27, 2013
Messages
534
Solutions
4
Reaction score
431
Well i did develop a login server for the real ots cipsoft engine. It had a opentibia based login server that was really badly written and it was a mistake to continue to use such thing.

About the realots and the cipsoft engine, it was a work by Toor, Simone and i think even Remeres/hjnilsson was involved somehow. Few users here on OTland got the whole Cipsoft "datapack" and binaries and they own the right to release it or just keep it private. Be ware that realots is not that relevant today, but its fun to know how the opentibia engine was based on that. IMO it should be release for the community.

For the sake of study or whatever you want to do with this:

https://github.com/HeavenIsLost/realotsloginserver

Another detail, its using the old cipsoft rsa private key. It will work with 7.7 client, 7.72 got another public key and you should change it to opentibia rsa public key and in the login server you should use the private opentibia rsa key.

@Ezzz
 
Really nice work. I've always wanted to strip away the game server code from the login server but never got around to do so (and since it worked, I didn't care too much).
 
Really nice work. I've always wanted to strip away the game server code from the login server but never got around to do so (and since it worked, I didn't care too much).
Thanks. The old opentibia login server was really mess. I even added status protocol support but i did not test it.
 
Yamaken, you can upload one compiled version for linux? Thanks
 
Add this to terminal :
Code:
sudo apt-get update

Then add this to the terminal:
Code:
sudo apt-get install cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libpugixml-dev

Then go to the folder of the login in terminal mostly this way :
Code:
cd /home/USERNAME/loginserver

If you arrived at the loginserver files create a folder named build and move to that directory like this :
Code:
sudo mkdir build && cd build

Inside the build directory put this in terminal :
Code:
cmake ..

If thats done enter this in terminal :
Code:
make
 
Add this to terminal :
Code:
sudo apt-get update

Then add this to the terminal:
Code:
sudo apt-get install cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libpugixml-dev

Then go to the folder of the login in terminal mostly this way :
Code:
cd /home/USERNAME/loginserver

If you arrived at the loginserver files create a folder named build and move to that directory like this :
Code:
sudo mkdir build && cd build

Inside the build directory put this in terminal :
Code:
cmake ..

If thats done enter this in terminal :
Code:
make


you're awesome. got it all running. now it says Account number and pass arent correct after i select a character =/
im sure its something trivial.
 
Can someone tell me what I have to install so I can build the login server?
I'm using Centos 7

Code:
[root@localhost build]# cd /home/realotsloginserver/realotsloginserver-master
[root@localhost realotsloginserver-master]# mkdir build && cd build
[root@localhost build]# cmake ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- cotire 1.6.9 loaded.
-- Performing Test COMPILER_KNOWS_CXX11
-- Performing Test COMPILER_KNOWS_CXX11 - Success
-- Performing Test COMPILER_KNOWS_STDLIB
-- Performing Test COMPILER_KNOWS_STDLIB - Failed
-- Found GMP: /usr/include
-- MySQL Include dir: /usr/include/mysql library dir: /lib64/mysql
-- MySQL client libraries: mysqlclient
-- Could NOT find LuaJIT (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Lua (missing: LUA_INCLUDE_DIR)
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- system
-- CXX target tfls cotired without unity build.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LUA_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/realotsloginserver/realotsloginserver-master
used as include directory in directory /home/realotsloginserver/realotsloginserver-master
used as include directory in directory /home/realotsloginserver/realotsloginserver-master
used as include directory in directory /home/realotsloginserver/realotsloginserver-master

-- Configuring incomplete, errors occurred!


Can someone help me?
 
Now this occured when I tried to start the loginserver:

Code:
>> Loading config
>> Loading gameserver config...
>> Establishing database connection...
MySQL Error Message: Can't connect to local MySQL server through socket '' (111)
> ERROR: Failed to connect to database.
>> No services running. The server is NOT online.
 
Now this occured when I tried to start the loginserver:

Code:
>> Loading config
>> Loading gameserver config...
>> Establishing database connection...
MySQL Error Message: Can't connect to local MySQL server through socket '' (111)
> ERROR: Failed to connect to database.
>> No services running. The server is NOT online.
The error message literally tells you what is wrong, what is the problem?
 
Are the files contained on this git all from the real source? Because as far as I am concerned, the virgin files are all compiled already. How did you get the sources itself?
 
Are the files contained on this git all from the real source? Because as far as I am concerned, the virgin files are all compiled already. How did you get the sources itself?
It's not the cipsoft loginserver.
 
da968edfb2.png


Why can't I download the query and DBScheme from OTlandCloud? Could anybody download these 2 for me and upload them elsewhere? It's 2 very small files.
 
Back
Top