.:: 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 > Grave Bot
Grave Bot Artificially deadly intelligence for S&I by Ghoul Science & IndustryHLDM

Reply
 
Thread Tools
Re: Waypointing
Old
  (#11)
hiyahin
Member
 
hiyahin's Avatar
 
Status: Offline
Posts: 34
Join Date: Nov 2004
Location: UK
Default Re: Waypointing - 01-12-2004

So the infinite loop doesn't cause a crash? So what does the infinite loop do (besides taking up cpu and resources)?
  
Reply With Quote
Re: Waypointing
Old
  (#12)
Ghoul
Moderator
 
Status: Offline
Posts: 56
Join Date: Jul 2004
Location: Michigan
Default Re: Waypointing - 02-12-2004

The infinite loop stops the game from progressing. It uses up all CPU power trying to do the loop, and never does anything else. To the user, it looks like the game freezes, since the renderer stops, as do all other game functions.

So, it's pretty much like a crash, except harder to find.
  
Reply With Quote
Re: Waypointing
Old
  (#13)
hiyahin
Member
 
hiyahin's Avatar
 
Status: Offline
Posts: 34
Join Date: Nov 2004
Location: UK
Default Re: Waypointing - 03-12-2004

Oh right. So I should say that my game freezes instead of crashing. I haven't experienced any crashing yet.
  
Reply With Quote
Re: Waypointing
Old
  (#14)
CoCoNUT
Member
 
CoCoNUT's Avatar
 
Status: Offline
Posts: 120
Join Date: Jan 2004
Location: Germany/Lower Saxony/
Default Re: Waypointing - 08-12-2004

Hi, I liked Science and Industry. Tried Gravebot and it worked fine. I made a few waypoints for some maps- only "rough sketch" without jump-crouch and -lift -waypoints. The bots seemed to have some trouble at doors. Worked fine overall, bots completed the goals fine. Would be nice to have some more detailed infos about the waypoint-flags (lift, doors etc.). Anyway, anyone may use these waypoints and tweak them (maybe this saves some time). Have fun!

Attachment: Some waypoints
Attached Files
File Type: zip si-grave-coco.zip (416.5 KB, 954 views)


For maps, nav-files, waypoints and more visit: http://coconut.de.tc
  
Reply With Quote
Re: Waypointing
Old
  (#15)
hiyahin
Member
 
hiyahin's Avatar
 
Status: Offline
Posts: 34
Join Date: Nov 2004
Location: UK
Default Re: Waypointing - 08-12-2004

Hey, thanks a lot. I must try it now.

Edit: I've just had a game of si_urban with bots (13bots + me). I mean, a full game. No crashes, no freezes, nothing wrong what-so-ever, except that the bots didn't go up the ladders on the rooves. I think the problem that makes the game freeze is either:
1) Waypoint flags
2) si_overtime waypoints has problems

I haven't tried laser or deep yet. I'll get to it someday.

Edit2: I've just tried si_deep. It freezes. The similarities between overtime and deep is that the bot gets stuck in the spawn room in both of them. Still got laser to try

Last edited by hiyahin; 08-12-2004 at 22:25..
  
Reply With Quote
Re: Waypointing
Old
  (#16)
Ghoul
Moderator
 
Status: Offline
Posts: 56
Join Date: Jul 2004
Location: Michigan
Default Re: Waypointing - 09-12-2004

Thanks for your testing, things like that help narrow the problem down. I'm hoping that with some testing this weekend I'll be able to figure out what is causing the issue. I plan on running many games with certain features disabled, this will hopefully track down the issue to a certain function or set of code, which I can then analyze for problems.

The fact that it could be waypoint related does make me think. Waypoints do a LOT of looping (looping through waypoints, looping through entities near waypoints, etc.). I had to write some custom waypoint finding code for S&I due to the way gathering weapons is handled (weapon_generic and weapon_experimental can be any weapon or weapons).

As for the waypoint flags, most of them are pretty simple and are the same flags that HPB bot uses, although they don't really serve any practical purpose. You'll notice that si_overtime doesn't use any flags except team flags and item/health/armor flags. Even so, I'll expand the documentation when I find time.

Thanks for your input!

Last edited by Ghoul; 10-12-2004 at 04:04..
  
Reply With Quote
Re: Waypointing
Old
  (#17)
CoCoNUT
Member
 
CoCoNUT's Avatar
 
Status: Offline
Posts: 120
Join Date: Jan 2004
Location: Germany/Lower Saxony/
Default Re: Waypointing - 09-12-2004

A little waypoint-update (doors are fixed):

Maps:
si_deep, si_laser, si_mercato, si_metropolis, si_mtg, si_retrovirus, si_urban

Note: These waypoints are only "rough sketch" (but they work).
Only flags: team, weapon, health, armor, door, crouch, ladder

Attached Files
File Type: zip si-grave-coco.zip (1.15 MB, 905 views)


For maps, nav-files, waypoints and more visit: http://coconut.de.tc

Last edited by CoCoNUT; 09-12-2004 at 14:19..
  
Reply With Quote
Re: Waypointing
Old
  (#18)
hiyahin
Member
 
hiyahin's Avatar
 
Status: Offline
Posts: 34
Join Date: Nov 2004
Location: UK
Default Re: Waypointing - 09-12-2004

Ooo... more waypoints. Thanks a lot.

Go on Ghoul. Make him your official waypointer... =P.
  
Reply With Quote
Re: Waypointing
Old
  (#19)
Ghoul
Moderator
 
Status: Offline
Posts: 56
Join Date: Jul 2004
Location: Michigan
Default Re: Waypointing - 10-12-2004

I'll have to take a look at this some time during the weekend.

The major idea I must stress behind waypointing is checking the paths between waypoints. I often find that waypointers just add waypoints and let the auto-connecter do the work for them. It doesn't always do the best job, and sometimes connects waypoints above other waypoints, or waypoints on the other side of something like a fence.

Wouldn't want the bot running into a grate thinking it could get to the other side. :-/
  
Reply With Quote
Re: Waypointing
Old
  (#20)
CoCoNUT
Member
 
CoCoNUT's Avatar
 
Status: Offline
Posts: 120
Join Date: Jan 2004
Location: Germany/Lower Saxony/
Default Re: Waypointing - 10-12-2004

Some waypoint-update (doors and jump-flags, some paths fixed). Bots play well and the mod is fun .

Maps:
si_deep, si_laser, si_mercato, si_metropolis, si_mtg, si_retrovirus, si_urban

Note: These waypoints are only "rough sketch".
Only flags: team, weapon, health, armor, door, crouch, ladder, jump
Attached Files
File Type: zip si-grave-coco.zip (1.15 MB, 883 views)


For maps, nav-files, waypoints and more visit: http://coconut.de.tc

Last edited by CoCoNUT; 10-12-2004 at 10:02..
  
Reply With Quote
Reply


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

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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com