Jump to content

Autowipes for SQL

Pending 2.0.8

FastBurst
FastBurst

Posted

If we set this to True, does it just do the rank board or does it also do the Leader board?

  • Administrator
Steenamaroo

Posted (edited)

Only the main data table.

Leaderboard snapshots are never wiped by the plugin unless you click the 'Wipe Leaderboards' button in UI.

Edited by Steenamaroo
FastBurst

Posted

perfect. How often does it save the data to the Database. Doing some testing before pushing live - was using the data file system just now and now switching

FastBurst

Posted

perfect. How often does it save the data to the Database. Doing some testing before pushing live - was using the data file system just now and now switching

 

Disregard I see it in the settings.

  • Administrator
Steenamaroo

Posted (edited)

There's no switch - The SQL save option is a parallel save to allow people to web publish etc.
The default data file is always there, though, and is always the source of data.

If you were to drop SQL table then save PlayerRanks it would immediately repopulate.
If you wiped your data file and saved you'd have no data.

Edited by Steenamaroo
FastBurst

Posted

Well we did some wipes today, using the MySQL Method, however the leaderboard tables never updated. 

Even have the following settings below
"WipeOnNewMap": true
"useMySQL": true,
"autoWipe": true,

  • Administrator
Steenamaroo

Posted

On 9/4/2020 at 3:29 PM, Steenamaroo said:

Only the main data table.

Leaderboard snapshots are never wiped by the plugin unless you click the 'Wipe Leaderboards' button in UI.

^^

FastBurst

Posted

Not what I am saying the Leaderboard never populated with anything. only the Ranks ones populated.

  • Administrator
Steenamaroo

Posted

That's how it works.

These additional Leaderboard snapshots are totally optional. You have to manually create/save them one by one, by clicking in UI, and manually delete them by clicking wipe in the UI.
They serve no in-game purpose and are only there for people who might want a snap shot of the leader for each category at a specific time, like at the end of an event for example.

The main ranks table is the one that constantly accumulates stats and is viewable in-game and, with the settings you have above, should automatically wipe when you first load a new map. If you're using SQL to mirror the main stats then, with your pasted settings, that table should have been automatically dropped too,

meaning that local + SQL main data both reset.

Is that not what happened?

FastBurst

Posted

Aww did not know that was a manual process for the leaderboard one. I thought that was all automated with it.

Bjarke Håå

Posted

On 9/18/2020 at 1:26 AM, FastBurst said:

Aww did not know that was a manual process for the leaderboard one. I thought that was all automated with it.

Can it be added as an option, so it can clean all data on wipe?

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.