[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Frikbot waypointing question

Frikbot waypointing question

Discuss Artificial Intelligence and Bot programming.

Moderator: InsideQC Admins

Frikbot waypointing question

Postby Lightning Hunter » Tue Sep 29, 2009 4:57 am

Edit: This question has been solved.

Is there a way to make Frikbots aware of a trap when it has been activated? I'm doing waypoints for , and am having an issue with a certain hallway. There is an RL a hallway that is over some lava. When a button is pressed, the hallway floor goes down into the lava, killing the person who happened to be going for the RL at the time. The problem is that the bots will press the button to activate the trap, then proceed to go for the RL and kill themselves. I tried giving the waypionts before the hallway the AI flag of "wait for plat", but it didn't work. They still go running right into the lava. Any suggestions?

Screenshots of the trap:

Image

Image
Last edited by Lightning Hunter on Wed Sep 30, 2009 6:43 pm, edited 1 time in total.
User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby FrikaC » Tue Sep 29, 2009 3:59 pm

FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby Lightning Hunter » Tue Sep 29, 2009 7:47 pm

Awesome, that worked. I did actually read your readme file plenty of times, but I guess I didn't understand the door flag part completely until now. Thanks. :)

I've got another question, if you don't mind! Is there a way to force frikbots to jump across larger gaps, despite the hazzard below? I've encountered several situations where the bots need to jump across a gap over some slime/lava to obtain an item, but end up running back and forth at the edge, refusing to jump across. I've had to use "superjump" flags with a few such jumps, but the bots are just terrible at rocket jumping in such situations. They usually end up blowing themselves in the slime/lava 50% of the time, regardless of where I put the waypoints.

Take this jump in cmania2 for example. Humans can easiliy do a normal jump across this lava pit, but bots get stuck on the edge and refuse to jump across. They will attempt to rocketjump, but end up going straight up and down into the lava 50-75% of the time. They are lucky if they make it across.

Image
User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby Lightning Hunter » Wed Sep 30, 2009 10:21 am

Edit: This question has been solved.

Sorry for another question so quick (and a double post), but I have another waypointing question (this one even more important). Why is it that sometimes the "wait for plat" flag doesn't work? I'm working on this one map in which NONE of the lifts work with the "wait for plat" flag. The lifts are in a shaft, with a waypoint before the lift, above the lift, and after the lift. I set the first waypoint to "wait for plat" - like I do with all lifts. However, when the bot gets to the first waypoint, he just sits there and stares at the lift! I've noticed this behavior in a few other maps as well. The bot will use the lift just fine if I take off all flags, except for one major problem - they will not wait for the lift to come back down, and will get stuck below it constantly.

Here is a screenshot to show what I mean. The bot at the bottom is just sitting there because the waypoint he is on has the "wait for plat" flag set.
Image

I uploaded the map I'm working on with full waypoints here in case anybody wants to see it for themselves. I currently don't have flags set for any of the lifts, so the bots get stuck under the platforms all the time. Is there a way to get the bots using these lifts properly?

Download:
http://filebeam.com/3b778ff2670b0e8307b129b063ff75c7

EDIT: I figured it out! I must have been really tired last night, because it took me about 20 minutes of tinkering to fix it this morning. I looked at the .ENT file of the map in question, and realized that all the lifts were set as "func_door", so of course the "wait for plat" flag won't work. I went back to the readme file again, and decided to try using the "ride the train" flag. After moving the waypoints around, they finally use the lifts correctly. :D

My question before this one is still not answered, though.
User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby FrikaC » Wed Oct 14, 2009 7:30 pm

FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby Lightning Hunter » Wed Oct 14, 2009 9:09 pm

User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby Lightning Hunter » Sat Oct 17, 2009 4:34 am

User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby FrikaC » Mon Oct 26, 2009 3:54 pm

Ah, if I had more time.
FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby Lightning Hunter » Thu Oct 29, 2009 10:34 am

User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby FrikaC » Thu Oct 29, 2009 4:09 pm

FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby Lightning Hunter » Thu Oct 29, 2009 8:29 pm

User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby r00k » Fri Oct 30, 2009 6:49 am

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Postby Lightning Hunter » Fri Oct 30, 2009 10:57 am

User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby Lightning Hunter » Sat Oct 31, 2009 8:04 am

User avatar
Lightning Hunter
 
Posts: 169
Joined: Wed Nov 28, 2007 6:15 am

Postby FrikaC » Mon Nov 02, 2009 5:21 pm

FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Next

Return to Artificial Intelligence

Who is online

Users browsing this forum: No registered users and 2 guests