.:: 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
  (#21)
bzientek
Guest
 
Status:
Posts: n/a
Default Re: crashes in 3050 - 28-06-2004

I am having a strange problem also... my server seems to "hang" now. unfortunately it does not do it at specific times, it can run fine for a couple hours then hang, and after a restart hang in 30 mins.... responds to ctrl-c to quit it but cannot type any console commands. no error is on the console, just seems to stop responding. I've removed the rbx/rbn files from my wip#9 install and removed the personality files.

I am running FreeBSD 5.2
HLDS 3.1.1.1 protocol 46 CS 1.5
metamod 1.17
adminmod 2.50.58
hlguard 1.52
statsme 2.8.buzz
realbot 3050

my bot.cfg

pause 2

# only 1 command issued to ensure bots play cs version 1.6
realbot csversion 0
realbot internet 1
# Stefan

# Onno
realbot autoskill 1
realbot skill -1
#realbot server players 6
realbot max 6
realbot roundlimit 2 10


the only thing i see in reallog.txt thats weird to me is this..
cNodeMachine: Added a trouble connection
cNodeMachine: Added a trouble connection


but then again that may be normal and i don't know.

Last edited by bzientek; 28-06-2004 at 18:17..
  
Reply With Quote
Re: crashes in 3050
Old
  (#22)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: crashes in 3050 - 28-06-2004

It's a fault of RealBot, as I get the same problem on Win32 with none of the same mods installed.

"cNodeMachine: Added a trouble connection" just means that a node connection is a bad connection, and it recieved a negative score. It's normal.
  
Reply With Quote
Re: crashes in 3050
Old
  (#23)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: crashes in 3050 - 28-06-2004

to be more precise on that message:

a bot notices a 'valid' connection cannot be reached easily. Therefor giving it a bad score.. you will see 3 times this message given to one specific connection, then you'll see that the connection is removed. I believe that if you run maps for 30 mins with bots , and with 'no shooting' you can make bots learn maps pretty well in one day for all maps (meaning->removing all bad connections themselves).

the crash, i think its the one already pointed out by dstruct2k.. with the radio stuff? i still havent had a chance to look at it yet (well not deep enough).


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
  (#24)
bzientek
Guest
 
Status:
Posts: n/a
Default Re: crashes in 3050 - 28-06-2004

ok thanks, so i should be looking in the bot personality files to make sure the [RADIO] elements are anything but 0(zero)?

*edit* I've just checked all my ini files for the bots personalities and unfortunately none of the have a 0(zero) for any of the [RADIO] settings... so if it is radio doing it, its not because there set to 0(zero) at least on my server.

Last edited by bzientek; 28-06-2004 at 22:14..
  
Reply With Quote
Re: crashes in 3050
Old
  (#25)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: crashes in 3050 - 29-06-2004

No, the radio bug is different, it causes crashes or 100% CPU usage... Not lockups like we're experiencing.
  
Reply With Quote
Re: crashes in 3050
Old
  (#26)
bzientek
Guest
 
Status:
Posts: n/a
Default Re: crashes in 3050 - 29-06-2004

do you think it has any bearing as to which order the dlls are loaded? I am loading them in the order i had written them in post #21..

*edit* also i have noticed the last two times this has happened the last thing printed to console was a bot being spawned with the bomb on a de map. don't know if that helps at all just trying to be as specific as possible.

Last edited by bzientek; 29-06-2004 at 22:08..
  
Reply With Quote
Re: crashes in 3050
Old
  (#27)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: crashes in 3050 - 01-07-2004

i have searched into different parts of the code, but no code seems to lock up or cause bad stuff to happen on the Radio part. I bet its on the 'leader' stuff , that is somehow connected to the radio and all other stuff.

However, even the leader functions i wrote seem to be bug-free...


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
  (#28)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: crashes in 3050 - 01-07-2004

Quote:
Originally Posted by stefanhendriks
i have searched into different parts of the code, but no code seems to lock up or cause bad stuff to happen on the Radio part. I bet its on the 'leader' stuff , that is somehow connected to the radio and all other stuff.

However, even the leader functions i wrote seem to be bug-free...
it didnt start crashing on me until a .dll or two before this latest one. and it didnt do it consistently until this latest one. the one times it was just completely random, and didnt do it often enough for me to figure out why it was doing it.

o, and by "a .dll or two before" i mean .dll files i downloaded, they werent all released by you, some were compiled and posted by others.
  
Reply With Quote
Re: crashes in 3050
Old
  (#29)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: crashes in 3050 - 01-07-2004

I'd rather talk about my own released DLL's But its odd though, it should not crash at all. It could indicate that some memory is messing up. Evy pointed out some other bug, perhaps its related.


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
  (#30)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: crashes in 3050 - 01-07-2004

Stefan can't you recreate the crash on your machine? Have you tried it as mensioned in #16 (the part after the "edit")
Or can you recreate it but it doesn't give you any more information?


An expert is a person who has made all the mistakes that can be made in a very narrow field. Niels Bohr (1885 - 1962)

Last edited by [BBB]sluggo; 01-07-2004 at 22:47..
  
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