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

Solved Error code 111 when trying to access server

Simbaclaws

ˁ(⦿ᴥ⦿)ˀ
Joined
Mar 15, 2016
Messages
41
Reaction score
1
Location
Netherlands
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)
CharacterList.destroyLoadBox()
local 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()​
end​
end

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:
Back
Top