• 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 TFS error

nextpro

New Member
Joined
Jan 18, 2013
Messages
20
Reaction score
0
Hi. I made my database and i will install gesior acc but i can't start engine
[05/09/2014 19:48:03] Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on 'localhost' (10061) (2003)

[05/09/2014 19:48:03] > ERROR: Couldn't estabilish connection to SQL database!
How can I fix it?
 
U mean sqlhost? Done but..
ailed connecting to database - MYSQL ERROR: Access denied for user 'root'@'localhost' (using password: YES) (1045)

edit. Ok, i got bad password xD. Thank you :)
 
Working fine now but i have problem with items.xml... TFS can't load it but I loaded it on other engine (VisumGold) and it work fine here. Why TFS can't load it?
 
[05/09/2014 21:15:56] [Warning - Items::loadFromXml] Cannot load items file.
[05/09/2014 21:15:56] Line: 21977, Info: Couldn't find end of Start Tag attribute line 21977
Line 21977 in items.xml:
<attribute key="skillClub" value"15"/>
 
Post your items.xml, in pastebin or if it's to big to post there, upload it on speedyshare.
http://www.speedy*****malware.localhost/
 
http://www.speedy*****malware.localhost/69hRv/items.xml
<attribute key="skillClub" value="15"/>
= was missing, there were also other mistakes which I fixed aswell.
If you add new items, use ctrl f to find the id and change the attributes and name there, don't add the same id more than 1x. Only add a new id if it's not added yet.
 
Working fine, thank. But now nobody can connect with serv. I'm using hamachi for tests before official start (then i will buy dedictaed server). I wrote hamachi ip in config.lua but still nobody can connect with page and can't login in game.
 
What happens when they try to login? What kind of error do they get from the client? Did you open port 7171 and 7172?
 
I don't know now because all friends are afk now. It's probably error 1061 (they see char list but can't login). All worked when i used visumgold.
Connection config:
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 1000


sqlType = "mysql"
sqlHost = "127.0.0.1"
sqlPort = 3306
sqlUser = "root"
sqlPass = "my password"
sqlDatabase = "database name"
sqlFile = "mysql.sql"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"
 
If people can see their characterlist, this means port 7171 is open.
You can use this tool this see if port 7172 is open aswell: http://www.************/ports
Make sure you have your global ip (http://www.whatismyip.com/) in config.lua. You can also try to turn off your firewall and anti-virus programs.
If it still doesn't work, you can also try to restart your computer and router after that.
 
Back
Top