IPB WARNING [2] preg_replace_callback(): Requires argument 2, 'clean_long_url', to be a valid callback (Line: 375 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace_callback(): Requires argument 2, 'clean_long_url', to be a valid callback (Line: 375 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace_callback(): Requires argument 2, 'clean_long_url', to be a valid callback (Line: 375 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace_callback(): Requires argument 2, 'clean_long_url', to be a valid callback (Line: 375 of /sources/classes/bbcode/class_bbcode.php)
BOTs stand and jump on 1 spot while attacking - RCBot Forums
IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> BOTs stand and jump on 1 spot while attacking, where is this action defined ?
Salvax
post May 1 2007, 12:52 AM
Post #1


Advanced Member
***

Group: Members
Posts: 75
Joined: 14-February 07
Member No.: 1,034



Captain, new problem . blink.gif

i'v searched all the codes , but in vain. sad.gif

it seems that bot thinks himself as being stuck, and do the [checkstuck] code ???

if i wanna change the action to randomly crouching and don't let the bot jump while crouching, what should i do ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
terminator_2
post May 1 2007, 07:55 PM
Post #2


Member
**

Group: Members
Posts: 13
Joined: 26-February 07
Member No.: 1,057



salvax,

We tested the code today on one of the maps that I have waypointed recently (dm_slammer) and the bots now use the ladders! Great work m8.

How did the exams go?

Server still crashes when clients leave the game and we get a few random crashes..... but we can put up with that!

Terminator_2
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 3 2007, 05:13 PM
Post #3


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE(Salvax @ May 1 2007, 01:52 AM) *

Captain, new problem . blink.gif

i'v searched all the codes , but in vain. sad.gif

it seems that bot thinks himself as being stuck, and do the [checkstuck] code ???

if i wanna change the action to randomly crouching and don't let the bot jump while crouching, what should i do ?


use check stuck time, m_fCheckStuckTime = gpGlobals->time + <time>

<time> can be 1.0f seconds for example
User is online!Profile CardPM
Go to the top of the page
+Quote Post
Salvax
post May 4 2007, 01:47 AM
Post #4


Advanced Member
***

Group: Members
Posts: 75
Joined: 14-February 07
Member No.: 1,034



Awesome! That works ! as <time> is bigger, Bots seldomly do the check stuck code smile.gif thank you very much Captain ! smile.gif

@terminator_2:
thx, and i replied here: 2007-04-30 Yeah, ladders and more ...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th April 2024 - 03:54 PM