Jump to content

5 Screenshots

  • 1.1m
  • 13.7k
  • 139.69 kB

Recommended Comments



Also what i would suggest for K/D leaderboard is to have it show players when they have atleast 3 deaths or more becouse like this its too easy to manipulate the results. You can just invite your mate to the server, let him kill you a few times or give him a bolt rifle and let him shoot a few fresh spawns on the beach, after you make 10 kills, you leave and there you go, 10k/d with zero deaths, you will never come back to the server but unless wipe happens you will still be on the top of the list and title will be unused for the rest of the wipe aswell. 

Link to comment
Share on other sites
  • Administrator

I understand your point but I'm not sure that's the solution.
If someone were to join your server and play properly and achieve 10 + 0 k/d, they'd be deprived of the statistic unfairly.
 

Maybe a better approach would be to use the feature that automatically removes a player's stats if they haven't joined in X days?

  • Like 1
Link to comment
Share on other sites
4 hours ago, Steenamaroo said:

I understand your point but I'm not sure that's the solution.
If someone were to join your server and play properly and achieve 10 + 0 k/d, they'd be deprived of the statistic unfairly.
 

Maybe a better approach would be to use the feature that automatically removes a player's stats if they haven't joined in X days?

dont know man, but i have a kd leaderboard as well based on sqlstats plugin, and we have done it the way that no player will be shown in that leaderboard unless he has played over 24hours on our server... and in that time there is a very high chance that he dies atleast once and it normalizes his K/D. i have had to delete one more player today, that had killed 6 players in a span of 19minutes and left the server for good, he went on the top and did not join the server anymore... had to delete his stats again, and also while im at it. Deleting stats by ID lags the server for a good 5seconds... very painful to do... i wonder that noone mentioned this K/D issue over the time this plugin has been running.. its just very easy to manipulate 

Edited by TomNXT
Link to comment
Share on other sites

It might be an idea to have an optional way the plugin can periodically (maybe at a time set in the config, use a time when pop is lower) and checks if players have logged in the last (period set in config) and if they have not, then wipe thier stats.

Also : Is there a list of the exact names of stats kept as in the database? 

And : How to add a stat? Specifically I use imthenewguy's Skill Tree, and would like to have the players levels in this leader board as well.

Link to comment
Share on other sites
  • Administrator

@The Friendly Chap- What you're describing exists - I think it would solve @TomNXT's problem.

There's a config option called lastLoginLimit which you can set to a number of days - If any given player does not join the server for that number of days, their stats will be automatically wiped out.

The full list of stats are in the plugin description page here.

There's no facility for users to add new statistics for the plugin.
There are quite a few changes that need to be made in the code to add a new category,
and also the UI is at capacity so the layout would need to be changed too.

I was never super keen on adding support for third party plugins. I made a few excepts for the currencies and clans but I try to avoid it.

Edited by Steenamaroo
Link to comment
Share on other sites
  • Administrator

@TomNXTI'll look into why deleting one players stats might lag out for a while.
Thanks for reporting that! 👍

Link to comment
Share on other sites

get this error

MySql handle raised an exception (MySqlException: Unknown column 'MLRSFired' in 'field list')
at MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery (System.IAsyncResult asyncResult) [0x00022] in <8d7380b3d3cf4bd8be324c584f371b44>:0
at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)
at Oxide.Core.MySql.Libraries.MySql+MySqlQuery.Handle () [0x000f2] in <6e6f659265ef431ea12ea404a5e9a54c>:0

Link to comment
Share on other sites
  • Administrator

Hi,
In the update notes...

SQL users will need to drop their tables.
PlayerRanks will create a new table with columns for the new categories.


That'll get you back up and running.

  • Like 1
Link to comment
Share on other sites

I seem to be getting:

 

Quote

MySql handle raised an exception (MySqlException: Column count doesn't match value count at row 1)
at MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery (System.IAsyncResult asyncResult) [0x00022] in <8d7380b3d3cf4bd8be324c584f371b44>:0
at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)
at Oxide.Core.MySql.Libraries.MySql+MySqlQuery.Handle () [0x000f2] in <6e6f659265ef431ea12ea404a5e9a54c>:0

I did delete the json file and drop both tables though before loading the old girl back up.


EDIT: Ah, it seems to be when trying to save the leaderboard

Edited by crunch
  • Like 1
Link to comment
Share on other sites

Failed to call hook 'OnCollectiblePickup' on plugin 'PlayerRanks v2.2.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PlayerRanks.OnCollectiblePickup (CollectibleEntity item, BasePlayer player) [0x00000] in <79192256c5a745e6b9a85902302918dc>:0
at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007ee] in <79192256c5a745e6b9a85902302918dc>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Link to comment
Share on other sites
  • Administrator

Hi @Elloco
I think oxide made changes to that hook in the last update so I'll take a look and see what's changed.
Thanks for letting me know. 👍

Link to comment
Share on other sites
  • Administrator

@Elloco

Did you take the second oxide update yesterday?
I just tested and all seems to be well.
Check and make sure you're on 2.0.5644 or later. 🙂

Link to comment
Share on other sites

If you need me to test anything for that sql error yell out. Nobody else seems to have reported it so maybe I’ve just done something dumb 

  • Love 1
Link to comment
Share on other sites
  • Administrator

Thanks for the info on this @crunch

I found the issue and will update later today...Just want to make sure everything else is ironed out first.
I'll DM you a copy for now, though.

  • Love 1
Link to comment
Share on other sites
Just now, Steenamaroo said:

Thanks for the info on this @crunch

I found the issue and will update later today...Just want to make sure everything else is ironed out first.
I'll DM you a copy for now, though.

Ah awesome, I'm just glad it wasn't me 😄

  • Like 1
Link to comment
Share on other sites
  • Administrator

@Elloco
Thanks for confirming.
If you're on the same oxide version, and PlayerRanks version, then I guess the error must be coming from a specific collectible.
I don't suppose you know what's being picked up when that error throws?

I'm on a basic map - Tested with wood and ore collectibles with no issue.

Link to comment
Share on other sites
  • Administrator

Ok. I think that has to mean something is making the item null - another plugin maybe.
I'm going to DM you a copy for testing, if you're willing, to confirm.

If I'm right the error will cease, but you the stat will not count up for collectibles.

Link to comment
Share on other sites

Hello, after we spoke about that global title broadcast thats its very annoying and spamming chat, that we should only notify players who held the role before and those who have acquired it. I thought that you would add a new lang string as well for those who have held the title and lost it. Now they will only be notified strangely that someone else took the role. It should be a new string with something like "(playername) took your title (titlename)" and for those who have acquired it you could keep the same tooktitle string, but for those who have lost it, the message is very confusing, but nice update in general, thank you for your good work

Edited by TomNXT
Link to comment
Share on other sites

Would it be possible to add a PVE KDR rank? Can think of different routes to take if desired.

Config option to include PVE kills in the existing KDR
Config option to count PVE instead of PVP for the existing KDR
Separate ranks (PVP KDR, PVE KDR)
 

  • Like 1
Link to comment
Share on other sites

Hello!

My players are reporting that Hemp is not registering as plants collected. I tested with planters both true and false

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 14
  • Love 7

User Feedback

1.2m

Downloads

Total number of downloads.

5.9k

Customers

Total customers served.

86.8k

Files Sold

Total number of files sold.

1.7m

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.