View Single Post
Re: PB crashes after typing "meta unload podbot"
Old
  (#10)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PB crashes after typing "meta unload podbot" - 12-03-2012

OK. Thanks for the explanation.
I would like to go forward that change about checking by the bots if there is a darkness or not (to prevent use an extra entity with mechigbs.mdl). But until now I didn't get what I need to add in the code, if I need to update my HLSDK for some functions and so on. I'll try to read that topic second time, then I'll probably ask about more explanation.

[EDIT]
Why exactly in ServerActivate - there is no need to allocate the memory for the string?
1824: PRECACHE_MODEL("models/mechgibs.mdl");
Or You just maybe have forgotten to write it so:
1824: PRECACHE_MODEL(const_cast <char *> ALLOC_STRING("models/mechgibs.mdl"));
[/EDIT]

Last edited by KWo; 12-03-2012 at 21:01..
  
Reply With Quote