ZLevelsRemastered

Moved

Total Downloads: 41,380 - First Release: Nov 15, 2015 - Last Update: Jul 22, 2018

5/5, 127 likes
  1. read back the last page(120), then you might know ;)
     
  2. Hi, I have a little problem :

    Code:
    Failed to call hook 'OnCollectiblePickup' on plugin 'ZLevelsRemastered v2.9.3' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,System.Int32].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.GUIUpdateSkill (.BasePlayer player, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.levelHandler (.BasePlayer player, .Item item, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.OnCollectiblePickup (.Item item, .BasePlayer player, .CollectibleEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    And my config file :

    Code:
    {
      "CUI": {
        "Bounds": {
          "HeightLower": "0.005",
          "HeightUpper": "0.068",
          "WidthLeft": "0.223",
          "WidthRight": "0.323"
        },
        "BoundsBackground": "0.0 0.0 0.0 0.4",
        "cuiEnabled": true,
        "FontColor": "0.74 0.76 0.78 1",
        "FontSizeBar": 11,
        "FontSizeLevel": 10,
        "FontSizePercent": 11,
        "TextShadowEnabled": true,
        "XpBarBackground": "0.2 0.6 0.6 0.2",
        "XpBarColors": {
          "A": "0 0.8 0 0.5",
          "C": "0.2 0.72 0.5 0.5",
          "M": "0.1 0.5 0.8 0.5",
          "S": "0.8 0.1 0 0.5",
          "WC": "0.8 0.4 0 0.5"
        }
      },
      "Functions": {
        "CollectibleEntitys": {
          "corn-collectable": true,
          "hemp-collectable": true,
          "metal-collectable": true,
          "mushroom-cluster-5": true,
          "mushroom-cluster-6": true,
          "pumpkin-collectable": true,
          "stone-collectable": true,
          "sulfur-collectable": true,
          "wood-collectable": true
        },
        "enableCollectiblePickup": true,
        "enableCropGather": true,
        "enableDispenserGather": true
      },
      "Generic": {
        "enableLevelupBroadcast": false,
        "enablePermission": false,
        "exludeWeaponsOnGather": false,
        "gameProtocol": 2016,
        "penaltyMinutes": 10,
        "penaltyOnDeath": true,
        "permissionName": "zlevelsremastered.use",
        "playerCuiDefaultEnabled": true,
        "playerPluginDefaultEnabled": true,
        "pluginPrefix": "<color=orange>ZLevels</color>:",
        "wipeDataOnNewSave": false
      },
      "NightBonus": {
        "broadcastEnabledBonus": true,
        "enableNightBonus": true,
        "logEnabledBonusConsole": false,
        "PointsPerHitAtNight": {
          "A": 3,
          "M": 3,
          "S": 3,
          "WC": 3
        },
        "ResourcePerLevelMultiplierAtNight": {
          "A": 2,
          "M": 2,
          "S": 2,
          "WC": 2
        }
      },
      "Settings": {
        "CraftingDetails": {
          "PercentFasterPerLevel": 2,
          "TimeSpent": 1,
          "XPPerTimeSpent": 2
        },
        "DefaultResourceMultiplier": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "LevelCaps": {
          "A": -1,
          "C": 20,
          "M": -1,
          "S": 20,
          "WC": -1
        },
        "PercentLostOnDeath": {
          "A": 10,
          "C": 10,
          "M": 10,
          "S": 10,
          "WC": 10
        },
        "PointsPerHit": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "ResourcePerLevelMultiplier": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "SkillColors": {
          "A": "#ADD8E6",
          "C": "#CCFF99",
          "M": "#DDDDDD",
          "S": "#FFDDDD",
          "WC": "#FFDDAA"
        }
      }
    }
    Thanks you :).
     
  3. I got the same problem.
     
  4. Fujikura updated ZLevelsRemastered with a new update entry:

    2.9.4

     
  5. ca nsomeone help me configure it so its harder to get level up
    i would like to be more difficult to reach high levels cause lots of players reach 30 too easy
    thanks in advance
     
  6. Still getting the NRE even after updating the plugin.
     
  7. Talking of having an error but not posting the stack-trace will not change anything on this ;)
     
  8. Failed to call hook 'OnCollectiblePickup' on plugin 'ZLevelsRemastered v2.9.4' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[System.String,System.Int32].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ZLevelsRemastered.GUIUpdateSkill (.BasePlayer player, System.String skill) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ZLevelsRemastered.levelHandler (.BasePlayer player, .Item item, System.String skill) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ZLevelsRemastered.OnCollectiblePickup (.Item item, .BasePlayer player, .CollectibleEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  9. plz paste the part "LevelCaps" from your current config.
     
  10. Code:
    {
      "CUI": {
        "Bounds": {
          "HeightLower": "0.02",
          "HeightUpper": "0.1345",
          "WidthLeft": "0.685",
          "WidthRight": "0.83"
        },
        "BoundsBackground": "0.1 0.1 0.1 0.1",
        "cuiEnabled": true,
        "FontColor": "0.74 0.76 0.78 1",
        "FontSizeBar": 11,
        "FontSizeLevel": 11,
        "FontSizePercent": 11,
        "TextShadowEnabled": true,
        "XpBarBackground": "0.2 0.2 0.2 0.2",
        "XpBarColors": {
          "A": "0 0.8 0 0.5",
          "C": "0.2 0.72 0.5 0.5",
          "M": "0.1 0.5 0.8 0.5",
          "S": "0.8 0.1 0 0.5",
          "WC": "0.8 0.4 0 0.5"
        }
      },
      "Functions": {
        "CollectibleEntitys": {
          "corn-collectable": true,
          "hemp-collectable": true,
          "metal-collectable": true,
          "mushroom-cluster-5": true,
          "mushroom-cluster-6": true,
          "pumpkin-collectable": true,
          "stone-collectable": true,
          "sulfur-collectable": true,
          "wood-collectable": true
        },
        "enableCollectiblePickup": true,
        "enableCropGather": true,
        "enableDispenserGather": true
      },
      "Generic": {
        "enableLevelupBroadcast": false,
        "enablePermission": false,
        "exludeWeaponsOnGather": false,
        "gameProtocol": 2053,
        "penaltyMinutes": 10,
        "penaltyOnDeath": true,
        "permissionName": "zlevelsremastered.use",
        "playerCuiDefaultEnabled": true,
        "playerPluginDefaultEnabled": true,
        "pluginPrefix": "<color=orange>ZLevels</color>:",
        "wipeDataOnNewSave": true
      },
      "NightBonus": {
        "broadcastEnabledBonus": true,
        "enableNightBonus": true,
        "logEnabledBonusConsole": false,
        "PointsPerHitAtNight": {
          "A": 20,
          "M": 20,
          "S": 20,
          "WC": 20
        },
        "ResourcePerLevelMultiplierAtNight": {
          "A": 2.0,
          "M": 2.0,
          "S": 2.0,
          "WC": 2.0
        }
      },
      "Settings": {
        "CraftingDetails": {
          "PercentFasterPerLevel": 5,
          "TimeSpent": 1,
          "XPPerTimeSpent": 3
        },
        "DefaultResourceMultiplier": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "LevelCaps": {
          "A": -1,
          "C": -1,
          "M": 200,
          "S": -1,
          "WC": 200
        },
        "PercentLostOnDeath": {
          "A": 50,
          "C": 50,
          "M": 50,
          "S": 50,
          "WC": 50
        },
        "PointsPerHit": {
          "A": 10,
          "M": 10,
          "S": 10,
          "WC": 10
        },
        "ResourcePerLevelMultiplier": {
          "A": 2.0,
          "M": 2.0,
          "S": 2.0,
          "WC": 2.0
        },
        "SkillColors": {
          "A": "#ADD8E6",
          "C": "#CCFF99",
          "M": "#DDDDDD",
          "S": "#FFDDDD",
          "WC": "#FFDDAA"
        }
      }
    }
     
  11. Atm: not really any idea anymore after runnnig the plugin with your config...which was totally fine.
     
  12. Hi i have same error :


    Code:
    (13:49:50) | Failed to call hook 'OnCollectiblePickup' on plugin 'ZLevelsRemastered v2.9.4' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,System.Int32].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.GUIUpdateSkill (.BasePlayer player, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.levelHandler (.BasePlayer player, .Item item, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.OnCollectiblePickup (.Item item, .BasePlayer player, .CollectibleEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (13:49:51) | Failed to call hook 'OnCollectiblePickup' on plugin 'ZLevelsRemastered v2.9.4' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,System.Int32].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.GUIUpdateSkill (.BasePlayer player, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.levelHandler (.BasePlayer player, .Item item, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.OnCollectiblePickup (.Item item, .BasePlayer player, .CollectibleEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    My config file :

    Code:
    {
      "CUI": {
        "Bounds": {
          "HeightLower": "0.005",
          "HeightUpper": "0.068",
          "WidthLeft": "0.223",
          "WidthRight": "0.323"
        },
        "BoundsBackground": "0.0 0.0 0.0 0.4",
        "cuiEnabled": true,
        "FontColor": "0.74 0.76 0.78 1",
        "FontSizeBar": 11,
        "FontSizeLevel": 10,
        "FontSizePercent": 11,
        "TextShadowEnabled": true,
        "XpBarBackground": "0.2 0.6 0.6 0.2",
        "XpBarColors": {
          "A": "0 0.8 0 0.5",
          "C": "0.2 0.72 0.5 0.5",
          "M": "0.1 0.5 0.8 0.5",
          "S": "0.8 0.1 0 0.5",
          "WC": "0.8 0.4 0 0.5"
        }
      },
      "Functions": {
        "CollectibleEntitys": {
          "corn-collectable": true,
          "hemp-collectable": true,
          "metal-collectable": true,
          "mushroom-cluster-5": true,
          "mushroom-cluster-6": true,
          "pumpkin-collectable": true,
          "stone-collectable": true,
          "sulfur-collectable": true,
          "wood-collectable": true
        },
        "enableCollectiblePickup": true,
        "enableCropGather": true,
        "enableDispenserGather": true
      },
      "Generic": {
        "enableLevelupBroadcast": false,
        "enablePermission": false,
        "exludeWeaponsOnGather": false,
        "gameProtocol": 2016,
        "penaltyMinutes": 10,
        "penaltyOnDeath": true,
        "permissionName": "zlevelsremastered.use",
        "playerCuiDefaultEnabled": true,
        "playerPluginDefaultEnabled": true,
        "pluginPrefix": "<color=orange>ZLevels</color>:",
        "wipeDataOnNewSave": false
      },
      "NightBonus": {
        "broadcastEnabledBonus": true,
        "enableNightBonus": true,
        "logEnabledBonusConsole": false,
        "PointsPerHitAtNight": {
          "A": 3,
          "M": 3,
          "S": 3,
          "WC": 3
        },
        "ResourcePerLevelMultiplierAtNight": {
          "A": 2,
          "M": 2,
          "S": 2,
          "WC": 2
        }
      },
      "Settings": {
        "CraftingDetails": {
          "PercentFasterPerLevel": 2,
          "TimeSpent": 1,
          "XPPerTimeSpent": 2
        },
        "DefaultResourceMultiplier": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "LevelCaps": {
          "A": -1,
          "C": 20,
          "M": -1,
          "S": 20,
          "WC": -1
        },
        "PercentLostOnDeath": {
          "A": 10,
          "C": 10,
          "M": 10,
          "S": 10,
          "WC": 10
        },
        "PointsPerHit": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "ResourcePerLevelMultiplier": {
          "A": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "SkillColors": {
          "A": "#ADD8E6",
          "C": "#CCFF99",
          "M": "#DDDDDD",
          "S": "#FFDDDD",
          "WC": "#FFDDAA"
        }
      }
    }
     
  13. I did already take notice of your last comment to this.

    The state is the same: not able to reproduce it atm.
     
  14. I have tried to remove reinstall, reinstall server, always the same error: /.
    It works very well in game there are no worries, just this error that is present.
     
  15. how to resett all stats ?
     
  16. unload plugin delete file or files in data folder then reload plugin
     
  17. do it like Resistance said, or run on console:
    Code:
    zl.reset true
     
  18. So if anyone could help it would be pretty amazing. But I got the plugin and put it in and changed some of the config to how i wanted but I was wondering how I enabled crafting levels because it's not enabled by default and it's in the UI and i don't see anything in the config about it besides multipliers and xp gain.

    [EDIT] Changing the level cap from -1 to 30 worked.
     
    Last edited by a moderator: Feb 6, 2018
  19. Any way to set a daily(real 24 hour) limit to leveling? I am making a server for casual players so it isn't a huge advantage to playing 8 hours a day.
     
  20. not reset on WIPE, how reset now?

    ok im blind - to consol: zl.reset true