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

TFS create account and players

Zenolijo

New Member
Joined
Aug 24, 2007
Messages
5
Reaction score
0
Alright, so i compiled and now got TFS running with phpmyadmin and mariadb under ArchLinux.
There are alot of installation guides on the forums, but almost none about how to manage the server.
I can connect to the server since my client returns invalid accountname and password, but i don't know how to create a account and characters.

First i tried 1/1, no account there, so i checked the sql account tables in phpmyadmin. Nothing there neither, so i created an account using the insert tool. Great now i got an account, but it doesn't work to log in.
I have googled around alot on how to create an account, but nothing works. How can such a simple thing be so hard to figure out?
 
What version of TFS are you using?
TFS 1.0+ does not have an in-game account manager so you need a website to create accounts. For example https://github.com/Znote/ZnoteAAC

In TFS 1.0+ passwords needs to be stored in sha1, in older versions you can set password type in config.lua (sha1 is recommended). You can use this http://sha1.cz/ to convert your password to sha1.
I'm not familiar with MariaDB but assuming it's compatible with MySQL it could very well work. I would probably go with MySQL anyway because that is the officially supported engine.

Video tutorial: http://otland.net/threads/video-tut...ing-ot-server-website-and-shop-system.166818/
It will be a bit different on Linux, but since you already have phpMyAdmin and MariaDB/MySQL set up it won't be much difference.
 
You can also create a character with a query if you already want to test things before setting up a website.
In phpmyadmin, click on the table, then SQL, then INSERT and change the values. In the table accounts to create an account and table players to create a character.
Change the password to a sha1 password with http://sha1.cz/ like forgee posted.
 
What version of TFS are you using?
TFS 1.0+ does not have an in-game account manager so you need a website to create accounts. For example https://github.com/Znote/ZnoteAAC

In TFS 1.0+ passwords needs to be stored in sha1, in older versions you can set password type in config.lua (sha1 is recommended). You can use this http://sha1.cz/ to convert your password to sha1.
I'm not familiar with MariaDB but assuming it's compatible with MySQL it could very well work. I would probably go with MySQL anyway because that is the officially supported engine.

Video tutorial: http://otland.net/threads/video-tut...ing-ot-server-website-and-shop-system.166818/
It will be a bit different on Linux, but since you already have phpMyAdmin and MariaDB/MySQL set up it won't be much difference.

Thanks alot! I am now able to login, i just had to sha1 my password like you said and i am now able to login!

MariaDB is created by the original MySQL creator and is 100% compatible with MySQL 3.3 and below and are working on 3.5, so that's not a problem. The reason why i'm using it is because it's my distros prefered SQL server and its license is much nicer.

I am running the latest source from github, but i got another problem now. It doesn't say on the github page for which version the server is made, so i presumed that it was 10.41, but there are some sprite bugs and sometimes i lose connection and i guess that my tibia version is to blame. Do you kow what version the latest TFS source is built for?
 
Client version is 10.41, you can find this in definitions.h. Do you get errors in your console?

It was just some issues with my router apparently, works now.

By the way, there are no NPCs only mobs on the default map. I can see the npcs though in the data folder. How do i fix this? I have no errors in my console. Only some houses work too, but i guess that's a issue with the map and not the server.
 
It was just some issues with my router apparently, works now.

By the way, there are no NPCs only mobs on the default map. I can see the npcs though in the data folder. How do i fix this? I have no errors in my console. Only some houses work too, but i guess that's a issue with the map and not the server.

The default map is really bad, hasn't been updated in years. I don't think any NPCs are used in the default map.
The map is really just a map to use as a default, I highly recommend getting a different map.

Plus, you'd need to download 8.4 client to be able to open the map in RME, so don't waste your time with that map and just switch it out.
 
The default map is really bad, hasn't been updated in years. I don't think any NPCs are used in the default map.
The map is really just a map to use as a default, I highly recommend getting a different map.

Plus, you'd need to download 8.4 client to be able to open the map in RME, so don't waste your time with that map and just switch it out.

Thanks for the info, i changed the map and considering making a new one myself.

You can use this remere and import the npcs in the map you want.
http://otland.net/threads/10-50-remeres-map-editor.211040/

So by defalt no NPCs are spawned in any maps, you always have to do it manually?


By the way, i havn't set up a ot server since the good old YurOTS times and i recall having commands like /tp, give exp, give item, set house owner etc. Do you know how to get similar commands into TFS?
 
If there are no npcs in the map you have to add them yourself, it's not hard though, it's same as with adding monsters.

You can find the commands in data/talkactions/talkactions.xml.
 
Back
Top