PHP Bot

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
Drachlen
Posts: 8
Joined: Sun Nov 22, 2009 9:35 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

PHP Bot

Postby Drachlen » Mon Nov 23, 2009 6:46 am

Hi folks.

I've made a modification of ProxyBot which uses PHP instead of Java.

The source can be found here:

The files can be downloaded here:

It's using a very slightly modified message protocol from the original ProxyBot, so the DLL (and .cpp and .h) files are included.

The bot itself will only send idle harvesters to collect from a single mineral patch upon game start.

Other than that, it has no brains attached.

Hopefully this will be a useful start for anyone else interested in programming in PHP.

Regards
[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
[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 10 guests