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

can't put my server online!

ECAl

New Member
Joined
Aug 26, 2017
Messages
23
Reaction score
0
hi, im trying to run mi ots and well.. im using a web page to create the characters, using "xampp"
i created a ip forwarding in the page of "no-ip"
i opened the ports 7171,7172,80
i checked it on a web page and it confirms that the ports are open
the problem is, when i paste the ip i made in the "config.lua", my friends can get into te web page but it always says "server offline!", they can create their characters and the changes appear on my database, but i cant login using ip changer, neither my friends, i have no idea what im doing wrong, i already make the rules in the fire wall for this 3 ports, please some one help me, i really want to put this baby online and play with my friends, thank you..

tibia: Otserver 10.98 - ByJesusMa
web page: Gesior2012-TFS-1.0
 
make sure to have the correct encryption type in the config it should look like this:
Code:
 encryptionType = "sha1"
or it could be plain but it is recommended that you use SHA1
 
make sure to have the correct encryption type in the config it should look like this:
Code:
 encryptionType = "sha1"
or it could be plain but it is recommended that you use SHA1
there is no "encryptionType" on my config.lua however i have this :
Code:
 MySQL
mysqlHost = "127.0.0.1 "
mysqlUser = "root"
mysqlPass = "********"
mysqlDatabase = "madmaya"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

i'm doing something wrong on this part?
 
there is no "encryptionType" on my config.lua however i have this :
Code:
 MySQL
mysqlHost = "127.0.0.1 "
mysqlUser = "root"
mysqlPass = "********"
mysqlDatabase = "madmaya"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

i'm doing something wrong on this part?
did you open port 3306?, also make sure that the passwords in the database look like this :
Code:
 asji1209312sd1903012kl
 
ummm what server are you running? you are running the server right? is there any errors?
 
ummm what server are you running? you are running the server right? is there any errors?

im runing the "Otserver 10.98 - ByJesusMa", when i run the fortgotten server, it always says " server online!", and never show any error

Can you login with local ip and God? If yes check that you set gameworld to open
i have no "game world" in my code, i will paste m¿the config.lua, so maybe you can see something i dont

Code:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60 * 1000
removeChargesFromRunes = false
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2 * 1000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75

-- Connection Config "127.0.0.1"
-- NOTE: maxPlayers set to 0 means no limit
ip = "maya-ot.ddns.net"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 80
motd = "bienvenido!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "madmaya"
statusTimeout = 5 * 1000
replaceKickOnLogin = true
maxPacketsPerSecond = 100

-- Store in-Game Config
coinPacketSize = 25
coinImagesURL = "http://localhost/images/store/"

-- PVP-Expert Config
expertPvp = false

-- Version Manual
clientVersionMin = 1097
clientVersionMax = 1098
clientVersionStr = "10.97-11.00"

-- Depot Limit
freeDepotLimit = 2000
premiumDepotLimit = 10000
depotBoxes = 17

-- Casting System
enableLiveCasting = true
liveCastPort = 7173

-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1

-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
housePriceEachSQM = 1000
houseRentPeriod = "weekly"

-- Item Usage
timeBetweenActions = 500
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "global"
mapAuthor = "cipsoft"

-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "*****"
mysqlDatabase = "madmaya"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
allowWalkthrough = true

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 500
rateSkill = 40
rateLoot = 5
rateMagic = 10
rateSpawn = 3

-- Monsters
deSpawnRange = 2
deSpawnRadius = 50

-- Stamina
staminaSystem = true

-- Scripts
warnUnsafeScripts = true
convertUnsafeScripts = true

-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = true

-- Status server information
ownerName = "Malucooo"
ownerEmail = "[email protected]"
url = "http://www.github.com/malucooo/"
location = "Maceió-Alagoas-Brasil"
 
Last edited by a moderator:
Code:
 mysqlPass = "*****"
triple check your password, also disable cast just for testing purposes
Code:
 enableLiveCasting = true
also, when you login, does it load account manager, or say password incorrect, or does it just say loading character list and then says connection refused?
 
Code:
 mysqlPass = "*****"
triple check your password, also disable cast just for testing purposes
Code:
 enableLiveCasting = true
also, when you login, does it load account manager, or say password incorrect, or does it just say loading character list and then says connection refused?

If the server starts those things are correct.

im runing the "Otserver 10.98 - ByJesusMa", when i run the fortgotten server, it always says " server online!", and never show any error


i have no "game world" in my code, i will paste m¿the config.lua, so maybe you can see something i dont

Code:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60 * 1000
removeChargesFromRunes = false
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2 * 1000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75

-- Connection Config "127.0.0.1"
-- NOTE: maxPlayers set to 0 means no limit
ip = "maya-ot.ddns.net"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 80
motd = "bienvenido!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "madmaya"
statusTimeout = 5 * 1000
replaceKickOnLogin = true
maxPacketsPerSecond = 100

-- Store in-Game Config
coinPacketSize = 25
coinImagesURL = "http://localhost/images/store/"

-- PVP-Expert Config
expertPvp = false

-- Version Manual
clientVersionMin = 1097
clientVersionMax = 1098
clientVersionStr = "10.97-11.00"

-- Depot Limit
freeDepotLimit = 2000
premiumDepotLimit = 10000
depotBoxes = 17

-- Casting System
enableLiveCasting = true
liveCastPort = 7173

-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1

-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
housePriceEachSQM = 1000
houseRentPeriod = "weekly"

-- Item Usage
timeBetweenActions = 500
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "global"
mapAuthor = "cipsoft"

-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = "*****"
mysqlDatabase = "madmaya"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
allowWalkthrough = true

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 500
rateSkill = 40
rateLoot = 5
rateMagic = 10
rateSpawn = 3

-- Monsters
deSpawnRange = 2
deSpawnRadius = 50

-- Stamina
staminaSystem = true

-- Scripts
warnUnsafeScripts = true
convertUnsafeScripts = true

-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = true

-- Status server information
ownerName = "Malucooo"
ownerEmail = "[email protected]"
url = "http://www.github.com/malucooo/"
location = "Maceió-Alagoas-Brasil"
Can you login with local ip and God? If yes check that you set gameworld to open

Did you test what @Yusuf El-Shora said? Don't check your config.lua.
If a player with the correct flag value (can login when a server is closed) it's because the server is closed.
The closing might happen in ex an onStart script that sets the game state to closed.
 
If the server starts those things are correct.




Did you test what @Yusuf El-Shora said? Don't check your config.lua.
If a player with the correct flag value (can login when a server is closed) it's because the server is closed.
The closing might happen in ex an onStart script that sets the game state to closed.

@Yusuf El-Shora

i did it, but still appears offline, i can login just using the "127.0.0.1" ip, i can't login using any other ip, not even my personal ip, i logged in using the "127.0.0.1" ip and use "/openserver" and a message said "server is now open", then i tried using the no-ip domain but i can't login "cannot connect to login server", also i disable the live casting, what can i do now?
 
Bro, ofc you can't login with your local ip and can login with 127.0.0.1 because you set it in config.lua, if you want to login with local ip like ex: 192.168.1.* , you have to change it to local ip instead of 127.0.0.1

And also you can't login with your global ip, because it's kinda a loop using your global ip to connect, other ppl with different global ip are the only ppl allowed to connect throw ur global ip as i beleive.

So as i see the problem may be:
1. Gameworld closed due a talkaction command /openserver /closeserver.
2. You did not set the ip redirect for the domain name correctly.
3. You set the ip redirect correctly but reseted your router which means you will get new ip to set.
( you can get over this using no-ip automatic ip changer app/ or pay your ISP for static ip)
4. If all the above is correct try to use bindOnlyGlobalAddress.

I hope one of these will solve your problem.

Regards
 
Bro, ofc you can't login with your local ip and can login with 127.0.0.1 because you set it in config.lua, if you want to login with local ip like ex: 192.168.1.* , you have to change it to local ip instead of 127.0.0.1

And also you can't login with your global ip, because it's kinda a loop using your global ip to connect, other ppl with different global ip are the only ppl allowed to connect throw ur global ip as i beleive.

So as i see the problem may be:
1. Gameworld closed due a talkaction command /openserver /closeserver.
2. You did not set the ip redirect for the domain name correctly.
3. You set the ip redirect correctly but reseted your router which means you will get new ip to set.
( you can get over this using no-ip automatic ip changer app/ or pay your ISP for static ip)
4. If all the above is correct try to use bindOnlyGlobalAddress.

I hope one of these will solve your problem.

Regards
sorry if i annoy you, im a noob at this..
in the page of "no-ip" when i create a host, the page askme to paste the IPv4 adress, when i paste this and check my ports, they all apear clsed, but when i paste my personal ip and check the ports, they are all open, does this have something to do?
 
sorry if i annoy you, im a noob at this..
in the page of "no-ip" when i create a host, the page askme to paste the IPv4 adress, when i paste this and check my ports, they all apear clsed, but when i paste my personal ip and check the ports, they are all open, does this have something to do?
you need to port forward. Ports are open locally but not externally.
 
your no-ip domain is incorrect, you must have set it to your machine's local ipv4 address (if you ping maya-ot.ddns.net, it shows the ip as 192.168.1.66)
go back to your domain settings and redirect the ip to the ip you get from here: IP Chicken - What is my IP address? Free public IP lookup.

i redirected, to my personal ip, but still offline.. any suggestions?
also, i opened all the ports that apear on the "config.lua"
 
if you're running on a windows machine, go to C:\Windows\System32\drivers\etc\hosts (make sure you open the file in a text editor that's running in administrator mode, so you can save the hosts file)
at the bottom of your hosts file, type 127.0.0.1 maya-ots.ddns.net
save and try having your friends connect using maya-ots.ddns.net, and you connecting through 127.0.0.1 in your ipchanger.
 
try changing in your config.lua your ip address from maya-ot.ddns.net to 189.163.17.133

once thats done obviously restart your server and see how that goes.
 
try changing in your config.lua your ip address from maya-ot.ddns.net to 189.163.17.133

once thats done obviously restart your server and see how that goes.
same result, when i refresh my web pae apears offline, and i cant login using my ip or the 121.etc
 
Back
Top