Bug - Fixed Unable to use "buy" or "acquire" via CLI or ash or the Mafia mall GUI interface

Winterbay

Active member
Unable to use "buy" or "acquire" via CLI or ash or the Mafia mall GUI interface

r9720: I'm currently unable to buy things from the mall via Mafia's CLI and ash-commands and also cannot use the mall GUI to buy things. Buying directly in teh relay browser works fine. This problem started somewhere between 9716 and 9720 (no .jar published for the ones between so can't narrow it down further). It works in 9716 but not in 9720.

My guess from the commit messages would be either 9718 or 9719 is the culprit, but I may be incredibly wrong :)
 

roippi

Developer
Hola is endeavoring to remove mafia's reliance on Foxtrot, which is a Good Idea for several reasons. Expect some transitional bugs.
 

worshiprick

New member
The most recent build that still allows purchases to be made appears to be 9716 (although 9717-9719 aren't listed on build.mafia.us). If buying things from mafia, or using auto-restore of any sort is something you do, that would be the one to use until this is fixed.
 
purchasing broken in 9722, last worked in 9711

So I first noticed this when trying to run my ash scripts, but just trying to
buy things from the Purchasing tab seems to be broken too.

It looks like the ash command "buy" isn't working: here was my code:

if (item_amount($item["DRINK ME" potion]) == 0) {
buy (1,$item["DRINK ME" potion]);
}

and later:

buy (2,$item[cherry]);

Searching for ""DRINK ME" potion"...
Search complete.
Desired purchase quantity not reached (wanted 1, got 0)



Using cached search results for cherry...
Desired purchase quantity not reached (wanted 2, got 0)
 
Top