Jump to content

5 Screenshots

  • 1.1m
  • 13.6k
  • 139.69 kB

Recommended Comments



44 minutes ago, Steenamaroo said:

Hey Jbird.
I'll give it a test shortly and see if I can find out what's happening. 👍

Thank you brother I appreciate the support! I am not against admitting that it might be something on my end but at at this point after wiping a couple times I'm not sure what. We are pretty heavily modded so something with trying to do the wipe on death option might just not be liking something else we have going on.

If I figure it out for sure otherwise I will be sure to let you know though.

Link to comment
Share on other sites

Hi there, just had a player ask if resources collected from the giant excavator count towards the resources gathered stats? 

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

Hi,
I don't think so, no. As far as I remember it counts for growable and dispenser gather, and collectible pickup,
so farming/collecting by hand or with hand tools.

Link to comment
Share on other sites
11 minutes ago, Steenamaroo said:

Hi,
I don't think so, no. As far as I remember it counts for growable and dispenser gather, and collectible pickup,
so farming/collecting by hand or with hand tools.

All good, thanks for replying!

  • Like 2
Link to comment
Share on other sites

Sorry one more thing (for now :D), I think this has come up before, but would it be possible to get the "create leaderboard" function as a console command? It'd be suuuper handy for automating it for displaying the data on websites etc

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

Hi,

It's behind a player-has-permission check right now but sure, I can make it work from server console. 👍

Edit - Sorry, it looks like it should work already.

Have you tried `SaveLeaderboard` console command?

Edited by Steenamaroo
Link to comment
Share on other sites
2 minutes ago, Steenamaroo said:

Hi,

It's behind a player-has-permission check right now but sure, I can make it work from server console. 👍

Edit - Sorry, it looks like it should work already.

Have you tried `SaveLeaderboard` console command?

I have not! Give me a sec 😄

  • Like 1
Link to comment
Share on other sites
3 minutes ago, Steenamaroo said:

Hi,

It's behind a player-has-permission check right now but sure, I can make it work from server console. 👍

Edit - Sorry, it looks like it should work already.

Have you tried `SaveLeaderboard` console command?

Ooh, it was not happy:

 

SaveLeaderboard
Failed to call hook 'SaveBoard' on plugin 'PlayerRanks v2.1.9' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerRanks.SaveBoard (ConsoleSystem+Arg arg) [0x00007] in <e810bdb5526b4b5b9babdeec6dc58951>:0 
  at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0173d] in <e810bdb5526b4b5b9babdeec6dc58951>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0 

 

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

Ah, someone must have requested this not long ago.
In my local copy it's setup to work and (tested) does work, so I must have made the change for someone then haven't updated since then.

This will work in the next version. 

Link to comment
Share on other sites
1 minute ago, Steenamaroo said:

Ah, someone must have requested this not long ago.
In my local copy it's setup to work and (tested) does work, so I must have made the change for someone then haven't updated since then.

This will work in the next version. 

Brilliant, thanks, looking forward to it 🙂

  • Like 1
Link to comment
Share on other sites

What will happen if you setup multiple servers to use the same mysql database?

I realize it wasn't designed to handle this. Does this mean it will just overwrite data from server2 when it syncs and then overwrite data from server1 when that one syncs?

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

Hi mate,
Yeah, that's what would happen.
The plugin only saves down records where data has changed so it would be on a per-player basis as players accumulate new data, but, put simply, yes; the two would be fighting against each other.

Link to comment
Share on other sites
9 hours ago, Steenamaroo said:

Hi mate,
Yeah, that's what would happen.
The plugin only saves down records where data has changed so it would be on a per-player basis as players accumulate new data, but, put simply, yes; the two would be fighting against each other.

So let's say player1 has 5 pvp kills on server1. If they go to server2 and get a kill does that go to 6 pvp kills or does it go to 1?

  • Like 1
Link to comment
Share on other sites
On 9/15/2021 at 1:16 PM, RustyB said:

Hi,

Do you think it would be possible and easy to add the team ID of the player in the data?

I'd like to be able to group them by team on my site, and I could use it to create a Team rank table.

Has it been added with the last update ?

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

Hi,
No, I haven't done that yet. The last update was mostly a few fixes that I've been meaning to publish.

Link to comment
Share on other sites

Not sure if it's just my server, but landmines have had a bit of a resurgence 😄 Any chance of adding something like "landmines stepped on", or "times exploded" or something like that?

  • Like 1
Link to comment
Share on other sites

Hey just an FYI!

I been getting:

'PlayerRanks v2.2.0' is using deprecated hook 'OnCollectiblePickup', which will stop working on Saturday, 31 December 2022. Please ask the author to update to 'OnCollectiblePickup(CollectibleEntity collectible, BasePlayer player)'

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

It is not a complex fix, Oxide decided to change the order of the parameters and name of the gathering hook.  It is a 10 second fix if you know oxide and c#.  I did a search and replace with notepad++ on all my plugins.  That said the old hook works till the end of the year, so tons of time to adjust the code.

  • Like 2
Link to comment
Share on other sites

Hi!

The link "See Daniel's free template on Codefling for web publishing of selected stats." not working 🙂 I want to see it xD

  • Like 1
Link to comment
Share on other sites

Hey, I recently private it and now working on a better free version. I should have it up hopefully soon 🙂

  • Like 2
Link to comment
Share on other sites

Noticed that PVE kills (animal kills) are not registering at all since wipe.

Just wanted to let you know @Steenamaroo.

Cannot think of anything on my end that would have changed to contribute to that happening but wanted to mention it to see if others are having that problem and to bring it to your attention. Just noticed it a few minutes ago surprised nobody has said anything here or in my server yet. 🤣

Link to comment
Share on other sites
  • Administrator

Hi @Jbird
Thanks for letting me know.
I just checked and PVEKills are counting just fine on my server.

 

Could you have global stats collection set to false, or the PVEKills category set to false, in PlayerRanks admin UI?
If not, were you in an event where stats wouldn't be collected?

I think those are the only things in PR that would prevent the count going up.

Link to comment
Share on other sites
4 minutes ago, Steenamaroo said:

Hi @Jbird
Thanks for letting me know.
I just checked and PVEKills are counting just fine on my server.

Could you have global stats collection set to false, or the PVEKills category set to false, in PlayerRanks admin UI?
If not, were you in an event where stats wouldn't be collected?

I think those are the only things in PR that would prevent the count going up.

While we are on the subject I have been meaning to adjust the category names for some of these. I want to change PVE to Animal & NPC to Bot might do that while looking into this. Pretty sure I'm going to need to do this in the CS though right? Makes more sense for the newbs who have no idea what NPC stands for.

Anyway as to your questions, I don't even see global stats collection to be completely honest am I blind? Don't see it in config either.
Might just mean this in config though, don't see anything like it in the UI.

    "statCollection": true,


Definitely have PVE enabled always have, have not touched the config on this one for quite some time. Last time I had it enabled was when I experimented with the reset on death option and it wasn't going well, so reverted back to what I have now and have not gone back.

    "PVEKills": {
      "CollectStats": true,
      "EnabledInPersonal": true,
      "EnabledInTop1": true,
      "EnabledInTop30": true,

The only thing I am thinking is I recently added AlphaAnimals to my server, and updated BackToTheWild, both by @Sabby. This is the only thing that makes sense as being the culprit for these not being counted recently. Didn't notice it towards the end of this past biweekly wipe. But just looked at the leaderboard out of curiosity today and noticed that the whole category was 0's and people have been slaughtering animals the past couple days since wipe. Can look into this and reach out to him even though he might see it since I tagged him here.

I'm not super pressed about it just wanted to bring it up and help sort it. No rush at all. Thanks for the quick reply!

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.2k

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.