Jump to content

Rust Lunar update broke stackmodifier

Fixed 2.7.1

Markiii
Markiii

Posted

As above bro 

hope this helps. cos it does compile just doesnt work on some things:

Stack Modifier] foreach threw Exception: Blue Dog Tags, 1036321299, bluedogtags 250000, False
Failed to call hook 'ConsoleEditorShow' on plugin 'StackModifier v2.6.9' (KeyNotFoundException: The given key 'bluedogtags' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <f53fabdb51f14af3b34676ef032dd183>:0 
  at Oxide.Plugins.StackModifier.CreateEditorItemEntry (Oxide.Plugins.StackModifier+_Items dataItem, System.Single ymax, System.Single ymin, System.String catName, System.String text) [0x0023f] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.ShowEditor (BasePlayer player, System.String catid, System.Int32 from, System.Boolean fullPaint, System.Boolean refreshMultipler, System.Boolean filter, System.String input) [0x00637] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.ConsoleEditorShow (ConsoleSystem+Arg arg) [0x00089] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0066f] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d82f1fa409f84967ab685a3dbdd116ae>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0 
[Stack Modifier] foreach threw Exception: Blue Dog Tags, 1036321299, bluedogtags 250000, False
Failed to call hook 'ConsoleEditorShow' on plugin 'StackModifier v2.6.9' (KeyNotFoundException: The given key 'bluedogtags' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <f53fabdb51f14af3b34676ef032dd183>:0 
  at Oxide.Plugins.StackModifier.CreateEditorItemEntry (Oxide.Plugins.StackModifier+_Items dataItem, System.Single ymax, System.Single ymin, System.String catName, System.String text) [0x0023f] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.ShowEditor (BasePlayer player, System.String catid, System.Int32 from, System.Boolean fullPaint, System.Boolean refreshMultipler, System.Boolean filter, System.String input) [0x00637] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.ConsoleEditorShow (ConsoleSystem+Arg arg) [0x00089] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0066f] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d82f1fa409f84967ab685a3dbdd116ae>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0 
[Stack Modifier] foreach threw Exception: Blue Dog Tags, 1036321299, bluedogtags 250000, False
Failed to call hook 'ConsoleEditorShow' on plugin 'StackModifier v2.6.9' (KeyNotFoundException: The given key 'bluedogtags' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <f53fabdb51f14af3b34676ef032dd183>:0 
  at Oxide.Plugins.StackModifier.CreateEditorItemEntry (Oxide.Plugins.StackModifier+_Items dataItem, System.Single ymax, System.Single ymin, System.String catName, System.String text) [0x0023f] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.ShowEditor (BasePlayer player, System.String catid, System.Int32 from, System.Boolean fullPaint, System.Boolean refreshMultipler, System.Boolean filter, System.String input) [0x00637] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.ConsoleEditorShow (ConsoleSystem+Arg arg) [0x00089] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.StackModifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0066f] in <211ace22b61a4ffaa9759817d6e7c5d2>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d82f1fa409f84967ab685a3dbdd116ae>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0 

  • Like 1
Thortazo

Posted

Temporary fix:
Modifiy this:
 

        private static Dictionary<int, int> _FP = new Dictionary<int, int>
        {
            {-739993590, 1},
			{1115193056, 1}, // Lunar Wall Frame Inlay
            {-450890885, 1}, // Lunar Wall Frame Swirling
            {-2016974826, 1}, // Lunar Wall Frame Floral
            {-1314079879, 1}, // Snake Mask
...

To add new items definitions.

I suggest the dev to add a new method to check new item definitions that not break the entire functionality of this plugin.
Thnx for the effort btw

  • Love 1
Khan

Posted

Changed Status from Pending to Fixed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

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.