Jump to content

Changing settings in settings does not change loot.

Closed 2.1.0

hid333
hid333

Posted

Hi, I am enjoying using this plugin.

An error occurred with the latest plugin.

Changing settings in settings does not change loot.

 "Which loot table should the plugin use? (0 - default; 1 - own; 2 - AlphaLoot; 3 - CustomLoot; 4 - loot table of the Rust objects; 5 - combine the 1 and 4 methods)": 5,

Also, I get the following error in the log every time I fight a BOSS.

Failed to call hook 'OnEntityTakeDamage' on plugin 'BossMonster v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BossMonster.OnEntityTakeDamage (ScientistNPC entity, HitInfo info) [0x000cc] in <04088a25143043f19cef4a05d5eb9b76>:0 
  at Oxide.Plugins.BossMonster.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0096e] in <04088a25143043f19cef4a05d5eb9b76>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Find out what's causing the error, what to do about it, and why you can't change your loot.

Npc Spawn:ver 2.5.5
Boss Monster:ver 2.1.0

Jbird

Posted

Quote

An error occurred with the latest plugin.

Is it what you are describing or something else?

 

Quote

Changing settings in settings does not change loot.

The option you selected is using the loot table you build in the config, and the prefab path that you have. What issue are you having there? Do you have any loot related plugins?

 

Quote

Failed to call hook 'OnEntityTakeDamage' on plugin 'BossMonster v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)   at Oxide.Plugins.BossMonster.OnEntityTakeDamage (ScientistNPC entity, HitInfo info) [0x000cc] in <04088a25143043f19cef4a05d5eb9b76>:0    at Oxide.Plugins.BossMonster.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0096e] in <04088a25143043f19cef4a05d5eb9b76>:0    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

This is for any Boss or specific ones? This for every bit of damage or only comes at certain times?

 

Quote

Npc Spawn:ver 2.5.5
Boss Monster:ver 2.1.0

Perfect thank you for confirming versions.

hid333

Posted

Quote

Is it what you are describing or something else?

This meant the following

oxide:ver2.0.5977
Npc Spawn:ver 2.5.5
Boss Monster:ver 2.1.0

 

Quote

The option you selected is using the loot table you build in the config, and the prefab path that you have. What issue are you having there? Do you have any loot related plugins?

Specifying a loot table built in config-file did not take effect.

No loot related plugins.

 

Quote

This is for any Boss or specific ones? This for every bit of damage or only comes at certain times?

Output for all bosses.
Occurs with any damage.

KpucTaJl

Posted

Hello everyone, I need to see the configuration file of any one boss with whom such a problem occurs

hid333

Posted

I am attaching the configuration file.
Other bosses have the same rewards and no other changes.

Clown.json

tigerbaby

Posted

Hello!

I also have this problem currently. i use "own... '1' " loot table in boss cfg (currently myers ) . i set items to drop.. but only 2 items drop. 

Jbird

Posted

Glanced at it @hid333 don't see an issue at a glance but will look more into it and see if I can sort it out.

Do you have any other loot related plugins, especially for NPC?

 

Can you create a new support request @tigerbaby in case your issue is different, and so you can share any files you use in your ticket so things don't get confused? Please and thank you.

hid333

Posted

Quote

Do you have any other loot related plugins, especially for NPC?

not using both

Jbird

Posted

What do you mean, I am just asking if you have any in case there could be an interaction between them. Share a list of your plugins @hid333, you can type plugins in console to get the list.

KpucTaJl

Posted

@hid333 Hi, I used your configuration on my test server, I just downloaded the archive from the site, and your configuration file to the server and I can't get this error that you sent about the OnEntityTakeDamage hook (I attach a screenshot of the console, which shows that the plugin was loaded, and also shows that I'm killing the boss, and next, I make it so that the boss kills me, also in the console you can see the version of the plugin, server and oxide). I need information on how I can get this error

image.png.33a02d3d2ff85722923512a3bb52fef9.png


Regarding the loot inside the boss, I attach a video of how I killed the boss and looked at the loot inside it, also as far as I understand the loot inside the NPC is configured by you and gives out how you configured 4 items out of 4 that you specified in the boss loot, in the configuration that you sent. If your loot differs from what you specified in the plugin configuration, then most likely you have some plugin installed that changes the loot in the assets/rust.ai/agents/npcplayer/humanpc/scientist/scientistnpc_heavy.prefab

 

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.5k

Files Sold

Total number of files sold.

2.1m

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.