.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Bugs to be fixed
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Bugs to be fixed - 03-06-2004

So far i have heard/seen:

- fix the bug where at some occassions the frame-rates drop drasticly
- fix camp 'at spawn point'

also:
- either fix the nodes system and make it more 'work' , or just implement navmesh. Perhaps a good idea to investigate navmesh (experiment with it) and when it works on a test-bot (or even better, it works with RB but on a test/experimental code of WIP's) then use that.

any more bugs can be reported here, so it would create a sort of 'todo' list.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#2)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Bugs to be fixed - 03-06-2004

I dont know why this happens, but on all the realbot releases I have tried, the game always makes a little lag chop and then runs normal, and then makes a lag chop again and so on. This has happend on all the versions I have tried even the ones before AI v1.0 and the WIPs. It even does it without any bots ingame. It even happens in the latest unofficial WIP #10 I dont know if this is due to realbot being very CPU demanding, or if its just not freeing as much memory as it could be doing. Do any other people get this problem?

It's very annoying as I really like the bot, but not the choppyness that it creates

Just pointing out the problems I have experienced, as it should help Stefan or the Team Members make the bot even better than it already is

Cheers

Last edited by MusicMan; 03-06-2004 at 17:46..
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Bugs to be fixed - 03-06-2004

i THINK it could be due its writing the data everytime on new round... so perhaps i should make a console command to toggle this off (but this will disable 'learning'!)


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#4)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Bugs to be fixed - 03-06-2004

Yeah, you could try that and send me a test dll, and I will tell you if it still happens on my comp

Thanks in advance

BTW I haven't had this problem with any other bots, just to get things clear

Last edited by MusicMan; 03-06-2004 at 18:44..
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#5)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: Bugs to be fixed - 05-06-2004

i havent had much problem with lag spikes in the previous few wips, but 10 has it quite bad. i have been trying to figure out why, but to no avail. i havent looked at the code because i was having trouble with CVS on my comp so i uninstalled it. maybe i should install a different client. altho i dont know if i really have time to work on it... probably shouldnt add another thing i want to do that takes away from what i actually need to do.
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#6)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Bugs to be fixed - 05-06-2004

@DaveK, did you try Tortoise CVS? I use that and it works like a charm.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#7)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: Bugs to be fixed - 05-06-2004

Quote:
Originally Posted by stefanhendriks
@DaveK, did you try Tortoise CVS? I use that and it works like a charm.
thanks. i will give it a try.
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#8)
Khoralt
Guest
 
Status:
Posts: n/a
Default Re: Bugs to be fixed - 05-06-2004

Quote:
Originally Posted by stefanhendriks
@DaveK, did you try Tortoise CVS? I use that and it works like a charm.
I downloaded and try Tortoise just yesterday but it didn't seem to work out quite right. When I'd right-click on a folder, I'd just get the submenu options, none of the primary right-click options that Totoise was supposed to add. I'm going to give it another chance on Monday. Hopefully it'll work out better.
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#9)
evy
Guest
 
Status:
Posts: n/a
Default Re: Bugs to be fixed - 08-06-2004

In dll.cpp, there is a race condition. The bot.cfg is not executed when a new map is loaded within 5 seconds of the dedicated server start.

The bot_cfg_pause_time variable is reset to zero in Spawn() funtion and this is not needed (it works fine without it) and is bad (it works better without).

So, dll.cpp should be like
Code:
 
Spawn (edict_t * pent)
{
  if (gpGlobals->deathmatch)
	{
	  char *pClassname = (char *) STRING (pent->v.classname);
	  if (strcmp (pClassname, "worldspawn") == 0)
		  {
				  // do level initialization stuff here...
				  draw_nodes = false;
				  draw_nodepath = -1;
				  draw_connodes = false;
				  // FIX: Internet mode timing
				  internet_addbot = false;	  // Add a bot?
				  add_timer = gpGlobals->time;  // Timer for adding bots
				  m_spriteTexture = PRECACHE_MODEL ("sprites/lgtning.spr");
				  // sound
				  PRECACHE_SOUND("misc/imgood12.wav");
				  g_GameRules = TRUE;
//				bot_cfg_pause_time = 0.0;   evy: No need to reset it to zero... else it causes a race condition when new map are loaded just when server starts
				  respawn_time = 0.0;
				  spawn_time_reset = FALSE;
				  prev_num_bots = num_bots;
				  num_bots = 0;
Hope it helps

-eric
  
Reply With Quote
Re: Bugs to be fixed
Old
  (#10)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Bugs to be fixed - 11-06-2004

yes, i applied this too. thank you!


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com