ZLevelsRemastered

Moved

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

5/5, 127 likes
  1. Or simply run a server.save command, then all plugins got the time to save fully.
    Maybe there are currently some issues that the save sequence gets not fully through all plugins to the end when quit or restart is called.
    But the plugin itself cannot solve this, as it's written that way it should be.
     
  2. Idea, if people keep having this issue make a very simple plugin that saves for people. I think thats pretty easy, or is there already an addon that can do this?
     
  3. maybe..need to validate it....but currently other things got priority
    [DOUBLEPOST=1488928556][/DOUBLEPOST]
    You could try to manage this with TimedExecute.
     
  4. So it seems the Server.SaveInterval isn't working properly for the server to save plugin data, just tried it and did server.save myself and everything is fine.
    was working fine before whatever changed but recommend doing that i guess.
     
  5. I tear my hair off with the the sql configuration.
    I have created the database, the user, the password. I can make sql queries via the mysql command. Side mySQL everything looks OK.

    I added the configuration to my ZLevelsRemastered.json file:

    Code:
    "DbConnection": {
        "Database": "db",
        "GameProtocol": 1969,
        "Host": "127.0.0.1",
        "Password": "*******"
        "Port": 3306,
        "UseMySQL": true,
        "Username": "rust"
    }

    (The value of GameProtocol to an incident or even importance?)


    Noting that the structure was not created automatically, I inserted it by hand:

    Code:
    CREATE TABLE IF NOT EXISTS `RPG_User` (
      `UserID` bigint(20) NOT NULL,
      `Name` varchar(50) DEFAULT NULL,
      `WCLevel` int(11) DEFAULT NULL,
      `WCPoints` bigint(20) DEFAULT NULL,
      `MLevel` int(11) DEFAULT NULL,
      `MPoints` bigint(20) DEFAULT NULL,
      `SLevel` int(11) DEFAULT NULL,
      `SPoints` bigint(20) DEFAULT NULL,
      `CLevel` int(11) DEFAULT NULL,
      `CPoints` bigint(20) DEFAULT NULL,
      `LastDeath` int(11) DEFAULT NULL,
      `LastLoginDate` int(11) DEFAULT NULL,
      `XPMultiplier` int(11) NOT NULL DEFAULT '100'
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    (The value of GameProtocol to an incident or even importance?)

    I even found by contemplating the 86 pages of this forum an injection that I also tested:

    Code:
    INSERT INTO `RPG_User` (`UserID`, `Name`, `WCLevel`, `WCPoints`, `MLevel`, `MPoints`, `SLevel`, `SPoints`, `CLevel`, `CPoints`, `LastDeath`, `LastLoginDate`, `XPMultiplier`) VALUES
    (0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100);
    But nothing to do the data are stored in the usual file (data / ZLevelsRemastered.json).
    I tried to unload the plugin, load it again, restart the server, deleting the file every time, but nothing makes the file come back and the mySQL database is still empty.
    And to top it all I have no error in my logs, just that everything went well!

    Code:
    14:31 [Info] ZLevelsRemastered was compiled successfully in 4487ms
    14:31 [Info] Unloaded plugin ZLevelsRemastered v2.5.3 by Fujikura/Visagalis
    14:31 [Info] Loaded plugin ZLevelsRemastered v2.5.3 by Fujikura/Visagalis
    
    Help ^^

    Thank you in advance

    And again bravo for this plugin that brings a big plus to Rust!

    PS: Sorry for my English.

    Dan
     
  6. It has no SQL-support (anymore) since version 2.0.0 :p
     
  7. LOL and sqlite?
    And if so, is it possible to share a base between two servers? Or at worst two Rust servers running on the same machine?
    I cross the fingers ^^
     
  8. nope, not more in...
     
  9. Fixed - Plugin data not saving in OnServerSave | Oxide
     
  10. So i had players log onto my server today and they noticed that their levels got pushed back a little. for example one guy's skinning lvl was 22 yesterday and when he logged in today, it went back to 6. any ideas why this happened or how to fix it?
     
  11. Hi ! I tried to keep only the crafting skill, it works, but the crafting skill doesn't raise up and its bar is fucking giant ! how could I reduce it and make it work ?
     
  12. Since todays update It doesn´t multiply the gather rate anymore. Everything else seems to work. Levels are shown in the GUI and they do increase.
    Any idea?
    On other servers it seems to work fine.
    On mine it does not.
    Restart does not fix it.
    Oxide is updated.
     
    Last edited by a moderator: Mar 9, 2017
  13. Cannot confirm/reproduce this. Did a test, and it did raise with each new level.
     
  14. This was my fault. Your plugin works fine. I did overlook the GatherManager plugin update. Too many plugin updates this week :)
     
  15. @Fujikura Im looking to stretch out the ZLevels GUI along the bottom of the screen and am wondering if I could get you to either make me a version with it stretched out or point out the lines I would need to change?
     
  16. How do I move the bars to the left?
     

    Attached Files:

  17. you need to modify that part of the config:
    Code:
      "CUI": {
        "Bounds": {
          "HeightLower": "0.023",
          "HeightUpper": "0.19",
          "WidthLeft": "0.72",
          "WidthRight": "0.847"
        },
    [DOUBLEPOST=1489369598][/DOUBLEPOST]
    The code is designed to display them only vertical, but not horizontal, if you meant that you want to reach.
     
  18. @Fujikura Is there a way I could talk you into making a version that displays them from end to end along the bottom of the screen? Im looking for a way to make the GUI there but not RIGHT THERE like its in your face.
     
  19. You might need to modify the "FillElements" function to change the display alignment.
     
  20. Where can I edit the values for crafting? I would like to reduce the amount of points it gives per item craft but make it so it gives more % per level.