theshadowpriest Posted July 12, 2025 Posted July 12, 2025 I was trying to fix and implement some attack skills, but was having issue with Fast Blade/Scent Sword. I can have the attacks work and dealing dmg correctly, but what I can't get to work is the animation effects for these skills. How is the direction for which direction these skills determined? I was looking at eudemons source and it looks like the packet sends the direction, but in other public sources I can't see any direction values being passed. Target count and offsets on the packet appear correct, i can use skills like scatter normally. Using earlier version of conquer around 4294. Waht am I missing? Quote
CptSky Posted July 12, 2025 Posted July 12, 2025 You send the caster/attacker ID, and the casted position of the line skill (i.e. where they clicked). The client will compute the DDA line between the caster position (as known client-side) and the casted position (as received in the packet) to render the animation. No explicit direction is sent. This was likely added to Eudemon after the code bases forked. Quote
theshadowpriest Posted July 12, 2025 Author Posted July 12, 2025 (edited) Yeah, that's what I've been doing. Basically had it like how COPS had it i think, or atleast changed it to that as well while testing. Using older packet, it's the same structure but with the target count at 16 and 2 bytes for each additional target written at offset 17, not 20. (and only 2 bytes, not 3 like documented in wiki) I managed to get it to a point where the line attack would display correctly UNLESS it hits something. Other spells like scatter seem to work too, hits all targets ok. Its like 4am but ill post some more info about how it's structured and is being sent later. Too tired now. Thanks Edited July 12, 2025 by theshadowpriest Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.