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

Solved showing 0 rune in hotkey

tibera

Well-Known Member
Joined
Nov 9, 2014
Messages
137
Reaction score
57
Location
Governador Valadares - MG
im using sabrehaven tfs 1.2

i changed in spells.cpp for use stackble runes.

before:
Code:
        int32_t newCount = std::max<int32_t>(0, item->getCharges() - 1);
        g_game.transformItem(item, item->getID(), newCount);

after:
LUA:
       int32_t newCount = std::max<int32_t>(0, item->getItemCount() - 1);

        g_game.transformItem(item, item->getID(), newCount);

1711117011986.png
1711117045704.gif

using hotkey show 0 runes.

any can help me to fix this bug?? call me in Discord id: 275658220649971714 - magnunrocha
I can give you a reward for your help!!
 
Could u share? I'm using this same tfs 1.2, did some changes on weight to be able to use till 100 charges and not be very broken , but ur solution seams to be much better cuz my 100x uh weight is 120 but if the guy is with 10 charges its still 120 lol 😂😂😂
 

Similar threads

Back
Top