Feature Update item count in store as returned by shop_amount()

oska

New member
Currently, Mafia (V14.5) does not hit the server on shop_amount(). Is there a command to trigger an update "by instruction"? cli_execute("undercut") seems to trigger a store update internally, but that's nothing i consider a workaround. As is, shop_amount() seems to return the values on login, disregarding what's sold in the time between (can be hours).

I want to have a specific amount of $item in my mall, for antiraffles, personal preference, ..., (so filling up what's missing then, or noticing if there are more than requested) but there sure are other reasons, too, to check how many items you actually have in the mall.
 
Last edited:
Top