Bots joining games

https://github.com/bwapi/bwapi
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
abcdefg
Posts: 45
Joined: Sat Aug 20, 2011 2:37 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Bots joining games

Postby abcdefg » Tue Sep 18, 2012 1:35 am

So I have a bot on a VM and I make a game. I want the bot to automatically join my game and after I lose :) to automatically join my game after I remake without having to go back to the bot and join again. It seems to generally work except the bot creates its own game instead of waiting for me to make a game with a certain name. Is there a way to have the bot wait until it sees my game name before joining it but have it automatically do the menus?
Im not good player so I want to practice. I have to say skynet seems to slaughter me. That goon micro is brutal if you dont get a fast bunker they eat your marines alive
bugking
Posts: 18
Joined: Sun Dec 20, 2009 5:29 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby bugking » Tue Sep 18, 2012 4:17 pm



The client should have a bwapi.ini with things like:

ai_dll = C:StarCraftAIBroodwarBotQReleaseClientModule.dll ; your client dll
auto_menu = LAN
lan_mode = Local Area Network (UDP)
auto_restart = ON
map = ; auto-joins games
abcdefg
Posts: 45
Joined: Sat Aug 20, 2011 2:37 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby abcdefg » Tue Sep 18, 2012 10:12 pm

Ah thanks will try that
krasi0
Posts: 254
Joined: Thu Dec 18, 2008 12:42 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby krasi0 » Wed Sep 19, 2012 4:29 pm

Hey, bugking! Do you still work on a bot? Also I haven't seen you in the IRC chan lately.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)”

Who is online

Users browsing this forum: No registered users and 11 guests