.:: 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 > POD-Bot mm > Bug Reports
Bug Reports Post any bug you experience with the latest release of this bot here

Reply
 
Thread Tools
Re: Button code is still f*cked up...
Old
  (#11)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Button code is still f*cked up... - 05-06-2004

Hm... that might be an explanation.

Just for curiosity: What advantage does that offer over a door that's triggered directly? Is it a problem if one and the same door is triggered by more than one button?

Wait a minute - wouldn't a trigger_multiple appear in the entity list of a BSP file? I'm asking because I just scanned cs_iraq.bsp, and there are only func_doors and func_buttons, no trigger_multiple. There IS a trigger_camera, however, and if that is visible, a trigger_multiple ought to be visible, too, or am I wrong?



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#12)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Button code is still f*cked up... - 06-06-2004

There is a little difference between doors on de_prodigy and cs_iraq (cs_arabstreets) - On de_prodigy the button for opening door is not at the same wall like the door - is at the "normal" (perpendicular) wall. On cs_iraq (cs_arabstreets) the buttons are at the same wall like the door. The button at one side maybe is "visible" by bot from another side of the wall. This can get them to stuck - because they know - "We have to open the door , but we don't see any button. We know - there is a button (at second side of the wall), but we don't see it".
  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#13)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: Button code is still f*cked up... - 06-06-2004

hey >BKA< T Wrecks vbmenu_register("postmenu_16760", true); could u have a look at cs_1701e if u can get time...it's got a similar button problem

there's 1 door and A Button either side. (terrorist spawn area) the thing is it's like a 5-10 sec delay b4 door opens or something ....but with bots the either keep pressing the open buttuons or not use it at all


●_•
  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#14)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Button code is still f*cked up... - 06-06-2004

I did have a look at the map, and I know which door you mean. Unfortunately, I didn't have your WPs at hand, so I couldn't test this with bots. Gonna do that today.



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#15)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: Button code is still f*cked up... - 07-06-2004

i found the most horrible thing about the map..if u try save the hostage without going through the door's they get stuck in that dark corridor just b4 u go down n up that ramp towards rescue zone :'(

...

i've tried many things to make those buttons work....(the lift has been redon and works well now)

i think the solution: needs to be that the bot's can't press the button again for 2-5 secs will help alot on many maps....but in the end it's just a patch solution ....and not a proper fix (plz include this if possible in next beta )


●_•
  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#16)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Button code is still f*cked up... - 08-06-2004

Man, I could really cry... I'm waypointing cs_bbicotka right now, and with that button code, it's unplayable. It's too narrow to place waypoints far away from doors, and besides there are 2 lifts that are unusable for bots anyway... but with waypoints having to be near the lifts and doors (narrow corridors), bots always get stuck and play "press the invisible little button that only I can see". Why are they unable to move once they see a button?

From what I've seen, the button code only does the following in many, many cases:
1) Bot stands still like glued to the ground, even in places where there is no button.
2) Bot looks left or right, pushes a button (if there is one, and if there isn't, it pushes thin air), looks forward again... and stops moving altogether.

If they at least pushed a button and then walked back to the WP they came from, but no... :'(



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#17)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: Button code is still f*cked up... - 08-06-2004

Quote:
Originally Posted by >BKA< T Wrecks
Man, I could really cry... I'm waypointing cs_bbicotka right now, and with that button code, it's unplayable. It's too narrow to place waypoints far away from doors, and besides there are 2 lifts that are unusable for bots anyway... but with waypoints having to be near the lifts and doors (narrow corridors), bots always get stuck and play "press the invisible little button that only I can see". Why are they unable to move once they see a button?

From what I've seen, the button code only does the following in many, many cases:
1) Bot stands still like glued to the ground, even in places where there is no button.
2) Bot looks left or right, pushes a button (if there is one, and if there isn't, it pushes thin air), looks forward again... and stops moving altogether.

If they at least pushed a button and then walked back to the WP they came from, but no... :'(
damn...being a narrow map u porbably can't do my work around

this buttom code really needs to be fixed..............PMB plz help us:'(


●_•
  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#18)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: Button code is still f*cked up... - 17-06-2004

*BUMP*

I think this topic needs some more attention than it's currently getting, but I also have some new screenies and suggestions.

There are several problems:
1. Bots seem to make this button check all the time - even at doors that are untriggered. This leads to bots getting stuck in such doors.
2. When they have found a button, they mostly freeze instead of walking to it.
3. If they walk towards the button, they take a straight line to it, ignoring all obstacles in their way, disobeying all waypoints in their reach. So they mostly get stuck, too.

And here are some thoughts on how to solve thes problems:
1. Could the button check be limited to triggered doors? Why do waypoints near normal doors cause a button search routine? Why does placing waypoints further away from the door prevent this? The connection A<=>B still leads through a func_door, no matter how big or small the distance.
2. + 3. Couldn't bots detect which WP is nearest to the button (and thus the path to this WP), follow a waypointed path to this point and THEN cover the last remaining distance to the button with unwaypointed navigation (if necessary)?

See these screenies:
(The map is cs_ark, the door is right at CT spawn, and the "buttons" are really just trigger areas - once you step closely up to the button, the trigger gets activated and the door starts opening. No use key required here.)
Attached Thumbnails
Click image for larger version

Name:	button-error_1.jpg
Views:	367
Size:	60.4 KB
ID:	323   Click image for larger version

Name:	button-error_2.jpg
Views:	396
Size:	48.1 KB
ID:	324   Click image for larger version

Name:	button-error_3.jpg
Views:	381
Size:	36.4 KB
ID:	325  



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.


Last edited by >BKA< T Wrecks; 17-06-2004 at 01:47..
  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#19)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: Button code is still f*cked up... - 25-06-2004

2. When they have found a button, they mostly freeze instead of walking to it.


3. If they walk towards the button, they take a straight line to it, ignoring all obstacles in their way, disobeying all waypoints in their reach. So they mostly get stuck, too.


fixing these 2 will improve the button code alot......

especially following wp's ..they don't seem to do that at all once they got to a button therefore making one way pathh from button to door doesn't always work....and in the latest dll it seems only some bots do this others get stuck aka sit at the button.


●_•
  
Reply With Quote
Re: Button code is still f*cked up...
Old
  (#20)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Button code is still f*cked up... - 25-06-2004

(2) is actually the main problem.
The problem is that POD-bot only knows ONE and ONLY ONE goal, it is the path it's following.
You want to make it able to temporarily disregard this goal (sorta "put it in the background") and find ANOTHER goal (push the button) with ANOTHER path that it must follow, and THEN, switch back to the primary, main goal.
It's quite a big change in the POD-bot code.
Although I agree: this will need to be done, sooner or later.

Once this will be working (running several goals at once, I mean), then the bot will be able to not only open doors, but to do a whole lot of incredible things



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com