r7451 - autosell + autostorage = Stuck at NPC

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
User avatar
ChrstphrR
Testers Team
Testers Team
Posts: 42
Joined: 09 May 2010, 17:30
Noob?: No
Location: Northern Alberta, Canada

r7451 - autosell + autostorage = Stuck at NPC

#1 Post by ChrstphrR »

I am running slightly behind the most current SVN releases, but checking on CIA.vc, the next 8 commits do not appear to affect this issue.

Situation:

Tested on iRO and on openkoreRO, this issue ONLY affects openkoreRO.
However, this MAY affect all eAthena based pservers.

On Openkore-RO:

My bot is grinding, and has sellAuto and storageAuto blocks in config.txt:

Code: Select all

storageAuto_distance 6

storageAuto_keepOpen 0
storageAuto_notAfterDeath 1

storageAuto_password
storageAuto_useChatCommand

relogAfterStorage 0
minStorageZeny 2500

storageAuto 1
# Near pyramids
storageAuto_npc moc_ruins 59 157
storageAuto_standpoint moc_ruins 63 150
storageAuto_npc_steps c r0 n
storageAuto_npc_type 3

Code: Select all

sellAuto 1
sellAuto_distance 9

sellAuto_npc moc_ruins 91 128
sellAuto_standpoint moc_ruins 91 120
Item collection set as such in config.txt:

Code: Select all

itemsTakeAuto 2
itemsTakeAuto_party 1
itemsGatherAuto 2
itemsMaxWeight 55
itemsMaxWeight_sellOrStore 49
itemsMaxNum_sellOrStore 99
cartMaxWeight 7900
itemsTakeAuto_new 0
After isolating different factors, I figured out the situation:
  • storageAuto_npc choices did NOT change the problem
  • The problem does not exist AT ALL on iRO. This was limited to openkore-RO only, and has been an issue for roughly a fortnight, perhaps longer.
Conditions that create the bug:
  • sellAuto 1, and an associated npc set.
  • storageAuto 1, and an associated npc set.
  • items_control.txt set with dozens of items set BOTH to sell and to store
  • Inventory with items to store, but NO saleable items
  • Inventory weight at 49% or above, which triggers the autosell + autostorage tasks.
After the "empty" autosell occurs, the bot will switch to the autostorage task, and will dutifully open storage properly...

And then, it will stop. Even though items in inventory are set, and should be put in storage according to settings in items_control.txt, this task fails.

Eventually, the bot will timeout the npc talk task to run autostorage, will not close the storage, and will attempt to route back to my set lockMap, and err that it cannot move.

If there is even a single item that can be sold according to items_control.txt, then all is normal, and this stuck situation never occurs.

----

Please advise if further information, or further testing is required.

acongketchup
Noob
Noob
Posts: 1
Joined: 18 Oct 2010, 08:36
Noob?: Yes

Re: r7451 - autosell + autostorage = Stuck at NPC

#2 Post by acongketchup »

i have the same problem.
im boting at lighthalzen, after it overwight it goes to the city
but it just stand in front of the portal to lhz_fild01 and just idle there
until I command the bot to move

tidalwaver02
Noob
Noob
Posts: 1
Joined: 18 Dec 2010, 13:19
Noob?: Yes

Re: r7451 - autosell + autostorage = Stuck at NPC

#3 Post by tidalwaver02 »

same problem here.
openkore doesnt close the kafra storage in izlude
how do i fix it lol

Locked