Now,we make it opensource! Thanks to my teammates
https://mega.co.nz/#!2hBGzb6a!SjbHzAHp7SLb-Rg9cq6Ac8c0vSGs5nXC65ZE_zoI-Tc
=================================================================
Ailib_lite 0.1b @Fool's Day <Lite Version>
If you like huntercoin, please pay more attention to it and spend
more time on it.3Q.
This codes includes someother's great works.Thanks.And the usage
must be under their permision.The other part of codes can be used
freely for NON-COMMERCIAL prupose.
Please donate us:
BTC: 1MVsLare9qwKRj9pY6hKMvS7WkhwVffMJb
LTC: LMHtfM5KZaqSLzuEsvTAXnPPmqzhgtAmbP
HUC: HGfBenu76X7RuCHHW8CdXDyJ3YGuo9zkdi
=================================================================
Definition of AiLib for huntercoinbot
main function list as below
0 callrpc--done Communicate with the huntercoin client
1 findpath--done find a way between startpoint and endpoint
2 checklinear--done check if two point can be walked straightly
3 nextstep--done return nextstep of the given name,if no wp value,return current position
4 fastscan--done chech if there are any other colors players in given scan area,return a name list,
fastscan('name') return others in name's destruction area
fastscan('name',0,False)return all colored players in name's destruction
fastscan('name',10)return others in name's 21*21 area
5 wptopoint--done translate wp into a list of point
wptopoint(wp) for the wp generate by findpath or ofindpath
wptopoint(wp,[x,y],[fromX,fromY]) for the wp get in game
6 MAP type BASEMAP--done--the basic map
NAMEMAP--done--all name on the map, ervery point like[{'CNTOP.1':'1'}],using for fast detection
DataFormation Example
PATH-------[(1, 1), (60, 57), (60, 56), (65, 51), (72, 50)]
WP---------[65, 256, 69, 255, 139, 256, 144, 257, 146, 259]
POINT------(23,22)
POINTLIST--[65, 256, 66, 256, 67, 255, 68, 255, 69, 255, 70, 255, 71, 255, 72, 255, 73, 255]
NAME-------'Butternut.0'