![]() |
![]() |
Lambda |
![]()
Post
#1
|
Member ![]() ![]() Group: Members Posts: 11 Joined: 28-September 09 Member No.: 1,700 ![]() |
I've been trying to recompile RCBot2 from the SVN since my servers crashes after 10 minutes with bots, I've checked the minidump and it crash at a random location of the RCBot dll so recompiling it should give me a new dll and a pdb so it will be easy to fix.
The problem is, i've recompiled the project under VS2008 (only in release, i cant get around the linker errors in the debug version), but when i load the DLL in the srcds (i'm using dedicated server) the server just hangs and crashes in about 20 seconds after the total hang and i have no idea why is this happening. Im using the same OBSDK as i use for my metamod plugins which works fine (The one reverse engineered from allied modders), so it shouldnt be a SDK problem. Is this a problem related with VC2008? have anyone managed to properly compile RCBot2 under VS2008 or should i use 2005 instead? |
![]() ![]() |
bir3yk |
![]()
Post
#2
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Members Posts: 107 Joined: 4-June 09 Member No.: 1,566 ![]() |
I have everything working svn 115 properly with VS2008 in DEBUG mode, release did not try. read http://developer.valvesoftware.com/wiki/Co...ng_under_VS2008
svn 115 debug VS2008 http://www.megaupload.com/?d=VNI6GC2Q |
Cheeseh |
![]()
Post
#3
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
change the follow enemy function to this,
CODE bool CBot::wantToFollowEnemy () { return getHealthPercent() > 0.5; } I'd need to know the exact line of the "getTF2Class " crash and the call stack, if possible. |
Lambda |
![]()
Post
#4
|
Member ![]() ![]() Group: Members Posts: 11 Joined: 28-September 09 Member No.: 1,700 ![]() |
change the follow enemy function to this, CODE bool CBot::wantToFollowEnemy () { return getHealthPercent() > 0.5; } I'd need to know the exact line of the "getTF2Class " crash and the call stack, if possible. Thanks for the fix, i dont have the dump crash of getTF2class right now but if it happens again i'll tell you the details. Also, i've read in the RCbot2 forum that there's a crash related with the attacker when a bot takes damage from the world, is fixed in the svn? if not, what is the fix?. |
Cheeseh |
![]()
Post
#5
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Thanks for the fix, i dont have the dump crash of getTF2class right now but if it happens again i'll tell you the details. Also, i've read in the RCbot2 forum that there's a crash related with the attacker when a bot takes damage from the world, is fixed in the svn? if not, what is the fix?. it should be fixed, the fix is in the Bot Event for player death |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 21st July 2025 - 11:02 PM |