BWAPI bot matches 24 / 7

Anything related on how to build / improve your AI using BWAPI, BWTA, BWSAL, etc.
Kae
Posts: 35
Joined: Tue Jun 28, 2011 1:26 pm

Postby Kae » Sun Jan 22, 2012 6:56 pm

[quote name='krasi0' date='23 January 2012 - 01:03 AM' timestamp='1327248208' post='10666']
Kae, I am still waiting for a new and improved Aiur version :P
[/quote]

Well, I am really busy these days, so maybe in a couple of weeks (maybe even more...).
I am pretty sure there is a bug in bwapi 3.7.x (I just sent an email to Adam about it). If it is true and if the bug is fixed, Aiur should be better against krasi0. :-p
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Postby krasi0 » Mon Jan 23, 2012 5:50 pm

[quote name='Kae' date='22 January 2012 - 08:56 PM' timestamp='1327258563' post='10668']
[quote name='krasi0' date='23 January 2012 - 01:03 AM' timestamp='1327248208' post='10666']
Kae, I am still waiting for a new and improved Aiur version :P
[/quote]

Well, I am really busy these days, so maybe in a couple of weeks (maybe even more...).
I am pretty sure there is a bug in bwapi 3.7.x (I just sent an email to Adam about it). If it is true and if the bug is fixed, Aiur should be better against krasi0. :-p
[/quote]
Is the bug about detecting enemy races? It's fixed in the version that the ladder uses.
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Postby krasi0 » Tue Jan 24, 2012 10:39 am

New:
Replay download support in beta state. Currently only on one of the VM pairs until I am sure that it works 100%
Please report any bugs regarding this
Kae
Posts: 35
Joined: Tue Jun 28, 2011 1:26 pm

Postby Kae » Tue Jan 24, 2012 4:11 pm

[quote name='krasi0' date='24 January 2012 - 02:50 AM' timestamp='1327341006' post='10674']
Is the bug about detecting enemy races? It's fixed in the version that the ladder uses.
[/quote]

Nope, it's a bug concerning a function in the Unit class (if I am not wrong). This is why my probes don't defend themselves in Aiur_bwapi_4000 even if it was implemented in Aiur_aiide_2011, so krasi0's harassing SCV should not be as successful as it is currently against Aiur_bwapi_4000. ^^

Very cool for the replay stuff!
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Postby krasi0 » Wed Jan 25, 2012 6:33 pm

Now added replay download functionality to all VMs running bwapi bots. Please provide feedback if the replays are broken or do not match the corresponding game.
P.S.
Games with an aqua highlight indicate that a much weaker bot has beaten a stronger one.
Games with an orange highlight indicate that a much much weaker bot has beaten a much stronger one.
AleXoundOS
Posts: 2
Joined: Wed Jan 25, 2012 11:30 am

Postby AleXoundOS » Wed Jan 25, 2012 8:04 pm

Are bots allowed to save data? For example bots can accumulate experience, so that initially weaker bot can beat a stronger one after some number of games, because the weaker's bot lerning mechanism is superior than the stronger one.

This way bots will have opportunity to evolve (if they have ability to learn), furthermore this environment will improve the bots dramatically according to the fact that the matches are played 24/7 between a number of different bots.

The question is about the allowed amount of storage...
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Postby krasi0 » Wed Jan 25, 2012 8:19 pm

[quote name='AleXoundOS' date='25 January 2012 - 10:04 PM' timestamp='1327521863' post='10684']
Are bots allowed to save data? For example bots can accumulate experience, so that initially weaker bot can beat a stronger one after some number of games, because the weaker's bot lerning mechanism is superior than the stronger one.

This way bots will have opportunity to evolve (if they have ability to learn), furthermore this environment will improve the bots dramatically according to the fact that the matches are played 24/7 between a number of different bots.

The question is about the allowed amount of storage...
[/quote]
Yes, the bots are allowed to store data on the FS although the data will be available only on the specific VM for next runs of the bot on the same VM, i.e. on other VMs it will start storing data from scratch. I think some reasonable amount should be less than 200 MB per bot version. Also make sure the bot uses a unique name for its working directory so it doesn't mess with other bots' data.
abcdefg
Posts: 45
Joined: Sat Aug 20, 2011 2:37 am

Postby abcdefg » Thu Jan 26, 2012 12:08 am

[quote name='krasi0' date='25 January 2012 - 12:19 PM' timestamp='1327522775' post='10685']
[quote name='AleXoundOS' date='25 January 2012 - 10:04 PM' timestamp='1327521863' post='10684']
Are bots allowed to save data? For example bots can accumulate experience, so that initially weaker bot can beat a stronger one after some number of games, because the weaker's bot lerning mechanism is superior than the stronger one.

This way bots will have opportunity to evolve (if they have ability to learn), furthermore this environment will improve the bots dramatically according to the fact that the matches are played 24/7 between a number of different bots.

The question is about the allowed amount of storage...
[/quote]
Yes, the bots are allowed to store data on the FS although the data will be available only on the specific VM for next runs of the bot on the same VM, i.e. on other VMs it will start storing data from scratch. I think some reasonable amount should be less than 200 MB per bot version. Also make sure the bot uses a unique name for its working directory so it doesn't mess with other bots' data.
[/quote]

I know its beta but I DL replay 50 between newest skynet and ualbertabot. I load replay at very start I get integer division by 0 exception in brood war at 0x0000094 at 0x00427abf. Seems to happen every time on bot replays but other replays of some pro players work fine.
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm

Postby krasi0 » Thu Jan 26, 2012 6:44 am

[quote name='abcdefg' date='26 January 2012 - 02:08 AM' timestamp='1327536529' post='10687']
I know its beta but I DL replay 50 between newest skynet and ualbertabot. I load replay at very start I get integer division by 0 exception in brood war at 0x0000094 at 0x00427abf. Seems to happen every time on bot replays but other replays of some pro players work fine.
[/quote]
Hey, I guess repfix CL plugin didn't work either?
Can you put links(as the indexes change) to those replays here? Heinermann knows how to fix those broken replays(some header fix). If he could come up with a tool, I could parse them all.
abcdefg
Posts: 45
Joined: Sat Aug 20, 2011 2:37 am

Postby abcdefg » Fri Jan 27, 2012 12:49 am

I lost where those bad replays were at, but will post links if I find any other bad ones. It looks like skynet is dominating the competition and in general protoss bots seem to all be at the top. In my opinion protoss is probably the easiest race to play at a low level which is probably why that is.

Return to “AI development (BWAPI Bots)”

Who is online

Users browsing this forum: No registered users and 1 guest