magowiz / Castle-Age-Autoplayer

Auto player for Castle Age game on Facebook.
http://caaplayer.freeforums.org
20 stars 30 forks source link

Quest rewrite + hunter point logic #227

Closed Artifice closed 9 years ago

Artifice commented 9 years ago

Quests Add Quest Lands and Quests dashboards. Quests to be done manually can only be set from the dash, by clicking the "play" shaped button at the end of the quest line on the dash. Quests are live on the dash, so if you click a quest name, you do the quest! Lands are live as well and will take you to that quest land. Redo Quest config menu. Aside from normal "When Quest" option, land selections replace by "Quest For" with speed or skill point or gold options. Hopefully the titles are explanatory. Convert quest code over to navigate3 structure. Faster navigation. Old: Go to quests, go to specific land, click on buy item, click on ok, click quest. New: Go to specific land, buy item, click quest. Move quest code into it's own worker. Quest code reduced from 1700+ lines down to about 1/3 of the old size at 566 lines, with increased functionality!

Hunter Smart collect -- if CAAP about to collect and there are hunter monsters that can be gathered together to reach the target hunter points, it will collect them, only up to the target points. CAAP will also double collect hunter to clear back log, i.e. if you collect conquest and have another bunch of dead hunter monsters, it will collect them again before doing any more conquest/guardian/engineer. Smart damage -- use :hunt in monster priority string to have CAAP calculate how much stamina you should do on conquest monsters to reach your target hunter points. For example, if you want mithril medals at 4500 stamina and currently have 3000 hunter points, either collected or waiting in a dead monster, CAAP will only do the gap points against the next monster for 1500 and work on the full 4500 points against the monster after that. Some funky combinatorics went into teaching CAAP to do that!

Conquest Battle Fix for when at 0 tokens but CAAP still trying to attack Fix for reading tokens for players at max conquest level of 100

Conquest Options Wait when unable to collect since already collected max times that day Fix for not collecting when points exactly equal to target points, i.e. if guardian points are 1000, won't collect because waiting for >1000

Essence Convert Essence over to navigate3 format. No more futzing with right/left arrows and then clicking confirm. CAAP goes to the guild page and makes the trade in two steps.

Feed Add mainonly option for joining headless monster kills Add main for your records for headless monster kills Add stamina spent to records for join hit Fix achievement title for Agamemnon

Monster Fix some targeting issues with multi-part monsters Override part order priority for main-only monsters Fix min stamina from 20 to 0 when in level up mode Add :main syntax to monster priority to set different max for headless monsters

Engineer - Add wait period if fortification at max Multi-char - Add faster swap to next toon if idle for 1 minute Battle - Fix "regext" error Dashboard - reduce unnecessary dash refreshes from guild battles General - add check to make sure general charged when doing zin, etc. Stats - Fix for incorrect reading of base health value -- thanks, Xaman!

Artifice commented 9 years ago

Thanks!

Sent from my iPhone

On Jul 1, 2015, at 1:12 AM, magowiz notifications@github.com wrote:

Merged #227.

― Reply to this email directly or view it on GitHub.