Stefan Todorovski Posted November 23, 2018 Posted November 23, 2018 (edited) I've followed the instructions and i have connected the MySQL Database with the server without any problems, but there is one issue which i can't solve. Here is my server window and it looks fine (No errors):http://prntscr.com/lm0idn The problem is when i log in. The register window never shows up, i can't move and whenever i type something it says "You can't use the chat in the lobby.":https://imgur.com/ycCCTVo I've seen the code and I found out that when i connect to the server it should start the event showRegisterWindow, but it never does. I added NAPI.ConsoleOutputs also, but they don't show up, too.http://prntscr.com/lm0ktk Some information about what i've done: Installed WAMP, so that i can use phpMyAdmin with the MySQL server. Created and imported the provided database Changed the settings in the meta file Compiled the script with netcore 2.0 (I tried it with 2.1 but the problem is still present) I banged my head in the wall 20 times I can't figure out what am i missing 😞 Edited November 23, 2018 by Stefan Todorovski
Soranno Posted November 23, 2018 Posted November 23, 2018 10 minutes ago, Stefan Todorovski said: Ho seguito le istruzioni e ho collegato il database MySQL con il server senza problemi, ma c'è un problema che non riesco a risolvere. Ecco la mia finestra del server e sembra a posto (nessun errore): http://prntscr.com/lm0idn Il problema è quando accedo. La finestra di registro non compare mai, non posso spostarmi e ogni volta che digito qualcosa dice "Non puoi usare la chat nella lobby.": Https://imgur.com/ycCCTVo Ho visto il codice e ho scoperto che quando mi collego al server dovrebbe avviare l'evento showRegisterWindow, ma non lo fa mai. Ho aggiunto anche NAPI.ConsoleOutputs, ma non vengono visualizzati. http://prntscr.com/lm0ktk Non riesco a capire cosa mi manca 😞 Did you disable the other gamemodes in settings.xml? The problem could be that.
Xabi Posted November 23, 2018 Author Posted November 23, 2018 (edited) 43 minutes ago, Stefan Todorovski said: I've followed the instructions and i have connected the MySQL Database with the server without any problems, but there is one issue which i can't solve. Here is my server window and it looks fine (No errors):http://prntscr.com/lm0idn The problem is when i log in. The register window never shows up, i can't move and whenever i type something it says "You can't use the chat in the lobby.":https://imgur.com/ycCCTVo I've seen the code and I found out that when i connect to the server it should start the event showRegisterWindow, but it never does. I added NAPI.ConsoleOutputs also, but they don't show up, too.http://prntscr.com/lm0ktk Some information about what i've done: Installed WAMP, so that i can use phpMyAdmin with the MySQL server. Created and imported the provided database Changed the settings in the meta file Compiled the script with netcore 2.0 (I tried it with 2.1 but the problem is still present) I banged my head in the wall 20 times I can't figure out what am i missing 😞 Did you upgrade the Nuget to 0.3.6? If so, you should copy the Bootstrapper located under "runtimes" folder to the path where the GTAN Nuget is located. Edited November 23, 2018 by Xabi
L0cal Posted November 23, 2018 Posted November 23, 2018 (edited) System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. The system cannot find the file specified. File name: 'MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() at void WiredPlayers.business.Business.LoadDatabaseBusiness() in E:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19 Gamemode loads perfectly but doesn't connect to the mysql. database.cs file was edited http://prntscr.com/lm2tav Edited November 23, 2018 by L0cal
Soranno Posted November 23, 2018 Posted November 23, 2018 2 hours ago, L0cal said: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. The system cannot find the file specified. File name: 'MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() at void WiredPlayers.business.Business.LoadDatabaseBusiness() in E:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19 Gamemode loads perfectly but doesn't connect to the mysql. database.cs file was edited http://prntscr.com/lm2tav You do not need to edit the Database.cs file, leave the original file and start the server.exe. If you get an SSL error you will need to set the setting in none in the Database.cs file. To connect the database it is necessary to modify only meta.xml
Stefan Todorovski Posted November 23, 2018 Posted November 23, 2018 4 hours ago, Xabi said: Did you upgrade the Nuget to 0.3.6? If so, you should copy the Bootstrapper located under "runtimes" folder to the path where the GTAN Nuget is located. Yes, this fixed it. I have been upgrading it every time i retried installing the server. I Didn't think that the API would be problem Thanks!!!
L0cal Posted November 23, 2018 Posted November 23, 2018 3 hours ago, Soranno said: You do not need to edit the Database.cs file, leave the original file and start the server.exe. If you get an SSL error you will need to set the setting in none in the Database.cs file. To connect the database it is necessary to modify only meta.xml http://prntscr.com/lm6i20 Restored database.cs and I get this. I just need this gamemode to know how the things works.
Soranno Posted November 23, 2018 Posted November 23, 2018 24 minutes ago, L0cal said: http://prntscr.com/lm6i20 Database.cs ripristinato e ottengo questo. Ho solo bisogno di questa gamemode per sapere come funzionano le cose. Make sure you have entered the GitHub bridges and then upload the gamemode files. Then it imports the database to MySQL and changes the destination to the meta.xml file
OVER Posted November 23, 2018 Posted November 23, 2018 Reported some issues on Git Hub. Also, I can't enter things using F. My character just do a movement like he's gonna enter the interior but nothing happens. I couldn't enter houses, businesses, police station, hospital etc
L0cal Posted November 23, 2018 Posted November 23, 2018 5 minutes ago, Soranno said: Make sure you have entered the GitHub bridges and then upload the gamemode files. Then it imports the database to MySQL and changes the destination to the meta.xml file I just did what you told me, and the error keeps showing up.
Recommended Posts