.:: 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
crashes in 3050
Old
  (#1)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default crashes in 3050 - 25-06-2004

game crashed without any sort of error showing up. It did that twice with the previous build I had (one that I got from the forums, not Stefan's compilation).

I looked into the reallog.txt, and found that the the leader bots were telling other bots to go to places that werent nodes:

'[RB]Dragon' ordered '[RB]GrandMa' to go to -1

if i understand the node system at all, that shouldn't be a valid order.

Not sure if that has to do with the crashing, the last entry was to a valid node. hm. actually, just noticed:

'[RB]CPU' ordered '[RB]Dunno' to go to 34
'[RB]Dave' ordered '[RB]Leagle' to go to 32
'[RB]Dragon' ordered '[RB]GrandMa' to go to 124
'[RB]CPU' ordered '[RB]Dunno' to go to 266
'[RB]Dragon' ordered '[RB]GrandMa' to go to -1
'[RB]Dragon' ordered '[RB]GrandMa' to go to 124
'[RB]Dragon' ordered '[RB]GrandMa' to go to 124
'[RB]Dragon' ordered '[RB]GrandMa' to go to -1
'[RB]Dragon' ordered '[RB]GrandMa' to go to 124

those are the last few entries in reallog.txt, perhaps it has something to do with the recursion of the command to GrandMa.

I had run around and noded cs_havana, then added 19 bots (10 per side including me). i was ct, and we had just started running towards the ts. probably 10-15 seconds into the game it crashed.

specs:
CS 1.5
realbot 3050
no other plugins running
windows xp
Athlon 1.3ghz
  
Reply With Quote
Re: crashes in 3050
Old
  (#2)
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

just played again on cs_havana, but this time I got through one round before it crashed midway through the second round.

reallog.txt again had a few times where leader bots told bots to go to node -1, but there wasnt as much recursion in the ending as last time. but this time 3 bots were told to go to the same node.

as the game was crashing the radio command for 'enemy spotted' was being played. not sure if that helps any, but a few bots had already been killed.

when the first round was being played, i noticed quite a few times where enemy bots would stare at each other for a while before shooting, or one with stare as the other shot at him, ran out of bullets, started to reload, then the first bot would kill the reloading bot.
  
Reply With Quote
Re: crashes in 3050
Old
  (#3)
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

tried again, but just watched as a spectator. the game crashed pretty quick, probably about 5-10 seconds.

reallog.txt:

'[RB]Target' ordered '[RB]Stuka' to go to 692
'[RB]Blaster' ordered '[RB]New_B' to go to -1
'[RB]Blaster' ordered '[RB]Dumb' to go to -1
'[RB]Blaster' ordered '[RB]Dr00l' to go to -1
'[RB]Blaster' ordered '[RB]New_B' to go to -1
'[RB]Blaster' ordered '[RB]Dumb' to go to -1
'[RB]Blaster' ordered '[RB]Dr00l' to go to -1
'[RB]Blaster' ordered '[RB]New_B' to go to -1
'[RB]Blaster' ordered '[RB]Dumb' to go to -1
'[RB]Blaster' ordered '[RB]Dr00l' to go to -1
'[RB]Kohcacola' ordered '[RB]DavidAn' to go to 124
'[RB]Kohcacola' ordered '[RB]Mike' to go to 124
'[RB]Target' ordered '[RB]Stuka' to go to 858
'[RB]Target' ordered '[RB]Stuka' to go to 279
'[RB]Target' ordered '[RB]Stuka' to go to 277
'[RB]Target' ordered '[RB]Stuka' to go to 50
'[RB]Target' ordered '[RB]Stuka' to go to 53
'[RB]Target' ordered '[RB]Stuka' to go to 56
'[RB]Target' ordered '[RB]Stuka' to go to 283
'[RB]Target' ordered '[RB]Stuka' to go to 779
'[RB]Target' ordered '[RB]Stuka' to go to 861
'[RB]Target' ordered '[RB]Stuka' to go to 285
'[RB]Target' ordered '[RB]Stuka' to go to 390
'[RB]Target' ordered '[RB]Stuka' to go to 285
'[RB]Target' ordered '[RB]Stuka' to go to 903
'[RB]Target' ordered '[RB]Stuka' to go to 65
'[RB]Target' ordered '[RB]Stuka' to go to 65
'[RB]Target' ordered '[RB]Stuka' to go to 284
'[RB]Target' ordered '[RB]Stuka' to go to 703
'[RB]Target' ordered '[RB]Stuka' to go to 285
'[RB]Target' ordered '[RB]Stuka' to go to 286
'[RB]Blaster' ordered '[RB]New_B' to go to 111
'[RB]Blaster' ordered '[RB]Dumb' to go to 111
'[RB]Blaster' ordered '[RB]Dr00l' to go to 111

'[RB]Target' ordered '[RB]Stuka' to go to 681
'[RB]Target' ordered '[RB]Stuka' to go to 681
'[RB]Target' ordered '[RB]Stuka' to go to 906
'[RB]Target' ordered '[RB]Stuka' to go to 68
'[RB]Target' ordered '[RB]Stuka' to go to 71

thats the part after all the bots had been added and the round had begun.

the sending people to node -1 doesnt seem to crash the game as that happened a bunch of times in the beginning, but near the end, a leader bot ordered his 3 bots to go to the same node again.

guess i will stop posting this stuff until i find something new.
  
Reply With Quote
Re: crashes in 3050
Old
  (#4)
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

this was with the latest compiled version on the filebase right? I need to be sure about it.

Either way, this puzzles me. I ran a few maps, a few rounds. And only ONCE i got a crash in CS 1.6, but i could not do anything with it, i could not reproduce it or trace back.


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
  (#5)
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

yeah. its the latest compiled version that you had just put up.

i been running more tests, and it doesnt seem to crash if you have only a few bots on.

i played de_dust2 with my normal 19 bots and it crashed pretty quick.

but then i played it again and only added 5 bots and it didnt crash. so i added 4 mroe bots after a few rounds. no crashing so i added 4 more. then about 2-3 rounds into the game while having 13 bots in the game (7v7) it crashed.

looking through reallog.txt again, i noticed many many times where multiple bots were told to go to the same node, and it wasnt crashing then. so maybe that isnt the problem.

this last time that it crashed, it crashed when a bot died from a headshot. it crashed as the blood was still in his face. only noting this because it crashed before when i headshotted a bot and it crashed while the blood was still in his face. the timing on that seems suspicious, altho it could just be a coincidence. altho, i have no idea why a bot dying from a headshot would cause the game to crash.
  
Reply With Quote
Re: crashes in 3050
Old
  (#6)
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

Its weird, i have a dedicated CS 1.5 server running (and i joined it too for a while)... and it does not crash. i switch maps, change player numbers (i have now 14 bots running) and still no problems. Weird!

I will leave it on until it crashes, i hope it crashes soon

In the meantime i can probably check for any mis-management on the pointers or other memory related stuff that *could* make the game crash.

When a player dies, i dunno what bots do with that. The only thing i can think of that is 'new' is that the 'realbot server players' command is involved.

Try this:

add bots NOT using this command and see if it crashes. (so type realbot add a few times)

and:

try 'realbot server players ###' (###=amount) , and see if it crashes.

When you add 'normally' , there is no code checking going on with this... so 'bugs' inside that code cannot be executed or cause trouble... vague theory that this will work though.


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

Maybe it crashes when a new teamleader is assigned?
I tried it 2v2 and I couldn't make it crash, maybe because there were no problem assigning new teamleaders OR teammembers to a new leader?
When I played 4v4 the game crashed, sometimes after a few rounds and never after more than 5 rounds.
I also noticed that on the first round the bots didn't want to shoot.
cs 1.6, listenserver, de_dust, winXP. build 3050 (from filebase).
  
Reply With Quote
Re: crashes in 3050
Old
  (#8)
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

i always add the bots with the 'realbot add' command

is there any way i can get better data to help you hunt down the bug? any other debugging output files?

i was also wondering if it could be caused by the bots who have me as a leader getting too far away. it looks like your leader code simply orders the bots under him to go to the node he is at or just left. if thats the case, then ordering bots to go to nodes that are no where near them might cause trouble, unless you already accounted for that and simply told the bots to find a path to that node instead of going to that node directly.

again, not sure why this would be the case only when more bots are added. perhaps it can crash when there are only a few bots running, but the chances of it happening just increase when more bots are added. but it crashes for me so very quickly when i have 19 bots, and i went several rounds with 5 bots.

anyway, i have to go to work now so i cant test any more. probably wont have time to test all weekend actually, but i can check this thread while at work and try to answer any other questions you might have.
  
Reply With Quote
Re: crashes in 3050
Old
  (#9)
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

could be...

atm i am running a 32 player server.. no crashes (and already had several rounds)...

i will comment out some parts of the code and upload a modified version. Just to check this out. And.. while i am at it, i will double-check the code.


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
  (#10)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: crashes in 3050 - 25-06-2004

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. )
  
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