• 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 0.X New Distance/Missile/Shoot Effect is invisible

dami1310

◄ Unidentified ►
Joined
Jan 27, 2013
Messages
732
Solutions
12
Reaction score
664
Location
Poland
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.
Post automatically merged:

Solved, it fixed itself after I recompiled without changing anything lol
 
Last edited:
Back
Top