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

[MOD] Single server and protocol

Fabri

The God Fabri
Joined
Dec 17, 2010
Messages
145
Reaction score
16
The single server and protocol MOD

This mod replace the original "entergame" module don't let the players to change the server and protocol that you choose.

Developed by

License

Licensed under MIT.

How to install

Copy to entire folder to "mods"folder.

How to configure

Just change the IP, PORT and PROTOCOL in this line on the "server.otmod" file:

Code:
EnterGame.setUniqueServer("192.192.58.192", 7171, 973)

Showcase

showcase.png

Download
 

Attachments

  • client_entergame.zip
    8 KB · Views: 1,602 · VirusTotal
Excellent, it will be very used :D
 
I just made it because i saw a lot of newcomers asking how to do it
 
Very useful!

Is there any tip to prevent the use of ipchanger on the server?

Maybe this question is not well placed here. Sorry

- - - Updated - - -

Emm... The mod doesnt work :/

The mod show inactive in the mods list. :(
 
it works and i'm using right now.

What version of otclient are you guys using?

And you don't need load this module. Just replace the original entergame module. You dont need do anything.
 
I'm using a 960 version.

If replace the original entergame module, the client show this:
jq7e.png


Look the world rare icon.
 
Looking to your screen i'm sure you are doing something wrong.

Delete you client_entergame folder. Then copy the new module to MODS folder. It can be easier.

I tested on 9.60 and its fine.
 
Well.. The form shows nice. The problem was the clientVersion.

But not work.

Show messagebox "Please Wait, connecting to login server..." and never login into a game :/

The information on server.otmod its correct.
 
Last edited:
Well.. The form shows nice. The problem was the clientVersion.

But not work.

Show messagebox "Please Wait, connecting to login server..." and never login into a game :/

The information on server.otmod its correct.

Without the mod can you login?

- - - Updated - - -

Well.. The form shows nice. The problem was the clientVersion.

But not work.

Show messagebox "Please Wait, connecting to login server..." and never login into a game :/

The information on server.otmod its correct.

Without the mod can you login?
 
any idea? :(

- - - Updated - - -

FIXED!!!

I commented with "--" the lines 38, 53 & 54 in the entergame.lua

Now this:
Lua:
local function onCharacterList(protocol, characters, account, otui)
  -- Try add server to the server list
  --ServerList.add(G.host, G.port, g_game.getProtocolVersion())

  if enterGame:getChildById('rememberPasswordBox'):isChecked() then
    local account = g_crypt.encrypt(G.account)
    local password = g_crypt.encrypt(G.password)

    g_settings.set('account', account)
    g_settings.set('password', password)

    ServerList.setServerAccount(G.host, account)
    ServerList.setServerPassword(G.host, password)

    g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())
  else
    -- reset server list account/password
   -- ServerList.setServerAccount(G.host, '')
  --  ServerList.setServerPassword(G.host, '')
 
Last edited:
Yo no

um....

any idea? :(

- - - Updated - - -

FIXED!!!

I commented with "--" the lines 38, 53 & 54 in the entergame.lua

Now this:
Lua:
local function onCharacterList(protocol, characters, account, otui)
  -- Try add server to the server list
  --ServerList.add(G.host, G.port, g_game.getProtocolVersion())

  if enterGame:getChildById('rememberPasswordBox'):isChecked() then
    local account = g_crypt.encrypt(G.account)
    local password = g_crypt.encrypt(G.password)

    g_settings.set('account', account)
    g_settings.set('password', password)

    ServerList.setServerAccount(G.host, account)
    ServerList.setServerPassword(G.host, password)

    g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())
  else
    -- reset server list account/password
   -- ServerList.setServerAccount(G.host, '')
  --  ServerList.setServerPassword(G.host, '')
 
I placed the mod on the MODS folder, 854 client but when i open OTClient Nothing shows to log in...
 
I removed the 'client_entergame' folder inside 'modules' and added the download able one into 'Mods' folder, it all works perfect unless im trying to login. Then it only says 'Connecting to login server...' and nothing happens, any idea?
 
Maybe its the protocol version. I think 8.x version need some changes.
 
Bit of a necro post but im using otclient 0.5.5 trying to get this to work for protocol 854 when i load this up n change it it just doesnt show the login window at all. Ideas?
 
Back
Top