I'm Pickle Rick Posted July 22, 2019 Share Posted July 22, 2019 16 hours ago, Xabi said: You can get all the commands on Commands.cs serverside class and bindings on Keys.cs clientside class. Cheers mate! Thank you very much for help! And i will keep supporting you! 17 hours ago, Xabi said: You can get all the commands on Commands.cs serverside class and bindings on Keys.cs clientside class. System.IO.FileNotFoundException: Could not load file or assembly 'C:\RAGEMP\server-files\bridge\resources\WiredPlayers\bin\Debug\netcoreapp2.2\WiredPlayers.resources.dll'. The system cannot find the file specified. File name: 'C:\RAGEMP\server-files\bridge\resources\WiredPlayers\bin\Debug\netcoreapp2.2\WiredPlayers.resources.dll' at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) This is the error i get after i try to register to server and it crashes. After relaunch of server it welcomes me back but can't login and server doesn't crash. Any ideas? Followed your guide on github but still having this issue Link to comment Share on other sites More sharing options...
Xabi Posted July 22, 2019 Author Share Posted July 22, 2019 54 minutes ago, I'm Pickle Rick said: Cheers mate! Thank you very much for help! And i will keep supporting you! System.IO.FileNotFoundException: Could not load file or assembly 'C:\RAGEMP\server-files\bridge\resources\WiredPlayers\bin\Debug\netcoreapp2.2\WiredPlayers.resources.dll'. The system cannot find the file specified. File name: 'C:\RAGEMP\server-files\bridge\resources\WiredPlayers\bin\Debug\netcoreapp2.2\WiredPlayers.resources.dll' at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) This is the error i get after i try to register to server and it crashes. After relaunch of server it welcomes me back but can't login and server doesn't crash. Any ideas? Followed your guide on github but still having this issue Start a new CMD or PowerShell window and launch server.exe from there, that way you will prevent the console closing when it crashes and you will be able to see what's the error. 1 Link to comment Share on other sites More sharing options...
I'm Pickle Rick Posted July 22, 2019 Share Posted July 22, 2019 (edited) 3 hours ago, Xabi said: Start a new CMD or PowerShell window and launch server.exe from there, that way you will prevent the console closing when it crashes and you will be able to see what's the error. Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Duplicate entry 'ProphetDK' for key 'PRIMARY' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at WiredPlayers.database.Database.RegisterAccount(String socialName, String password) in C:\RAGEMP\server-files\bri e\resources\WiredPlayers\database\Database.cs:line 162 at WiredPlayers.character.Login.<>c__DisplayClass2_0.<RegisterAccountEvent>b__1() in C:\RAGEMP\server-files\bridge\ sources\WiredPlayers\character\Login.cs:line 114 at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.TaskMngr.PulseSimple() at Bootstrapper.EventInternalClass.Tick() Well it is connected to database and when i press access twice after i type password this error comes up. And after when i launch server again and try to login i nothing happens server still stays up Btw using HeidiSQL and MariaDB Edited July 22, 2019 by I'm Pickle Rick Link to comment Share on other sites More sharing options...
Xabi Posted July 22, 2019 Author Share Posted July 22, 2019 1 hour ago, I'm Pickle Rick said: Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Duplicate entry 'ProphetDK' for key 'PRIMARY' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at WiredPlayers.database.Database.RegisterAccount(String socialName, String password) in C:\RAGEMP\server-files\bri e\resources\WiredPlayers\database\Database.cs:line 162 at WiredPlayers.character.Login.<>c__DisplayClass2_0.<RegisterAccountEvent>b__1() in C:\RAGEMP\server-files\bridge\ sources\WiredPlayers\character\Login.cs:line 114 at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.TaskMngr.PulseSimple() at Bootstrapper.EventInternalClass.Tick() Well it is connected to database and when i press access twice after i type password this error comes up. And after when i launch server again and try to login i nothing happens server still stays up Btw using HeidiSQL and MariaDB The problem is that exactly, you're pressing "access" twice and it tries to insert the account twice. Remove that account from "accounts" table and press the button only once. Link to comment Share on other sites More sharing options...
I'm Pickle Rick Posted July 22, 2019 Share Posted July 22, 2019 44 minutes ago, Xabi said: The problem is that exactly, you're pressing "access" twice and it tries to insert the account twice. Remove that account from "accounts" table and press the button only once. I tried that but nothing happens it just stays at login page Link to comment Share on other sites More sharing options...
Xabi Posted July 22, 2019 Author Share Posted July 22, 2019 7 minutes ago, I'm Pickle Rick said: I tried that but nothing happens it just stays at login page It should show the register window again if there are no accounts. Link to comment Share on other sites More sharing options...
I'm Pickle Rick Posted July 22, 2019 Share Posted July 22, 2019 11 minutes ago, Xabi said: It should show the register window again if there are no accounts. Well it creates account but it won't log me into character creation Link to comment Share on other sites More sharing options...
Xabi Posted July 22, 2019 Author Share Posted July 22, 2019 Any error further than those you posted previously? Those don't make the server crash. Link to comment Share on other sites More sharing options...
I'm Pickle Rick Posted July 22, 2019 Share Posted July 22, 2019 1 hour ago, Xabi said: Any error further than those you posted previously? Those don't make the server crash. No not even on the log Link to comment Share on other sites More sharing options...
kleinkiko Posted July 22, 2019 Share Posted July 22, 2019 (edited) Hello When i connect to the server and downloaded all file nothing happens. No Login screen or something. I stand with the default charakter on the street . Right in the top i see my money . Not more. No Errors in Logs... MySQL is right. I use a Windows Server //EDIT: After i updated the bridge.dll i become a new Error when i connect and the server stops: start.sh: line 6: 30284 Segmentation fault ./server.exe Edited July 22, 2019 by kleinkiko Link to comment Share on other sites More sharing options...
Recommended Posts