Jump to content

Xabi

Moderators
  • Posts

    1444
  • Joined

  • Last visited

  • Days Won

    83

Posts posted by Xabi

  1. 10 minutes ago, Bananenhuehnchen said:

    Hey, Xabi

    The server crash every time and I couldn't found the problem.

    Can you help me?

    server_logs:

      Hide contents
    
    
    Initializing Bootstrapper.dll (0.3.5.1)..
    -> SERVER STARTED AT 8/10/2019 7:52:27 PM
    Loaded 498 entries from vehicleData.json
    Loading resources..
    -> Starting WiredPlayers resource..
    WiredPlayers: setting as Gamemode resource
    WiredPlayers: loading scripts.. found 1 script(s)
    WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
    WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
    WiredPlayers: instantiating WiredPlayers.townhall.TownHall..
    WiredPlayers: instantiating WiredPlayers.parking.Parking..
    WiredPlayers: instantiating WiredPlayers.model.SkinModel..
    WiredPlayers: instantiating WiredPlayers.jobs.FastFood..
    WiredPlayers: instantiating WiredPlayers.jobs.Fishing..
    WiredPlayers: instantiating WiredPlayers.jobs.Garbage..
    WiredPlayers: instantiating WiredPlayers.jobs.Hooker..
    WiredPlayers: instantiating WiredPlayers.jobs.Job..
    WiredPlayers: instantiating WiredPlayers.jobs.Mechanic..
    WiredPlayers: instantiating WiredPlayers.jobs.Taxi..
    WiredPlayers: instantiating WiredPlayers.jobs.Thief..
    WiredPlayers: instantiating WiredPlayers.house.Furniture..
    WiredPlayers: instantiating WiredPlayers.house.House..
    WiredPlayers: instantiating WiredPlayers.globals.Globals..
    WiredPlayers: instantiating WiredPlayers.factions.Emergency..
    WiredPlayers: instantiating WiredPlayers.factions.Faction..
    WiredPlayers: instantiating WiredPlayers.factions.Police..
    WiredPlayers: instantiating WiredPlayers.factions.WeazelNews..
    WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
    WiredPlayers: instantiating WiredPlayers.database.Database..
    WiredPlayers: instantiating WiredPlayers.chat.Chat..
    WiredPlayers: instantiating WiredPlayers.character.Animations..
    WiredPlayers: instantiating WiredPlayers.character.Customization..
    WiredPlayers: instantiating WiredPlayers.character.Login..
    WiredPlayers: instantiating WiredPlayers.character.Telephone..
    WiredPlayers: instantiating WiredPlayers.business.Business..
    WiredPlayers: instantiating WiredPlayers.business.CarShop..
    WiredPlayers: instantiating WiredPlayers.bank.Bank..
    WiredPlayers: instantiating WiredPlayers.admin.Admin..
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 4 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loaded 37 server events(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 9 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 18 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 13 command(s)
    WiredPlayers: loading commands.. found 12 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 10 command(s)
    WiredPlayers: loading commands.. found 56 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 29 command(s)
    WiredPlayers: loaded 185 commands(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 8 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loaded 53 remote event(s)
    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Format of the initialization string does not conform to specification starting at index 54.
       at int System.Data.Common.DbConnectionOptions.GetKeyValuePair(string connectionString, int currentPosition, StringBuilder buffer, bool useOdbcRules, out string keyname, out string keyvalue)
       at NameValuePair System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, string connectionString, bool buildChain, Hashtable synonyms, bool firstKey)
       at new System.Data.Common.DbConnectionOptions(string connectionString, Hashtable synonyms, bool useOdbcRules)
       at void System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(string value)
       at new MySql.Data.MySqlClient.MySqlBaseConnectionStringBuilder(string connStr)
       at void MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(string value)
       at new MySql.Data.MySqlClient.MySqlConnection(string connectionString)
       at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1216
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at void WiredPlayers.database.Database.OnResourceStart() in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
    
    Started! Waiting for connections..

     

     

    server_exceptions:

      Hide contents
    
    
    
    ==================[8/10/2019 7:52:29 PM]==================
    System.ArgumentException: Format of the initialization string does not conform to specification starting at index 54.
       at int System.Data.Common.DbConnectionOptions.GetKeyValuePair(string connectionString, int currentPosition, StringBuilder buffer, bool useOdbcRules, out string keyname, out string keyvalue)
    =========================================================
    
    ==================[8/10/2019 7:52:29 PM]==================
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Format of the initialization string does not conform to specification starting at index 54.
       at int System.Data.Common.DbConnectionOptions.GetKeyValuePair(string connectionString, int currentPosition, StringBuilder buffer, bool useOdbcRules, out string keyname, out string keyvalue)
       at NameValuePair System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, string connectionString, bool buildChain, Hashtable synonyms, bool firstKey)
       at new System.Data.Common.DbConnectionOptions(string connectionString, Hashtable synonyms, bool useOdbcRules)
       at void System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(string value)
       at new MySql.Data.MySqlClient.MySqlBaseConnectionStringBuilder(string connStr)
       at void MySql.Data.MySqlClient.MySqlConnection.set_ConnectionString(string value)
       at new MySql.Data.MySqlClient.MySqlConnection(string connectionString)
       at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1216
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at void WiredPlayers.database.Database.OnResourceStart() in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- End of inner exception stack trace ---
       at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor)
       at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments)
    =========================================================
    
    ==================[8/10/2019 7:53:28 PM]==================
    System.NullReferenceException: Object reference not set to an instance of an object.
       at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 244
    =========================================================
    
    ==================[8/10/2019 7:53:28 PM]==================
    System.NullReferenceException: Object reference not set to an instance of an object.
       at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in D:\Rage\RageMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 244
       at void System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state)
    =========================================================

     

    You're using the 0.3.5.1 version, we're on 0.3.7 currently.

  2. 1 hour ago, Chiao said:

    utf8 including the chinese characters,the other texts show correctly,but the textlabel couldn't show them.Just□□□□□□□

    e.g. Press K to show characters' list → □□□□K□□□□□□□□□

    Chinese characters are not utf8.

  3. 3 hours ago, Jackson Long said:

    what is the use of /control and how to police wanted players(what are the commands)

    i can't seem to equip anything from the inventory

    The control makes a set of police elements (cones, barriers, spikes and bacons) and stores them into the database. I don't understand that "police wanted players" part, what do you mean?

    About the inventory, seems that somebody reported it but closed the issue, so seems that he managed to fix it somehow.

  4. Did you try instantiating the Ped class like this?

    RAGE.Elements.Ped myPed = new RAGE.Elements.Ped(uint model, Vector3 position, [float heading = 0], [uint dimension = 0]);

     

    • Like 1
  5. 2 hours ago, Jackson Long said:

    1.How do I add vehicles into the car dealer

    2.the job garbage collection could not work. it shows this job has been disabled

     

     

     

    It will be enabled on the next update.

    To add vehicles, just fill the dealers table with the required data. You have the dealer ids on Constants.cs class.

  6. 14 minutes ago, Zow said:
    
    Warning    MSB3270    There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Bootstrapper", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.    WiredPlayers    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets    line: 2106    

    How can I fix this warning VS 2019

    Didn't change myself, it won't be harmful neither will make the server crash, so just leave it there or try to Google it.

  7. 40 minutes ago, xMenthor said:

    Hello Xabi,

    I have a trouble i think with the compilation, i get the wiredplayers.dll but got somes error while the compilation:
    1>jobs\Garbage.cs(318,13,318,15): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(331,25,331,27): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(343,37,343,43): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(346,37,346,43): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(349,37,349,43): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(352,37,352,43): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(358,25,358,27): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(394,25,394,27): warning CS0162: Impossible d'atteindre le code détecté
    1>jobs\Garbage.cs(446,25,446,31): warning CS0162: Impossible d'atteindre le code détecté

    Did that change something ?

    so the server is starting right, IMG but when i'm joining it, i 'm stuck at this img

    Thanks

    You have to fill questions and answers tables, you have a quick howto on the FAQ at GitHub.

    • Like 1
  8. 8 hours ago, sobhan.setoodeh said:
    
    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
       at void WiredPlayers.database.Database.OnResourceStart()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)

    This error is fucking me up
    ____________________

    Use the libraries coming with the gamemode, not the default ones coming with the bridge.

×
×
  • Create New...