View Single Post
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Old
  (#31)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Bug-NUM_FOR_EDICT Error: Bad Pointer - 12-05-2004

I also thought there was a problem when you are trying to get the ent pointer from index 0. I thought you had to start from 1 till gpGLobals->maxclients...

so try and find any for loop which starts at 0.. Well, i can't bet on it. But i remembered in some cases it goes wrong here.

Another thing could be you have a <= instead of a <...

I am not sure, but perhaps its
0 till 31
instead of
1 till 32

you can figure this out yourself to be sure, gtg.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me