Simbaclaws
ˁ(⦿ᴥ⦿)ˀ
My server seems to be running and seems to be working. I can login to the server but as soon as I select my character and press OK I get the following message:
Connection refused, the server might be offline or restarting.
Please try again later. (ERROR 111)
Which I find odd because I can login to it :/
Does anyone know what the error code actually means?
EDIT: I'm looking at the following code from characterlist.lua:
function onGameConnectionError(message, code)
Can I somehow debug lua code so I can check what the values are for getProtocolGame() and isConnecting()?
EDIT2: I forgot to set my ip to be my global ip in config.lua so everyone could access it. Changed it and it works now
Connection refused, the server might be offline or restarting.
Please try again later. (ERROR 111)
Which I find odd because I can login to it :/
Does anyone know what the error code actually means?
EDIT: I'm looking at the following code from characterlist.lua:
function onGameConnectionError(message, code)
CharacterList.destroyLoadBox()
local text = translateNetworkError(code, g_game.getProtocolGame() and g_game.getProtocolGame():isConnecting(), message)
errorBox = displayErrorBox(tr("Connection Error"), text)
errorBox.onOk = function()
endlocal text = translateNetworkError(code, g_game.getProtocolGame() and g_game.getProtocolGame():isConnecting(), message)
errorBox = displayErrorBox(tr("Connection Error"), text)
errorBox.onOk = function()
errorBox = nil
CharacterList.showAgain()
endCharacterList.showAgain()
Can I somehow debug lua code so I can check what the values are for getProtocolGame() and isConnecting()?
EDIT2: I forgot to set my ip to be my global ip in config.lua so everyone could access it. Changed it and it works now
Last edited: