monk-afk / SquareOne

Things relating to SquareOne
monk.moe:30023
Other
0 stars 0 forks source link

[Mod Update] track economy market trends #6

Open monk-afk opened 1 month ago

monk-afk commented 1 month ago

Mod(s) Affected

  • money
  • shopsign
  • chests, pretty much any inventory

Description of planned update To build a picture of the server's economy by recording purchases made from smartshops, money dropped into and moved out of wallets, and wherever money or valuables may be stored (safety deposit, chests, etc)


  • Checklist of planned development

  • [ ] function is needed to log incoming api calls for market trends

  • [x] shopsigns to be modified to send purchase information, how much was paid for what item at whose shop to get an idea of item's value in-game

  • [ ] money going into wallets

  • [ ] money moving out of wallets

  • [ ] money placed into the bank for storage

  • [ ] money moving out of deopsit boxes

  • Other brainstorm ideas

  • [ ] chests? I don't know if its necessary. moving money from inventory to a personal chest may be considered active money, but also may skew the data (eg, moving money back and forth between inventories)

  • [ ] ...


Testing Q/A Live environment test

  • [ ] Yes Any unforseen bugs?
  • [ ] No

Deployment Status

  • [ ] Not Ready, still planning or stalled
  • [x] Not Ready, under development
  • [ ] Ready, not uploaded
  • [ ] Ready and uploaded, pending server reboot
  • [ ] Is live on server

After Deployment Any new bugs being reported?

  • [ ] No, Close ticket
  • [ ] Yes, Describe and open new ticket.
___
> **Anything else to add?**

debug logging of purchases from shopsigns is enabled 2024-05-11 08:17:49: ACTION[Server]: [Shopsign] monk paid money:note_10 2 for shopsign:shop 1 from monk2 at (-5,11,-89)


___
> **Add Screenshots if needed.**
___