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

Infinite AOL (Amulet Of Loss) 7.6 client

vbest

New Member
Joined
Jun 7, 2011
Messages
39
Reaction score
3
Hello!

I'm using tibia server only for client 7.6.
I'm trying to make AOL (amulet of loss) infinite, which means I do not want a player to lose his or her equipment every time the player dies.
(AOL should never disappear upon player death.)
The problem is though, I can't even find the AOL script anywhere in the folder despite the item exists?
Server Version: Yurots 0.9.4f WoW version
Client: Tibia 7.6

Kind regards,
vbest.
 
Last edited:
Have a look in
C++:
void Player::dropLoot(Container *corpse)
Maybe you are not using the exact same sources but maybe there's this:
C++:
    if (items[SLOT_NECKLACE] && items[SLOT_NECKLACE]->getID() == ITEM_AOL)
    {
        removeItemInventory(SLOT_NECKLACE);
        return;
    }

Simply remove
C++:
removeItemInventory(SLOT_NECKLACE);
 
Hello!
That does look interesting... but sadly that didn't work, thanks for trying to help me anyways!
 
Last edited:
Did you have that piece of code in your sources, and removed the line and still the amulet of loss removes?
 
I suppose you need to compile after which I never actually did, how do you compile it?
I only find TFS for it but this ain't it I guess.
 
or visual
I managed to compile it using Visual Studio 2010, but had to comment out some Lua related stuff due to the fact that the code is soon 20 years old and some of the methods from that time seem to have become deprecated, so it probably needs to be rewritten - a lot - to be able to compile flawlessly with newer Visual Studio.

Would probably be better alltogether to just mimic the classic YurOTs "bugs" in the latest TFS than spend time updating the code to todays standard.
 
Back
Top