.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   Release #2! (http://forums.bots-united.com/showthread.php?t=1639)

sPlOrYgOn 19-05-2004 03:20

Re: Release #2!
 
it is:
"addbot [skill [personality [team [model [name]]]]]"
notice that the brakets include the other attributes...
It is because if you don't include the one before the attribute you want you cannot have the next attribute.
so if you don't choose a team you can't choose a model or name.
If you don't want to choose a certain thing just put in a
"random number".
The "random number" for skill is 101, for personality is 5, for team is 5, for model is 5, and for name just leave it blank.

[edit]
and btw for commands you type into the console..
every single command typed into the console for podbot needs to begin with "pb"
for example:
"pb addbot [skill [personality [team [model [name]]]]]"
"pb fillserver [skill [personality [team [model]]]]"
"pb jasonmode 1"
etc....
[/edit]

!2SX! 19-05-2004 04:25

Re: Release #2!
 
ok, confusing.. you should add those extra parameters into the docs.. as it still only says

addbot [skill] [team] [name]

for those who read this later, this works (notice, no square brackets):

addbot 45 5 0 5 Bot1-45
addbot 75 5 0 5 Bot1-75
addbot 45 5 1 5 Bot2-45
addbot 75 5 1 5 Bot2-75

random personality, random model, 45 and 75 skill levels, 2 on each team, obvious names

thanks for your time :)

sPlOrYgOn 19-05-2004 04:27

Re: Release #2!
 
notice square brackets means optional...
its not for you to actually type in...
and that is exactly how I said to do that..
Look at the beginning of forum..
first post..
I already put how to use the new args...

!2SX! 19-05-2004 04:33

Re: Release #2!
 
agreed, but it is confusing if the docs included in the download tell you something different..

also, it might be an idea to put an actual example, with all the []'s everywhere i assumed you were meant to actually put them in, cos i didnt see any example without them

sPlOrYgOn 19-05-2004 04:36

Re: Release #2!
 
k, I'm sorry I thought everyone knew how to read arguement examples like these...

[edit]
and the docs are quite old...
they're from podbot 2.5...
I dunno why we still include them..
perhaps it's because our official docs seem to take so long to make..
*hint for doc making people* hurry up :D
[/edit]

!2SX! 19-05-2004 04:41

Re: Release #2!
 
Quote:

k, I'm sorry I thought everyone knew how to read arguement examples like these...
never assume :)

i do understand and agree that [] usually mean an optional switch/command, but with no example... ;)

sPlOrYgOn 19-05-2004 04:44

Re: Release #2!
 
yea because [] are used everywhere..
even in those basic windows programs..
just try typing "copy /?" or almost anything /? in windows and you'll see they use [] for optional.

for linux it's --help :D

Huntkillaz 19-05-2004 04:46

Re: Release #2!
 
right ...umm i'll make a new thread under pb2.6mm

where ppl can post what needs to be changed and what they would like to see

[repost this thing there plz :) ]

!2SX! 19-05-2004 04:46

Re: Release #2!
 
yes i understand that, but i've also seen programs that DO need the []'s in their switches, just because thats what they parse off.

[NvT]_KaszpiR_ 19-05-2004 09:22

Re: Release #2!
 
hey spyrogon
i have managed to compile your version on my platform and it works the best so far from the all released of pb 2.6mm ! great job!

i had just isue wih adidng cpecified bots but after reading thread all seems clear to me now

besides, i thought the old podbot 2.5 waypoints will not work on 2.6
but after checking on one cutom map (de_oimec with waypoints form... soulfather :D ) all work marvellous

and now the bad thing :/
i have notied that when setting minbots and maxbots may cause soma strange behaviour

i set minbots to 6 and maxbots to 7
problem is when i join server one bot is removed but:
rcon status shows there are 8 players
+showscores in game shows there is one bot with DEAD info (thus is not playing)
hlsw says there is one person named <BOT>
amxmod says there is no such user to kick (or any action)

beside this the hlds is not crashing (i tested server 24h/d)

i will have to investigate the matter longer with more tests

ah one more,
i tired tho to test windows version bu i failed to lad even our originally compiled one (don;t know why thoug, i was doind widnws stuff so long ago)

also if you want i can provide you a makefile for windows and linux platforms (for windows i use mingw32-gcc) so if you're interested pm me


All times are GMT +2. The time now is 01:43.

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