Players not receiving Activity RewardsNot An Issue
Rustyspoon342
hey rustrewards is not giving players cash after the set time of being active. right now ive got it set to a minute and it has worked once. also i have no set any zones and here is my config
{
  "groupsettings": {
    "groupmultipliers": {
      "vip": 1.5,
      "default": 1.0
    }
  },
  "multipliers": {
    "40mm_grenade_buckshot": 1,
    "40mm_grenade_he": 1,
    "assaultrifle": 1,
    "axe_salvaged": 1,
    "beancangrenade": 1,
    "boltactionrifle": 1,
    "boneclub": 1.5,
    "boneknife": 1.5,
    "butcherknife": 1,
    "candycaneclub": 1.5,
    "chainsaw": 1,
    "combatknife": 1,
    "compoundbow": 1.25,
    "crossbow": 1.25,
    "customsmg": 1,
    "distance_100": 2,
    "distance_200": 2.5,
    "distance_300": 3,
    "distance_400": 3.5,
    "distance_50": 1.5,
    "doublebarrelshotgun": 1,
    "eokapistol": 1.25,
    "f1grenade": 1,
    "flamethrower": 1,
    "flashlight": 1,
    "hammer_salvaged": 1,
    "handmadefishingrod": 2,
    "happyhourmultiplier": 2,
    "hatchet": 1,
    "huntingbow": 1.5,
    "icepick_salvaged": 1,
    "jackhammer": 1,
    "l96rifle": 1,
    "longsword": 1.5,
    "lr300": 1,
    "m249": 1,
    "m39": 1,
    "m92pistol": 1,
    "mace": 1.5,
    "machete": 1.5,
    "mp5a4": 1,
    "multiplegrenadelauncher": 1,
    "nailgun": 1.25,
    "pickaxe": 1,
    "pitchfork": 1,
    "pumpshotgun": 1,
    "pythonrevolver": 1,
    "revolver": 1,
    "rocket": 1,
    "rocketlauncher": 1,
    "salvagedcleaver": 1,
    "salvagedsword": 1.5,
    "satchelcharge": 1,
    "semiautomaticpistol": 1,
    "semiautomaticrifle": 1,
    "sickle": 1,
    "snowball": 2,
    "spas12shotgun": 1,
    "stone_pickaxe": 1,
    "stonehatchet": 1,
    "stonespear": 1.25,
    "thompson": 1,
    "timedexplosivecharge": 1,
    "torch": 1,
    "vipmultiplier": 2,
    "waterpipeshotgun": 1,
    "woodenspear": 1.75
  },
  "rates": {
    "activityreward": 1000,
    "autoturret": 10,
    "barrel": 2,
    "bear": 7,
    "boar": 3,
    "bradley": 50,
    "cactus": 1,
    "chicken": 1,
    "chinook": 50,
    "corn": 1,
    "crate": 2,
    "foodbox": 1,
    "giftbox": 1,
    "helicopter": 75,
    "hemp": 1,
    "horse": 2,
    "minecart": 2,
    "murderer": 6,
    "mushrooms": 2,
    "npckill": 100,
    "ore": 2,
    "player": 10,
    "pumpkin": 1,
    "sam": 5,
    "scientist": 8,
    "stag": 2,
    "stones": 1,
    "sulfur": 1,
    "supplycrate": 5,
    "trap": 2,
    "welcomemoney": 500,
    "wolf": 8,
    "wood": 1
  },
  "settings": {
    "ActivityReward_Enabled": "true",
    "ActivityReward_Minutes": 1,
    "DistanceMultiplier_Enabled": "false",
    "Do_Advanced_VIP": "false",
    "DoLogging": "true",
    "HappyHour_BeginHour": 17,
    "HappyHour_Enabled": "false",
    "HappyHour_EndHour": 21,
    "HarvestReward_Enabled": "false",
    "KillReward_Enabled": "false",
    "Mid String": "</color><color=#FFFFFF>",
    "NPCReward_Enabled": "false",
    "OpenReward_Enabled": "false",
    "Player Default Settings": "hko",
    "Post String": "</color>",
    "Pre String": "<color=#CCBB00>",
    "PrintInConsole": "true",
    "ShowcurrencySymbol": "true",
    "TakeMoneyfromVictim": "false",
    "UseClansPlugin": "false",
    "UseEconomicsPlugin": "true",
    "UseFriendsPlugin": "false",
    "UseServerRewardsPlugin": "false",
    "VIPMultiplier_Enabled": "false",
    "WeaponMultiplier_Enabled": "false",
    "WelcomeMoney_Enabled": "true"
  }
}​
mspeedie
Plugin Developer
my pc is in transit, I am on a potato laptop.  once my pc arrives (I am moving) I will load that up to test.  You have economics loaded and the players have the permissions to use it?  any message on o.reload RustRewards ?
Rustyspoon342
Original Poster
In response to mspeedie ():
my pc is in transit, I am on a potato laptop.  once my pc arrives (I am moving) I will load that up...
to easy and yea i have economics installed also let them have permission to transfer money. guessing they have permission to ActivityRewards as a player did receive the $500 welcome money about 30 mins ago. no messages upon reloading just the normal

> oxide.reload RustRewards
Unloaded plugin Rust Rewards v2.2.18 by MSpeedie
Loaded plugin Rust Rewards v2.2.18 by MSpeedie

here is all my installed plugins
Listing 46 plugins:
01 "ZLevelsRemastered" (2.9.5) by FuJiCuRa (0.38s) - ZLevelsRemastered.cs
02 "WeaponTrajectory" (1.0.1) by Jake_Rich (8.82s) - WeaponTrajectory.cs
03 "Stack Size Controller" (2.0.0) by Canopy Sheep (0.01s) - StackSizeController.cs
04 "Spawns" (2.0.35) by Reneb / k1lly0u (0.01s) - Spawns.cs
05 "SkipNightUI" (0.1.2) by k1lly0u (0.20s) - SkipNightUI.cs
06 "ServerInfo" (0.5.3) by Fujikura/baton (0.04s) - ServerInfo.cs
07 "RustIOFriendListAPI" (1.4.0) by Alphawar (0.00s) - RustIOFriendListAPI.cs
08 "Radiation Manager" (1.0.0) by redBDGR (0.11s) - RadiationManager.cs
09 "Quick Smelt" (5.1.1) by Iv Misticos (0.20s) - QuickSmelt.cs
10 "PermissionsManager" (0.1.1) by Steenamaroo (0.06s) - PermissionsManager.cs
11 "NTeleportation" (1.0.58) by RFC1920 (0.18s) - NTeleportation.cs
12 "NoRecoil" (1.0.6) by Kappasaurus (0.00s) - NoRecoil.cs
13 "No Build On Road" (1.0.0) by BuzZ (0.00s) - NoBuildOnRoad.cs
14 "Loot Spawnpoints" (1.0.0) by Orange (0.28s) - LootSpawnpoints.cs
15 "Loot Bouncer" (0.3.2) by Sorrow (0.01s) - LootBouncer.cs
16 "Loading Messages" (1.0.5) by CosaNostra/VVoid (0.03s) - LoadingMessages.cs
17 "Kits" (3.2.93) by Reneb (0.02s) - Kits.cs
18 "Kill Info" (1.0.0) by birthdates (0.00s) - KillInfo.cs
19 "Instant Craft" (2.1.0) by Orange (0.00s) - InstantCraft.cs
20 "InfoPanel" (1.0.0) by Ghosst / Nogrod (1.43s) - InfoPanel.cs
21 "Image Library" (2.0.46) by Absolut & K1lly0u (0.06s) - ImageLibrary.cs
22 "GUI Shop" (1.5.85) by Default (0.03s) - GUIShop.cs
23 "GUIAnnouncements" (1.23.83) by JoeSheep (0.36s) - GUIAnnouncements.cs
24 "Gathering Manager" (2.2.61) by Mughisi (0.00s) - GatherManager.cs
25 "FriendlyFire" (1.6.0) by playrust.io / dcode (0.18s) - FriendlyFire.cs
26 "DragableCorpses" (1.0.1) by Jake_Rich (0.00s) - DragableCorpses.cs
27 "Death Notes" (6.2.0) by LaserHydra (0.16s) - DeathNotes.cs
28 "ChatHead" (1.1.0) by Default (0.00s) - ChatHead.cs
29 "CarCommanderLite" (0.1.2) by k1lly0u (0.36s) - CarCommanderLite.cs
30 "BuildingBlocker" (2.4.0) by Vlad-00003 (0.00s) - BuildingBlocker.cs
31 "Building Actions" (1.1.0) by Iv Misticos (0.27s) - BuildingActions.cs
32 "Blueprint Manager" (1.0.4) by Jacob (0.23s) - BlueprintManager.cs
33 "BetterLoot" (3.0.0) by FuJiCuRa / dcode (2.14s) - BetterLoot.cs
34 "Better Chat" (5.1.0) by LaserHydra (0.00s) - BetterChat.cs
35 "Backpacks" (3.0.2) by LaserHydra (0.19s) - Backpacks.cs
36 "AutoPurge" (1.6.1) by Fujikura/Norn (0.24s) - AutoPurge.cs
37 "AutomatedEvents" (0.1.8) by k1lly0u (0.68s) - AutomatedEvents.cs
38 "AutoDoors" (3.1.2) by Wulf/lukespragg (0.01s) - AutoDoors.cs
39 "AntiOfflineRaid" (0.3.6) by Calytic (2.97s) - AntiOfflineRaid.cs
40 "Airdrop Precision" (0.1.3) by k1lly0u (0.12s) - AirdropPrecision.cs
41 "AdvanceGather" (1.0.0) by Hougan (0.00s) - AdvanceGather.cs
42 "Admin Toggle" (1.0.5) by LaserHydra (0.00s) - AdminToggle.cs
43 "Rust Rewards" (2.2.18) by MSpeedie (0.01s) - RustRewards.cs
44 "Economics" (3.5.0) by Wulf/lukespragg (0.03s) - Economics.cs
45 "HitIcon" (1.5.9) by serezhadelaet (0.03s) - HitIcon.cs

EDIT: a second player joined and also received the $500 welcome money
[Rust Rewards] New Player: Simple.
[Rust Rewards] Simple. got 500 for welcomemoney
41.142.XXX.XX:63399/7656XXXX796203904/Simple. joined [windows/7656XXXX796203904]
Simple.[3641278/7656XXXX96203904] has entered the game
[Economics] Saving balances for players...

EDIT 2: its semi working the player from before received activityrewards twice in a span of 10 minutes. but me and a another player didnt receive it. no errors in cmd about Rustrewards aswell just this. 
[Rust Rewards] Simple. got 1000 for activity
[Rust Rewards] Simple. got 1000 for activity
mspeedie
Plugin Developer
try setting this to 2:
"ActivityReward_Minutes": 1,​

I have never given money for just one minute before.  if 2 works then I have a good idea that it is a bug with such a short timer.

Rustyspoon342
Original Poster
In response to mspeedie ():
try setting this to 2:
"ActivityReward_Minutes": 1,​I have never given money for just one minu...
will give that a try and let you know what happens.
Rustyspoon342
Original Poster
In response to Rustyspoon342 ():
will give that a try and let you know what happens.
seemed to work at 2mins I only set it to 1min because I Keep forgeting about it at 25mins. but here is how long it took each time 3m 50secs, 2m 37secs, 3m, 2m 55secs, 2m 53secs and 2m 53secs again. but after restarting my server I havent recevied anything after 7+ mins but started to work after reloading the plugin hmm

gonna test 25 mins again and see what happens

tested it and the samething happens with 25mins as the 2mins
mspeedie
Plugin Developer
Just to recap to make sure I understand.  It does not work at 1 mintue,  it does work at 2 mintues but the timer is off.  The timer starts after it processes the players, so that sounds like it is taking a long time to process players, which is not good.  I've not seen this as I normallly run it hourly, but the timer restart delay is not good when the range of time is very small, it becomes very noticable. 

Did I accurately describe your experience?

I will look to rewrite this section once I get my pc back from the movers and my desk set up.
Rustyspoon342
Original Poster
In response to mspeedie ():
Just to recap to make sure I understand.  It does not work at 1 mintue,  it does work at 2 mintues b...
kinda yea the timers are off and after awhile its just stops giving money. jumped on after going to bed last night and timed it and didn't recevied anything after 30+ mins. reloaded it and one of us recevied it at 27mins and i waited an extra 10 mins and i got nothing. also after restarting the server i will have to manually reload it for it to work. only reason i set it to 1 min is to hope to speed up the bug and for testing. ultimately in the end i would like it to give a $1000 for evey 25mins to active players.
mspeedie
Plugin Developer
I've set it to every 15 minutes on mine and will test.

Sorry for being slow, still mid move, new job etc.
Rustyspoon342
Original Poster
5b5c36c6b9361.png mspeedie
I've set it to every 15 minutes on mine and will test.

Sorry for being slow, still mid move, new job etc.

to easy any progress with it?

mspeedie
Plugin Developer
The Activity check runs every 60 seconds so a 1 minute reward will most likely have issues.  I have been testing this on my server and it has been working ok.

Note it checks for players in \oxide\data\RustRewards.json   to know if they should get the inital reward, so deleting that will get them a new reward (but will remove any player settings for messaging).
mspeedie
Plugin Developer
With it set to > 61 second does it work ok for you?

Merged post

set it to be more than 60 seconds and you should be fine.
Goldie
Same issue here. I have set it every 30mins. Sometimes players report not getting any.

Is it better to have it less like OP? Every 5 minutes or so? Or is it gonna be more resource hungry?
mspeedie
Plugin Developer
they have to had been on for the last 30 minutes before as well.  They had to be on the full 30 minutes.  So if they log on say 1 minute after the last sweep, they don't get credit till the next sweep.  They have to be on for the full time period.  Ws that what was occuring for you?
Goldie
5b5c36c6b9361.png mspeedie
they have to had been on for the last 30 minutes before as well.  They had to be on the full 30 minutes.  So if they log on say 1 minute after the last sweep, they don't get credit till the next sweep.  They have to be on for the full time period.  Ws that what was occuring for you?

I dont know I get reports of "sometimes it works sometimes it doesn't" even for those who are online for half a day at the time.

Would it be better to devide it so instead of getting 60 every 30 mins they would get 10 every 5 minutes or is that more costly in terms of performance?