Jump to content

Server Backup - Error on dupe

Closed 1.1.8

GamingHQ
GamingHQ

Posted

Hi there.

 

Today, my partner ( fragnet ) has transported my server to a new node as of the ongoing issues. However, upon the first player that connected, the following errors were spammed every xx minutes. 

Quote

Exception while calling NextTick callback (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.BetterNpc.AddToContainerPrefab (ItemContainer container, Oxide.Plugins.BetterNpc+PrefabLootTableConfig lootTable) [0x0011e] in <9b870d14628946f6b2ea556b138732eb>:0 at Oxide.Plugins.BetterNpc+ControllerSpawnPoint+<DieNpc>cAnonStorey3.<>m1 () [0x000b0] in <9b870d14628946f6b2ea556b138732eb>:0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <157a94ee66ab4a7991faecd1eb84be3b>:0

 

Even with several other plugins, similar errors pop up when this occurs. Do you know by any chance what went wrong? or is this since the last patch of yesterday from FacePunch? As I didn't have that done yet on the old server, we didn't have any issues there so far based on this error so it would be or the new server or oxide being drunk somehow. 🍻 

Jbird

Posted

My guess is that one or more files or folders were not created in BetterNpc.

Reload the plugin and check console, it does have an extensive loading list but review it and look for anything that does not load or shows an error.

You can share the whole list here if you need to.

GamingHQ

Posted

03/18 10:31:57 | WaterLabTech Guy[9339069] was killed by [REDACTED] at (811.3, 40.4, -1031.2)
03/18 10:31:57 | Exception while calling NextTick callback (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.BetterNpc.AddToContainerPrefab (ItemContainer container, Oxide.Plugins.BetterNpc+PrefabLootTableConfig lootTable) [0x0011e] in <22d1d717472f4fe7b701071c39171a0b>:0
at Oxide.Plugins.BetterNpc+ControllerSpawnPoint+<DieNpc>c__AnonStorey3.<>m__1 () [0x000b0] in <22d1d717472f4fe7b701071c39171a0b>:0
at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <157a94ee66ab4a7991faecd1eb84be3b>:0
03/18 10:32:11 | WaterLabTech Guy[4777526] was killed by [REDACTED] at (809.4, 40.2, -1021.1)
03/18 10:32:11 | Exception while calling NextTick callback (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.BetterNpc.AddToContainerPrefab (ItemContainer container, Oxide.Plugins.BetterNpc+PrefabLootTableConfig lootTable) [0x0011e] in <22d1d717472f4fe7b701071c39171a0b>:0
at Oxide.Plugins.BetterNpc+ControllerSpawnPoint+<DieNpc>c__AnonStorey3.<>m__1 () [0x000b0] in <22d1d717472f4fe7b701071c39171a0b>:0
at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <157a94ee66ab4a7991faecd1eb84be3b>:0
03/18 10:32:16 | WaterLabTech Guy[4379516] was killed by [REDACTED] at (770.8, 40.3, -1027.8)
03/18 10:32:16 | Exception while calling NextTick callback (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.BetterNpc.AddToContainerPrefab (ItemContainer container, Oxide.Plugins.BetterNpc+PrefabLootTableConfig lootTable) [0x0011e] in <22d1d717472f4fe7b701071c39171a0b>:0
at Oxide.Plugins.BetterNpc+ControllerSpawnPoint+<DieNpc>c__AnonStorey3.<>m__1 () [0x000b0] in <22d1d717472f4fe7b701071c39171a0b>:0
at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <157a94ee66ab4a7991faecd1eb84be3b>:0

All files are there. The only file I did not include was the custom folder one as we don't have custom placements ( so using an empty folder would be a waste of resources ) 

 

Every kill being done by a player towards a better NPC guy,  this error would pop up.

Jbird

Posted

An empty folder is not a waste of resources.

Also your removal of the empty folder is the reason you are having this error.

Return the folder and reload the plugin. The errors will go away because the plugin will fully load, instead of stopping when it gets to the Custom folder, nothing after that has been loading for you.

KpucTaJl

Posted

Changed Status from Pending to Closed

GamingHQ

Posted

still have the problem guys.... dont ninja close it 🧐

KpucTaJl

Posted

Changed Status from Closed to Pending

KpucTaJl

Posted

but JBird correctly wrote to you what is the problem

KpucTaJl

Posted

I read all the messages and since the answer was given correctly and there were no messages for a long time, I closed the ticket. What other questions do you have?

GamingHQ

Posted

Yea, i have a fam member that passed away, so my mindset is a bit elsewhere at the moment. Therefore the lack of response. Apologies.

i was wondering if you would be able to check the section where bots have their aim defined. some players of mine are complaining that they are more aim bottery nowadays than before. I however have not changed anything else besides duping the files for my other server. ( I'm facing several 1TB powered DDOS attacks so I'm moving the server, no joke, someone is pissed at me or something lol ) 

 

the folder issue has been fixed, but I still wonder why it would chuck out an error for an event-related spawn as well as for a monument-related spawn while the custom spawn map file was not included. 

KpucTaJl

Posted

My condolences to you. You had an insufficient number of folders or files, which caused the plugin to work incorrectly. You needed to compare your files and folders with the files and folder in the archive that you download from the site. And you can also see it by the messages in the console when you upload the plugin to the server, there are checks in all my plugins now and during the plugin upload to the server, the plugin usually finds the fault itself and talks about it in the console. Usually 85% of tickets for my plugins are solved by the fact that it is enough to look at the messages from the plugin in the console when the plugin is uploaded to the server. Regarding the aiming of NPCs, yes, there is such a parameter, they have an accuracy parameter ("Aim Cone Scale"), this parameter means the analysis of their shooting, where 0 is the most accurate, and the higher this parameter, the greater the spread and they will hit the player worse, by default in RUST, all NPCs have such a parameter equal to 2

GamingHQ

Posted

Thanks bud

So, the higher the number, the bad their aim will be... I uhm.. I guess i know now why they complain lol. I actually thought by changing it to 1 would solve it. Its been like that for like 3 months-ish XD

Jbird

Posted

I like to explain it this way as it makes more sense in my opinion.

If you increase the aim cone, the cone gets larger that they shoot, and the cone is the spread of their shots.

If you picture a cone coming out of the gun, it makes more sense to me that the larger number will make a larger cone for shots, and they will miss.

A tiny cone will be precise.

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.