Helliot1
Owner of Empire Online
- Joined
- Jul 26, 2017
- Messages
- 315
- Solutions
- 1
- Reaction score
- 60
Hello everyone,
I need change the Otclient Ip/port/version, to put it automatic. I tried a lot of things.
Client_entergame/entergame.lua
changed all this values like "host" "port"
But nothing works
When I enter the client, don't have any changes
Bump
I need change the Otclient Ip/port/version, to put it automatic. I tried a lot of things.
Client_entergame/entergame.lua
LUA:
function EnterGame.setUniqueServer(host, port, protocol, windowWidth, windowHeight)
local hostTextEdit = enterGame:getChildById('serverHostTextEdit')
hostTextEdit:setText(host)
hostTextEdit:setVisible(false)
hostTextEdit:setHeight(0)
local portTextEdit = enterGame:getChildById('serverPortTextEdit')
portTextEdit:setText(port)
portTextEdit:setVisible(false)
portTextEdit:setHeight(0)
changed all this values like "host" "port"
Code:
function EnterGame.setUniqueServer(thelastempire.servegame.com, 7117, 860)
local hostTextEdit = enterGame:getChildById('thelastempire.servegame.com')
hostTextEdit:setText(host)
hostTextEdit:setVisible(false)
hostTextEdit:setHeight(0)
local portTextEdit = enterGame:getChildById('7171)
portTextEdit:setText(port)
portTextEdit:setVisible(false)
portTextEdit:setHeight(0)
But nothing works
When I enter the client, don't have any changes
Bump
Last edited by a moderator: