Jump to content

Server Rewards Not Getting Rewarded

Closed 2.1.9 2.1.12

dustyhansen
dustyhansen

Posted

I have been using this plugin for several wipes now and players are not getting awarded RP for the Tops that they are in when wipe happens.  Do I have it set up correctly?

  "Settings for award distribution": {
    "Automatically give out awards after a wipe": true,
    "Automatically clear data after awards have been given": false,
    "Automatically clear data after a wipe (when automatic awards are disabled)": true,
    "[ RU ] Секретный ключ - GameStores": "",
    "[ RU ] ID магазина - GameStores": "",
    "Where will the awards be given - [ 0 - GameStores | 1 - plugin economy, rewards or in-game store ]": 1,
    "Plugin name": "ServerRewards",
    "Method name(API)": "AddPoints",
    "Method(API) data type - [ 0 - double | 1 - float | 2 - int ]": 2,
    "Displayed currency": "RP"

 

Monster

Posted

I know. It's after the game update.
I'll update the plugin as soon as I get a chance.

dustyhansen

Posted

2 hours ago, Monster said:

I know. It's after the game update.
I'll update the plugin as soon as I get a chance.

I was having issues before that. Is my config correct?

Monster

Posted

Configuration is correct.

Were you having problems giving out rewards before the July game update?

dustyhansen

Posted

1 hour ago, Monster said:

Configuration is correct.

Were you having problems giving out rewards before the July game update?

Yes, rewards were never given out. 

Monster

Posted

Your server can't properly start giving out rewards after a wipe.
You should disable automatic rewards and just use the server command.

dustyhansen

Posted

26 minutes ago, Monster said:

Your server can't properly start giving out rewards after a wipe.
You should disable automatic rewards and just use the server command.

Why? What is different about my server? You have a feature in your plugin that doesn't work...

Monster

Posted (edited)

How many plugins are installed on your server?

- Send me in Discord the Oxide logs for the day the server was wiped.

Edited by Monster
dustyhansen

Posted

2 hours ago, Monster said:

How many plugins are installed on your server?

- Send me in Discord the Oxide logs for the day the server was wiped.

I have over 150 plugins. I use Carbon.

Monster

Posted (edited)

Well, we're gonna need the logs anyway.
And besides, there is no 100% guarantee that the plugin will work correctly on Carbon. The plugin is being developed and tested on Oxide. ( Carbon - only the compilation of the plugin is tested )

- And stop quoting every response I've made.

Edited by Monster
dustyhansen

Posted

I think you need to calm down. I have purchased 5 of your plugins. I am not your enemy, but a paying customer. Sorry for quoting you, didn't realize that was a problem for you.

I am attaching the log file from the last wipe. The server was started at 22:09:25 after wiping on 7/4.

The plugin didn't pay out RP when I was on Oxide either, so I don't think it is a Carbon issue. I have had this issue for several months now. 

Carbon.Core.backup.2024.07.04.txt

Monster

Posted

22:16:10  -  plugin loaded.
22:16:47  -  plugin unloaded.

 

Well, where was I wrong? Your server loaded the plugin and unloaded it 37 seconds later.
There's no way the rewards would have gotten to the players in that time.

And I'm not sure the OnNewSave hook was even called.

dustyhansen

Posted

That was because rustedit had an update and restarted the server. 

Like I said, I have had this issue for months over several wipes. Here is our log on our last wipe on Oxide. It looks like the plugin was unloaded after 2 minutes, would that have been enough time to pay rewards? I am not using the Wipe Data Cleaner  plugin anymore, but it looks like it unloads all the plugins to wipe the data files I specified. 

oxide_2024-05-31.txt

Monster

Posted

In general, plugins should not be unloaded immediately after server startup. This will break not only my plugin, and others. Also the risk of breaking data files.

Monster

Posted

I see that the plugin was fully initialized 32 seconds after the OnNewSave() hook was called.

This data is enough for me to think about how to make it work on servers like yours.
Lots of plugins, so there are delays in initialization.

  • Like 1
Monster

Posted

Changed Status from Pending to Closed

Changed Fixed In to 2.1.11

Monster

Posted

This works fine for me and other plugin users, using Oxide.
I already answered you about Carbon.

And the fact that you reply once 2-4 weeks, helps a lot with bug tracking....

Monster

Posted

Changed Fixed In from 2.1.11 to Next Version

dustyhansen

Posted

Dude, I have bought XBuildingSkinMenu, XSkinMenu, XPanelPlus, XRestartUI, and XStatistics from you. Can I get treated more like a paying customer and less like a pain in your ass? The reason I was taking so long to respond, was because I had to wait for our wipes to see if it paid out rewards and then to get the log file for you. 

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

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.