BWAI Launcher Support/Bug Report

Help - Resources - AI Scripting - Grafting - Plugins - Modding Projects
User avatar
Taranok
Posts: 256
Joined: Tue Sep 07, 2010 9:41 pm

Postby Taranok » Wed Jan 18, 2012 3:38 am

Help!

I select Racine Rebel scripts:
I try to make a team melee game through UDP, but I can't load any computers onto my team, it only allows open and closed.
User avatar
Myk
Posts: 257
Joined: Sat Jun 13, 2009 12:56 pm

Postby Myk » Sun Jan 22, 2012 12:01 am

Is there an easy to to make the launcher save data such as which target exe/mpq to use?

I can get around this by opening it, selecting the targets, then closing it. But that's a lot of steps when I really just want to set it once and not worry about it until it's time to select a different target altogether.

If I don't do that, then whenever it crashes, I have to go in and reset these things.

It's a small change that would make a lot of difference for me. :)
TheCanadianHunter
Posts: 3
Joined: Mon Mar 05, 2012 9:14 pm

Postby TheCanadianHunter » Mon Mar 05, 2012 9:18 pm

Hi, I recently made an AI for SC:BW, and decided to test it in the BWAILauncher against the other AI's. Unfortunately, even after reading quite a lot of posts here, every time I select my AI and try to play, it gives me this error:

Code: Select all

Exception in Tkinter callback
Traceback (most recent call last):
  File "Tkinter.pyc", line 1414, in __call__
  File "BWAILauncher.pyw", line 685, in play
  File "BWAILauncher.pyw", line 193, in execute
AttributeError: CheckList instance has no attribute 'select_set'

Any help would be appreciated. :)
User avatar
Taranok
Posts: 256
Joined: Tue Sep 07, 2010 9:41 pm

Postby Taranok » Mon Mar 05, 2012 9:22 pm

You have a syntax error in your code. Try error checking by importing to PyAI.

Common mistakes:

wait_train(1, Protoss Zealot, 50)
build(1, Protoss Probe) - no priority listed.
TheCanadianHunter
Posts: 3
Joined: Mon Mar 05, 2012 9:14 pm

Postby TheCanadianHunter » Mon Mar 05, 2012 10:26 pm

[quote name='Taranok' date='05 March 2012 - 01:22 PM' timestamp='1330982559' post='10800']
You have a syntax error in your code. Try error checking by importing to PyAI.

Common mistakes:

wait_train(1, Protoss Zealot, 50)
build(1, Protoss Probe) - no priority listed.
[/quote]

Thanks! I will search for the error now :)
TheCanadianHunter
Posts: 3
Joined: Mon Mar 05, 2012 9:14 pm

Postby TheCanadianHunter » Mon Mar 05, 2012 10:43 pm

[quote name='TheCanadianHunter' date='05 March 2012 - 02:26 PM' timestamp='1330986394' post='10801']
[quote name='Taranok' date='05 March 2012 - 01:22 PM' timestamp='1330982559' post='10800']
You have a syntax error in your code. Try error checking by importing to PyAI.

Common mistakes:

wait_train(1, Protoss Zealot, 50)
build(1, Protoss Probe) - no priority listed.
[/quote]

Thanks! I will search for the error now :)
[/quote]
Found it, now it works! But one more question... How might I set up a 1v1 AI battle? (AI vs. AI)
Thanks!
User avatar
Taranok
Posts: 256
Joined: Tue Sep 07, 2010 9:41 pm

Postby Taranok » Mon Mar 05, 2012 11:31 pm

AI vs AI battles can be watched by viewing prerecorded replays. You can download them in this thread.

All you need to do is select your AIs in BWAI Launcher, and go to single player, expansion, load replay, and select one of the replays.

If you want to record your own replays, download BlankAI.exe in the thread, and run multiplayer, top vs bottom, you and one computer against another computer, and then wait for however long you want your replay to be.
User avatar
Taranok
Posts: 256
Joined: Tue Sep 07, 2010 9:41 pm

Postby Taranok » Sun Aug 05, 2012 6:15 am

[spoiler]For whatever reason, recently BWAILauncher has been not been able to open patch_rt.mpq, I never had this problem before. I'm not sure why because no open application I'm aware of is using it.

It seems strange, because one of the scripts that I've written, I run in BWAILauncher, and then gives me this error:

Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1414, in __call__
File "BWAILauncher.pyw", line 685, in play
File "BWAILauncher.pyw", line 217, in execute
File "LibsAIBIN.pyc", line 1728, in compile
KeyError: 136

And then if I try launching again, it won't open patch_rt.mpq, no matter what scripts I choose.[/spoiler]
EDIT: Nevermind. I just forgot to put a stop on the last loop in my code.
User avatar
Taranok
Posts: 256
Joined: Tue Sep 07, 2010 9:41 pm

Postby Taranok » Sun Sep 30, 2012 4:58 pm

I don't whether this will improve the AI, but I made some EXE edits. In theory they should be better.

[attachment=3095:Entropy3.zip]

List of changes:
[spoiler]
Mind Control:
- Terran Siege Tank (Tank Mode)
left Terran Science Vessel as high priority(?)
- Terran Siege Tank (Siege Mode)
- Terran Medic
- Zerg Overlord
+ Zerg Guardian
left Zerg Defiler as high priority(?)
- Zerg Devourer
+ Protoss Archon
- Zerg Lurker

Lockdown AI:
Changed High Priority unit from Reaver to Arbiter

Irradiate AI:
Changed one of them to Mutalisk (maybe it was Overlord?)

Optical Flare AI:
Minimum HP+Shields changed from 80 to 85

Maelstrom:
Total enemy life changed from 250 to 301
Blacklisted - Broodling, Overlord

Nuclear Strike AI:
Total enemy life changed from 800 to 1[size=2]62
0 (defense structures and lurkers are 800)

Parasite AI:
Changed Minimum Current HP from 300 to 900 (parasite is useless)

Ensnare AI:
Allow for Ensnare even when Queen is not on full energy

Plague AI:
Changed minimum HP from 250 to 400

Defense Matrix AI:
Changed target maximum HP from 100 to 120
Changed target current HP from 75 to 100

Spawn Broodling AI:
left Tank (Tank Mode) as High Priority
Changed High Priority Target from Medic to High Templar

EMP AI:
changed minimum shields to 500
changed minimum energy to 225[/size][/spoiler]
User avatar
Taranok
Posts: 256
Joined: Tue Sep 07, 2010 9:41 pm

Postby Taranok » Sun Nov 18, 2012 5:28 pm

When I launch BWAILauncher, it says "The dafault aiscript.bin and bwscript.bin could not be loaded. Continue without the campaign and UMS ai scripts?". What does this mean, and how can I fix it?

Return to “StarCraft Modding”

Who is online

Users browsing this forum: No registered users and 1 guest