View Single Post
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Old
  (#56)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Bug-NUM_FOR_EDICT Error: Bad Pointer - 15-05-2004

sorry Dethpod but I found a way to break point when Sys_Error is called..
I'm testing it right now..
It stopped at the break point but it's currently inside the Sys_Error function..
I built the dll with debug info during the compiling and the linking.
my call stack says
Quote:
PODBOT_MM! Sys_Error(char const *) + 27 bytes
METAMOD! 6b2644e6()
[edit]
after some more work I now know that the last call to ENTINDEX is from pfnMessageBegin.
[/edit]
[edit2]
well I can't seem to solve it because in pfnMessageBegin it already runs FNullEnt against the Edict.
I also tried STRING (ed->v.classname)[0] == 0 still no.
If I remember correctly pfnMessageBegin shouldn't catch message calls in the bot dll..
So that means the game dll is using MESSAGE_BEGIN with a messed up edict?
[/edit2]

Last edited by sPlOrYgOn; 15-05-2004 at 20:43..