New Content Mall Cap Raised, Meat Cap Raised, Certain Mall Items Repriced

Looks like the repricing functions in mafia are now weird
Some items that are currently sold at the old mall cap are also behaving weird in mafia's mall functionality
There's probably more stuff afoot, but I figured just getting the conversation started would help.
 
Some notes:

- items at the old mall cap can now sell there (not sure about items that were at the cap before the change was made). Items at the new mall cap (999,999,999,999) don't appear in search.
- stocking an item without specifying a price puts it in at 999,999,999,999 as expected
- limits can now be up to 2,147,483,647; initially it lets you set it to 999,999,999,999,999 but resets after you leave the page.
- in some places in code we're casting to an int; we need to cast to a long as prices can now be >2b.
- gausie has a branch up at "new-mall-max" but it has swiftly descended to hell. Rather than changing item count in AdventureResult, AdventureLongCountResult should have been used. It's still complicated ;)
 
Last edited:
Some notes:

- items at the old mall cap can now sell there (not sure about items that were at the cap before the change was made). Items at the new mall cap (999,999,999,999) don't appear in search.
- stocking an item without specifying a price puts it in at 999,999,999,999 as expected
- limits can now be up to 2,147,483,647; initially it lets you set it to 999,999,999,999,999 but resets after you leave the page.
- in some places in code we're casting to an int; we need to cast to a long as prices can now be >2b.
- gausie has a branch up at "new-mall-max" but it has swiftly descended to hell. Rather than changing item count in AdventureResult, AdventureLongCountResult should have been used. It's still complicated ;)

Thank you. Some things are not as simple as they seem. But there is a sense of deja vu since in the past we have had to convert several internals from int to long.
 
Back
Top