alandarev / wowmod

WoW mod for Counter-Strike:Source
GNU General Public License v3.0
13 stars 8 forks source link

Effect Afterlife bug #2

Closed alandarev closed 10 years ago

alandarev commented 10 years ago

L 12/24/2013 - 17:49:27: [SM] Displaying call stack trace for plugin "wow.smx": L 12/24/2013 - 17:49:27: [SM] [0] Line 2696, wow/monk.inc::EffectAfterlife() L 12/24/2013 - 17:49:27: [SM] Native "GetClientTeam" reported: Client 4 is not in game L 12/24/2013 - 17:49:27: [SM] Displaying call stack trace for plugin "wow.smx":

Mediocre amount of these spams. probably due to no check if victim/caster is still in-game

upidstupid commented 10 years ago

I included a check for if the client is connected to stop Afterlife timer. I won't have a chance to check if this fixed until tomorrow, so if someone else is around to check that would be great...

alandarev commented 10 years ago

Considering its been here for a month, waiting for tomorrow is no big deal. Thanks for fixing, it might also be hard to test. I usually don't test fixes like adding "IsClientInGame" but just assume they work :)

upidstupid commented 10 years ago

Recreated bug by disconnecting monk while an Afterlife soul was spawned. Attempted to recreate bug after fix, no errors thrown.