http://eis-blog.ucsc.edu/
Play my Bot!
| Forum Index > BW General |
|
djsherman
United States140 Posts
http://eis-blog.ucsc.edu/ | ||
|
Gao Xi
Hong Kong5178 Posts
| ||
|
obesechicken13
United States10467 Posts
I'm on SC break. | ||
|
Kentor
United States5784 Posts
WHy so much work? | ||
|
Eatme
Switzerland3919 Posts
Hopefully I'll manage to get some time to try it tomorrow. Kinda interesting to play vs bots so it should be lots of fun. | ||
|
Nal_rAwr
United States2611 Posts
edit : nvm there's so much to install =O maybe if there was a portable~ | ||
|
Jimmeh
United Kingdom908 Posts
On March 20 2010 05:29 Kentor wrote: Note: playing against the EISBot requires two machines capable of playing StarCraft. WHy so much work? It's to do with the way the bots work. Essentially the API interfaces with Starcraft and emulates a real person playing by issuing commands in the same way a human player's commands would be issued. Thus you need one computer to run the bot and one computer to play against the bot. | ||
|
VTArlock
United States1763 Posts
| ||
|
LuckyFool
United States9015 Posts
| ||
|
k20a
Canada412 Posts
| ||
|
d(O.o)a
Canada5066 Posts
| ||
|
number1gog
United States1081 Posts
| ||
|
StayFrosty
Canada743 Posts
On March 20 2010 06:22 number1gog wrote: Can two computers with the same cd key play on lan? I can load the bot on my laptop but I'm not sure it'd work with the same key. yup install the second pc with the spawn version. | ||
|
WaveMotion
United States147 Posts
| ||
|
Kentor
United States5784 Posts
On March 20 2010 06:22 number1gog wrote: Can two computers with the same cd key play on lan? I can load the bot on my laptop but I'm not sure it'd work with the same key. You never ever needed a key to play on lan for starcraft. Just use UDP instead of Battle.net | ||
|
Sandrosuperstar
Sweden525 Posts
![]() | ||
|
nbtnbt5
232 Posts
Also is it possible to use this to play against other people, say on hamachi if you don't have/want to use 2 computers? | ||
|
LuckyFool
United States9015 Posts
| ||
|
number1gog
United States1081 Posts
On March 20 2010 06:32 Kentor wrote: You never ever needed a key to play on lan for starcraft. Just use UDP instead of Battle.net Damn I feel like noob. [/noob] | ||
|
Kentor
United States5784 Posts
| ||
|
Nal_rAwr
United States2611 Posts
read the readme and its pretty complicated imo you gotta download several other things nonetheless great job on making such great AI if internet is down, this could be useful | ||
|
LuckyFool
United States9015 Posts
http://eis.ucsc.edu/StarCraftBWAPI The bitchiest part is compiling the example dll, since BWAPI uses dll interjection in windows you have to compile on your native machine. And when I say on your native machine, on the machine that is going to be "playing" as the bot. everything else is a breeze. | ||
|
LuckyFool
United States9015 Posts
| ||
|
Kentor
United States5784 Posts
On March 20 2010 06:57 Nal_rAwr wrote: its in the download file obv read the readme and its pretty complicated imo you gotta download several other things nonetheless great job on making such great AI if internet is down, this could be useful obviously it's in there. and it still isn't clear ^ thanks for the link | ||
|
love1another
United States1844 Posts
| ||
|
LuckyFool
United States9015 Posts
1. Install BWAPI: http://eis.ucsc.edu/StarCraftAICompetition#GettingStarted (DONE) 2. Move ExampleAIModule to the bwapi directory (DONE) 3. Double click (double click what? The DLL? Can't do that... Double click the game? Tried that but where and how do I see the following message? In the chat in the warmup??? Aint workin!) Do not start the game until you see the following message: ProxyBot: Waiting for client connection 4. Send replays to: mah email There has to be a step missing. There is no instruction as to where to unzip the esibot release package. | ||
|
pathy
Taiwan619 Posts
| ||
|
Kentor
United States5784 Posts
Then you gotta double click Run Normal.bat and wait until proxybot message. Then go to chaos launcher with bwapi checked and run it. When you make a game it takes a VERY long time before it starts playing.. like a 1-minute wait before your SC will start working. The bot makes like a control group of goons off of 1 base and 2 gates while cutting a lot of probes. Then the goons move out. Just wall and get siege tanks. | ||
|
love1another
United States1844 Posts
On March 20 2010 07:36 LuckyFool wrote: The instructions for setting up the bot kinda suck though. 1. Install BWAPI: http://eis.ucsc.edu/StarCraftAICompetition#GettingStarted (DONE) 2. Move ExampleAIModule to the bwapi directory (DONE) 3. Double click (double click what? The DLL? Can't do that... Double click the game? Tried that but where and how do I see the following message? In the chat in the warmup??? Aint workin!) Do not start the game until you see the following message: ProxyBot: Waiting for client connection 4. Send replays to: mah email There has to be a step missing. There is no instruction as to where to unzip the esibot release package. You need chaos launcher. Then make sure the BWAPI injector is checked when you launch. Then you're good to go. | ||
|
k20a
Canada412 Posts
| ||
|
LuckyFool
United States9015 Posts
uhoh it's still not working. during the run-normal execution I keep getting a nullpointerexception and then it hangs at CBR:Loading case retriever. if anyone else has this problem and figures it out lemme know... oh nevermind it just took a while I see proxybot finally, wow so exciting rofl. | ||
|
k20a
Canada412 Posts
On March 20 2010 07:52 LuckyFool wrote: ah double click "Run-Normal" it all makes sense now. :D where is this run-normal people are speaking of? | ||
|
SultanVinegar
United States372 Posts
On March 20 2010 07:43 Kentor wrote: When you make a game it takes a VERY long time before it starts playing.. like a 1-minute wait before your SC will start working. . This is because it has to learn the map. If you play the same map again there won't be a lag. | ||
|
LuckyFool
United States9015 Posts
| ||
|
k20a
Canada412 Posts
On March 20 2010 07:55 LuckyFool wrote: after u set up the BWAPI download the custom bot from the OP. it sounds like your just using the default bot k20a. I downloaded it again, ran the run-normal yet still doesn't do anything after the initial peon is built. I think it may be a problem with my run-normal, i'll screenshot/upload it in a moment edit - screenshot of my normal bat thing trying to run http://img688.imageshack.us/img688/4494/normalbat.jpg | ||
|
LuDwig-
Italy1143 Posts
| ||
|
Kentor
United States5784 Posts
On March 20 2010 08:04 k20a wrote: I downloaded it again, ran the run-normal yet still doesn't do anything after the initial peon is built. I think it may be a problem with my run-normal, i'll screenshot/upload it in a moment edit - screenshot of my normal bat thing trying to run http://img688.imageshack.us/img688/4494/normalbat.jpg you need to install java http://www.java.com/en/download/chrome.jsp?locale=en&host=www.java.com:80 click Download Java 6 Update 18 | ||
|
LuckyFool
United States9015 Posts
| ||
|
k20a
Canada412 Posts
edit- the run-normal.bat sits at the "waiting for client connection" even when BW is loaded, is that supposed to go that way? | ||
|
LuckyFool
United States9015 Posts
Did you set up the BWAPI correctly? Did you copy the correct files to your windows directory? Make sure you do all of this correctly. I love watching the screen of the bot man it's amazing all the lines and boxes. As soon as I click some units somewhere it can see where I clicked... such hax. | ||
|
k20a
Canada412 Posts
On March 20 2010 08:52 LuckyFool wrote: yes. Did you set up the BWAPI correctly? Did you copy the correct files to your windows directory? Make sure you do all of this correctly. I love watching the screen of the bot man it's amazing all the lines and boxes. As soon as I click some units somewhere it can see where I clicked... such hax. I've ran over that probably 5+ times now, everything is as it should be but the same problem still occurs =[ edit- got it working, stupid compiling error on my part edit #2 - no end of troubles here, bw crashes maybe 1-2 minutes in t.t | ||
|
Chunkybuddha
Canada347 Posts
bot 1 me 0 and we didn't even get to play ![]() | ||
|
LuckyFool
United States9015 Posts
| ||
|
yoshi_yoshi
United States440 Posts
| ||
|
nbtnbt5
232 Posts
On March 20 2010 06:59 LuckyFool wrote: detailed instructions on to how to setup the BWAPI interface: http://eis.ucsc.edu/StarCraftBWAPI The bitchiest part is compiling the example dll, since BWAPI uses dll interjection in windows you have to compile on your native machine. And when I say on your native machine, on the machine that is going to be "playing" as the bot. everything else is a breeze. How exactly are you suppose to "compile" ExampleAIModule.sln? Whenever I try to build > build solution I get an error: + Show Spoiler + ------ Build started: Project: ExampleAIModule, Configuration: Debug Win32 ------ Linking... Creating library F:\Program Files\Starcraft\BWAPI\BWAPI_Beta_2.6.1\ExampleAIModule\Debug\ExampleAIModule.lib and object F:\Program Files\Starcraft\BWAPI\BWAPI_Beta_2.6.1\ExampleAIModule\Debug\ExampleAIModule.exp LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library ExampleAIModule.obj : error LNK2019: unresolved external symbol "void __cdecl BWTA::readMap(void)" (?readMap@BWTA@@YAXXZ) referenced in function "public: virtual void __thiscall ExampleAIModule::onStart(void)" (?onStart@ExampleAIModule@@UAEXXZ) ExampleAIModule.obj : error LNK2019: unresolved external symbol "class std::set<class BWTA::Region *,struct std::less<class BWTA::Region *>,class std::allocator<class BWTA::Region *> > const & __cdecl BWTA::getRegions(void)" (?getRegions@BWTA@@YAABV?$set@PAVRegion@BWTA@@U?$less@PAVRegion@BWTA@@@std@@V?$allocator@PAVRegion@BWTA@@@4@@std@@XZ) referenced in function "public: virtual void __thiscall ExampleAIModule::onFrame(void)" (?onFrame@ExampleAIModule@@UAEXXZ) ExampleAIModule.obj : error LNK2019: unresolved external symbol "class std::set<class BWTA::BaseLocation *,struct std::less<class BWTA::BaseLocation *>,class std::allocator<class BWTA::BaseLocation *> > const & __cdecl BWTA::getBaseLocations(void)" (?getBaseLocations@BWTA@@YAABV?$set@PAVBaseLocation@BWTA@@U?$less@PAVBaseLocation@BWTA@@@std@@V?$allocator@PAVBaseLocation@BWTA@@@4@@std@@XZ) referenced in function "public: virtual void __thiscall ExampleAIModule::onFrame(void)" (?onFrame@ExampleAIModule@@UAEXXZ) ExampleAIModule.obj : error LNK2019: unresolved external symbol "class BWTA::BaseLocation * __cdecl BWTA::getStartLocation(class BWAPI: layer *)" (?getStartLocation@BWTA@@YAPAVBaseLocation@1@PAVPlayer@BWAPI@@@Z) referenced in function "unsigned long __stdcall AnalyzeThread(void)" (?AnalyzeThread@@YGKXZ)ExampleAIModule.obj : error LNK2019: unresolved external symbol "void __cdecl BWTA::analyze(void)" (?analyze@BWTA@@YAXXZ) referenced in function "unsigned long __stdcall AnalyzeThread(void)" (?AnalyzeThread@@YGKXZ) F:\Program Files\Starcraft\BWAPI\BWAPI_Beta_2.6.1\ExampleAIModule\Debug\ExampleAIModule.dll : fatal error LNK1120: 5 unresolved externals Build log was saved at "file://f:\Program Files\Starcraft\BWAPI\BWAPI_Beta_2.6.1\ExampleAIModule\ExampleAIModule\Debug\BuildLog.htm" ExampleAIModule - 6 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== | ||
|
LuckyFool
United States9015 Posts
and yes it rapes all in game ai. the goons are microd and the standard AI does dumb shit like mnm in TvP. I dont get this though all it is is one wave of microed goons, nothing like the vids posted earlier... like it does 10/15 gate but the first 15 goons just sit idle in main till they move out. | ||
|
k20a
Canada412 Posts
| ||
|
Archaic
United States4024 Posts
| ||
|
LuckyFool
United States9015 Posts
| ||
|
Highways
Australia6105 Posts
| ||
|
SilentCrono
United States1420 Posts
does it scout? if yes than i'm willing to try it out. | ||
|
Leath
Canada1724 Posts
Have a stroke of its mane, it turns into a plane and then it turns back again when you tug on its winkie. I didnt try it yet because Im too dumb when it comes to install anything slightly complicated in the computer. Someone talks about dll injection and it gives me a headache already. I saw the videos though, and it looks awesome. Though, I notice the dragoons were not firing while moving away from zealots, they interval is too low ^^ Great job. Best AI I have ever seen | ||
|
Bajadulce
United States322 Posts
| ||
|
djsherman
United States140 Posts
I know. BWAPI is crazy, but i just want replays. bgweber@gmail.com | ||
|
HK-47
United States1 Post
| ||
|
Nuclear
Bulgaria17 Posts
| ||
|
3FFA
United States3931 Posts
| ||
|
andiCR
Costa Rica2273 Posts
C:\Games\Starcraft\bwapi-data\AI\eisbot release>java -Xmx1024M -DShowProxyBotGUI=false -DSpeedUp=false -DAutoRestart=false -DABLBotName=StarCraftBotProtoss -DgoalFormulation=true -cp *;. starcraftbot.abl.LauncherProtoss Concatenating Finished in 14 ms Reading from file starcraftbot/abl/abl/StarCraftBotProtoss.abl . . . starcraftbot/abl/abl/StarCraftBotProtoss.abl parsed successfully. Generating code . . . ABL compiler took: 0.613 seconds java.lang.NullPointerException at starcraftbot.abl.LauncherProtoss.main(LauncherProtoss.java:67) CBR: Loading case retriever | ||
|
Nuclear
Bulgaria17 Posts
| ||
|
k20a
Canada412 Posts
here is a tvp against the bot http://www.repdepot.net/replay.php?id=33446 I'm a c+ toss player, I get supply blocked once but that's not what we're watching for ![]() bot is gottaskate | ||
|
AssuredVacancy
United States1167 Posts
So basically have an if((*i)->getGroundWeaponCooldown()>=23) continue; to not issue any commands to the dragoon during that period. You cannot even issue the hold command as that interrupts the firing sequence. | ||
|
Bebop Berserker
United States246 Posts
| ||
|
DN2perfectionGM
United States233 Posts
On March 21 2010 04:48 k20a wrote: I'm about to play a handful of games against it with varying races, will report back with reps in a bit! here is a tvp against the bot http://www.repdepot.net/replay.php?id=33446 I'm a c+ toss player, I get supply blocked once but that's not what we're watching for ![]() bot is gottaskate just reviewed it. ai went 6: pylon, 6: pylon, 6: gateway -_- and made like 10 goons and sent them in a line to terran's base and got melted. i realize making bot is hard, but i had high expectation considering u need two computers and complicated compilation and shizzle to get this thing to work,,, i'd rather play bots that start with extra money. less sophisticated but more challenging... | ||
|
Kentor
United States5784 Posts
| ||
|
Nuclear
Bulgaria17 Posts
His goon micro is not bad, but there are a lot of things, that need to be improved. Also it crashes in some cases (I use BWAPI 2.6.1) | ||
|
nbtnbt5
232 Posts
On March 20 2010 10:40 LuckyFool wrote: make sure you change the debug to release before you try to compile that might be your mistake. Ahh that helped, thank you. But whenever I try to run normal it lags my computer really bad and after a half an hour it failed to do anything so I just didn't run the bot >.> | ||
|
member1987
141 Posts
Anyways good job on it and it managed to beat me twice, when i played zerg, though it lost 5 games from then on. | ||
|
3FFA
United States3931 Posts
On March 21 2010 04:48 k20a wrote: I'm about to play a handful of games against it with varying races, will report back with reps in a bit! here is a tvp against the bot http://www.repdepot.net/replay.php?id=33446 I'm a c+ toss player, I get supply blocked once but that's not what we're watching for ![]() bot is gottaskate lol look at cpu's player link and you can watch a 2nd game on desti! | ||
|
Simple
United States801 Posts
| ||
| ||


layer *)" (?getStartLocation@BWTA@@YAPAVBaseLocation@1@PAVPlayer@BWAPI@@@Z) referenced in function "unsigned long __stdcall AnalyzeThread(void)" (?AnalyzeThread@@YGKXZ)