Jump to content

Xabi

Moderators
  • Posts

    1444
  • Joined

  • Last visited

  • Days Won

    83

Posts posted by Xabi

  1. 1 hour ago, Looky said:

    @Xabi

    I have a problem when I turn on the server on linux does not include wiredplayers.dll

    when I join the server, I download resources and my figure levitates in the lobby

    If you're using 0.3.6 Nuget, you have to get the Bootstrapper from runtimes folder.

    10 minutes ago, OVER said:

    Is it possible to open all interiors of the game? Just like this mod script?

     

    https://www.gta5-mods.com/scripts/open-all-interiors

    Yes, there's a doors.js which you can use as an example.

  2. 4 hours ago, Soranno said:

    I re-started the whole procedure, putting the bridges first and then the files of the gamemode but I still do not start. The errors are always those.
     

    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host '192.168.1.3' is not allowed to connect to this MariaDB server
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at void MySql.Data.MySqlClient.NativeDriver.Open()
       at void MySql.Data.MySqlClient.Driver.Open()
       at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
       at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection()
       at void MySql.Data.MySqlClient.MySqlConnection.Open()
       at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in -----------------------\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1223
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in ------------------------\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 21
       at void WiredPlayers.database.Database.OnResourceStart() in ------------------------\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 45
       --- 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)

    Edited meta.xml only this time?

  3. 9 hours ago, Soranno said:

    I think I did everything as it says in the FAQ, but despite everything continues to give me that error of MySql ... And 'from this afternoon I go crazy with this gamemode
     

     

    -> 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 specified file could not be found.
       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)

    You don't have that .dll from GitHub on runtime folder, which means you didn't reproduce the steps on the required order.

  4. Just now, Soranno said:

    I've deleted the gamemode files again and installed the bridges first, then I've compiled the gamemode but the errors are always the same.
     

    If you installed bridge first, you shouldn't have any problem with that .dll library. That's the one comming with the bridge, different from the working one frm my gamemode.

  5. 16 minutes ago, Jordan409 said:

    @Xabi

     

     

    I show you my first problem when I buy a phone and that I equip it tells me that I have already equipped but when I do / call number it tells me I do not have a phone

     

     

    Will check it.

    4 minutes ago, Soranno said:

    vLLUOi0.png

    You installed bridge after you installed the gamemode, not before. Dude, there is a guide which you have to follow step by step, just follow it, don't do anything you don't find there and it will just work, but follow the guide before asking the same once and again.

  6. 1 minute ago, Soranno said:

    Nothing, now it gives me back the previous error of the database when I start the server. Also when I compile it gives me an error of the WiredPlayers.dll program not compatible with win32
     

    Then you didn't install the bridge plugin, which you should have installed BEFORE downloading the gamemode.

  7. 2 minutes ago, Soranno said:

    In the Database.cs file there is written the database path, I have to change it based on the host name and the database name I created. The standard one would not load the database, but could you explain the reason for that error?
     

    You only have to change meta.xml, there's where database data is defined.

  8. 1 hour ago, Soranno said:

    iuMfWEc.png

     

    I redid the procedure but now when I start the server it gives me this mysql error even though I have renamed the entries in meta.xml and database.cs, I have also created the tables on phpmyadmin so I do not understand the nature of this error.
     

    Where does it say to change Database.cs file? On the FAQ it says you ONLY have to change that SSL thing as far as I know...

    46 minutes ago, Antiskill said:

    Alright, figured it out.

    But now the server crashes directly after I join it. Any solutions? :(

     

    @Atesh

    Any error or log?

  9. 9 minutes ago, Antiskill said:

    welp. I dont know what Im doing wrong. I just CANT compile it. 

    Doenst matter if I use the version on Github oder here. Always throws over 14k Errors. For example:

    Fehler    CS0518    Der vordefinierte Typ "System.String" ist nicht definiert oder importiert.    WiredPlayers    C:\RAGEMP\server-files\bridge\resources\WiredPlayers\globals\Messages_ptBR.cs    313    N/V
    "

    That file doesn't exist anymore. Anyway seems that you don't have the basic libraries on Visual Studio or something like that. Are you using VS2017?

    3 hours ago, Jordan409 said:

    @Xabi

     

    I wanted to show you the server crash but now when I connect to the server there is nothing I do not have the login screen

     

     

    is good this is because the latest version of gtanetworkapi and bug so I came back from a version

    
    when I join the server I connect and pressing f to exit the lobby crash directly

     

    ==================[20/11/2018 15:29:01]==================
    System.NullReferenceException: Object reference not set to an instance of an object.
       at void WiredPlayers.globals.Globals.CheckPlayerEventKeyEvent(Client player) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 1122
    =========================================================

    ==================[20/11/2018 15:29:01]==================
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at void WiredPlayers.globals.Globals.CheckPlayerEventKeyEvent(Client player) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 1122
       --- 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)
    =========================================================

    Told you that it's taking an id of a business it doesn't exist anymore, reset that id on users table.

  10. 2 hours ago, Jordan409 said:

    @Xabi

     

    Hello xabi, I have a problem when I create a shop and I made / purchase by buying the item after it crashed the server

     

     

    ==================[18/11/2018 18:37:02]==================
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
       at void ThrowHelper.ThrowArgumentOutOfRange_IndexException()
    =========================================================

    ==================[18/11/2018 18:37:02]==================
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
       at T System.Collections.Generic.List<T>.get_Item(int index)
       at TSource System.Linq.Enumerable.ElementAt<TSource>(IEnumerable<TSource> source, int index)
       at void WiredPlayers.business.Business.PurchaseTattooEvent(Client player, int tattooZone, int tattooIndex) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 483
       --- 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)
    =========================================================

    Tell me the steps to reproduce this, it worked well for me.

    On 11/18/2018 at 7:26 PM, TheStronght said:

    I had tattoos, I restarted the server and as soon as I left the door, pressing F the server crashes completely.
     

     

    Error;

     

    If you check that line, it checks the business where the player disconnected, which seems that doesn't exist anymore (maybe deleted?)

  11. 2 hours ago, Jordan409 said:

    @Xabi

     

    Hi excuse me to disturb you but I do not understand how your system works when I want to create a clothing store or a store to buy a phone when I create it there is a hologram or it is marked clothing but as soon as I 's on "F" her teleports me to another store but I do not have access to the clothes how her walking. I thank you!

     

    http://www.noelshack.com/2018-46-7-1542499721-20181118010222-1.jpg

    /purchase

×
×
  • Create New...