• 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 1.6 OtClient 13.10

lordhen98

New Member
Joined
Jun 13, 2024
Messages
11
Reaction score
4
GitHub
Guhenriques
I've settup the 1.6 tfs which runs the 13.10 tibia version but I just can't find this version to download or neither the 13.10 files to run on OtClient... Why is it so difficult to find?
 
Thanks Mateus. Now I just want to use that client to login on my local "private server" based on TFS 1.6. How do I do that?


TFS
Diff:
void ProtocolLogin::getCharacterList(const std::string& accountName, const std::...
....
    if (!db.executeQuery(fmt::format(
            "INSERT INTO `sessions` (`token`, `account_id`, `ip`) VALUES ({:s}, {:d}, INET6_ATON({:s}))",
-            db.escapeBlob(sessionKey.data(), sessionKey.size()), id, getConnection()->getIP().to_string()))) {
+            db.escapeBlob(sessionKey.data(), sessionKey.size()), id, db.escapeString(getConnection()->getIP().to_string())))) {
        disconnectClient("Failed to create session.\nPlease try again later.", version);
        return;
    }

1731880677845.webp

OTC Redemption
game_feature disable GameSequencedPackets
LUA:
            g_game.disableFeature(GameSequencedPackets)



Tibia13.10.12892.zip
1731887467829.webp
change ip :


login.php

 
Last edited:
TFS
Diff:
void ProtocolLogin::getCharacterList(const std::string& accountName, const std::...
....
    if (!db.executeQuery(fmt::format(
            "INSERT INTO `sessions` (`token`, `account_id`, `ip`) VALUES ({:s}, {:d}, INET6_ATON({:s}))",
-            db.escapeBlob(sessionKey.data(), sessionKey.size()), id, getConnection()->getIP().to_string()))) {
+            db.escapeBlob(sessionKey.data(), sessionKey.size()), id, db.escapeString(getConnection()->getIP().to_string())))) {
        disconnectClient("Failed to create session.\nPlease try again later.", version);
        return;
    }

View attachment 88281

OTC Redemption
game_feature disable GameSequencedPackets
LUA:
            g_game.disableFeature(GameSequencedPackets)










why is it so hard to do everything lmao
have to change 500 lines of shit just to log in tfs 1.6 is dead project because of its inaccessibility seriously. try comparing and running SAMP server or RUST or any other game its usually 1 steamcmd or 2 and u can already play.

even 1.4.2 people have no clue about RSA etc its ridiculous xd
 
why is it so hard to do everything lmao
have to change 500 lines of shit just to log in tfs 1.6 is dead project because of its inaccessibility seriously. try comparing and running SAMP server or RUST or any other game its usually 1 steamcmd or 2 and u can already play.

even 1.4.2 people have no clue about RSA etc its ridiculous xd
classic :D
 
its about entry level into this because of that this engine is niche. and if we try to strive away from tibia and create something new out of it could bring new wave of programmers people could use this stuff instead of RPG maker and that shit has a large fanbase it could be great to actually take openspritepack + tfs and run it on steam i seen gamemaker being sold so could even probably make cash lol
 
its about entry level into this because of that this engine is niche. and if we try to strive away from tibia and create something new out of it could bring new wave of programmers people could use this stuff instead of RPG maker and that shit has a large fanbase it could be great to actually take openspritepack + tfs and run it on steam i seen gamemaker being sold so could even probably make cash lol

Just bad that those sprites are ugly as fuck on openspritepack ( no hate, my opinion )
I think the best choice for you would be "BlackTek Server" made by @Codinablack
He's creating a unique engine with the goal to go away from tibia to have a custom engine for new/other games instead of tibia only! ( Correct me if im wrong Codinablack! )
 
Just bad that those sprites are ugly as fuck on openspritepack ( no hate, my opinion )
I think the best choice for you would be "BlackTek Server" made by @Codinablack
He's creating a unique engine with the goal to go away from tibia to have a custom engine for new/other games instead of tibia only! ( Correct me if im wrong Codinablack! )
My ultimate goal is to indeed provide an engine that is not restricted or constrained by tibia concepts and logic.

This means, I am slowly transforming the engine into an engine that enables developers to quickly prototype and build Top Down 2D style games, not just tibia clones.

With all that being said, I am not quite to the part of removing tibia specific logic yet. My goal for the first release (should be very very soon) is to provide a nearly perfectly backwards compatible (its like 98 percent, only need to remove old absorb attributes from items) server with TFS's version 1.4 (more specifically 1.4.2), but obviously with more features, and some optimizations and bug fixes.

But as for the subject, if OP still needs those assets I have them somewhere, and I may be mistaken but I think there were also on otservlist or gesiors list of provided stuff.. can't remember..
 
TFS
Diff:
void ProtocolLogin::getCharacterList(const std::string& accountName, const std::...
....
    if (!db.executeQuery(fmt::format(
            "INSERT INTO `sessions` (`token`, `account_id`, `ip`) VALUES ({:s}, {:d}, INET6_ATON({:s}))",
-            db.escapeBlob(sessionKey.data(), sessionKey.size()), id, getConnection()->getIP().to_string()))) {
+            db.escapeBlob(sessionKey.data(), sessionKey.size()), id, db.escapeString(getConnection()->getIP().to_string())))) {
        disconnectClient("Failed to create session.\nPlease try again later.", version);
        return;
    }

View attachment 88281

OTC Redemption
game_feature disable GameSequencedPackets
LUA:
            g_game.disableFeature(GameSequencedPackets)




View attachment 88282





Appreciate your support.
But it seems my client can't coneect to the server, eventough it seems everything is running fine such as:
- UniServer Zero XIII with MySQL and Apache,
1731896053748.webp
- The Forgetten Server 1.6 up and running
1731896084725.webp

  • I checked all the ports are opened 80, 7171, 7172;
  • When trying to connect with the OTC (3.5 Mehah), the following error appeared. I copied the .dat and .spr to the /data/things/1310:
1731896379822.webp
 
1731898932442.webp

if you do not know how to compile(https://github.com/mehah/otclient/wiki/Compiling-on-Windows-(Visual-Studio-Solution)

Download client.exe from github with action/artifacts

1731898966131.webp
need account in github*

move client.exe to dir client

do not use release 3.5 , use the main repo

no use spr/dat
Use assets


1731969323891.webp

and delete this otclient/modules/game_features/features.lua at main · mehah/otclient (https://github.com/mehah/otclient/blob/main/modules/game_features/features.lua#L213)


Diff:
        if version >= 1290 then
-            g_game.enableFeature(GameSequencedPackets)
            g_game.enableFeature(GameBosstiary)
            g_game.enableFeature(GameThingClock)
            g_game.enableFeature(GameThingCounter)
            g_game.enableFeature(GameThingPodiumItemType)
            g_game.enableFeature(GameDoubleShopSellAmount)
        end
 
Last edited:
View attachment 88291

if you do not know how to compile(https://github.com/mehah/otclient/wiki/Compiling-on-Windows-(Visual-Studio-Solution)

Download client.exe from github with action/artifacts

View attachment 88292
need account in github*

move client.exe to dir client

do not use release 3.5 , use the main repo

no use spr/dat
Use assets


View attachment 88310

and delete this otclient/modules/game_features/features.lua at main · mehah/otclient (https://github.com/mehah/otclient/blob/main/modules/game_features/features.lua#L213)


Diff:
        if version >= 1290 then
-            g_game.enableFeature(GameSequencedPackets)
            g_game.enableFeature(GameBosstiary)
            g_game.enableFeature(GameThingClock)
            g_game.enableFeature(GameThingCounter)
            g_game.enableFeature(GameThingPodiumItemType)
            g_game.enableFeature(GameDoubleShopSellAmount)
        end
Thanks once more @Error 502 . I believe I executed all the steps and run the local server again.
After extracting the otclient.exe to the main otclient folder, I ran it and once more I couldn't join the server, as per the picture below:1732113367546.webp
Do you know what is missing to really log in into the game?
Best regards.
 
The @error says you need to download the spr 13:10 file, extract it, and place it directly in the otc/data/things/1310/ folder. Then, run OTC, enable the "Enable HTTP Login" option, and log in with your account. Done!
 
Thanks once more @Error 502 . I believe I executed all the steps and run the local server again.
After extracting the otclient.exe to the main otclient folder, I ran it and once more I couldn't join the server, as per the picture below:
Do you know what is missing to really log in into the game?
Best regards.

TFS use this PR:



Client:

server: 127.0.0.1/login.php (myacc)
version: 13.10
Port : 80 or 8080 (config.lua tfs)
enable check box : Enable HTTP login

1732117480587.webp

Copy Assets from Tibia13.10.12892.zip/assets

to

client/data/things/1310

1732117913913.webp


and
disable or delete GameSequencedPackets

client/modules/game_feature/game_feature.lua

Diff:
        if version >= 1290 then
-            g_game.enableFeature(GameSequencedPackets)
            g_game.enableFeature(GameBosstiary)
            g_game.enableFeature(GameThingClock)
            g_game.enableFeature(GameThingCounter)
            g_game.enableFeature(GameThingPodiumItemType)
            g_game.enableFeature(GameDoubleShopSellAmount)
        end
 
Last edited:
I reached a step I had never reached before!
I connected to the server but no character. Then I realized I haven't imported Znote tables to the otserver database.
2024-11-20 16_34_12-Configurações.webp

After I did that, I could create the char on the website and see it on the OTC:
2024-11-20 16_38_34-Configurações.webp

When trying to join the server, the following error appeared in the client "Your character could not be loaded". When checking the TFS log, the following error popped up: "[Error - IOLoginData::loadPlayer] Char Test One has Town ID 6 which doesn't exist".
2024-11-20 16_38_55-OTClient - Redemption.webp

I checked online and it seems it supposed to have a table named town in the database with the number #6 (for Carlin, in this case).
When I opened the towns table in the phpMyAdmin it doesn't even show Carlin, Thais or other common cities:
1732132377653.webp

I believe I downloaded something wrong in the beggining of TFS installation. Any clue?
 
I reached a step I had never reached before!
I connected to the server but no character. Then I realized I haven't imported Znote tables to the otserver database.
View attachment 88361

After I did that, I could create the char on the website and see it on the OTC:
View attachment 88362

When trying to join the server, the following error appeared in the client "Your character could not be loaded". When checking the TFS log, the following error popped up: "[Error - IOLoginData::loadPlayer] Char Test One has Town ID 6 which doesn't exist".
View attachment 88363

I checked online and it seems it supposed to have a table named town in the database with the number #6 (for Carlin, in this case).
When I opened the towns table in the phpMyAdmin it doesn't even show Carlin, Thais or other common cities:
View attachment 88364

I believe I downloaded something wrong in the beggining of TFS installation. Any clue?
Your problem now has nothing to do with otclient or TFS, its just that you have the wrong town ID set on your character (from the website you used), just change the townid to something lower like 1 and you will be fine.
 
@Codinablack I did as you told and its working now. However, I will look for a way to fix it otherwise will need to change manually the DB to let the char log in. Thank you and @Error 502 for the support.
The website you use to create the character has some configuration somewhere that sets the town id's and positions, you will want to find that, and configure it for your map's towns and their temple locations. Once you have done that, then creating new characters won't be a problem, it will only be the ones that were already previously created that will need to be manually changed in the DB.

You are welcome!

@Gesior.pl you don't have to follow my posts like a fanboy and post a thinking face everytime you doubt what I am saying, but I do appreciate you increasing my reaction score for me :D
 
you don't have to follow my posts like a fanboy and post a thinking face everytime you doubt what I am saying, but I do appreciate you increasing my reaction score for me
IDK who you are. If you fixed someones problem, I will add reaction.
I added 'think face', because you posted some idea, but there is no confirmation from thread author, that it fixed problem. There can be multiple other problems that result in same login error.
Now author confirmed that it fixed his problem, so I switch it to 'Like'. Good job. I follow all threads in which I post any emoji icons/posts.

For sure I do not follow your posts on OTLand and for sure I do not follow your code releases on github. We have talked about this on Discord 2 times over last months and our visions of FOSS are totally different.
 
Back
Top