GetAuto not working properly

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

Message
Author
th3_gam3r
Plain Yogurt
Plain Yogurt
Posts: 94
Joined: 15 Nov 2010, 05:41
Noob?: Yes

Re: GetAuto not working properly

#11 Post by th3_gam3r »

happened to me too in manuk recently.
always get attacked by monsters and kore doesnt fight back.

always says double strafe failed (requirement)

useSelf_item Quiver {
timeout 0.7
inInventory Arrow <= 50
inLockOnly 1

}

been using this config for sometime now.
i had to manually equip arrows and run bot again. any fix?

kimmylee
Noob
Noob
Posts: 19
Joined: 02 Jun 2010, 08:18
Noob?: Yes

Re: GetAuto not working properly

#12 Post by kimmylee »

works in r7585, didnt test with quivers cause i dont have an archer class

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: GetAuto not working properly

#13 Post by EternalHarvest »

Actually I don't even know how it was supposed to work because getAuto trigger in processAutoStorage uses ai_storageAutoCheck, which checks only for items to be put into storage. So it won't trigger by itself unless there are items for storaging as well.

CoreLogic.pm:

Code: Select all

		if ((!defined($routeIndex) || $attackOnRoute > 1) && $needitem ne "" &&
			$char->inventory->size() > 0 && ai_storageAutoCheck()) {
With "&& ai_storageAutoCheck()" removed it seems to work fine.

Looks like here it isn't needed at all, but ai_storageAutoCheck should check for getAuto too because it's also used when we have a chance for triggering auto storage sequence outside of item amount checks (for example, after death).

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: GetAuto not working properly

#14 Post by EternalHarvest »

Changed that in r7591, now getAuto should trigger as documented, right away as you have <=minAmount of item.

Post Reply