Thanks guys.
@t-wez - I'm not getting that. I dropped my leaderboard table, erased all the boards, then reloaded and created a fresh one.
Anyone else seeing a problem?
@Deliux™ - I'll add those in an update soon.![]()

Player Ranks
Player ranks and stats database
Total Downloads: 4,866 - First Release: Mar 4, 2017 - Last Update: May 29, 2018
- 5/5, 19 likes
-
Love the latest update. Would be nice to have the ability to translate the UI buttons as well.
UPD: And also save on server save would be nice too -
Is there any advantage? I can only think of it being a disadvantage, as it could result it, or contribute to, a brief performance dip.
That said, I think with default timer an no plugins reloads, it does save at the same time as the server...give or take a few seconds. -
-
You know the plugin automatically saves on a timed interval, right?
-
-
Sorry...Let's clarify.
The plugin saves on a user-set timer so, if you want, you can set that to the same interval as server-save.
If you literally want the plugin to save at the precise second that the server saves, I'm asking you if there's an advantage that I'm not seeing.
I can only see potential for lag doing all the work at once, but maybe I'm missing something?
It will also save if you stop the server or unload/reload the plugin, so you never get caught out, so to speak. -
But if you interesting about saving on server save, there is a plugin, which broadcasts message about every server save, so lag is not a problem actually. Also plenty of plugins already working that way. It looks just like a clean solution, but again, im fine with how it works now, don't get me wrong. -
For small tasks it makes sense, but PlayerRanks can be saving a huge amount of data, relatively speaking.
That's why I avoided OnServerSave. -
Great job guy ! THANK YOU
-
Pms sent to those who requested lang updates.
If anyone else needs that, fire me a PM.
I don't want to push the big update notes into history so soon after the last update. -
@Steenamaroo I dropped my table again and wiped my data file again. Is there something else I should be doing? Thanks in advance
Code:(07:08:30) | [PlayerRanks] Player Ranks MySQL Table Was Saved. (07:08:30) | [PlayerRanks] Player Ranks Local Database Was Saved.(07:08:30) | MySql handle raised an exception in 'PlayerRanks v1.3.6' plugin (MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Admin = 0, Economics = 0, ActiveDate = '2018-04-26 20:56:56.776850'' at line 1) at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0 at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0(07:08:30) | MySql handle raised an exception in 'PlayerRanks v1.3.6' plugin (MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Admin = 0, Economics = 0, ActiveDate = '2018-04-26 20:58:36.324945'' at line 1) at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0 at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0(07:08:30) | MySql handle raised an exception in 'PlayerRanks v1.3.6' plugin (MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Admin = 0, Economics = 0, ActiveDate = '2018-04-26 21:00:55.064028'' at line 1) at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0 at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
-
Not sure, at this stage. I've haven't seen this error myself, yet.
Could you PM me your /data/PlayerRanks.json? -
sure, 1 sec
-
Failed to call hook 'OnEntityBuilt' on plugin 'PlayerRanks v1.3.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PlayerRanks.OnEntityBuilt (.Planner plan, UnityEngine.GameObject objectBlock) [0x00000] in :0 at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
-
Thanks^. I'll see what I can find out.
-
I'm quite late but, thanks a lot for the last big update! It's awesome
-
Are you able to reproduce it, or was it a one-off? -
Do you use CovertAdmin, or any other plugin that might mask someone's userID? -
Steen i am getting this every time i reload it.............donno?