WinboloBot

Mar 17, 2004 04:57
Min brings up a good point. If you want to add additional support for other versions, follow my directions listed below using the supplied code.

1) Open up your scripts dialog box.
2) Locate the hotlink script.
3) Below the last "elseif" statement paste in another "elseif" statement, but replacing 1.xx with the version number and C:\pathname\winbolo.exe to the directory of which that version was installed.
[code:1:c4c4aa0c0b]elseif (1.xx isin $hotline) {
run C:\pathname\winbolo.exe $1
}[/code:1:c4c4aa0c0b]
4) An example of someone wanting to include support for 1.10 would be as follows
[code:1:c4c4aa0c0b]on ^*:HOTLINK:*winbolo*//*:*:{ }
on *:HOTLINK:*winbolo*//*:*:{
if (1.13 isin $hotline) {
run C:\winbolo113\winbolo.exe $1
}
elseif (1.14 isin $hotline) {
run C:\winbolo114\winbolo.exe $1
}
elseif (1.10 isin $hotline) {
run C:\winbolo110\winbolo.exe $1
}
}
[/code:1:c4c4aa0c0b]
Mar 17, 2004 06:37
you did your part sticks ... now its sheeps turn ;)

Min
Mar 17, 2004 14:30
Min wrote:
you did your part sticks ... now its sheeps turn ;)
Min


OK, made a quick change and sheepbot can now host versions 1.06-1.14.

The game starting format is pretty different before 1.06, so I didn't bother with that. Maybe Ill add it in later for historical purposes

You just need to include old before the normal map commands, i.e.:
sheepbot oldmap 1.06 Wild Bleeding Chickens
Jul 26, 2004 14:19 WBB 3.0
Just released WBB 3.0.

http://www.sheeps.winbolo.us/wbb.html

I first worked on this in March, but lost interest. I did a major rework of the code and changed the map starting command a bit, sorry for the change but this allow much more options and reduced the code greatly. The map starting commands are now in the format:
map [-(2-15)(ost)aimnppw] [custom password] [mapname]
-(2-15) (for limiting the number of players allowed)
-o (for open game with no password - can't be used with s or t)
-s (for strict game - can't be used with o or t)
-t (for trournament game - can't be used with o or s)
-ai (for no ai)
-m (for invisible mines)
-np (for no password)
-pw (for custom password)

i.e. wbb map -2tai smallball will start a 2 player tourney without ai on smallball.

Now these flag can also be used in the map command, for those that are used to the current setup, so wbb map2tai smallball would also work.
Last edited: Jul 26, 2004 16:19 (edited 1 time)
Jul 26, 2004 16:10
So mapo and mapt still work as they did, the only real change is that mapp became mapnp (or map -np)because the "p" was not unique enough and I never liked how adding a 'p' to the map command removed the password. :)
« Previous 1 2
Page 2 of 2 (30 posts total)