topaz-next / topaz

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

mobs occaionaly using skills while at zero tp #2541

Open TeoTwawki opened 3 years ago

TeoTwawki commented 3 years ago

Additional Information (Steps to reproduce/Expected behavior) : Takes approximately 20 min of holding them at zero tp but I held these 2 lizards with godmode - perfect dodge so they cannot hit me for tp - and I did no actions that gave them tp, even used a print to see mobs current TP and verified its staying zero, and yet everyone once in awhile one readied and used a skill. That shouldn't happen.

This is on the release branch as pulled as of 4:30pm eastern today.

img

img

ShiyoKozuki commented 3 years ago

Mobs also will randomly start with full TP, even on a fresh reboot. They do not have regain coded. It's any mob in the game, sometimes when you pull them they immediately use a TP move. I think it's due to them having it "Queued" up after they die and happens on respawn but it's strange it happens on a fresh reboot.

TeoTwawki commented 3 years ago

its probably the same bug - they just go randomly at a very low rate, so they probably didn't really have tp, they just went as so as they engaged, as a random occurrence.

SirGouki commented 3 years ago

This reads like a float rounding issue... you know, the kind that cause a number to become something like 78.9999999999999999999999 instead of 79.