[.NET] Me.IsCasting always true?

eccentric

Active Member
I can't seem to figure this out yet, but it only happens on my mystic. It seems that after zoning or evac'ing 2 or 3 times, Me.IsCasting bugs out and always sets to true until I terminate and restart the client; restarting my .NET bot isn't enough.
 

Amadeus

The Maestro
Staff member
Where do you see an "IsCasting" member of the character datatype? I just searched throughout the wrapper and don't see it anywhere -- and I know it's not in the extension ...so I'm not sure how you're getting any data on that ..lol.
 

eccentric

Active Member
Sorry that was the naming pattern that stuck in my head for some reason, was actually Me.CastingSpell (bool). I'm not sure if I was corrupting the wrapper by doing work even though EQ2.Zoning was true... is such a thing to be expected? I was seeing this trend during the later half of the day so I mentioned it just in case.
 

utadaishot

Well-Known Member
I don't want to resurrect an old dead thread but I do want to add that this just happened to me. I had to shut down EQ2 entirely to resolve it. It happened on a Mystic also. I was working the bugs out of a SoW auto-casting script and at the time it was casting it back to back. So imagine the error may have occurred because the Mystic was casting when zoning in, attempting to cast while zoning, or attempting to cast before new zone was completely loaded.

I don't expect any resolution for such a uniquely rare problem, I am just letting others know should they come searching with the same issue.
 
Last edited:

HammerFour

Active Member
I have encountered this a number of times, it seems to be the main thing that will cause EQ2Bot scripts to get stuck in loops. A bot will be casting a spell, something will happen to interrupt (knockback aoe, whatever) and then Me.CastingSpell stays on afterwards.

I've looked into making some changes to avoid using Me.CastingSpell, but I'm having some troubles with the Ability.CastingTime value.

It seems Ability.CastingTime is zero sometimes for abilities that aren't instant cast, is this related to the abilities book not being read fully at times perhaps?
 

Kannkor

Ogre
This seems like the good old zoning bug...

If you are mid-cast while you zone (including evac), CastingSpell gets stuck on TRUE... until you manually cast a spell which resets it... If you've tried this to fix it, then I'd go with a different bug...
 
Top Bottom