Feature - Implemented Add fail-safe price detection to mallsell cli command

nworbetan

Member
I wanted to sell some things in the mall, and I tried to cautious and careful not to misplace any digits, but my plan backfired and I ended up offering them for sale for 100 meat instead of 11,111,111 meat.

Code:
> mallsell 11 carrot claret @ 11,111,111

[111] has no matches.
Skipping '111'.
[111] has no matches.
Skipping '111'.
Transferring items to store...
Items offered up for sale.

If it had been an item that was actually worth 11,111,111 meat, I probably would have been a little upset.
 

Theraze

Active member
Isn't the comma the allowance for selling multiple items, and so this was a failure of expectations and working as designed for allowing selling multiple items on the same line?
 

nworbetan

Member
Absolutely. But automatically selling the items at 100 meat when it wasn't possible to sell them at 11 meat was not the safest way to handle my mistake.

And that's why I called it a feature request instead of a bug. ;)
 

Theraze

Active member
So... the FReq is, when someone tries to price items below min-price, fail instead of changing to min-price?
 

roippi

Developer
Compounding the issue is the fact that 000 fuzzy matches to Jawmaster 2000™. I really want to say "um don't do that" but we can probably do something.
 
Top