Forums
Problems with getAuto - Printable Version

+- Forums (https://uaro.kiev.ua/forum)
+-- Forum: uaRO (https://uaro.kiev.ua/forum/forumdisplay.php?fid=1)
+--- Forum: uaOpenKore (https://uaro.kiev.ua/forum/forumdisplay.php?fid=43)
+--- Thread: Problems with getAuto (/showthread.php?tid=64)



Problems with getAuto - Pachacacha - 16-06-2024

Hello!

I'm getting some errors when trying to get items out of @gstorage (see screenshot).

The setting work for some time but then it bugs out and doesn't get what I tell Kore to get. It happens with different items and different characters. Below is how i have set the storageAuto block

storageAuto 1
#storageAuto_npc morocc 156 97
#storageAuto_npc pay_arche 55 123
#storageAuto_npc geffen 120 62
#storageAuto_npc amatsu 102 149
#storageAuto_npc alberta 28 229
#storageAuto_npc izlude 134 87
#storageAuto_npc prt_fild05 290 224
#storageAuto_npc payon 181 104
storageAuto_distance 5
storageAuto_npc_type 3
storageAuto_npc_steps c r0 n
storageAuto_password
storageAuto_keepOpen 0
storageAuto_useChatCommand @gstorage
relogAfterStorage 0
minStorageZeny 150

getAuto Berserk Potion {
minAmount 0
maxAmount 10
}

Any idea what could be the problem?


RE: Problems with getAuto - Sergio - 16-06-2024

http://uaro.kiev.ua/forum/showthread.php?tid=32


RE: Problems with getAuto - Sergio - 16-06-2024

You have not met the requirements for using @gstorage. Please read everything carefully again.
http://uaro.kiev.ua/forum/showthread.php?tid=51


RE: Problems with getAuto - Pachacacha - 16-06-2024

i read that but i wanted to keep the storage info when its closed. guess i wont be able too and will have to activate storageLog

also, thats the reason getAuto works during some time and then stops working?


RE: Problems with getAuto - Sergio - 16-06-2024

storage log is written automatically when the storage is closed, I think Kora does this automatically - check.
for this you need to keep the second version of the bot without a fix. stop the first one and use the second version to create a log - I do this, it is required very rarely.

getAuto - tries to take it several times, if it fails to do it correctly, then it stops trying. in this case, getAuto does not understand minAmount and always tries to take more. You need to make sure that the number of items is always greater than maxAmount.