![]() |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Quote:
calling ENTINDEX() or INDEXENT() in the bot plugin won't get here... |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Quote:
on the good side... I didn't know INDEXENT could cause it too :D I was only checking ENTINDEX :D [edit] another good news might be that I might have found where it is being caused... and it does have something to do with intense battles.. at least the dying part... in BotClient.cpp I changed this: Code:
void BotClient_CS_DeathMsg (void *p, int bot_index) Code:
void BotClient_CS_DeathMsg (void *p, int bot_index) [/edit |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
If you changed this in the latest version of PODbot i am still getting this error to let you know
[EDIT] My bad i didn't read before i typed thanks for updating PODbot Splorygon |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
so you used R2.1 and still getting the error?
if so... I SERIOUSLY do NOT know what is wrong.. I've checked every SINGLE call to INDEXENT and ENTINDEX... They all have a check to make sure that it's not null... We will probably have to wait for Austin to come help debug this... |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
yeah i am still getting the error after like 2 rounds
|
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Only thing i can think of is if theres another way to cause this error besides giving a null ent to INDEXENT or ENTINDEX....
|
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Hey wow i just though about this i relized that everytime CS encounters an error it makes an error log. this is the error log it creates everytime it does the NUM_FOR_EDICT
Error:Failed to load dialog file Resource/UI/ClassMenu.res Function trace: CGameUI::Start CGameUI::Initialize CBaseUI::Start CBaseUI::Initialize Host_Init CFileSystem_Steam::Mount() Thats it i hope it helps |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
are you sure thats the log to the correct error?
that looks like a steam error... well anyways any info can be useful... as long as it's in the right direction.. but I don't know what to do with that info.. |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
thats steam error ..happens without bots too in normal play.....
this error is definatley coz of the bot move or combat when an intense battle happens....i've been playing with them (2.1) for a while with no error...(good :) )i think we need printf fuctions to trace this bug... too bad it's one of those that haapen once in a while :( (for me at least) |
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Yes well i suspected it was it i tested it to make sure i had like 5 of these logs so i played CS again and let it crash and then i had 6 logs so i assumse that was the problem
|
All times are GMT +2. The time now is 03:32. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.