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

OTClient Trying to setup single server & protocol

kuhi

Premium User
Premium User
Joined
Aug 26, 2012
Messages
200
Solutions
1
Reaction score
82
Location
x64dbg
GitHub
Kuhicop
Hello, I'm having some troubles setting up this mod: Single server & protocol MOD

I'm downloading the MOD files and copying to modules\client_entergame
36851

Then I copy the server.otmod file to mods folder
36852

My server.otmod file:
Code:
Module
  name: addon_server
  description: Single server and protocol
  author: Fabricio Damazio


  autoload: true
  autoload-priority: 1000

  dependencies:
    -client_entergame

  @onLoad: |
    EnterGame.setUniqueServer("54.38.166.10", 7171, 772)

Also tested by going to modules\client_entergame\entergame.lua
Adding this line:
Code:
EnterGame.setUniqueServer("54.38.166.10", 7171, 772)
Above this one:
Code:
enterGame:hide()

Getting this error:
36853
 
Bring back origin files, delete file from mods and then

Also tested by going to modules\client_entergame\entergame.lua
Adding this line:
Code:
EnterGame.setUniqueServer("54.38.166.10", 7171, 772)
Above this one:
Code:
enterGame:hide()
It works perfectly for me.
 
Bring back origin files, delete file from mods and then


It works perfectly for me.

So I restored the original OTClient modules\client_entergame
36854


Edited the EnterGame.init() function in modules\client_entergame\entergame.lua
Code:
  EnterGame.setUniqueServer("54.38.166.10", 7171, 772)
  enterGame:hide()

The GUI changed:
36857

Then worked, I was mixing this with that post mod, so I see no mod is need, just adding that line of code to the original files

Thanks! :)
 
Last edited:
No idea why it is not working. Maybe try adding this?
Code:
EnterGame.setDefaultServer("54.38.166.10", 7171, 772)
Before enterGame:hide()
 
No idea why it is not working. Maybe try adding this?
Code:
EnterGame.setDefaultServer("54.38.166.10", 7171, 772)
Before enterGame:hide()
Yea just edited the post it's fixed :) thank you bro <3
 
Back
Top