Rainbow Unicorn
Apr 20 2010, 05:31 AM
Hey, I've done a bit of coding in the past and wanted to take a whack at changing a few things in the code to tweak the bots to be more competitive against human players. Mainly: having engies wait a few seconds longer for ammo respawn, and checking for nearest tele not being owned by other team.
I'm using VS2005, and have pulled the latest version out of subversion. Everything compiles OK - no errors - and the plugin will load in TF2, but I get a "memory could not be read" error message whenever I try to add the first bot. Crashes.
I've tried various revisions from SVN, and I've tried pulling the full source for TF2 and building under utils/ instead, but I get the same results every time - loads ok, then crashes on first bot.
I've spent days googling around, but I can't find out what I'm missing or doing wrong.
Can someone please tell me a direction I need to go in to build correctly?
Thanks!
Cheeseh
Apr 22 2010, 08:40 PM
QUOTE(Rainbow Unicorn @ Apr 20 2010, 06:31 AM)
Hey, I've done a bit of coding in the past and wanted to take a whack at changing a few things in the code to tweak the bots to be more competitive against human players. Mainly: having engies wait a few seconds longer for ammo respawn, and checking for nearest tele not being owned by other team.
I'm using VS2005, and have pulled the latest version out of subversion. Everything compiles OK - no errors - and the plugin will load in TF2, but I get a "memory could not be read" error message whenever I try to add the first bot. Crashes.
I've tried various revisions from SVN, and I've tried pulling the full source for TF2 and building under utils/ instead, but I get the same results every time - loads ok, then crashes on first bot.
I've spent days googling around, but I can't find out what I'm missing or doing wrong.
Can someone please tell me a direction I need to go in to build correctly?
Thanks!
are you using the source code from sourceforge.net???
svn co
https://rcbot2.svn.sourceforge.net/svnroot/rcbot2 rcbot2
http://rcbot2.svn.sourceforge.net/viewvc/r...mp;revision=127
Rainbow Unicorn
Apr 27 2010, 02:35 AM
QUOTE(Cheeseh @ Apr 22 2010, 03:40 PM)
Yes, sir.
https://rcbot2.svn.sourceforge.net/svnroot/rcbot2. I've tried the last three revisions with no luck.
So, VS2005 is what you're using? If so, and there's no special trick I'm missing, then I'll just keep plugging away and see if I can get it going.
Cheeseh
Apr 27 2010, 04:49 PM
did you see this post?
http://rcbot.bots-united.com/forums/index....&hl=dt_sendyou need to change dt_send.h
although the dt_send.h in the SVN has this, you may not have downloaded it