Jump to content

Xabi

Moderators
  • Posts

    1444
  • Joined

  • Last visited

  • Days Won

    83

Posts posted by Xabi

  1. 4 hours ago, chocopops said:

    How do I do that? Is this something for me to change within my own MySQL or is it within your own files? 

     

    Sorry for asking a lot of questions, I'm not that great with databases.

    You have to add it on Database.cs, don't change anything, just add your port with "PORT=number;" like in the rest of the connection data.

  2. 48 minutes ago, chocopops said:

     

    My port isn't the default one because I'm loading the database on a server from a host. 

     

    So despite putting the IP of the server with the port in the "host" entry, I just get those errors listed above. I followed the tutorial step by step yet this happens, I'm not exactly sure what really is wrong.

    Then you'll have to change the MySQL connection string to add that port, but it can't be on the IP.

  3. 1 hour ago, chocopops said:

    Got you. I changed Database.cs back, and put my server IP in meta.xml with the server port, is that good or should I remove the port?


     

    I also received this error now, I believe it has to do with the database but I'm really unaware of what the issue is. I put in my database name, my database password, my server IP WITH the port in meta.xml and yet the server just launches for like 10 seconds, loads me in this starting room and then I'm stuck before the server crashes again.

     

    Here's the error:

     

    You don't need to put the port if it's the default one (which should be 3306)

  4. 1 hour ago, chocopops said:

    Hey Xabi, I'm sorry to bother you. I installed your WiredPlayers roleplay mod but for some odd reason the database won't connect.

     

     

    -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.AggregateException: One or more errors occurred.

     

    I receive this error above. I did link my IP, database name and database password in the meta.xml as well as the database.cs in the WiredPlayers.csproj and pressed Build, I put all the files inside the server and yet when I launch the server I received this error. What could possibly be the issue? Do I need to add ports to the IP as well, or is it okay without? Again, sorry for interrupting you. I've just been really struggling and trying with this for quite a while now and would really appreciate some help.

    Database.cs? What did you change there? There's no need to change anything but SSLmode there, as that's the meta.xml for.

  5. 8 hours ago, TiPi said:

     

    Hello,

     

    First of all thank you and congratulations for your excellent work

     

    I would like to know what brings the pateron?

    Is the available version more advanced than the one available in the resources of this site?

    Is there a version of the complete database (with the shop, license questions, ...)?

    Does the version available on the pateron include menus and actions with keyboard shortcuts?

     

    Thank you in advance for your return and congratulations for your work, which deserves to be encouraged by a contribution.

    The private version is more advanced, as it has some crash and bug fixes, mainly, but has other nice additions like clientside C#.

    The database is not included as i'm not using data for my tests, but should be easy filling that.

    There are even shortcuts on the free version and custom menus (not using NativeUI for these) and shouldn't be hard adding new ones.

  6. 3 hours ago, ZzCry said:

    Pero veo que hace casi un año que la plataforma no saca actualizaciones. ¿Por qué es?

    Sacó actualizaciones de seguridad hace relativamente poco, anunciadas en discord. La cosa es que no tiene tanta repercusión como las actualizaciones con muchos cambios.

  7. 9 hours ago, chocopops said:

    Hey man, can you help me with this issue? Why does this happen?

    da0f273704c9de8767f6f4182544efef.png

     

    I'm running the server on my local PC. I followed a tutorial perfectly and I signed in game and the script works but I'm stuck because the registration screen doesn't show up and therefore I can't register or login through /login.

     

    Quite confused as I think I've done everything correctly, I even made the enable-clientside-cs.txt text file in my RageMP directory.

    Just read the error message, there is no connection to the database. Probably you did not write the credentials or there's some permission issue.

  8. 1 hour ago, onfire said:

    Hey Xabi,

    I got problem with quiz. I created in sql questions and answers, but when I connect to server and enter password for account, I only get this: https://imgur.com/8YOCwcL
    THere is example of SQL questions: https://imgur.com/od7UVih and answers: https://imgur.com/qVpfh5p 

    Hi, you need to set license field to 0 in all the questions you want to show on the application test. Change that and it should work, the rest is fine.

    • Like 1
  9. 11 minutes ago, Norman_124 said:

    Hello,
    I have a problem when I go to my server, I start as a silver man and the server crashes. I have installed the gtanetwork nuget. Now the server remains switched on but you stand around as a default type.

    Thx

    Did you create the required "enable-clientside-cs.txt" file?

×
×
  • Create New...