openkore icon indicating copy to clipboard operation
openkore copied to clipboard

IRO ReStart Autosell and stuck

Open oleokoong opened this issue 9 years ago • 36 comments

Im test with the latest version Openkore 26/7/2017

Everytime my bot weight > 48% and back to town.. After Auto-sell sequence completed its stuck and doest move anymore

i have to reopen OK or manual input move (other map name) in console , then it will start calculate route to the map. If your job is archer class, 100% will stuck at the first time..other class just randomly stuck

oleokoong avatar Jul 26 '17 07:07 oleokoong

Try to use your storage istead of selling the items and use relogAfterStorage 1 on your auto storage config so it restart its actions and doesnt get stuck. Then after you sell the itens manualy ingame.

lucasnribeiro avatar Jul 26 '17 13:07 lucasnribeiro

@xTriumph i trying ur way already but honestly still get stuck, have to do it manually

k1nt4r0 avatar Jul 27 '17 09:07 k1nt4r0

@Henrybk openkore keep stucking beetwen storage, autosell, and autobuy dunno how to fix it

k1nt4r0 avatar Jul 27 '17 09:07 k1nt4r0

Have same. Already tried use respawn/move/relog macros, but when bot stuck any macros doesnt execute.

Probably bot is stuck because of tool dealer talk doesnt close.

log is here:

autosell Initiating auto-sell. Calculating auto-sell route to: Inside Lutie(xmas_in): 40, 38 Map Change: xmas_in.gat (43, 33) Calculating auto-sell route to: Inside Lutie(xmas_in): 40, 38 Ready to start selling items Done talking with NPC Tool Dealer (1). Inventory Item Removed: Zargon (6) x 2 You gained 480 zeny. Inventory Item Removed: Candy (7) x 4 You gained 20 zeny. Inventory Item Removed: Red Herb (8) x 6 You gained 54 zeny. Inventory Item Removed: Piece of Cake (9) x 8 You gained 12,000 zeny. Inventory Item Removed: Iron (10) x 1 You gained 50 zeny. Inventory Item Removed: Scell (11) x 13 You gained 1,040 zeny. Inventory Item Removed: Well-baked Cookie (12) x 4 You gained 2,000 zeny. Inventory Item Removed: Hood [1] (13) x 1 You gained 500 zeny. Sell completed. Auto-sell sequence completed. Moving to Portal 46, 33 Map Change: xmas.gat (123, 131) Done talking with NPC Tool Dealer (1).

BigRussianBot avatar Jul 27 '17 10:07 BigRussianBot

Talk is done only after map changed

BigRussianBot avatar Jul 27 '17 10:07 BigRussianBot

Today i try to disable autosell , and the bot doest store item into storage.. Been set all 0 1 0 in itemcontrol.txt after that enable autosell, the bot do the sequence of autosell, but its sell nothing.. all item remain in the character.( itemcontrol.txt has been change to selling setting for autosell)

Maybe today maintanance they change something?

oleokoong avatar Jul 27 '17 10:07 oleokoong

Log from debug npc-talk... so i guess bug occurs when autostorage set to 1. What are your assumptions?

Task::TalkNPC::new has been called with sequence 's'. Talking with NPC Tool Dealer (1) at (290,221), ID 96 C3 00 00 Task::TalkNPC::addSteps has been called with value 'x'. Task::TalkNPC::addSteps has been called with value 's'. Iteration at Task::TalkNPC, current_talk_step '', next step 'x'. NPC Tool Dealer (1): Initiating the talk Iteration at Task::TalkNPC, current_talk_step 'buy_or_sell', next step 's'. Task::TalkNPC::conversation_end called at ai npc_talk 'sell'. NPC Tool Dealer (1): Task::TalkNPC::DESTROY was called Task::TalkNPC::new has been called with sequence 'c r1'. Talking with NPC Kafra Employee (0) at (290,224), ID A6 C3 00 00 Task::TalkNPC::addSteps has been called with value 'x'. Task::TalkNPC::addSteps has been called with value 'c r1'. Iteration at Task::TalkNPC, current_talk_step '', next step 'x'. NPC Kafra Employee (0): Initiating the talk Trying to auto close the conversation due to error. Trying to auto close the conversation due to error. Trying to auto close the conversation due to error. Trying to auto close the conversation due to error. ...

BigRussianBot avatar Jul 27 '17 11:07 BigRussianBot

i download the new bot cause i think the storage system is fixed already and i delete my old bot and now i got the new problem mine is same with @BigRussianBot stuck like that

my bot not walk when sell or buy, only when wanna go storage i sell and buy in a same npc

this is the part where is error i think

Iteration at Task::TalkNPC, current_talk_step 'buy_or_sell', next step 's'. Task::TalkNPC::conversation_end called at ai npc_talk 'sell'. NPC Tool Dealer (1): Task::TalkNPC::DESTROY was called Task::TalkNPC::new has been called with sequence 'c r1'. Talking with NPC Kafra Employee (0) at (290,224), ID A6 C3 00 00 Task::TalkNPC::addSteps has been called with value 'x'. Task::TalkNPC::addSteps has been called with value 'c r1'.

k1nt4r0 avatar Jul 27 '17 11:07 k1nt4r0

server down again..

oleokoong avatar Jul 27 '17 11:07 oleokoong

@oleokoong time to rest =)

BigRussianBot avatar Jul 27 '17 11:07 BigRussianBot

server been ddos i guess, one of my bot able to login others ID

oleokoong avatar Jul 27 '17 11:07 oleokoong

Hmm, i've tested it with mine and he got stuck all the night. He just storaged one time and got stuck. Even after relogging.

lucasnribeiro avatar Jul 27 '17 11:07 lucasnribeiro

I can confirm the bug, i'll be trying to fix t today. Any information is welcome.

Henrybk avatar Jul 27 '17 15:07 Henrybk

If anyone can help me reproduce the bug I would be glad.

Henrybk avatar Jul 27 '17 16:07 Henrybk

Its mine config for debug log above (prontera culvert save spot) config.txt items_control.txt

Just wrote "autosell" and its stuck. @Henrybk hope it will help

BigRussianBot avatar Jul 27 '17 19:07 BigRussianBot

@BigRussianBot I tried your exact configuration and wasn't able to reproduce it.

Henrybk avatar Jul 27 '17 20:07 Henrybk

I am using a custom Corelogic.pm to try to detect the reason of the bug, if you wish to help you can get the branch with the change here: https://github.com/Henrybk/openkore/tree/Corelogic-changes-to-detect-sellauto-bug

It will print in the console information regarding autosell interntal information to help debugging

Henrybk avatar Jul 27 '17 21:07 Henrybk

@Henrybk, ok I'll try, but now re:start servers is down, and in Russian now 1:35 AM :D I promise, ill try reproduce it 👍

BigRussianBot avatar Jul 27 '17 22:07 BigRussianBot

On Fri, 28 Jul 2017 at 8:36 am, BigRussianBot [email protected] wrote:

@Henrybk https://github.com/henrybk, ok I'll try, but now re:start servers is down, and in Russian now 1:35 AM :D I promise, ill try reproduce it 👍

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenKore/openkore/issues/770#issuecomment-318505799, or mute the thread https://github.com/notifications/unsubscribe-auth/AHttuYbh7v24uyL_5abenNoinCZmQllXks5sSRDvgaJpZM4Oji76 .

Once I get home I will try it ..at the moment server still down

Thanks and regards,

Oleo Koong

oleokoong avatar Jul 28 '17 00:07 oleokoong

@oleokoong be careful with sharing links, you might be inadverdently sharing one by a scammer.

kaliwanagan avatar Jul 28 '17 06:07 kaliwanagan