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

Your connection has been lost.

diegortw

Member
Joined
Oct 10, 2014
Messages
68
Reaction score
9
My server is based on Yurots...

When I try to login I get the following message:

Your connection has been lost.
Either your network or the server went down. (ERROR 2)

But when I type in the console (ctrl + t): g_game.setCustomOs(2)
With the command everything works perfectly...

Source my server:
http://divinity-ots.googlecode.com/svn/tags/YurOTS/7.6/YurOTS 0.9.4F/ots/source/

What should I change the source to function without command g_game.setCustomOs(2) ?

And my otserv not support RSA Key....

Thank you a lot!
 
Last edited:
Solved!

I changed the file game.cpp

Open game.cpp and search:
Code:
m_clientCustomOs = -1;

Replace by:
Code:
m_clientCustomOs = 2;

Compile your otclient and works!
 
It is no otclient issue, your server is just poorly coded.
You should rather fix the server side.
 

Similar threads

Back
Top