Jump to content

Error on loading plugin

No Response 1.1.10

BetterDeadThanZed
BetterDeadThanZed

Posted

I tested this on my test server and now I moved it to my live server, but I'm getting this error:

 

02/08 07:48:31 | Failed to call hook 'OnServerInitialized' on plugin 'HungerGames v1.1.10' (ArgumentException: An item with the same key has already been added. Key: ele)
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.HungerGames.FindButtonIDs () [0x0011e] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.GetLobbyLocations () [0x00016] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.CheckAndSetup () [0x0005e] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.OnServerInitialized (System.Boolean initial) [0x00138] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <9647a9265cd5448c8dd1726d6cc48fe9>: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 <dfcb48ea05694263bbc08e62a39c274c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0
02/08 07:48:31 | Calling 'OnServerInitialized' on 'HungerGames v1.1.10' took 1258ms

 

imthenewguy

Posted

10 minutes ago, BetterDeadThanZed said:

I tested this on my test server and now I moved it to my live server, but I'm getting this error:

 

02/08 07:48:31 | Failed to call hook 'OnServerInitialized' on plugin 'HungerGames v1.1.10' (ArgumentException: An item with the same key has already been added. Key: ele)
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.HungerGames.FindButtonIDs () [0x0011e] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.GetLobbyLocations () [0x00016] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.CheckAndSetup () [0x0005e] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.OnServerInitialized (System.Boolean initial) [0x00138] in <9647a9265cd5448c8dd1726d6cc48fe9>:0
at Oxide.Plugins.HungerGames.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <9647a9265cd5448c8dd1726d6cc48fe9>: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 <dfcb48ea05694263bbc08e62a39c274c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0
02/08 07:48:31 | Calling 'OnServerInitialized' on 'HungerGames v1.1.10' took 1258ms

 

Unload it. Delete your old data file. Reload it.

BetterDeadThanZed

Posted

10 minutes ago, imthenewguy said:

Unload it. Delete your old data file. Reload it.

That was the first thing I tried before submitting this.

imthenewguy

Posted

3 minutes ago, BetterDeadThanZed said:

That was the first thing I tried before submitting this.

The only reason I can see this triggering more than once to save the "ele" button is if you have anchor entity sets that match. This could be caused by duplicating the arena so that there are 2 sets of buttons and 2 pookie bears.

Have you clicked the "Remove Duplicates" in RustEdit?


I haven't adjusted any of the anchor points with the plugin, so all changes made should not affect the way that the IO is acquired.

imthenewguy

Posted

Closing this for now as I havent heard back. Pm if the problem continues 🙂

imthenewguy

Posted

Changed Status from Pending to No Response

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

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.