topaz-next / topaz

💎 A server emulator for Final Fantasy XI.
GNU General Public License v3.0
55 stars 80 forks source link

[release] Bind functioning incorrectly vs Players, but normally vs mobs #2677

Open SirGouki opened 3 years ago

SirGouki commented 3 years ago

Additional Information (Steps to reproduce/Expected behavior) :

Found this last nightish - When a mob casts bind on the player, the player is able to move, but its really slow as if gravity was applied instead, but it still shows the correct info (bind symbol, "X is bound"). However, when casting bind on mobs, it works the way its supposed to.

Expected behavior: Bind should stick whatever it succeeds on to its spot.

Testing vs Player: Got an Orcish Mesmerizer to bind me multiple times in West Ronfaure, some while I was moving, others while I was standing still. In all instances I could move as if I was hit with gravity instead of bind.

Testing vs Mob: Used the same (waited for respawn) Orcish Mesmerizer. Hit it with bind, when it stuck I moved out of range of it casting and it just stood there. Normally, this mob would move to inside casting range (or melee range around 75%-50% health).

TeoTwawki commented 3 years ago

this is likely related to a thing I am already working on. I will check into it.

SirGouki commented 3 years ago

Ok, thanks. I had no idea where to start on this one yet. Still digging through all the code for something else I'm doing.

Edit: If you need me to test it, this time send me the code instead of having me double check my work against yours. Edit 2: That was meant to be a joke, sorry, next time I'll be more clear.

TeoTwawki commented 3 years ago

Edit: If you need me to test it, this time send me the code instead of having me double check my work against yours.

I literally gave you the code in discord DM intended to just let you PR it, days later when I had a free moment PR'd it simply because you hadn't so others would cease trying to cover the same ground yet again. I didn't even want credit since you did the test work and it was just swapping 2 calls to fix the problem.