Bug - Fixed Is mall batching broken?

Bale

Minion
I use OCD to mall a lot of stuff for me. I use batch_open() before all the put_shot() commands and batch_close() after them. I have not changed the program lately. I am not used to seeing this output:


Code:
1 a butt tuba added to your store.
Adding a little sump'm sump'm to store...
5 a little sump'm sump'm added to your store.
Adding abstraction: category to store...
6 abstraction: category added to your store.
Adding abstraction: certainty to store...
2 abstraction: certainty added to your store.
Adding abstraction: joy to store...
6 abstraction: joy added to your store.
Adding abstraction: motion to store...
4 abstraction: motion added to your store.
Adding abstraction: purpose to store...
6 abstraction: purpose added to your store.
Adding abstraction: sensation to store...
1 abstraction: sensation added to your store.
Adding abstraction: thought to store...
4 abstraction: thought added to your store.
Adding accidental cider to store...
3 accidental cider added to your store.
Adding accord ion to store...
1 accord ion added to your store.
Adding accordionoid rocca to store...
1 accordionoid rocca added to your store.
Adding acoustic guitarrr to store...
1 acoustic guitarrr added to your store.
Adding adder to store...
4 adder added to your store.
Adding adder bladder to store...
2 adder bladder added to your store.
Adding Aggressive Carrot to store...
2 Aggressive Carrot added to your store.
Adding Agitated Turkey to store...
1 Agitated Turkey added to your store.
Adding all-purpose cleaner to store...
1 all-purpose cleaner added to your store.
Adding almost-dead walkie-talkie to store...
6 almost-dead walkie-talkie added to your store.
Adding Ambitious Turkey to store...
3 Ambitious Turkey added to your store.
Adding amulet of extreme plot significance to store...
1 amulet of extreme plot significance added to your store.
Adding ancient frozen dinner to store...
2 ancient frozen dinner added to your store.
Adding ancient ice cream scoop to store...
1 ancient ice cream scoop added to your store.
Adding ancient protein powder to store...
1 ancient protein powder added to your store.
Adding Angry Farmer candy to store...
3 Angry Farmer candy added to your store.
Adding ant agonist to store...
4 ant agonist added to your store.
Adding anticheese to store...
1 anticheese added to your store.
Adding antique greaves to store...
1 antique greaves added to your store.
Adding antique helmet to store...
1 antique helmet added to your store.
Adding antique machete to store...
1 antique machete added to your store.
Adding antique packet of ketchup to store...
1 antique packet of ketchup added to your store.
Adding antique spear to store...
1 antique spear added to your store.
Adding armgun to store...
2 armgun added to your store.
Adding artisanal hand-squeezed wheatgrass juice to store...
1 artisanal hand-squeezed wheatgrass juice added to your store.
 
For comparison, my output used to look something like...

Placing items into store (request 1 of 8)...
Placing items into store (request 2 of 8)...
Placing items into store (request 3 of 8)...
Placing items into store (request 4 of 8)...
Placing items into store (request 5 of 8)...
Placing items into store (request 6 of 8)...
Placing items into store (request 7 of 8)...
Placing items into store (request 8 of 8)...
 
What version did it last batch properly with? I'm not even sure whether to look at 17151 or 17173 as the relevant change here.
 
Oi, probably because of my change to mall_sell to now use backoffice.php, whereas before it used to use managestore.php. I don't even know if managestore.php can stock from Hagnk's, and I don't know if backoffice.php can allow URL-crafting to sell multiple items at once.
 
It's difficult to inspect possible requests with managestore.php, since that's now a redirect to backoffice.php. r17176 should revert old batch stocking behavior when stocking from inventory, while still working when stocking from Hagnk's.
 
So managestore lets you manipulate more than one item and backoffice doesn't seem to?
If you submit a managestore request with two items, what backoffice request does it redirect to?
 
So managestore lets you manipulate more than one item and backoffice doesn't seem to?
backoffice takes itemid and quantity. managestore takes (item1, qty1), ..., (item11, qty11). Ditto with prices and limits. Can't seem to stock multiple items in one go via backoffice, unless there's some undocumented options.

I also tried to stock from Hagnk's via managestore using the same scheme as backoffice (prefix each ID with "h"), but that also didn't work.
 
Back
Top