View Single Post
Re: error spamming console
Old
  (#10)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: error spamming console - 02-12-2004

Once again ...

Quotes have to be only for bot's name parameter (if You whole use it). Otherwise don't use quotes for calling any pb commands by mEAn.

pb addbot [skill [personality [team [model [name]]]]]
Examples (correct):
pb addbot 100 2 2 4 "Rambo"
pb addbot 100 2 2 4 Rambo
(the latest one doesn't need to use quotes, because bot's name parameter is without space, but it works, too).
pb addbot 80 3 1 2 "James Bond"
(this one needs quotes for name for sure - but ONLY for name - because there is a space in bot's name)

For coding mEAn - if You are using name parameter for bots - write allways quotes for name paramater - if there is a space or there is not - to prevent confusing You and Your mEAn code (it will work).

Some incorrect calls pb addbot commnds:
pb "addbot 100 2 3"
"pb addbot 100 1 2 4 Roger"
pb addbot "100 3 1 2"
These above are incorrect calls of pb addbot command.

For fillserver You should never use quotes (because You don't specify name parameter).

pb fillserver [skill [personality [team [model]]]]

Meaning of the parameters is like for addbot command. This command let You fill the server by bots until reaching by podbots+human_players(or other bots):
a) the max_bots value if it is specyfied (different than 0)
b) max_players if max_bots is not specyfied (or is equal to 0)

If You want fill Your server by bots with random skill (between minbotskill and maxbotskill), but as "aggresssive" (and You don't care about their models or team), write this line:
pb fillserver 101 2
If You want for example fill the server by bots with skill 100, random personality , random team and random model - write this line:
pb fillserver 100
If You wish to fill the server by bots, but all bots to one team only - then write this:
a)example for T team and skill 90, all else random:
pb fillserver 90 5 1
b)example for CT team and skill and personalities randomly, model 3:
pb fillserver 101 5 2 3

Like You can see above I din't use quotes anywhere.

For removing bots I sent the info by PM few days ago. There is a need use quotes only for name parameter:
pb remove "[P*D]KWo (199)"

To removing all bots - You need to don't use any quotes:

pb removebots

I hope it will be clear forever...

@To mEAn and podbot mm users:
Make sure You are using the latest (for this moment R2B45) podbot mm version. Check it in console by writing:
meta list
Then You should see if there is written "R2B45" (or not) near podbot mm.

Last edited by KWo; 02-12-2004 at 07:58..
  
Reply With Quote