Bump, any ideas?
The fields for ShowEffectPacket are EffectType, PosA, PosB, TargetId, Color.
EffectType and Color are self explanatory.
However, what should be defined for PosA, PosB and TargetId? Say for example I want an effect at the location (X, Y).
Bump, any ideas?
Set up a hook to catch the packets and output their data and see what a valid packet contains.
And from what i remember atleast, PosA is where it starts and PosB is the end-point for it. TargetId might be whoever created the effect, could be wrong here though. Just capture a few and modify them to see what happens.
Did so, all the parameters are right but whenever I send them I get dc'd. Strange.
Daenerys (04-17-2017)
Maybe that's where I went wrong. How do I send it to the client instead of the server?
client.sendToClient() instead of client.sendToServer()
Thanks! That was where I went wrong.