4.0 template crash at cs 1.6
Well I downloaded HPB_bot template 4.0, compiled and it worked in cs 1.5. This same dll crashes in cs 1.6
CS crash when I try to "addbot" new bot. Further investigation revealed that : newest racc works both in cs 1.5 and 1.6 HPB_bot 4.0 works both in cs 1.5 and 1.6 however these 2 bots are under metamod. So anyb knows where is the bug in HPB_bot template 4.0 which causes cs 1.6 to crash when trying to add a bot ? |
Re: 4.0 template crash at cs 1.6
I know I will sound like an ass, but I have little time here (and other priorities)... would you mind debugging this one yourself ? :D
|
Re: 4.0 template crash at cs 1.6
Quote:
EDIT : So I set breakpoint in dll.cpp in ClientCommand function on "BotCreate( pEntity, arg1, arg2, arg3, arg4 );" calling. after I invoked addbot command in game, program paused and I debugged ClientCommand function without any error and after It exited ClientCommand function it went back to disassembly, 'cause execution was back in Half-life engine. and right after I resumed execution, oh-so-helpful Unhandled exception on address 0xC0...5. Acces violation reading memory ... I hope there are some advanced debugging stuff I do not know and there is way to debug this error... Question is, what was changed from cs 1.5 to cs 1.6 ? Maybe that way I can find what is missing in the bot... |
Re: 4.0 template crash at cs 1.6
korax i just downloaded the hpb template 4 & tested it, and i dont seem to have the crash. Maybe you changed something & forgot about it.
edit. .NET might be compiling something wrong ???:( |
Re: 4.0 template crash at cs 1.6
Quote:
And I started all this because my own bot does the same. Maybe it is time to switch to metamod :) |
Re: 4.0 template crash at cs 1.6
hmmm... thinking about something here
Try adding FREE_PRIVATE() in BotCreate() ? check the RACC source code to know where and how... |
Re: 4.0 template crash at cs 1.6
well I fixed it. Problem was not in bot, but in cs. Thank you for your concern and have some LED fun
|
Re: 4.0 template crash at cs 1.6
What was it ?
|
All times are GMT +2. The time now is 23:27. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.