ZLevelsRemastered

Moved

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

5/5, 127 likes
  1. [Oxide] 10:07 AM [Error] ZLevelsRemastered plugin failed to compile!
    [Oxide] 10:07 AM [Error] ZLevelsRemastered.cs(1214,74): error CS1525: Unexpected symbol `end-of-file'

    and where you can view and configure
    MaxLevel?
     
    Last edited by a moderator: Dec 10, 2015
  2. What is the maximum level ? What wood would catch the maximum level ?
     
  3. Please add console command zlvlup
    Example:
    "zlvlup Mining 1" - my lvl Mining up from 10 to 11
    if
    "zlvlup Woodcutting 5" - my lvl Woodcutting up from 10 to 15
     
  4. Hello! This error after latest update:

    Code:
    [Oxide] 1:19 PM [Error] MySql handle raised an exception (MySqlException: Unknown column 'Name' in 'field list')
    [Oxide] 1:19 PM [Debug]   at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
    [Oxide] 1:19 PM [Error] MySql handle raised an exception (MySqlException: Unknown column 'Name' in 'field list')
    [Oxide] 1:19 PM [Debug]   at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
    [Oxide] 1:19 PM [Error] MySql handle raised an exception (MySqlException: Unknown column 'Name' in 'field list')
    [Oxide] 1:19 PM [Debug]   at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
    [Oxide] 1:19 PM [Error] MySql handle raised an exception (MySqlException: Unknown column 'Name' in 'field list')
    [Oxide] 1:19 PM [Debug]   at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
    [Oxide] 1:19 PM [Error] MySql handle raised an exception (MySqlException: Unknown column 'Name' in 'field list')
    [Oxide] 1:19 PM [Debug]   at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
    [Oxide] 1:19 PM [Error] MySql handle raised an exception (MySqlException: Unknown column 'Name' in 'field list')
    [Oxide] 1:19 PM [Debug]   at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0 
     
  5. Good to see someone keeping it alive. It was my first time using C# when I made it, hope the code didn't give you too much trouble.
     
  6. the possible maximum level of skill
     
  7. you uploaded plugin file to server incorrectly, try reuploading.
    Max level is named as LevelCaps (Cap = Limit). And is adjustable in configuration file.
    [DOUBLEPOST=1449767018][/DOUBLEPOST]
    No mate, your code was wonderfully written! I learned a lot from it! I'm glad you are not angry for me taking over your base plugin :)
    [DOUBLEPOST=1449767071][/DOUBLEPOST]
    Seems like you've skipped Update logs, here's what you need to use on your database:
    Code:
    ALTER TABLE `rpg_user`ADD COLUMN `Name` VARCHAR(50) NULL DEFAULT NULL AFTER `UserID`;
    [DOUBLEPOST=1449767153][/DOUBLEPOST]
    I've noted your feature, will try to implement it in future updates :)
     
  8. Visagalis updated ZLevels Remastered with a new update entry:

    1.0.0


    [DOUBLEPOST=1449850481,1449787149][/DOUBLEPOST]
    Here's a version with RCON commands:
    • zlvl [playername] [skillshortcutname] [XX] -------- Set's player level to XX level.
    • zlvl [playername] [skillshortcutname] +[XX] -------- Increases player level by XX levels.
    • zlvl [playername] [skillshortcutname] -[XX] -------- Decrease player level by XX levels.

    example:
    • zlvl Visagalis WC +10 --------- Increases Visagalis's level by 10

    Shortcut codes for skills are:
    • C - Crafting
    • WC - Woodcutting
    • M - Mining
    • S - Skinning
    I'd be happy if you could test this and return with feedback :)

    (Attachment in next post)
     
    Last edited by a moderator: Dec 11, 2015
  9. No working if I in Clans or Moderator
    Code:
    [Oxide] 7:52 PM [Info] [Zeiser Levels REMASTERED] Player with name: Gamer not found.
    If write ID - no working too
    Code:
    [Oxide] 7:54 PM [Info] [Zeiser Levels REMASTERED] Player with name: 76561198123491605 not found.
    I have nick Gamer, but I in group Mod = [Mod] Gamer
    Exchange from nick to SteamID
    [DOUBLEPOST=1449858041][/DOUBLEPOST]I write you in PM
     
  10. With 5 ppl online, im getting this from console:

    Code:
    [Oxide] 7:26 PM [Error] Failed to call hook 'OnServerSave' on plugin 'ZLevelsRemastered v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 7:26 PM [Debug]   at System.Collections.Generic.Dictionary`2[System.UInt64,System.Collections.Generic.Dictionary`2[System.String,System.Int64]].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.getLevel (UInt64 userID, System.String skill) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.saveUser (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.saveUsers () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZLevelsRemastered.OnServerSave () [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    Saved 43,863 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
     
  11. Are u using saves from old ZLevels? Are u using MySQL? Maybe some players just connected before save?
     
  12. I have never used the old version. I started using this a few days ago. Yes, i am still using mysql. Was i, who asked for this to be made.
    I noticed a guy, was present twice in the users list. I asked him to log but the other copy was still present and could not be kicked.
    I restarted the server- and he was gone with the copy also.
    Connect before save? Is there a risk in connecting ?
     
  13. ok, i'll try to fix this thing i guess, i'll make to print proper message with player name and etc. so we could trace such thing better :) Will upload new version in a sec.
    [DOUBLEPOST=1449869896][/DOUBLEPOST]Here's an updated version, error should print proper message, and also fixed zlvl console command, should be able to find players better now ;)
     
  14. Command working but lvl not up
     
  15. what command do you type? can that person who got level type /stats to see if its changed there?
     
  16. RustClient 2015-12-11 23-57-44-226.png
     
  17. This one should work, seems like before it was only working for MySQL :)
     

    Attached Files:

  18. Working) Yes i not have MySQL )
    [DOUBLEPOST=1449872252][/DOUBLEPOST]Stop problem. if command "-" > lvl, i have -lvl
    RustClient 2015-12-12 00-16-40-227.png
    [DOUBLEPOST=1449872312][/DOUBLEPOST]i have "9lvl"
    i write "-20 lvl"
    i have "-11lvl"
    )