gloebit / opensim-moneymodule-gloebit

OpenSim addon module integrating with the Gloebit digital currency service
GNU Lesser General Public License v3.0
8 stars 12 forks source link

Allow sim owner to turn off "purchase gloebits" message sent to user at every session start #72

Closed colosi closed 5 years ago

colosi commented 5 years ago

Gloebit previously did not allow this to be turned off because there was no way to make sure that the user would get it in the insufficient funds flow. Gloebit has now patched the FireStorm viewer and made this patch available to other viewers which a majority of users should be on, and can therefore ensure that most users will receive this message in the insufficient funds flow. see https://medium.com/@colosi/multi-currency-support-coming-to-opensim-viewers-cd20e75f7990

MoneyBalanceRequest() is called at login. This currently always sends the purchase message because the last argument to UpdateBalance is -1. Add a configuration variable to Gloebit.ini so that a sim owner can turn this messaging off. When this is enacted, pass 0 instead of -1 to the UpdateBalance.

We should also double check to see that Alchemy and Singularity have adopted the patch and released an update with it.