Jump to content

Rust Rewards 3.2.0

   (6 reviews)

6 Screenshots

Recommended Comments



  • Administrator
Steenamaroo

Posted

Thanks for the info, Shark.
I had a few people with the same issue. Not exactly sure what caused that but there was a mistake relating to config loading/saving which I've rectified in the most recent version.
Hopefully that stops the issue from happening again.

I'll check autoturrets next time I'm on and see what's happening with those.

saintmichel13

Posted

1 hour ago, Steenamaroo said:

Just go to your chosen location and do `/botspawn add many` and `/botspawn add one`.

Now you have two custom profiles in the same place - You can customise them separately and call for different numbers of npcs, but they'll be in the same area.

but wont the location not transfer to the next map? i was hoping i can do something like it only always spawn on this monuument  or this biome

  • Administrator
Steenamaroo

Posted (edited)

You're in RustRewards discussion, just FYI. 😛

You can enter a name in the Parent_Monument field for any custom profile in BotSpawn.
If you plan to add custom spawn points, make sure you set Parent_Monument first...That's important.

 

To give an example, if you want the regular airfield default profile to have 10 npcs, then you want an additional custom profile with one, go to the airfield, use the /botspawn add *name* command,
then go into your custom-profiles json, find your new profile, and set its Parent_Monument to "The Airfield 0".
That name you're setting there must be exactly as it appears in the default profiles json.

Now that profile will always be exactly where you placed it, relative to the Airfield.
If the Airfield moves, so does your profile.
If you add custom spawn points for that profile, they'll auto-move too.

 

Custom spawn points for default profiles also carry over in this way, so if you were using custom spawn points for Dome + your boss profile, you could dictate precise positioning of all of those npcs, and make it that the boss is always in the centre, protected by the lesser npcs, for example.

Edited by Steenamaroo
saintmichel13

Posted

2 hours ago, Steenamaroo said:

You're in RustRewards discussion, just FYI. 😛

You can enter a name in the Parent_Monument field for any custom profile in BotSpawn.
If you plan to add custom spawn points, make sure you set Parent_Monument first...That's important.

 

To give an example, if you want the regular airfield default profile to have 10 npcs, then you want an additional custom profile with one, go to the airfield, use the /botspawn add *name* command,
then go into your custom-profiles json, find your new profile, and set its Parent_Monument to "The Airfield 0".
That name you're setting there must be exactly as it appears in the default profiles json.

Now that profile will always be exactly where you placed it, relative to the Airfield.
If the Airfield moves, so does your profile.
If you add custom spawn points for that profile, they'll auto-move too.

 

Custom spawn points for default profiles also carry over in this way, so if you were using custom spawn points for Dome + your boss profile, you could dictate precise positioning of all of those npcs, and make it that the boss is always in the centre, protected by the lesser npcs, for example.

how the hell did i end up here. haha sorry and thanks i'll test this out 

  • Like 1
Jouker

Posted

Why such an error?

  

image.thumb.png.9a9624940dcb52e55272e13792f49187.png

Grodonoff

Posted

3 hours ago, Jouker said:

Why such an error?

  

image.thumb.png.9a9624940dcb52e55272e13792f49187.png

обновите плагин.Ошибка была устранена разработчиком

Jouker

Posted

11 hours ago, Grodonoff said:

обновите плагин.Ошибка была устранена разработчиком

I have newest Version 3.0.5

Wajeeh Agbariya

Posted

How do i set happy hour to work during the night time only, and how do i get it to send an announcement in chat that happy hour has started?

pinoysaboteur

Posted (edited)

...

 

Edited by pinoysaboteur
Alfredjodocus

Posted

o.reload RustRewards
Error while compiling: RustRewards.cs(1017,10): error CS0841: A local variable `npc' cannot be used before it is declared

Update Broke it 😞

  • Like 3
IKK

Posted

when the plugins will be updated

 

mughi

Posted (edited)

edit:  i was looking in the wrong section for support.. removed my code suggestions since this was already fixed .. yesterday

 

 

Edited by mughi
HUNTER

Posted

 sry is this the public fix for this 

MNfreakTim

Posted (edited)

Nevermind 🙂 I am an idiot. I figured out my issue

Edited by MNfreakTim
bigrednz

Posted

@Steenamaroo Is there any chance you could add Road Signs to the harvest list?

PPlank

Posted (edited)

Do you think you could add suicide back in? I've always had it set to -10 as a punishment. 😉

Also, what is the rustrewards.default permission for?

Edited by PPlank
  • Like 1
PapaNo

Posted

Hi,

Had a new error, don't know what cause it 😕

 Failed to call hook 'GiveRustReward' on plugin 'RustRewards v3.0.6' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.RustRewards.GetMultiplier (BasePlayer player, System.String weapon, System.Single distance, BaseEntity ent) [0x0017e] in <a8b9c7971cb842319081b4cd9f40ff1c>: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) [0x0002a] in <a8b9c7971cb842319081b4cd9f40ff1c>: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 <a8b9c7971cb842319081b4cd9f40ff1c>:0 
  at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3c] in <a8b9c7971cb842319081b4cd9f40ff1c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

 

  • Administrator
Steenamaroo

Posted

I've had a couple of reports of config file issues resulting in seemingly random errors.
I need to look into what happens if there's a config mistake, and ensure that the data isn't wiped or left null,
as I think that's what's happening.

Might be unrelated, but would you mind checking your RustRewards config and data files, to confirm their not null, and/or to confirm they're valid?

https://www.jsonlint.com is really useful for that.

PapaNo

Posted

All files are validated

  • Administrator
Steenamaroo

Posted

Ok, thank you.
I think I see where the issue is and have patched accordingly.

Thank you for pointing this out!

  • Like 1
  • Administrator
Steenamaroo

Posted (edited)

9 hours ago, PPlank said:

Do you think you could add suicide back in? I've always had it set to -10 as a punishment. 😉

Also, what is the rustrewards.default permission for?

Hi,
I'll take a look at that, but I'd need to add a way of deducting Economics/Server Rewards, which isn't currently in place.
The "default" permission is there for applying multipliers to people who are in groups.
Your server has a 'default' group, so you could use RustRewards to give a points multiplier to anyone in that group.

It's useful for VIP groups, or rank/progress groups, and that kind of thing.

Edited by Steenamaroo
  • Like 1
Jbird

Posted

On 12/12/2021 at 9:13 AM, Steenamaroo said:

I'll take a look at that, but I'd need to add a way of deducting Economics/Server Rewards, which isn't currently in place.

Just for the record simply putting a negative value does work currently. You wouldn't need to do anything in that regard.

But perhaps just adding death types in the 'Players' category such as suicide, drowning, fall damange, explosion, etc. Adding things like this we would be able to give a negative value for players who suicide or drown themselves to essentially teleport to their base or to another bag or bed when they don't want to travel the map.

  • Administrator
Steenamaroo

Posted

Oh, wow. You're quite right.
I don't recall implementing withdraw/takepoints if value is less than zero.
That may be MalS' original code.

That makes life much easier. I can add Suicide (and/or others) quite easily, and just allow for setting negative values with the UI.

Thanks for the info!

  • Like 1
Jbird

Posted

1 minute ago, Steenamaroo said:

Oh, wow. You're quite right.
I don't recall implementing withdraw/takepoints if value is less than zero.
That may be MalS' original code.

That makes life much easier. I can add Suicide (and/or others) quite easily, and just allow for setting negative values with the UI.

Thanks for the info!

Happy to make your life just a little easier. ^-^

Thank you for all the work you do! Will keep an eye out for that update. No rush!

PapaNo

Posted

Hi

v3.0.7 installed and still this error

 Failed to call hook 'OnEntityDeath' on plugin 'RustRewards v3.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RustRewards.OnEntityDeath (BaseVehicle vehicle, HitInfo info) [0x00025] in <937d0ccc5b2b449a83dec86106eb1285>:0 
  at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007bd] in <937d0ccc5b2b449a83dec86106eb1285>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

 

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.