• 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.X+ Where is the c++ code that manages opening container located?

gudan garam

Advanced OT User
Joined
Feb 13, 2011
Messages
353
Solutions
17
Reaction score
173
Location
São Paulo.
Hey brodars,

I've had a problem with opening backpacks on 11.x+ clients with my server and nobody seems to have an idea of what it could be.

So I want to debug it by hands and read the modaf*cking part of code that handles that, except I have no idea where it is hehehehehe funny

Any help?

I can't edit the post, sorry for the double posting.

Is there a way for me to know what the tibia client is expecting to receive?

Basically I can't open containers on 11.x + clients with my servers, works fine on 10.00.

My containner.cpp on the start of it there is this:
Code:
Container::Container(uint16_t type) :

    Container(type, items[type].maxItems) {
    if (getID() == ITEM_GOLD_POUCH) {
        std::cout << "Opening gold pouch??";
        pagination = true;
    }
}

I put the cout there to visualize it better, and now when I log in on the character I'm testing it it puts that on the console, when I login.
That doesn't happen on the GOD character.

I found that very strange.

The sources I'm using have some modifications so I'm literally comparing it to tfs 1.2 repository's code and when there is diference I change my code with tfs', recompile and test it.

But I've had no success. Nobody with the same issue?
 
Last edited by a moderator:
Back
Top