Items are out of order with Vending skill when using @ autotrade
Originally posted by reph
Using Vending level 5 (I have not tested this with other levels) and following that with @autotrade
does not keep the vend ordering. The following results occur:
-
Create shop using Vending level 5. The items stay in the proper order before using
@autotrade
. The syntax below is in the format of "Item Name (Item#)".
Butterfly Wing (602), Fly Wing (601), Concentration Potion (645), Awakening Potion (656), Red Potion (501), Orange Potion (502), Yellow Potion (503) -
Using
@autotrade
results in "An unknown error occurred." The command itself appears to log the client off and relog it from the server side (reflected in the user has logged out/in messages on the server chat system). -
The items are rearranged into the following order:
Butterfly Wing, Fly Wing, Concentration Potion, Yellow Potion, Red Potion, Orange Potion, Awakening Potion
I have been able to replicate this issue consistently. It does not appear to be affected by pricing nor does it appear to be sorted by price, item number or item name.
Edit 2/4/2015:
I reset my shop today with the same ordering in step 1 but with different item quantities. I got the following ordering after using @autotrade
after vending with the following item quantities:
Butterfly Wing (30), Concentration Potion (15), Orange Potion (50), Awakening Potion (10), Fly Wing (426), Red Potion (200), Yellow Potion (50)
May be based on item quantity/weight/etc. in some way?