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

Lua Otclient - forcing people to use

giddy92

New Member
Joined
Aug 8, 2014
Messages
69
Reaction score
0
It is possible, to force people to use only OtClient?

I want disable possible to login with normal client + ip changer.

I have TFS 1.0 and client 10.31
 
well you could add some custom items in the game so when u use normal client it would make a debug.
 
protocolgame.cpp
search for:
Code:
#define dispatchDisconnectClient(err) g_dispatcher.addTask(createTask(std::bind(&ProtocolGame::disconnectClient, this, err)))
add this:
Code:
if (operatingSystem < CLIENTOS_OTCLIENT_LINUX) {
     dispatchDisconnectClient("You can only connect with OTClient.");
     return;
}
 
Back
Top