• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Tibia 7.7 Server Decompiled

Yeah..The reason I asked is because I registered and created 1 character. However when I try to login I get connection failed. (I'm using client 7.7 with ipchanger)
 
Yeah..The reason I asked is because I registered and created 1 character. However when I try to login I get connection failed. (I'm using client 7.7 with ipchanger)
You have changed the RSA to the RSA from this server ?

LUA:
121793809226659874120563434457378290680712961255388163335981998802810198001060741960884620303767165808945553490232384319640949111025960594429556046947046669780460678698731721332300359415965143790954689620894727453642602895794899765974634449445059302407051484378870077027957637912083504181824460210859132357393
 
Yes, I just confirmed by logging in

You have changed the RSA to the RSA from this server ?

LUA:
121793809226659874120563434457378290680712961255388163335981998802810198001060741960884620303767165808945553490232384319640949111025960594429556046947046669780460678698731721332300359415965143790954689620894727453642602895794899765974634449445059302407051484378870077027957637912083504181824460210859132357393
Oops..
Gotta read some tutorial on how to do that.
 
If you guys want just to login and walkaround Latestnews - Destiny (https://destiny.classicot.online/) i have this server opened 24/7 because im working and testing on it, the server looks like 7.1 even the map is changed to that version actually and there are no quests, edited few monster to give 1k exp on rook also make sure to download the client so you dont have to use ipchanger
 
Captura de tela 2025-09-21 233723.webp
Captura de tela 2025-09-21 233748.webp

I installed it here in a VM, but the list of characters appears, but it doesn't log into the game. I changed the RSA key to test, and it still continued like this. I checked the permissions, and the VM also has a firewall disabled.
 
I installed it here in a VM, but the list of characters appears, but it doesn't log into the game. I changed the RSA key to test, and it still continued like this. I checked the permissions, and the VM also has a firewall disabled.

I think this is due to how the game server binds the listening socket. At startup it will request the listening address to the query manager (with the LoadWorldConfig query). If for example it is the loopback address (127.0.0.1), it'll bind to the loopback interface which only accepts local connections, and I think the HOST and VM loopback interfaces don't communicate which might be the problem here.

I had other people with this same problem but I delayed addressing it mostly because I didn't have problems with setting up a VPS, and because I tested it using WSL on Windows which probably shared the same loopback interface. The quick fix is to modify the binding address at communication.cc:1432:
Code:
//ServerAddress.sin_addr.s_addr = inet_addr(GameAddress);
ServerAddress.sin_addr.s_addr = htonl(INADDR_ANY);

I might commit this change to the repository but I'd still want to confirm whether this is correct. It makes sense for the loopback address (1st paragraph) but I'd expect bind to fail with something like EADDRNOTAVAIL if there is no interface with such address.
 
I think this is due to how the game server binds the listening socket. At startup it will request the listening address to the query manager (with the LoadWorldConfig query). If for example it is the loopback address (127.0.0.1), it'll bind to the loopback interface which only accepts local connections, and I think the HOST and VM loopback interfaces don't communicate which might be the problem here.

I had other people with this same problem but I delayed addressing it mostly because I didn't have problems with setting up a VPS, and because I tested it using WSL on Windows which probably shared the same loopback interface. The quick fix is to modify the binding address at communication.cc:1432:
Code:
//ServerAddress.sin_addr.s_addr = inet_addr(GameAddress);
ServerAddress.sin_addr.s_addr = htonl(INADDR_ANY);

I might commit this change to the repository but I'd still want to confirm whether this is correct. It makes sense for the loopback address (1st paragraph) but I'd expect bind to fail with something like EADDRNOTAVAIL if there is no interface with such address.
EDIT: Sorry friend, I found the problem here because I wasn't logging in. You don't need to make that change you showed, thanks.
 
Last edited:
EDIT: Sorry friend, I found the problem here because I wasn't logging in. You don't need to make that change you showed, thanks.
How did u fix it? I'm stuck on the same thing you are and I even modified the binding address like fusion32 mentioned with no success.
 
How did u fix it? I'm stuck on the same thing you are and I even modified the binding address like fusion32 mentioned with no success.
As Olddies said there, I had forgotten to change "localhost" to the vm's IP kkk. But currently I made more changes to the files, added remote access config, added highscore auto updater, added the groupid system for ADM and other functions. I'm testing the query in multi world
 

Attachments

  • Captura de tela 2025-10-06 202621.webp
    Captura de tela 2025-10-06 202621.webp
    32.5 KB · Views: 146 · VirusTotal
  • Captura de tela 2025-10-06 202459.webp
    Captura de tela 2025-10-06 202459.webp
    34.8 KB · Views: 129 · VirusTotal
  • Captura de tela 2025-10-05 144852.webp
    Captura de tela 2025-10-05 144852.webp
    15.6 KB · Views: 129 · VirusTotal
  • Captura de tela 2025-10-05 144221.webp
    Captura de tela 2025-10-05 144221.webp
    60.5 KB · Views: 110 · VirusTotal
  • Captura de tela 2025-10-05 143748.webp
    Captura de tela 2025-10-05 143748.webp
    48.9 KB · Views: 132 · VirusTotal
I was able to make it run on Docker, every single container is running but I'm having an issue with the connecting to the game world. I can see the character list but I cannot connect to the world, why is that? @fusion32

1760443469587.webp1760443524610.webp
 
Last edited:
I was able to make it run on Docker, every single container is running but I'm having an issue with the connecting to the game world. I can see the character list but I cannot connect to the world, why is that? @fusion32

View attachment 95312View attachment 95313
You might need to change this (I had to. Also using docker)

Post in thread 'Tibia 7.7 Server Decompiled' Tibia 7.7 Server Decompiled (https://otland.net/threads/tibia-7-7-server-decompiled.296811/post-2786103)
 
Suggestion if possible: add the protocolstatus I think it will flood the otservlist and also more people using it.
 
Back
Top