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

Windows Cannt set my Tibia OT Server Online

Blysco

New Member
Joined
Oct 12, 2013
Messages
163
Reaction score
2
After i did this all ! more than 5 Times
5.Portforwarding,URL Redirect & Online Hosting

-Now make your redirect URL - No-IP - Dynamic DNS, Static DNS for Your Dynamic IP - You need to have an accoun there [if you have it's fine,if you don't have create one]
-After creating an account,login on your account - Click on "ADD HOST"

-Write your desired hostname [i will name it mysqltutorial.no-ip.org]
-Choose Host Type : DNS Host (A)
-Write your IP Adress [if you don't know your ip adress visit What Is My IP Address - Shows Your IP Address
-Click "Create Host"
-We are done with creating the hostname - Download the DYNAMIC DNS UPDATE CLIENT to keep your hostname updated with the last changed IP address
-Now we got to portforward - little tutorial:
#1 - go to: PortForward.com - Port Forwarding Guides Listed by Manufacturer and Model
#2 - select your router.
#3 - select the game.
#4 - follow the instructions
-After finishing this go to your config.lua and find this:
Lua:
Connection Config
ip = "127.0.0.1"
port = 7171
Change
Lua:
ip = "127.0.0.1"
to
Lua:
ip = "mysqltutorial.no-ip.org"
[or whatever hostname you created]


My Friend cannt connect to my Server.
So now i want to hear some solutions from you.


This Error "warning: mysql lost connection" come sometimes but the Server start anyway.
I cannt write more because their are no other Errors.
Ty for help
 
I think i forgott to Forwarded port 8080 hmmm...
I will retry it soon.
If it still dont work i will paste here my Config.Lua
 
If he is in his own house as in not on your lan network then:

1. Go to http://www.whatismyip.com/
2. Change ip = "127.0.0.1" to what ever your displayed IP adress is on that website
3. Forwed all ports explained above
4. Put the IP from whatsmyip in the OT IP changer when he launches his client
 
Code:
-- The Forgotten Server Config

  

    -- Connection config
    worldId = 0
    ip = "37.24.148.3"
    bindOnlyGlobalAddress = false
    loginPort = 7171
    gamePort = "7172"
    loginTries = 3
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 500
    motd = "Welcome to the Tibiano Slayer !"
    displayOnOrOffAtCharlist = false
    onePlayerOnlinePerAccount = true
    allowClones = 0
    serverName = "Tibiano Slayer !"
    loginMessage = "Welcome to the Tibiano Slayer !"
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false
    packetsPerSecond = 50

  

    -- Database
    -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
    -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
    -- encryptionType can be plain, md5, sha1, sha256, sha512.
    sqlType = "mysql"
    sqlHost = "127.0.0.1"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "*************"
    sqlDatabase = "otserv"
    sqlFile = "theforgottenserver.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    mysqlReconnectionAttempts = 3
    encryptionType = "sha1"


I Shortet all that i cann post it.
Because it was more than 1000 Letters.

All Ports are open still dont work please help
 
For your server you only need to open port 7171 and 7172, 80 is for your website and 8080 if you use that port for your website.
What is the error he gets from the client when he tries to login? The exact error, so also if it's the login server or the game server.

Did you already added the ports in windows firewall or turned it off?

You can also try to restart your computer and router.
 
My Firewall is Off. and when i try to login then it takes 1 to 2 Minutes and then Tibia say "you cannt connect to the Game Server pls visit "www.Tibia.com""
The only errors in the console are " Warning MYSQL lost connection, attempting to reconnect.....
"Max_allowed_packet might be set too low for binary map storage".
"Use the following query to raise max_allow_packet: Set Global Max_Allowed_packet = 16776192;"
After those errors the server Starts anyway when i start the server as Local-Host.


- - - Updated - - -


It works but when i try to start the server with "www.whatsmyip.org" it dont works...
 
Last edited by a moderator:
i have a proplem too , i write the right acc name and password to my ot and it says invalied password and in site it login right :).
and help me guys to add the website - iam using no-ip
and thanks
 
Back
Top