OpenKore / openkore

A free/open source client and automation tool for Ragnarok Online
http://openkore.com
Other
1.29k stars 1.05k forks source link

IRO ReStart Autosell and stuck #770

Closed oleokoong closed 7 years ago

oleokoong commented 7 years ago

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

Lucasnribeiro commented 7 years ago

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.

k1nt4r0 commented 7 years ago

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

k1nt4r0 commented 7 years ago

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

BigRussianBot commented 7 years ago

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 commented 7 years ago

Talk is done only after map changed

oleokoong commented 7 years ago

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?

BigRussianBot commented 7 years ago

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. ...

k1nt4r0 commented 7 years ago

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'.

oleokoong commented 7 years ago

server down again..

BigRussianBot commented 7 years ago

@oleokoong time to rest =)

oleokoong commented 7 years ago

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

Lucasnribeiro commented 7 years ago

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.

Henrybk commented 7 years ago

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

Henrybk commented 7 years ago

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

BigRussianBot commented 7 years ago

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

Henrybk commented 7 years ago

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

Henrybk commented 7 years ago

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

BigRussianBot commented 7 years ago

@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 👍

oleokoong commented 7 years ago

On Fri, 28 Jul 2017 at 8:36 am, BigRussianBot notifications@github.com 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

kaliwanagan commented 7 years ago

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

oleokoong commented 7 years ago

[Jul 28 18:22:38 2017.96] Initiating auto-sell. [Jul 28 18:22:39 2017.18] Calculating auto-sell route to: Inside Payon(payon_in02): 87, 34 [Jul 28 18:22:39 2017.82] Map Change: payon_in02.gat (82, 41) [Jul 28 18:22:40 2017.25] You are again: Falcon [Jul 28 18:22:40 2017.49] Party EXP set to Even Share [Jul 28 18:22:40 2017.50] Party item set to Individual Take [Jul 28 18:22:40 2017.50] Party item division set to Individual Take [Jul 28 18:22:42 2017.55] [testBug] Vende de fato. [Jul 28 18:22:42 2017.55] [testBug] sentSell. [Jul 28 18:22:44 2017.78] Ready to start selling items [Jul 28 18:22:46 2017.28] Done talking with NPC Tool Dealer (0). [Jul 28 18:22:46 2017.29] [testBug] Vende de fato. [Jul 28 18:22:46 2017.29] [testBug] pre npctalk_sell check. [Jul 28 18:22:46 2017.29] [testBug] after npctalk_sell check. [Jul 28 18:22:46 2017.29] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.30] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.30] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.30] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.30] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.30] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] found_item_to_sell. [Jul 28 18:22:46 2017.31] [testBug] sent sell packet. [Jul 28 18:22:46 2017.58] Inventory Item Removed: Resin (9) x 3 [Jul 28 18:22:47 2017.44] You gained 180 zeny. [Jul 28 18:22:47 2017.47] Inventory Item Removed: Sticky Mucus (10) x 5 [Jul 28 18:22:47 2017.50] You gained 175 zeny. [Jul 28 18:22:47 2017.52] Inventory Item Removed: Garlet (11) x 3 [Jul 28 18:22:47 2017.54] You gained 60 zeny. [Jul 28 18:22:47 2017.56] Inventory Item Removed: Tooth of Bat (12) x 15 [Jul 28 18:22:47 2017.58] You gained 255 zeny. [Jul 28 18:22:47 2017.60] Inventory Item Removed: Decayed Nail (13) x 1 [Jul 28 18:22:47 2017.62] You gained 41 zeny. [Jul 28 18:22:47 2017.63] Inventory Item Removed: Animal Skin (14) x 12 [Jul 28 18:22:47 2017.65] You gained 216 zeny. [Jul 28 18:22:47 2017.67] Inventory Item Removed: Old Frying Pan (15) x 24 [Jul 28 18:22:47 2017.69] You gained 2,352 zeny. [Jul 28 18:22:47 2017.71] Inventory Item Removed: Raccoon Leaf (16) x 11 [Jul 28 18:22:47 2017.73] You gained 583 zeny. [Jul 28 18:22:47 2017.74] Inventory Item Removed: Skel-Bone (17) x 16 [Jul 28 18:22:47 2017.76] You gained 1,856 zeny. [Jul 28 18:22:47 2017.78] Inventory Item Removed: Red Herb (18) x 8 [Jul 28 18:22:47 2017.80] You gained 72 zeny. [Jul 28 18:22:47 2017.81] Inventory Item Removed: Piece of Egg Shell (19) x 1 [Jul 28 18:22:47 2017.83] You gained 84 zeny. [Jul 28 18:22:47 2017.85] Inventory Item Removed: Potato (22) x 2 [Jul 28 18:22:47 2017.87] You gained 14 zeny. [Jul 28 18:22:47 2017.88] Sell completed. [Jul 28 18:22:48 2017.32] [testBug] Vende de fato. [Jul 28 18:22:48 2017.32] [testBug] pre npctalk_sell check. [Jul 28 18:22:48 2017.32] [testBug] after npctalk_sell check. [Jul 28 18:22:48 2017.32] [testBug] got to done end. [Jul 28 18:22:48 2017.33] Auto-sell sequence completed.

oleokoong commented 7 years ago

[Jul 28 18:26:02 2017.47] You're moving from (87, 37) to (87, 37) - distance 0.0 [Jul 28 18:26:02 2017.73] Received packet: 00C4 Handler: npc_store_begin [Jul 28 18:26:03 2017.50] Iteration at Task::TalkNPC, current_talk_step 'buy_or_sell', next step 's'. [Jul 28 18:26:03 2017.50] Sent get buy list to NPC: F2 C3 00 00 [Jul 28 18:26:03 2017.76] Received packet: 00C7 Handler: npc_sell_list [Jul 28 18:26:03 2017.76] You can sell: [Jul 28 18:26:03 2017.76] 72 x Novice Fly Wing for 0z each. [Jul 28 18:26:03 2017.77] 1 x Novice Butterfly Wing for 0z each. [Jul 28 18:26:03 2017.77] 10 x Butterfly Wing for 150z each. [Jul 28 18:26:03 2017.77] 15 x Orange Potion for 100z each. [Jul 28 18:26:03 2017.77] 30 x Fly Wing for 30z each. [Jul 28 18:26:03 2017.77] 19 x Concentration Potion for 400z each. [Jul 28 18:26:03 2017.77] 1 x Awakening Potion for 750z each. [Jul 28 18:26:03 2017.77] 112 x Tooth of Bat for 17z each. [Jul 28 18:26:03 2017.77] 54 x Raccoon Leaf for 53z each. [Jul 28 18:26:03 2017.78] 173 x Old Frying Pan for 98z each. [Jul 28 18:26:03 2017.78] 65 x Animal Skin for 18z each. [Jul 28 18:26:03 2017.78] 53 x Skel-Bone for 116z each. [Jul 28 18:26:03 2017.78] 8 x Piece of Egg Shell for 84z each. [Jul 28 18:26:03 2017.78] 43 x Red Herb for 9z each. [Jul 28 18:26:03 2017.78] 1 x Rough Oridecon for 275z each. [Jul 28 18:26:03 2017.78] 18 x Scell for 80z each. [Jul 28 18:26:03 2017.78] 16 x Potato for 7z each. [Jul 28 18:26:03 2017.78] 28 x Garlet for 20z each. [Jul 28 18:26:03 2017.79] 5 x Pet Incubator for 1500z each. [Jul 28 18:26:03 2017.79] 7 x Yellow Herb for 20z each. [Jul 28 18:26:03 2017.79] 1 x Professional Cooking Kit for 1000z each. [Jul 28 18:26:03 2017.79] 1 x Egg Shell for 10z each. [Jul 28 18:26:03 2017.79] 2 x Mushroom Spore for 18z each. [Jul 28 18:26:03 2017.79] 1 x Poison Spore for 57z each. [Jul 28 18:26:03 2017.79] 1 x Eggyra Card for 10z each. [Jul 28 18:26:03 2017.79] 1 x Bow [3] for 500z each. [Jul 28 18:26:03 2017.79] 1 x Egg Shell for 10z each. [Jul 28 18:26:03 2017.79] 1 x Bow [3] for 500z each. [Jul 28 18:26:03 2017.80] Ready to start selling items [Jul 28 18:26:04 2017.11] AI: NPC sellAuto route buyAuto route | 6 [Jul 28 18:26:05 2017.30] Task::TalkNPC::conversation_end called at ai npc_talk 'sell'. [Jul 28 18:26:05 2017.30] Done talking with NPC Tool Dealer (0). [Jul 28 18:26:05 2017.30] NPC Tool Dealer (0): Task::TalkNPC::DESTROY was called [Jul 28 18:26:05 2017.31] [testBug] Vende de fato. [Jul 28 18:26:05 2017.31] [testBug] pre npctalk_sell check. [Jul 28 18:26:05 2017.31] [testBug] after npctalk_sell check. [Jul 28 18:26:05 2017.31] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.31] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.31] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.31] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.31] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.32] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.33] [testBug] found_item_to_sell. [Jul 28 18:26:05 2017.33] [testBug] sent sell packet. [Jul 28 18:26:05 2017.33] Sent bulk sell: 18 x 112 [Jul 28 18:26:05 2017.33] Sent bulk sell: 19 x 54 [Jul 28 18:26:05 2017.33] Sent bulk sell: 20 x 173 [Jul 28 18:26:05 2017.33] Sent bulk sell: 21 x 65 [Jul 28 18:26:05 2017.33] Sent bulk sell: 22 x 53 [Jul 28 18:26:05 2017.33] Sent bulk sell: 23 x 8 [Jul 28 18:26:05 2017.33] Sent bulk sell: 24 x 43 [Jul 28 18:26:05 2017.33] Sent bulk sell: 28 x 16 [Jul 28 18:26:05 2017.33] Sent bulk sell: 29 x 28 [Jul 28 18:26:05 2017.33] Sent bulk sell: 34 x 2 [Jul 28 18:26:05 2017.33] Sent bulk sell: 35 x 1 [Jul 28 18:26:05 2017.34] Sent bulk sell: 33 x 1 [Jul 28 18:26:05 2017.34] Sent bulk sell: 37 x 1 [Jul 28 18:26:05 2017.34] Sent bulk sell: 38 x 1 [Jul 28 18:26:05 2017.34] Sent bulk sell: 39 x 1 [Jul 28 18:26:05 2017.61] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:05 2017.62] Tooth of Bat was sold [Jul 28 18:26:05 2017.62] Inventory Item Removed: Tooth of Bat (8) x 112 [Jul 28 18:26:06 2017.76] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.78] Stat: 25 => 40800 [Jul 28 18:26:06 2017.80] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.81] Stat: 24 => 15250 [Jul 28 18:26:06 2017.82] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.83] Stat: 20 => 748294 [Jul 28 18:26:06 2017.84] You gained 1,904 zeny. [Jul 28 18:26:06 2017.85] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.87] Raccoon Leaf was sold [Jul 28 18:26:06 2017.88] Inventory Item Removed: Raccoon Leaf (9) x 54 [Jul 28 18:26:06 2017.89] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.90] Stat: 25 => 40800 [Jul 28 18:26:06 2017.91] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.92] Stat: 24 => 14710 [Jul 28 18:26:06 2017.93] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.94] Stat: 20 => 751156 [Jul 28 18:26:06 2017.95] You gained 2,862 zeny. [Jul 28 18:26:06 2017.96] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.98] Old Frying Pan was sold [Jul 28 18:26:06 2017.99] Inventory Item Removed: Old Frying Pan (10) x 173 [Jul 28 18:26:06 2017.10] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.10] Stat: 25 => 40800 [Jul 28 18:26:06 2017.10] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.10] Stat: 24 => 12980 [Jul 28 18:26:06 2017.10] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.10] Stat: 20 => 768110 [Jul 28 18:26:06 2017.10] You gained 16,954 zeny. [Jul 28 18:26:06 2017.10] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.10] Animal Skin was sold [Jul 28 18:26:06 2017.10] Inventory Item Removed: Animal Skin (11) x 65 [Jul 28 18:26:06 2017.11] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.11] Stat: 25 => 40800 [Jul 28 18:26:06 2017.11] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.11] Stat: 24 => 12330 [Jul 28 18:26:06 2017.11] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.11] Stat: 20 => 769280 [Jul 28 18:26:06 2017.11] You gained 1,170 zeny. [Jul 28 18:26:06 2017.11] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.11] Skel-Bone was sold [Jul 28 18:26:06 2017.11] Inventory Item Removed: Skel-Bone (12) x 53 [Jul 28 18:26:06 2017.11] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.12] Stat: 25 => 40800 [Jul 28 18:26:06 2017.12] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.12] Stat: 24 => 11800 [Jul 28 18:26:06 2017.12] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.12] Stat: 20 => 775428 [Jul 28 18:26:06 2017.12] You gained 6,148 zeny. [Jul 28 18:26:06 2017.12] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.12] Piece of Egg Shell was sold [Jul 28 18:26:06 2017.12] Inventory Item Removed: Piece of Egg Shell (13) x 8 [Jul 28 18:26:06 2017.12] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.12] Stat: 25 => 40800 [Jul 28 18:26:06 2017.12] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.13] Stat: 24 => 11720 [Jul 28 18:26:06 2017.13] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.13] Stat: 20 => 776100 [Jul 28 18:26:06 2017.13] You gained 672 zeny. [Jul 28 18:26:06 2017.13] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.13] Red Herb was sold [Jul 28 18:26:06 2017.13] Inventory Item Removed: Red Herb (14) x 43 [Jul 28 18:26:06 2017.13] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.13] Stat: 25 => 40800 [Jul 28 18:26:06 2017.13] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.13] Stat: 24 => 10430 [Jul 28 18:26:06 2017.14] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.14] Stat: 20 => 776487 [Jul 28 18:26:06 2017.14] You gained 387 zeny. [Jul 28 18:26:06 2017.14] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.14] Potato was sold [Jul 28 18:26:06 2017.14] Inventory Item Removed: Potato (18) x 16 [Jul 28 18:26:06 2017.14] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.14] Stat: 25 => 40800 [Jul 28 18:26:06 2017.14] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.14] Stat: 24 => 10110 [Jul 28 18:26:06 2017.14] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.14] Stat: 20 => 776599 [Jul 28 18:26:06 2017.15] You gained 112 zeny. [Jul 28 18:26:06 2017.15] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.15] Garlet was sold [Jul 28 18:26:06 2017.15] Inventory Item Removed: Garlet (19) x 28 [Jul 28 18:26:06 2017.15] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.15] Stat: 25 => 40800 [Jul 28 18:26:06 2017.15] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.15] Stat: 24 => 9830 [Jul 28 18:26:06 2017.15] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.15] Stat: 20 => 777159 [Jul 28 18:26:06 2017.16] You gained 560 zeny. [Jul 28 18:26:06 2017.16] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.16] Mushroom Spore was sold [Jul 28 18:26:06 2017.16] Inventory Item Removed: Mushroom Spore (23) x 2 [Jul 28 18:26:06 2017.16] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.16] Stat: 25 => 40800 [Jul 28 18:26:06 2017.16] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.16] Stat: 24 => 9810 [Jul 28 18:26:06 2017.16] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.16] Stat: 20 => 777195 [Jul 28 18:26:06 2017.17] You gained 36 zeny. [Jul 28 18:26:06 2017.17] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.17] Poison Spore was sold [Jul 28 18:26:06 2017.17] Inventory Item Removed: Poison Spore (24) x 1 [Jul 28 18:26:06 2017.17] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.17] Stat: 25 => 40800 [Jul 28 18:26:06 2017.17] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.17] Stat: 24 => 9800 [Jul 28 18:26:06 2017.17] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.17] Stat: 20 => 777252 [Jul 28 18:26:06 2017.17] You gained 57 zeny. [Jul 28 18:26:06 2017.18] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.18] Egg Shell was sold [Jul 28 18:26:06 2017.18] Inventory Item Removed: Egg Shell (26) x 1 [Jul 28 18:26:06 2017.18] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.18] Stat: 25 => 40800 [Jul 28 18:26:06 2017.18] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.18] Stat: 24 => 9600 [Jul 28 18:26:06 2017.18] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.18] Stat: 20 => 777262 [Jul 28 18:26:06 2017.18] You gained 10 zeny. [Jul 28 18:26:06 2017.18] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.18] Bow [3] was sold [Jul 28 18:26:06 2017.19] Inventory Item Removed: Bow [3] (27) x 1 [Jul 28 18:26:06 2017.19] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.19] Stat: 25 => 40800 [Jul 28 18:26:06 2017.19] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.19] Stat: 24 => 9100 [Jul 28 18:26:06 2017.19] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.19] Stat: 20 => 777762 [Jul 28 18:26:06 2017.19] You gained 500 zeny. [Jul 28 18:26:06 2017.19] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.19] Egg Shell was sold [Jul 28 18:26:06 2017.19] Inventory Item Removed: Egg Shell (28) x 1 [Jul 28 18:26:06 2017.19] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.20] Stat: 25 => 40800 [Jul 28 18:26:06 2017.20] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.20] Stat: 24 => 8900 [Jul 28 18:26:06 2017.20] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.20] Stat: 20 => 777772 [Jul 28 18:26:06 2017.20] You gained 10 zeny. [Jul 28 18:26:06 2017.20] Received packet: 07FA Handler: inventory_item_removed [Jul 28 18:26:06 2017.20] Bow [3] was sold [Jul 28 18:26:06 2017.20] Inventory Item Removed: Bow [3] (29) x 1 [Jul 28 18:26:06 2017.20] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.20] Stat: 25 => 40800 [Jul 28 18:26:06 2017.20] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:06 2017.20] Stat: 24 => 8400 [Jul 28 18:26:06 2017.21] Received packet: 00B1 Handler: stat_info [Jul 28 18:26:06 2017.21] Stat: 20 => 778272 [Jul 28 18:26:06 2017.21] You gained 500 zeny. [Jul 28 18:26:06 2017.21] Received packet: 00CB Handler: sell_result [Jul 28 18:26:06 2017.21] Sell completed. [Jul 28 18:26:06 2017.21] AI: sellAuto route buyAuto route | 5 [Jul 28 18:26:07 2017.33] [testBug] Vende de fato. [Jul 28 18:26:07 2017.33] [testBug] pre npctalk_sell check. [Jul 28 18:26:07 2017.34] [testBug] after npctalk_sell check. [Jul 28 18:26:07 2017.34] [testBug] got to done end. [Jul 28 18:26:07 2017.35] Auto-sell sequence completed. [Jul 28 18:26:07 2017.40] Task::TalkNPC::new has been called with sequence 'b'. [Jul 28 18:26:07 2017.41] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:07 2017.41] Stat: 5 => 2930 [Jul 28 18:26:07 2017.41] Talking with NPC Tool Dealer (0) at (87,34), ID F2 C3 00 00 [Jul 28 18:26:07 2017.41] Task::TalkNPC::addSteps has been called with value 'x'. [Jul 28 18:26:07 2017.41] Task::TalkNPC::addSteps has been called with value 'b'. [Jul 28 18:26:07 2017.42] Sent look: 4 [Jul 28 18:26:07 2017.42] Iteration at Task::TalkNPC, current_talk_step '', next step 'x'. [Jul 28 18:26:07 2017.42] NPC Tool Dealer (0): Initiating the talk [Jul 28 18:26:07 2017.42] Sent talk: F2 C3 00 00 [Jul 28 18:26:08 2017.21] AI: NPC buyAuto route buyAuto route | 6 [Jul 28 18:26:10 2017.12] Sent Sync [Jul 28 18:26:10 2017.22] AI: NPC buyAuto route buyAuto route | 6 [Jul 28 18:26:10 2017.38] Received packet: 007F Handler: received_sync [Jul 28 18:26:10 2017.39] Received Sync [Jul 28 18:26:12 2017.23] AI: NPC buyAuto route buyAuto route | 6 [Jul 28 18:26:13 2017.41] Received packet: 00B0 Handler: stat_info [Jul 28 18:26:13 2017.41] Stat: 5 => 2948 [Jul 28 18:26:13 2017.92] Trying to auto close the conversation due to error. [Jul 28 18:26:13 2017.93] Trying to auto close the conversation due to error. [Jul 28 18:26:13 2017.94] Trying to auto close the conversation due to error. [Jul 28 18:26:13 2017.95] Trying to auto close the conversation due to error. [Jul 28 18:26:13 2017.96] Trying to auto close the conversation due to error.

oleokoong commented 7 years ago

@Henrybk i test with your openkore corelogic change version..

oleokoong commented 7 years ago

is there problem here? Auto-sell sequence completed. Task::TalkNPC::new has been called with sequence 'b'.

c4c1n6kr3m1 commented 7 years ago

I don't use autobuy and autosell , i only use autostorage than use my merchant to OC , so it may different with your problem

about a year ago iro chaos update something , so we got this on send\iRO.pm

sub sendMove {
    my $self = shift;

    # The server won't let us move until we send the sell complete packet.
    $self->sendSellComplete if $self->{sell_mode};

    $self->SUPER::sendMove(@_);
}

sub sendSellComplete {
    my ($self) = @_;
    $messageSender->sendToServer(pack 'C*', 0xD4, 0x09);
    $self->{sell_mode} = 0;
}

When i renew my novice macro with quest sell and buy red potion , i got stuck than i realized after sell we need to send sell complete packet , not only before move, but before talk again to a npc. i'm not programer so i made quick fix by copying the sub sendMove to sub sendTalk , something like this

sub sendTalk { 
    my $self = shift; 
    # The server won't let us talk until we send the sell complete packet. 
    $self->sendSellComplete if $self->{sell_mode}; 
    $self->SUPER::sendTalk(@_); 
}

you can add this code to your send\iRO.pm if you wat to try

BigRussianBot commented 7 years ago

@Henrybk i reproduced it, hope it will help.

autosell Initiating auto-sell. Teleporting to auto-sell Permitted to use Teleport (26), level 2 You used Item: Novice Butterfly Wing (2) x 1 - 37 left Inventory Item Removed: Novice Butterfly Wing (2) x 1 Packet Parser: Unknown switch: 0AB8 You are casting Teleport on yourself (Delay: 0ms) ---------Map Info---------- MAP Name: prt_fild05.gat MAP IP: 128.241.92.139 MAP Port: 4503 Closing connection to Map Server Disconnecting (128.241.92.139:4509)...disconnected Connecting to Map Server... Connecting (128.241.92.139:4503)... connected You are now in the game Your Coordinates: 275, 243 You are now: UNKNOWN_STATUS_993 (Duration: 583.667s) You are now: UNKNOWN_STATUS_994 (Duration: 1783.688s) Allowed other player invite to Party Other players are not allowed to view your Equipment. Calculating auto-sell route to: Prontera Field(prt_fild05): 290, 221 [testBug] Vende de fato. [testBug] sentSell. Ready to start selling items Done talking with NPC Tool Dealer (1). [testBug] Vende de fato. [testBug] pre npctalk_sell check. [testBug] after npctalk_sell check. [testBug] got to done end. Auto-sell sequence completed. move prontera Calculating route to: Prontera City, Capitol of Rune-Midgarts(prontera) ---------Map Info---------- MAP Name: prontera.gat MAP IP: 128.241.92.137 MAP Port: 4512 Closing connection to Map Server Disconnecting (128.241.92.139:4503)...disconnected Connecting to Map Server... Connecting (128.241.92.137:4512)... connected You are now in the game Your Coordinates: 26, 203 You are now: UNKNOWN_STATUS_993 (Duration: 518.29s) You are now: UNKNOWN_STATUS_994 (Duration: 1718.311s) Allowed other player invite to Party Other players are not allowed to view your Equipment. Done talking with NPC Tool Dealer (1). Calculating lockMap route to: Prontera Culvert(prt_sewb2)

ak0sovo commented 7 years ago

you guys still can use bot ? my openkore didnt work anymore

oleokoong commented 7 years ago

@ak0sovo now the server limited player to login, some ppl may not able to login ..

https://forums.warpportal.com/index.php?/topic/219144-odin-new-login-server-bug-reporting-thread/

koynro commented 7 years ago

On the latest code, I've found some NPCs consistently work, others don't. The Payon tool dealer works to buy and sell, but Morocc I get stuck auto buying. Kafra in both cities works.

Continuing to test... Geffen tool NPC works (geffen_in 77 167) for autobuy and autosell.

oleokoong commented 7 years ago

is that any update for this issue?

alisonrag commented 7 years ago

someone have tested this?

sub sendTalk { 
    my $self = shift; 
    # The server won't let us talk until we send the sell complete packet. 
    $self->sendSellComplete if $self->{sell_mode}; 
    $self->SUPER::sendTalk(@_); 
}
koynro commented 7 years ago

I decided to try to use the moc_ruins tools NPC, but also enabled the sendTalk config. Haven't gotten stuck yet. I can try switching to morocc NPC and see how it goes.

c4c1n6kr3m1 commented 7 years ago

sendTalk config ?

Dude, you need to put sub sendTalk inside src\Network\Send\iRO.pm not inside config.txt

koynro commented 7 years ago

To be clear, I was using 'config' generically. It has been added to my src\Network\Send\iRO.pm and has been functional over the past 24 hours on various tool NPCs for AutoBuy/AutoSell.

oleokoong commented 7 years ago

On Wed, 2 Aug 2017 at 7:51 am, koynro notifications@github.com wrote:

To be clear, I was using 'config' generically. It has been added to my src\Network\Send\iRO.pm and has been functional over the past 24 hours on various tool NPCs for AutoBuy/AutoSell.

— 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-319507558, or mute the thread https://github.com/notifications/unsubscribe-auth/AHttuS0NFf9eBB796x2uFU3O-GMDubmGks5sT53LgaJpZM4Oji76 .

I test it for 12 hour and has no problem, another problem is GM starting BAN bot.. --

Thanks and regards,

Oleo Koong

alisonrag commented 7 years ago

maybe fixed in #829