Jump to content

Rust Rewards 3.2.0

   (6 reviews)

6 Screenshots

Recommended Comments



Krungh Crow

Posted

OnCollectiblePickup and OnGrowableGathered can do that 🙂
 

  • Administrator
Steenamaroo

Posted

Noted, @KingSizeKevin- Thanks for the suggestion. 🙂

  • Like 1
KingSizeKevin

Posted

15 hours ago, Krungh Crow said:

OnCollectiblePickup and OnGrowableGathered can do that 🙂
 

The problem is that it can be abused by planting 500 seeds at a river and coming back later for easy money so a check for a planter box would be nice to keep payout to people actually farming

Krungh Crow

Posted

no

those count as collectable pickup and can be filtered, from planters it is ongrowable's i do the same with my gatherreward plugin
and check if the item is seed or not otherwise they count double

 

  • Administrator
Steenamaroo

Posted

Thanks for the info, Krungh.
I have both hooks pointing to the same pickup reward right now, but also have a check by ID to make sure rewards aren't given out twice. (from both hooks).
Should be easy enough to have a planters-only check in there, I think. 🙂

  • Like 2
Neighigh

Posted

@SteenamarooI've been getting a little hiccup in console for a while, any idea what this might be? I can't seem to pin it down on my end.
28/08 09:46:46 | Failed to call hook 'OnEntityDeath' on plugin 'RustRewards v3.0.8' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RustRewards.OnEntityDeath (BaseVehicle vehicle, HitInfo info) [0x00025] in <d55f6d1754e34ff9bc82003827ac9b17>:0
at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007bd] in <d55f6d1754e34ff9bc82003827ac9b17>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b6af59acae274e5a94fb209dfc179b8f>: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

T-Nuts

Posted

I'm getting more of the "Failed to call hook" as well. This all started after I added back the ZombieHorde plugin and I have them able to kill anything so animals, NPC's, etc. Also anything can kill them so animals, NPC's, turrets, etc. 

09/02 15:16:18 | Mariah[947073] was killed by Zombie[603863]

09/02 15:16:22 | Zombie[8498944] was killed by bear (Bear)

09/02 15:16:23 | Zombie[6681431] was killed by polarbear (Polarbear)

09/02 15:16:48 | Zombie[7029570] was killed by polarbear (Polarbear)

09/02 15:16:53 | Zombie[9311699] was killed by bear (Bear)

09/02 15:17:13 | Zombie[8113793] was killed by polarbear (Polarbear)

09/02 15:17:36 | Failed to call hook 'GiveRustReward' on plugin 'RustRewards v3.0.7' (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.RustRewards.GiveReward (BasePlayer player, Oxide.Plugins.RustRewards+RewardType type, System.Double amount, BaseEntity ent, System.String weapon, System.Single distance, System.String name) [0x003c3] in <55f3bd9bbd9749508c99efd54f19ac21>:0
at Oxide.Plugins.RustRewards.GiveRustReward (BasePlayer player, System.Int32 type, System.Double amount, BaseEntity ent, System.String weapon, System.Single distance, System.String name) [0x00000] in <55f3bd9bbd9749508c99efd54f19ac21>:0
at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3c] in <55f3bd9bbd9749508c99efd54f19ac21>: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

  • Administrator
Steenamaroo

Posted

Hi @T-Nuts
GiveRustReward is the name of the API method, so that means it's a call coming from some other plugin.
I should, and will, null check so it can't throw errors like that, but it would indicate something's probably wrong in the call from the other plugin.
Do you know what that would be?

  • Administrator
Steenamaroo

Posted

@Neighigh- Sorry, I missed your report until now.
Do you know, is this still an issue after my most recent update?

Thank you!

 

Neighigh

Posted

2 hours ago, Steenamaroo said:

@Neighigh- Sorry, I missed your report until now.
Do you know, is this still an issue after my most recent update?

Thank you!

 

Oh man I don't know how I missed 3.0.9 - I was on 3.0.8 - If it comes up after updating I'll get right back to you - Hilariously embarrassing! XD

  • Administrator
Steenamaroo

Posted

No, not at all.
I'm pretty sure I didn't change anything in that particular method, so there's a good chance the issue's still live.
Please do let me know if you see it again - I'll try to figure out what it is as soon as I can.

  • Love 1
Neighigh

Posted

9 hours ago, Steenamaroo said:

No, not at all.
I'm pretty sure I didn't change anything in that particular method, so there's a good chance the issue's still live.
Please do let me know if you see it again - I'll try to figure out what it is as soon as I can.

Yup you're right, still kicking around. I can't seem to pin down the trigger on this but if I do I'll share here right away!

03/09 01:47:10 | Failed to call hook 'OnEntityDeath' on plugin 'RustRewards v3.0.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RustRewards.OnEntityDeath (BaseVehicle vehicle, HitInfo info) [0x00025] in <99cb12e2f7304b84813b0906deadccbe>:0
at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007bd] in <99cb12e2f7304b84813b0906deadccbe>: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

Watcher

Posted

[RustRewards] UI Overflow - notify author

  • Administrator
Steenamaroo

Posted

Booo! Thanks @Watcher

T-Nuts

Posted

On 9/2/2022 at 3:36 PM, Steenamaroo said:

Hi @T-Nuts
GiveRustReward is the name of the API method, so that means it's a call coming from some other plugin.
I should, and will, null check so it can't throw errors like that, but it would indicate something's probably wrong in the call from the other plugin.
Do you know what that would be?

That I am not sure of. I didn't see this until I added ZombieHorde back. Before adding it I never saw any of these messages. I will mess with the config and maybe have them not be able to be killed my everything or have them kill everything except players. 

  • Administrator
Steenamaroo

Posted

I'll tidy up my end so it doesn't throw errors but, so you know, that probably means you have some plugin trying to use RustRewards to give out rewards, and it'll not be working.
Maybe I should put in a friendly message 'API call failed' or something but, unfortunately, I can't identify the plugin that made the call. 😞

TheWadeShow

Posted

Is it possible for the plugin to track who placed an Auto-Turret, and give that person XP for the Turret kills?

damnpixel

Posted

On 2/9/2021 at 6:17 PM, Elloco said:

Is it possible to change the icon in any way?

Icon Change is Easy. But the +Text on Icons thats not easy. i need a diferent .ttf

damnpixel

Posted

Is it possible to get points for street signs? Find no setting for it

GiBr

Posted

Would it be any chance to add clearing data file on map change?( simply on wipe)

  • Administrator
Steenamaroo

Posted

Hi @GiBr
What data would you want to wipe? Rust Rewards only stores player notifications preferences, and your friendly-names for items.

Maybe you were thinking of PlayerRanks? If so, it has a config option - WipeOnNewMap - true/false.

MNfreakTim

Posted

Is there an easy way to stop a specific action (opening Bag of Holding) to not generate reward points? Currently players on my server can spam open and close the bag and generate RP.

 

Thanks in advance if this has already been answered (I have 2 exams this week and am having issues looking this up myself)

 

Tim

  • Administrator
Steenamaroo

Posted

Hi @MNfreakTim
I don't see any info about identifying containers from Bag of Holding, but if the author can provide that info I'd be happy to update for it.

Neighigh

Posted

Bag of holding bags are using halloween bags. We just added their shortnames to the config as 0 points and all was good.

  • Like 1
MNfreakTim

Posted

23 hours ago, Steenamaroo said:

Hi @MNfreakTim
I don't see any info about identifying containers from Bag of Holding, but if the author can provide that info I'd be happy to update for it.

Howdy Steenamaroo,

 

In case anyone else is having a moment like myself where you cant figure out the name if the item you need to place in the RustRewards cfg it is lootbag.large.item. I added that item to the open list with a multiplier of 0.0 and it solved the problem.

 

I blame the 2 exams I have this week, the final Internship project that is Due on Monday and the other exam next week for frying my brain 😄

 

Thanks for humoring me,

 

Tim

  • Like 1

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 15
  • Love 4

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.