Xabi Posted July 21, 2019 Author Posted July 21, 2019 12 hours ago, chocopops said: I did that, yet I still get this error: Why does it use my own PC details despite this being hosted on a server? As you can see above in the error, you'll find MYUSER which is my PC name. Why's it like this, am I doing something wrong? I did everything step by step, as you can see above my server IP is also being recognized along with the port, yet there's just something wrong. It should take the credentials you define on meta.xml, did you upload this meta.xml file too?
I'm Pickle Rick Posted July 21, 2019 Posted July 21, 2019 Hello once more @Xabi. Well i subscribed for your patreon and got invite to github thanks for that once more! Now the question is. Where i can find all available commands or keybinds for specific functions? Regards
Xabi Posted July 21, 2019 Author Posted July 21, 2019 5 hours ago, I'm Pickle Rick said: Hello once more @Xabi. Well i subscribed for your patreon and got invite to github thanks for that once more! Now the question is. Where i can find all available commands or keybinds for specific functions? Regards You can get all the commands on Commands.cs serverside class and bindings on Keys.cs clientside class.
I'm Pickle Rick Posted July 22, 2019 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
Xabi Posted July 22, 2019 Author 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
I'm Pickle Rick Posted July 22, 2019 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
Xabi Posted July 22, 2019 Author 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.
I'm Pickle Rick Posted July 22, 2019 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
Xabi Posted July 22, 2019 Author 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.
I'm Pickle Rick Posted July 22, 2019 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
Recommended Posts