New Sheepbot Feature: Limit number of players in a game!

Jul 15, 2004 18:15 New Sheepbot Feature: Limit number of players in a game!
Now we can limit the amount of ppl who can enter the game. After playing a few awfull huge ass games (4v4 and 5v5 even a 5v6), I asked sheeps if it was possible to let players limit the number of ppl who join a game. Sheeps in his infinite wisdom said "Let there be light...uh limit" and so using his special white fur skills, thou sheepbot hath entered a new era.

Thus the new commands are:

sheepbot 4map <mapname> - starts a password game that is limited to 4 players
sheepbot 6map <mapname> - starts a password game that is limited to 6 players
sheepbot 8map <mapname> - starts a password game that is limited to 8 players

so I have two things to say now.

"THANK YOU SHEEPS, I BOW TO YOUR WHITE FUR"

and

Pawny and Renny can ya update your bots please?

:)

Bolo On,

FireIce
Jul 15, 2004 18:58
kewl.
Jul 15, 2004 19:57
when are we gunna get the fixed map starting features ... and why is this particular feature hardcoded? .. what if I want a limit of 2? .. or 3?

Min
Jul 15, 2004 22:36
Good point, Min.
Jul 16, 2004 00:11
[code:1:82a29c6316] %players = $remove($2,map)
if (%players isnum 2-16) { set %limit %players }
else { set %limit %defaultlimit }
unset %players[/code:1:82a29c6316]
variables will be different of course
Last edited: Jul 16, 2004 00:24 (edited 1 time)
Jul 16, 2004 00:23
[code:1:41e4fb56fe] if ($remove($2,map) isnum 2-16) { set %limit $remove($2,map) }
else { set %limit %defaultlimit }
[/code:1:41e4fb56fe]
if your anal about extra lines and vars
Jul 20, 2004 15:27
So I added this functionality to sb, so you can now add a number 2-15 in front of the map commands to limit the number of players.

i.e. sheepbot 2mapp sheep will limit to 2 players.

Also, thanks to Min for suggesting, sb searches for exact map name match first when starting maps, so there shouldn't be confusion between "big ass slugfest iv.map" and "slugfest iv.map".

Now I will just have to get back working on wbb 3.0 that I haven't touched since February...
Jul 20, 2004 17:24
Great additions, sheepsie. One minor thing: 'sheepbot map cog' brings up 'cloud's cognitive'. Could 'cog' bring up the original Cognitive Dissonance? It would be better because it's hard to spell the whole thing out each time.
Jul 20, 2004 23:36
just a word of warning.....if you did it like I suggested sheeps it may do some funky things.... it would also register map2, 1map2 etc. If you did it differently it might still do that also.....but I don't see this as a problem.....just alil qwerk. As for the map thing....It would be nice if it checked for a complete match...and if it didn't match something completely......it choses a random one with with search result.....ie cog wouldn't always return clouds. map chew would return a different one almost everytime.....would add some variety to things......or make people use the kill command more :)
Jul 26, 2004 16:07
WBB 3.0 has been released, so see this post:
http://www.winbolo.net/forums/viewtopic.php?p=14942#14942

It now does exact mapname search first and to limit players the command is now (for 2 players):

map -2 mapname or map2 mapname

As far as "cog" it is just finding the first match, maybe try "diss" instead?