.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Bug Reports (http://forums.bots-united.com/forumdisplay.php?f=49)
-   -   pb_debuggoal off doesn't work! (http://forums.bots-united.com/showthread.php?t=2861)

>BKA< T Wrecks 26-10-2004 16:41

pb_debuggoal off doesn't work!
 
Has this command be changed to something else, or is there really a bug?

When I type "pb_debuggoal off" in the console, I get the message "goal for bot has been set to 0"... too bad that the waypoint numbers don't start with 1, but with 0! Now all bots will crowd around point #0...

How do I exit debuggoal mode?

[R2b44 Win32 LS]

KWo 26-10-2004 20:54

Re: pb_debuggoal off doesn't work!
 
Code:

            // User forced a Waypoint as a Goal ?
            if (g_iDebugGoalIndex != -1)
            {
                    if (BotGetSafeTask (pBot)->iData != g_iDebugGoalIndex)
                    {
                          DeleteSearchNodes (pBot);
                          BotGetSafeTask (pBot)->iData = g_iDebugGoalIndex;
                    }
            }

I never tried it, but seems it should work, when You will write this:

pb debuggoal -1

Another part of code says something about this - You need manually disable "ignore enemies" , because switching on debuggoal mode (by writting some index >=0 ) - it's switching to on "ignore enemies" function.
;)

BTW - @PMB - Thanks for fixing "code" function.

>BKA< T Wrecks 26-10-2004 22:35

Re: pb_debuggoal off doesn't work!
 
I tried "pb debuggoal -1" - has no effect at all.

[EDIT] I tried some more - it works. Dunno where I fucked up, but it was my bad. Must have mistyped the command or something. Sorry about the false alarm.

KWo 27-10-2004 18:52

Re: pb_debuggoal off doesn't work!
 
I suppose - I know what You "fucked up" - You wrote underscore line like in Your first post in this topic. Between "pb" and comand must be a space instead underscore line. About ignore enemies - seems switching off debuggoal by index -1 - the function ignore enemies is also back to off - so it's correct and seems I have to learn more and read more carefully this C++ code. ;)


All times are GMT +2. The time now is 18:46.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.