ZLevelsRemastered

Moved

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

5/5, 127 likes
  1. The only other plugin I use is crafting controller to set to instant crafting.
    Code:
    http://oxidemod.org/plugins/crafting-controller.695/
    This happens when i enable crafting levels, and craft an item.
     
  2. That's not exactly what I meant, Resistance. I came here for help, not to be ridiculed, sir.
    [DOUBLEPOST=1485476838][/DOUBLEPOST]
    No big deal! Just gave everyone their levels back. Thanks for the clarification!
     
  3. it was a joke you not see my smiley face
     
  4. Which sense does it make to enable the crafting skill when you got anyway instant crafting? ;)
    Also, did you test it without CraftingController, or at least, not pure instant crafting? For example rates like 3% on the controller...
     
  5. I did not try that. Let me try that now, n update you.
     
  6. It worked... people on server came back saying it increased the level... but it is also throwing error to log:
    Code:
    (20:25:43) | [RCON][73.54.181.59:64968] oxide.unload CraftingController
    (20:25:43) | Unloaded plugin Crafting Controller v2.4.6 by Mughisi
    (20:25:49) | [RCON][73.54.181.59:64968] oxide.load CraftingController
    (20:25:51) | CraftingController was compiled successfully in 2180ms
    (20:25:51) | Loaded plugin Crafting Controller v2.4.6 by Mughisi
    (20:26:08) | [RCON][73.54.181.59:64968] oxide.unload ZLevelsRemastered
    (20:26:08) | Unloaded plugin ZLevelsRemastered v2.2.0 by Fujikura/Visagalis
    (20:26:11) | [RCON][73.54.181.59:64968] oxide.load ZLevelsRemastered
    (20:26:11) | Loaded plugin ZLevelsRemastered v2.2.0 by Fujikura/Visagalis
    (20:26:27) | say:: Can anyone please craft an item n let me know when done
    (20:26:35) | Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
    (20:26:35) | say:: even a basic one is fine
    (20:26:39) | [Better Chat] [Player] [Gunsmith] [Miner] userxxxxxx: yes
    (20:26:46) | [Better Chat] [Player] [Gunsmith] [Miner] userxxxxxx: it worked
    (20:26:55) | [Better Chat] [Player] [Gunsmith] [Miner] userxxxxxx: i crafted a door
    (20:26:59) | say:: worked as in, did the crafting experience increase?
    (20:27:10) | [Better Chat] [Player] [Gunsmith] [Miner] userxxxxxx: yes from 1 percent to 3
    (20:27:23) | say:: can you craft a couple mor items please
    (20:27:24) | Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
    (20:27:34) | [Better Chat] [Player] [Gunsmith] [Miner] userxxxxxx: it went from 3 to 5
    (20:27:41) | Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
    (20:27:47) | Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
    (20:27:51) | [Better Chat] [Player] [Gunsmith] [Miner] userxxxxxx: crafted a spear went from 5 to 7
    (20:27:58) | say:: great. thanks sir
    Adding stack trace information from logs:
    Code:
    20:34 [Error] Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
    20:34 [Stacktrace]   at Oxide.Plugins.ZLevelsRemastered.OnItemCraft (.ItemCraftTask task, .BasePlayer crafter) [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 (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 name, System.Object[] args) [0x00000] in <filename unknown>:0 
    [DOUBLEPOST=1485481351][/DOUBLEPOST]Disabled crafting controller completely. Still getting the same error:

    Code:
    (20:40:58) | Unloaded plugin Crafting Controller v2.4.6 by Mughisi
    (20:40:59) | Steam Inventory items were NULL for EODMAN (19458)
    (20:41:00) | Steam Inventory items were NULL for EODMAN (19458)
    (20:41:03) | Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
     
    Last edited by a moderator: Jan 27, 2017
  7. I'm not able to reproduce it under any configuration, also not with now installed CraftingController and there with several crafting rates....
     
  8. For some reason, the JSON file of ZLevels got corrupt, looks like. I unloaded the plugin, n removed all info from data n config, and loaded it again. And now no errors, even with instant crafting. Strange!!!! Thank you Fujikura for all the help.
     
    Last edited by a moderator: Jan 27, 2017
  9. Request: console command to change the pointsPerHit variables.
     
  10. Don't mean to sound rude, but we could easily do this with JSON file edit, isn't it? Plus this isn't like we use so often.
     
  11. I got your other request still in mind...its planned to implement more commands to let external timers change rates and so on for happy hours by some easy built commands
     
  12. Cheers mate that would be awesome.
     
  13. "Generic": {
    "enablePermission": false,
    "gameProtocol": 1956,
    "permissionName": "zlevelsremastered.use",
    "wipeDataOnNewSave": false
    Please tell me why you need a permission?
     
  14. Really, what does it do?
     
  15. The permission is for allowing and disallowing players to have use of the plugin. Some servers may want premium users only having access to increased gather rates.
     
  16. That is, if you set the resolution to the group admin, normal players will not see the GUI interface of the plugin?
     
  17. I have never wanted to use the permission on my server, so I don't know if it also hides the UI, I just know that it will not allow users without the permission to take advantage of the ever increasing gather rates the plugin allows for.
     
  18. Thank you so much! :)
     
  19. Code:
    Failed to call hook 'OnItemCraft' on plugin 'ZLevelsRemastered v2.2.0' (InvalidCastException: Cannot cast from source type to destination type.)
    I found the reason for that.
    Code:
        "CraftingDetails": {
          "PercentFasterPerLevel": 1,
    must be higher then 1. If u set this 0.9 or lower you get this error.
     
  20. added a second progress bar that shows the progress to the level cap.
    ToDo:
    - Different Icons for the skill.
    i have n Idea how to define the different img-url“s for each skill.
    - Level Cap progress bar work only with LevelCap 100
    i have no idea how so get the var "levelCaps" into a number for "level / levelCaps" if i try that instead of "level / 100" i get n error ^^

    maybe someone can help me xD
     

    Attached Files: