.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Reply
 
Thread Tools
Re: Release #2!
Old
  (#21)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Release #2! - 19-05-2004

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]

Last edited by sPlOrYgOn; 19-05-2004 at 03:23..
  
Reply With Quote
Re: Release #2!
Old
  (#22)
!2SX!
Guest
 
Status:
Posts: n/a
Default Re: Release #2! - 19-05-2004

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
  
Reply With Quote
Re: Release #2!
Old
  (#23)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Release #2! - 19-05-2004

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...
  
Reply With Quote
Re: Release #2!
Old
  (#24)
!2SX!
Guest
 
Status:
Posts: n/a
Default Re: Release #2! - 19-05-2004

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
  
Reply With Quote
Re: Release #2!
Old
  (#25)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Release #2! - 19-05-2004

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
[/edit]

Last edited by sPlOrYgOn; 19-05-2004 at 04:38..
  
Reply With Quote
Re: Release #2!
Old
  (#26)
!2SX!
Guest
 
Status:
Posts: n/a
Default Re: Release #2! - 19-05-2004

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...

Last edited by !2SX!; 19-05-2004 at 04:43..
  
Reply With Quote
Re: Release #2!
Old
  (#27)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Release #2! - 19-05-2004

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
  
Reply With Quote
Re: Release #2!
Old
  (#28)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: Release #2! - 19-05-2004

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 ]


●_•
  
Reply With Quote
Re: Release #2!
Old
  (#29)
!2SX!
Guest
 
Status:
Posts: n/a
Default Re: Release #2! - 19-05-2004

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.
  
Reply With Quote
Re: Release #2!
Old
  (#30)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: Release #2! - 19-05-2004

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 ) 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

Last edited by [NvT]_KaszpiR_; 19-05-2004 at 09:28..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com