dami1310
◄ Unidentified ►
tfs 0.3.6
client 8.6
Honestly, I've looked for the answer everywhere I tought I could find it, but no results so far. That's why I'm here.
What I am trying to do: add a couple of custom distance effects to display when using custom distance weapons (similar to spear).
What I've done:
-add it to tibia.spr, tibia.dat
-edit const.h and tools.cpp and compile (ofc I edited SHOOT_EFFECT_LAST too)
-added new weapons to items.xml that are using new shoot types
and... it worked! no errors, no debugs at all
I can use the weapons perfectly. The only thing is that the distance effects are invisible, can't see them at all.
They are invisible when I am using /x command too.
I've tested it on tibia client, extended tibia client, otclient and even otcv8
I can see all dist effects up to /x 41, but after that everything is invisible (no errors).
There is still uint8_t type all over the sources, but afaik its size is 255 and I definitely don't exceed that.
Solved, it fixed itself after I recompiled without changing anything lol
client 8.6
Honestly, I've looked for the answer everywhere I tought I could find it, but no results so far. That's why I'm here.
What I am trying to do: add a couple of custom distance effects to display when using custom distance weapons (similar to spear).
What I've done:
-add it to tibia.spr, tibia.dat
-edit const.h and tools.cpp and compile (ofc I edited SHOOT_EFFECT_LAST too)
-added new weapons to items.xml that are using new shoot types
and... it worked! no errors, no debugs at all
I can use the weapons perfectly. The only thing is that the distance effects are invisible, can't see them at all.
They are invisible when I am using /x command too.
I've tested it on tibia client, extended tibia client, otclient and even otcv8
I can see all dist effects up to /x 41, but after that everything is invisible (no errors).
There is still uint8_t type all over the sources, but afaik its size is 255 and I definitely don't exceed that.
Post automatically merged:
Solved, it fixed itself after I recompiled without changing anything lol
Last edited: