View Full Version : Mob::TryWeaponProc
causticcoder
11-04-2013, 11:21 AM
I am getting this in a zone when a player is in it.
[Error] A null Mob object was passed to Mob::TryWeaponProc for evaluation!
The zone restarts, the player said he was killing Gorenair but I have not been able to duplicate the problem.
nenelan
11-04-2013, 11:27 AM
No clue from the code end of things, but Gore can spawn with 3 items that have procs:
Warhammer of Divine Grace - id : 11611
Orb of Tishan - id : 11625
Hierophant`s Crook - id : 11629
Guessing it may be one of these if you wanted to try to pop her with that to test further. I've seen this on several other servers though, where from time to time a monster with a proccing weapon can crash the zone.
Uleat
11-04-2013, 08:45 PM
Could it be an AoE proc that is caster-centered?
A huge mob like that is bound to have an extended attack range...
Maybe the weapon proc doesn't take that into account?
EDIT: (i.e., I have a target, ergo, I must proc - even if there's no one close enough...)
Uleat
11-04-2013, 11:44 PM
I don't know if this particular error is being caused by this..
https://github.com/EQEmu/Server/blob/master/zone/special_attacks.cpp#L963
(NULL != nullptr, in this case)
lerxst2112
11-05-2013, 05:26 AM
They are equivalent, as (!Ammo) or (Ammo != 0) would be.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.