.:: 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
Re: crashes in 3050
Old
  (#11)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: crashes in 3050 - 25-06-2004

@davek,

the bots are ordered to create a path to a node close to the leader. A leader can order bots to go to the same goal as the leader wants to, so when a BOT leader orders other BOT's to move, it will ALWAYS be the same goal as the leader has in mind (ie , the leaders will overrides the bots personal preference).

When a human is a leader, the bots of that team will simply move to the human position. The human can control the bots a bit with using "Hold this position" and "need backup"... or even "Enemy spotted".

there is already code that takes care of this path finding, even when there is no node near.

What i find weird, is that i hear people have crashes and i cannot reproduce the bug. It irritates me. Even when i run a server with 31 bots, i can't reproduce it, thats what irritates me more.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: crashes in 3050
Old
  (#12)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: crashes in 3050 - 25-06-2004

i think output to the reallog.txt is done through 2 functions in the code, REALBOT_PRINT and log.
you should add
Code:
  realbot debug nodes dumpbmp
to the wiki, it's nice to see all the nodes
  
Reply With Quote
Re: crashes in 3050
Old
  (#13)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: crashes in 3050 - 25-06-2004

Quote:
Originally Posted by dstruct2k
Call me stupid, but what's the command to have it output reallog.txt?

(You might want to update the Wiki page that has the list of RB commands. )
i didnt use any command (knowingly) to have it output anything. reallog.txt is in the halflife folder.
  
Reply With Quote
Re: crashes in 3050
Old
  (#14)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: crashes in 3050 - 25-06-2004

Quote:
Originally Posted by stefanhendriks
What i find weird, is that i hear people have crashes and i cannot reproduce the bug. It irritates me. Even when i run a server with 31 bots, i can't reproduce it, thats what irritates me more.
sorry to give you something so irritating, and then not be able to test more. i may have some time this evening (USA westcoast time), but i am not sure. but it looks like other people are having the same problem, so i hope they can help you.
  
Reply With Quote
Re: crashes in 3050
Old
  (#15)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: crashes in 3050 - 25-06-2004

don't worry, i do not find your problem irritating. I actually find it my problem and the fact that i cant reproduce the error is irritating.

I have now ran a server for 1.5hours straight... NO PROBLEMS. Argh.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: crashes in 3050
Old
  (#16)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: crashes in 3050 - 26-06-2004

Hi, tested some more...
I saw someone having problem with the chat file, so I removed it but the crash remains
But I found a directory with errorlogs in my "counter-strike" dir, don't know if it helps but I get the same msg every time I start a new game ???
Maybe my steam isn't correctly installed... or something.
Hope it can help in some way!
---------------------------------------------------------
Error:Failed to load dialog file Resource/UI/ClassMenu.res

Function trace:
CGameUI::Start
CGameUI::Initialize
CBaseUI::Start
CBaseUI::Initialize
Host_Init
CFileSystem_Steam::Mount()
---------------------------------------------------------
Edit:
Think I got IT!!!! hope so.... ???
To reproduce, set all your bots to
[RADIO]
Reply=0
Create=0

In their personality file.
Then create a game and add some bots (like 10 bots on your team will crash the game quickly), start game and issue "go go go" radio command a couple of times. The game will surely crash.
I'm no coder but it looks like they want to answer the command but the ini-setting won't let them and the code doesn't know what to do?
Another thing, my lag almost dissapeard when i set the bots "reply/create" to 100, maybe anything but "0" will get rid of the lag?!
Hopefully this is it! o_O

Last edited by [BBB]sluggo; 26-06-2004 at 03:05.. Reason: Think i got it!
  
Reply With Quote
Re: crashes in 3050
Old
  (#17)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: crashes in 3050 - 26-06-2004

muahahaha! i made the crashing stop!!

i just removed all my personality files. well moved them to a temp folder so the program thought they didnt exist.

i have attached my personality files in a zip if anyone wants to take a look at them as see why they are causing the problems. i think the only thing i edited in them was the aiming offsets. pretty sure some of them got fairly high, so maybe that was the problem.

went 12 rounds on de_aztec with 19 bots and no crashing. going to try other maps now.
Attached Files
File Type: zip davek personalities.zip (20.1 KB, 78 views)
  
Reply With Quote
Re: crashes in 3050
Old
  (#18)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: crashes in 3050 - 26-06-2004

Hmm, i noticed that you had a couple of bots with [RADIO] reply/create set to "0" in the personality file and that's what causing it.
Try setting it to anything but "0"
(look at the post above yours )
But there are other values also being set to "0" can they also cause a problem in the future when more funktions are added? Maybe hearing allready is causing problems?
  
Reply With Quote
Re: crashes in 3050
Old
  (#19)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: crashes in 3050 - 26-06-2004

you removed all personality files? thats odd! But if it has something to do with radio commands, it can make some sense. I made some (significant) changes to that part. Going to check this mighty function out.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: crashes in 3050
Old
  (#20)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: crashes in 3050 - 26-06-2004

Post #16 describes how to replicate the crash.
  
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