XPSync

Synchronize xp across servers using MySQL

Total Downloads: 222 - First Release: Aug 15, 2016 - Last Update: Aug 15, 2016

5/5, 1 like
  1. PaiN submitted a new resource:

    XPSync - Synchronize xp across servers using MySQL

    Read more about this resource...
     
  2. good plugin, add plz LV too
     
  3. It does sync the level.
     
  4. MySQL Settings:

    - Create a new table named 'xpsync'
    - Structure =>
    id BIGINT(32) PRIMARY KEY
    xp FLOAT

    where?
     
  5. xp is the progress of the lvl so lets say xp == 10 then the level is 3 or 4..
     
  6. PaiN updated XPSync with a new update entry:

    0.2

     
  7. Hey, i dont know, but there have problems with my password...

    [Oxide] 17:53 [Info] Loaded plugin XP Sync v0.2.0 by PaiN
    [Oxide] 17:53 [Error] XPSync v0.2.0: Failed to load config file (is the config f
    ile corrupt?) (Bad JSON escape sequence: \3. Path 'Password', line 4, position 2
    7.)
    [Oxide] 17:53 [Error] Failed to initialize plugin 'XPSync v0.2.0' (JsonReaderException: Bad JSON escape sequence: \3. Path 'Password', line 4, position 27.)
    [Oxide] 17:53 [Debug] at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer (Char quote) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.ParseString (Char quote) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonReader.ReadAsStringInternal () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0
     
  8. Try to validate your config file with jsonlint.com and if you can't fix it then pm me your config so people cant see your password.
     
  9. Okey, i have fix it, but for some person it will be complicated.
    You cant use { [ ] } \ or / in your password.

    new problem...


    Code:
    [Oxide] 18:19 [Info] XPSync was compiled successfully in 2195ms
    [Oxide] 18:19 [Info] Loaded plugin XP Sync v0.2.0 by PaiN
    [Oxide] 18:19 [Error] Failed to initialize plugin 'XPSync v0.2.0' (ArgumentException: Keyword not supported. Parameter name: 1cyyß?&%x3t;pooling)
    [Oxide] 18:19 [Debug]   at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.GetOption (System.String key) [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.set_Item (System.String keyword, System.Object value) [0x00000] in <filename unknown>:0
      at System.Data.Common.DbConnectionStringBuilder.ParseConnectionStringNonOdbc (System.String connectionString) [0x00000] in <filename unknown>:0
      at System.Data.Common.DbConnectionStringBuilder.ParseConnectionString (System.
    String connectionString) [0x00000] in <filename unknown>:0
      at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString (System.S
    tring value) [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.MySqlConnectionStringBuilder..ctor (System.String co
    nnStr) [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString (System.String
    value) [0x00000] in <filename unknown>:0
      at MySql.Data.MySqlClient.MySqlConnection..ctor (System.String connectionStrin
    g) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlConnection
    :.ctor (string)
      at Oxide.Ext.MySql.Libraries.MySql.OpenDb (System.String conStr, Oxide.Core.Pl
    ugins.Plugin plugin, Boolean persistent) [0x00000] in <filename unknown>:0
      at Oxide.Ext.MySql.Libraries.MySql.OpenDb (System.String host, Int32 port, Sys
    tem.String database, System.String user, System.String password, Oxide.Core.Plug
    ins.Plugin plugin, Boolean persistent) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.XPSync.Loaded () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.XPSync.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginM
    anager manager) [0x00000] in <filename unknown>:0
    [Oxide] 18:19 [Info] Unloaded plugin XP Sync v0.2.0 by PaiN
    [Oxide] 18:19 [Info] No previous version to rollback plugin: XPSync
    The JSON website says that the Config is Ok... so i dont know where the problem is ^^
    #Fixed
     
    Last edited by a moderator: Aug 16, 2016
  10. idk if it works or not, it made a xpsync thing on mysql but its nothing in it
     
  11. You can let the plugin create a xpsync table if you want.
    Did you set up the config correctly ?
     
  12. yes it did make a xpsync table but its nothing in the table.. like id xp
     
  13. hmmm try to disconnect when your lvl is bigger than 2 & your xp is not 0. Let's see if it saves anything into the table.