ZLevelsRemastered

Moved

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

5/5, 127 likes
  1. Haha, yes i know. My english is not the best and i translated it fast with google :D

    http://abload.de/img/rust2p1rdy.jpg
    an other try xD

    Can u tell me how i can change the skillnames into Pictures ?
    I made some Icon“s for the Skills but i dont know how to write the code for the Images.
    I know how to change "Skill level" and "skill name" in the other GUI Elements.
    If i try
    Code:
    new CuiRawImageComponent {}
    instead of the new CuiTextComponent line i get an GUI Error


    By the way... for the Configs to set the Panel in the left bottom corner:

    Code:
      "CUI": {
        "Bounds": {
          "HeightLower": "0.0185",
          "HeightUpper": "0.1325",
          "WidthLeft": "0.013",
          "WidthRight": "0.164"
        },
        "BoundsBackground": "1 1 0.95 0.035",
        "FontColor": "0.9 0.9 0.9 0.8",
        "FontSizeBar": 12,
        "FontSizeLevel": 12,
        "XpBarBackground": "1 1 0.95 0",
        "XpBarColors": {
          "A": "0.8 0.8 0.0 0.6",
          "C": "0.3 0.8 0.0 0.6",
          "M": "0.0 0.7 1 0.6",
          "S": "0.8 0.1 0 0.6",
          "WC": "1 0.5 0 0.6"
        }
      },
     
  2. I enabled crafting skill. But it failing with the message "Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.1.0' (InvalidCastException: Cannot cast from source type to destination type.)"

    Code:
    {
      "CUI": {
        "Bounds": {
          "HeightLower": "0.023",
          "HeightUpper": "0.19",
          "WidthLeft": "0.72",
          "WidthRight": "0.847"
        },
        "BoundsBackground": "0.1 0.1 0.1 0.1",
        "FontColor": "0.74 0.76 0.78 1",
        "FontSizeBar": 13,
        "FontSizeLevel": 12,
        "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"
        }
      },
      "Generic": {
        "enablePermission": false,
        "gameProtocol": 1955,
        "permissionName": "zlevelsremastered.use",
        "wipeDataOnNewSave": false
      },
      "Settings": {
        "CraftingDetails": {
          "PercentFasterPerLevel": 2.5,
          "TimeSpent": 1,
          "XPPerTimeSpent": 3
        },
        "DefaultResourceMultiplier": {
          "A": 1,
          "C": 1,
          "M": 1,
          "S": 1,
          "WC": 1
        },
        "LevelCaps": {
          "A": 200,
          "C": 200,
          "M": 200,
          "S": 200,
          "WC": 200
        },
        "PercentLostOnDeath": {
          "A": 50,
          "C": 50,
          "M": 50,
          "S": 50,
          "WC": 50
        },
        "PointsPerHit": {
          "A": 30,
          "M": 30,
          "S": 30,
          "WC": 30
        },
        "ResourcePerLevelMultiplier": {
          "A": 0.25,
          "M": 0.25,
          "S": 0.25,
          "WC": 0.25
        },
        "SkillColors": {
          "A": "#ADD8E6",
          "C": "#CCFF99",
          "M": "#DDDDDD",
          "S": "#FFDDDD",
          "WC": "#FFDDAA"
        }
      }
    }
     
  3. [01/26/2017 23:10:28] Failed to call hook 'OnPlayerSleep' on plugin 'ZLevelsRemastered v2.1.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [01/26/2017 23:10:28] Failed to call hook 'OnPlayerSleep' on plugin 'ZLevelsRemastered v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)
    [01/26/2017 23:10:28] Failed to call hook 'OnPlayerSleep' on plugin 'ZLevelsRemastered v2.1.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [01/26/2017 23:10:28] Failed to call hook 'OnPlayerSleep' on plugin 'ZLevelsRemastered v2.1.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [01/26/2017 23:10:28] Failed to call hook 'OnPlayerSleep' on plugin 'ZLevelsRemastered v2.1.0' (KeyNotFoundException: The given key was not present in the dictionary.)
     
  4. only thing i can see is that your crafting should be a max of 20, everything else looks normal, unless you have changed anything in the actual cs file
     
  5. Great! I shall set it to 20 n give it a try, n keep you posted.

    No changes to CS file.

    Edit: No use. Still getting the same error:
    (15:36:12) | Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.1.0' (InvalidCastException: Cannot cast from source type to destination type.)
     
  6. If it's failing to call a hook then it is a plugin problem rather than a config issue. @Fujikura should be able to fix this error if you ask nicely. :p
     
  7. @Fujikura Could you please help look into this issue. It is failing to call the hook OnItemCraft.
     
  8. Failed to call hook 'OnPlayerSleep' on plugin 'ZLevelsRemastered v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  9. Would also need looking at... Fuji will be extremely busy... He's maintaining about 4 million plugins and creating new ones. Unfortunately, you'll have to be patient. :( it'll be updated as soon as he can!
     
  10. Fujikura updated ZLevels Remastered with a new update entry:

    2.1.1

     
  11. Bah looks like it wiped levels when it errored :(
     
  12. ok need little help here guys on the serverinfo i have tryed everything to get images to load even the background images wont load dose anyone have any idear how to solve this it did work about 3 updates back but images wont load background buttons or anything
     
  13. Easy to fix the levels , just takes a little time depending on how many players you have and how high you want to set the levels, I set all my online players (regular players) to 80 as that is about the server average,
    Example: zl.lvl Player WC 80 -- Player gets his WC level set to 80
    according to the overview you can set the offline and all online players
    Instead of name you can use *(Online players) or **(All players(including offline)).
     
  14. Probably wrong thread?
    [DOUBLEPOST=1485470268][/DOUBLEPOST]
    It can't
     
  15. yuppers i know its wrong thread but i dont know how active the thread for this plugin is as its a unmaintaned plugin but people still help each other on there from time to time just hopeing someone would know
     
  16. Then plz open a thread on the forums for that, or use the correct one, but not in this one. Thx.
     
  17. Well, when the server started up with the bugged hook, everyone's levels got wiped. After installing the fix, they're still gone.
     
  18. Thats because they got wiped do you think they would return like magic :)
     
  19. The broken hook did only prevent to render the GUI, as it was called to early before user-data was created on first join.
     
  20. Fujikura updated ZLevels Remastered with a new update entry:

    2.2.0


    [DOUBLEPOST=1485475654][/DOUBLEPOST]
    Do you know on which items it happens, and do you also use any other plugins changing the craft processing?