Jump to content

Shooter

Members
  • Posts

    62
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Shooter

  1. Hello to all in the community, 
    
    have now everything worked out well, except that he tells me now in the log that he gets no connection to the database, 
    which I do not understand, because in the meta.xml and in the database.cs I have my data with the accesses to the database 
    all registered ... then also everything Copiliert ... but he still shows me that he does not get a connection to the DB.
    Furthermore, he also shows me the bugs on how you can see below that he probably can not find certain DLL's ... which is also 
    strange because I have all the dll's from Git of Xabi inserted as it is also described .. After that, I also downloaded the 
    resources from Xabi's GitHub and also added these files and DLL's ... I've tried everything so far, just as I've seen that the 
    ports are all shared ...
    
    Solangsam I can not explain anymore what I should do
    
    Need help from you ...
    
    
    
    
    ==================[23.10.2018 20:09:54]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'System.Net.Sockets.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'System.Net.Sockets.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Host 'OWNEROR-RPHSORP' is not allowed to connect to this MySQL server
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Host 'OWNEROR-RPHSORP' is not allowed to connect to this MySQL 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)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Host 'OWNEROR-RPHSORP' is not allowed to connect to this MySQL 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()
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    System.TypeLoadException: Could not load type 'System.Drawing.ToolboxBitmapAttribute' from assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
       at RuntimeMethodHandleInternal ModuleHandle.ResolveMethod(RuntimeModule module, int methodToken, IntPtr* typeInstArgs, int typeInstCount, IntPtr* methodInstArgs, int methodInstCount)
       at RuntimeMethodHandleInternal ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, int methodToken, IntPtr[] typeInstantiationContext, int typeInstCount, IntPtr[] methodInstantiationContext, int methodInstCount)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    System.TypeLoadException: Could not load type 'System.Drawing.ToolboxBitmapAttribute' from assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
       at void ModuleHandle.ResolveType(RuntimeModule module, int typeToken, IntPtr* typeInstArgs, int typeInstCount, IntPtr* methodInstArgs, int methodInstCount, ObjectHandleOnStack type)
       at RuntimeType ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, int typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Host 'OWNEROR-RPHSORP' is not allowed to connect to this MySQL server
       at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySql.Data.MySqlClient.NativeDriver.Open()
       at MySql.Data.MySqlClient.Driver.Open()
       at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       at MySql.Data.MySqlClient.MySqlPool.GetConnection()
       at MySql.Data.MySqlClient.MySqlConnection.Open()
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    System.TypeLoadException: Could not load type 'System.Drawing.ToolboxBitmapAttribute' from assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
       at RuntimeMethodHandleInternal ModuleHandle.ResolveMethod(RuntimeModule module, int methodToken, IntPtr* typeInstArgs, int typeInstCount, IntPtr* methodInstArgs, int methodInstCount)
       at RuntimeMethodHandleInternal ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, int methodToken, IntPtr[] typeInstantiationContext, int typeInstCount, IntPtr[] methodInstantiationContext, int methodInstCount)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    System.TypeLoadException: Could not load type 'System.Drawing.ToolboxBitmapAttribute' from assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
       at void ModuleHandle.ResolveType(RuntimeModule module, int typeToken, IntPtr* typeInstArgs, int typeInstCount, IntPtr* methodInstArgs, int methodInstCount, ObjectHandleOnStack type)
       at RuntimeType ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, int typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
    =========================================================
    
    ==================[23.10.2018 20:09:54]==================
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host 'OWNEROR-RPHSORP' is not allowed to connect to this MySQL server
       at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySql.Data.MySqlClient.NativeDriver.Open()
       at MySql.Data.MySqlClient.Driver.Open()
       at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       at MySql.Data.MySqlClient.MySqlPool.GetConnection()
       at MySql.Data.MySqlClient.MySqlConnection.Open()
       at WiredPlayers.database.Database.LoadAllBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
       at WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- 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)
    =========================================================
    
    
    
    
     
    Initializing Bootstrapper.dll (0.3.5.1)..
    -> SERVER STARTED AT 23.10.2018 20:09:52
    Loaded 498 entries from vehicleData.json
    Loading resources..
    -> Starting WiredPlayers resource..
    WiredPlayers: setting as Gamemode resource
    WiredPlayers: loading scripts.. found 1 script(s)
    WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
    WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
    WiredPlayers: instantiating WiredPlayers.townhall.TownHall..
    WiredPlayers: instantiating WiredPlayers.parking.Parking..
    WiredPlayers: instantiating WiredPlayers.model.SkinModel..
    WiredPlayers: instantiating WiredPlayers.jobs.FastFood..
    WiredPlayers: instantiating WiredPlayers.jobs.Fishing..
    WiredPlayers: instantiating WiredPlayers.jobs.Garbage..
    WiredPlayers: instantiating WiredPlayers.jobs.Hooker..
    WiredPlayers: instantiating WiredPlayers.jobs.Job..
    WiredPlayers: instantiating WiredPlayers.jobs.Mechanic..
    WiredPlayers: instantiating WiredPlayers.jobs.Taxi..
    WiredPlayers: instantiating WiredPlayers.jobs.Thief..
    WiredPlayers: instantiating WiredPlayers.house.Furniture..
    WiredPlayers: instantiating WiredPlayers.house.House..
    WiredPlayers: instantiating WiredPlayers.globals.Globals..
    WiredPlayers: instantiating WiredPlayers.factions.Emergency..
    WiredPlayers: instantiating WiredPlayers.factions.Faction..
    WiredPlayers: instantiating WiredPlayers.factions.Police..
    WiredPlayers: instantiating WiredPlayers.factions.WeazelNews..
    WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
    WiredPlayers: instantiating WiredPlayers.database.Database..
    WiredPlayers: instantiating WiredPlayers.chat.Chat..
    WiredPlayers: instantiating WiredPlayers.character.Animations..
    WiredPlayers: instantiating WiredPlayers.character.Customization..
    WiredPlayers: instantiating WiredPlayers.character.Login..
    WiredPlayers: instantiating WiredPlayers.character.Telephone..
    WiredPlayers: instantiating WiredPlayers.business.Business..
    WiredPlayers: instantiating WiredPlayers.business.CarShop..
    WiredPlayers: instantiating WiredPlayers.bank.Bank..
    WiredPlayers: instantiating WiredPlayers.admin.Admin..
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 4 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loaded 37 server events(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 9 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 18 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 13 command(s)
    WiredPlayers: loading commands.. found 12 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 10 command(s)
    WiredPlayers: loading commands.. found 56 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 29 command(s)
    WiredPlayers: loaded 185 commands(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 8 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loaded 53 remote event(s)
    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host 'OWNEROR-RPHSORP' is not allowed to connect to this MySQL server
       at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySql.Data.MySqlClient.NativeDriver.Open()
       at MySql.Data.MySqlClient.Driver.Open()
       at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       at MySql.Data.MySqlClient.MySqlPool.GetConnection()
       at MySql.Data.MySqlClient.MySqlConnection.Open()
       at WiredPlayers.database.Database.LoadAllBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
       at WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- 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)
    
    Started! Waiting for connections..
    
    
    Greetings yours
    Shooter
  2.  

    Hello Xabi,

    which file should be missing in my runtime ...

    I have all the data from the file:

    • bridge-package ( what you have listed in your github ) inserted with me, as well as the data you have in your
    • WiredPlayers RP master also added in my runtime ...

     

    Would now like to know which file should still be missing in my runtime.

     

    best regards

    Shooter

    And a thank you for your support

    and sorry for my not so good English

  3.  

    Unfortunately, I still get my old error that he does not find my database or that he can not connect to my DB server ;(

    server_exceptions:

    
    ==================[21.10.2018 22:21:53]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'System.Net.Sockets.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'System.Net.Sockets.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'MySql.Data.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'MySql.Data.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       at void MySql.Data.MySqlClient.NativeDriver.Open()
       at void MySql.Data.MySqlClient.Driver.Open()
       at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       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()
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       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()
    =========================================================
    
    ==================[21.10.2018 22:21:53]==================
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       --- End of inner exception stack trace ---
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       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 C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- 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)
    =========================================================

     

    server_logs:

     

    Initializing Bootstrapper.dll (0.3.5.1)..
    -> SERVER STARTED AT 21.10.2018 22:21:51
    Loaded 498 entries from vehicleData.json
    Loading resources..
    -> Starting WiredPlayers resource..
    WiredPlayers: setting as Gamemode resource
    WiredPlayers: loading scripts.. found 1 script(s)
    WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
    WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
    WiredPlayers: instantiating WiredPlayers.townhall.TownHall..
    WiredPlayers: instantiating WiredPlayers.parking.Parking..
    WiredPlayers: instantiating WiredPlayers.model.SkinModel..
    WiredPlayers: instantiating WiredPlayers.jobs.FastFood..
    WiredPlayers: instantiating WiredPlayers.jobs.Fishing..
    WiredPlayers: instantiating WiredPlayers.jobs.Garbage..
    WiredPlayers: instantiating WiredPlayers.jobs.Hooker..
    WiredPlayers: instantiating WiredPlayers.jobs.Job..
    WiredPlayers: instantiating WiredPlayers.jobs.Mechanic..
    WiredPlayers: instantiating WiredPlayers.jobs.Taxi..
    WiredPlayers: instantiating WiredPlayers.jobs.Thief..
    WiredPlayers: instantiating WiredPlayers.house.Furniture..
    WiredPlayers: instantiating WiredPlayers.house.House..
    WiredPlayers: instantiating WiredPlayers.globals.Globals..
    WiredPlayers: instantiating WiredPlayers.factions.Emergency..
    WiredPlayers: instantiating WiredPlayers.factions.Faction..
    WiredPlayers: instantiating WiredPlayers.factions.Police..
    WiredPlayers: instantiating WiredPlayers.factions.WeazelNews..
    WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
    WiredPlayers: instantiating WiredPlayers.database.Database..
    WiredPlayers: instantiating WiredPlayers.chat.Chat..
    WiredPlayers: instantiating WiredPlayers.character.Animations..
    WiredPlayers: instantiating WiredPlayers.character.Customization..
    WiredPlayers: instantiating WiredPlayers.character.Login..
    WiredPlayers: instantiating WiredPlayers.character.Telephone..
    WiredPlayers: instantiating WiredPlayers.business.Business..
    WiredPlayers: instantiating WiredPlayers.business.CarShop..
    WiredPlayers: instantiating WiredPlayers.bank.Bank..
    WiredPlayers: instantiating WiredPlayers.admin.Admin..
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 4 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 3 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 5 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 1 server event(s)
    WiredPlayers: loading server events.. found 2 server event(s)
    WiredPlayers: loaded 37 server events(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 9 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 3 command(s)
    WiredPlayers: loading commands.. found 18 command(s)
    WiredPlayers: loading commands.. found 4 command(s)
    WiredPlayers: loading commands.. found 13 command(s)
    WiredPlayers: loading commands.. found 12 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 2 command(s)
    WiredPlayers: loading commands.. found 10 command(s)
    WiredPlayers: loading commands.. found 56 command(s)
    WiredPlayers: loading commands.. found 5 command(s)
    WiredPlayers: loading commands.. found 1 command(s)
    WiredPlayers: loading commands.. found 29 command(s)
    WiredPlayers: loaded 185 commands(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 3 remote event(s)
    WiredPlayers: loading remote events.. found 1 remote event(s)
    WiredPlayers: loading remote events.. found 6 remote event(s)
    WiredPlayers: loading remote events.. found 4 remote event(s)
    WiredPlayers: loading remote events.. found 8 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loading remote events.. found 2 remote event(s)
    WiredPlayers: loaded 53 remote event(s)
    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       --- End of inner exception stack trace ---
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       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 C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- 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)
    
    Started! Waiting for connections..

     

  4. Hello Dear User,
    
    can someone tell me how to insert a new database server with its own port in WiredPlayer right here?
    I've already tried it by adjusting the meta.xml and the database.cs.
    
    Secure Code DB
    
    
      <!-- Database connection settings -->
      <settings>
        <setting name="host" value="127.0.0.1"/>
        <setting name="port" value="3310"/>
        <setting name="username" value="username"/>
        <setting name="password" value="password"/>
        <setting name="database" value="database"/>
      </settings>
    // Create the database connection string
                string host = NAPI.Resource.GetSetting<string>(this, "localhost");
                string user = NAPI.Resource.GetSetting<string>(this, "youreUserName");
                string pass = NAPI.Resource.GetSetting<string>(this, "yourePW");
                string db = NAPI.Resource.GetSetting<string>(this, "youreDBName");
                string port = NAPI.Resource.GetSetting<string>(this, "3310");
                connectionString = "SERVER=" + host + "PORT=" + port + "; DATABASE=" + db + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=none;";
    
    
    Would be nice if someone could help me, because it is nerve-wracking if you have been working here for days, but with the DB I just can not get there;)
    
    best regards
    Shooter
  5. -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       --- End of inner exception stack trace ---
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       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 C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- 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)
    
    Started! Waiting for connections..

    kommt trotzdem der log

    wie meinst du das genau... ich habe ja die DLL erstellt... was muss ich danach nochmal erstellen ?

  6. wenn ich das so schreibe und meine Daten eingebe bekomme ich folgende meldung wenn ich den Server Starte:

    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user ''@'OWNEROR-RPHSORP' (using password: NO)
       at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       --- End of inner exception stack trace ---
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
       at MySqlPacket MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
       at void MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(bool reset)
       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 C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19
       at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40
       --- 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)
    
    Started! Waiting for connections..

     

    Sag mal hast Du denn mal kurz Zeit um bei mir aufs TS zu kommen und vielleicht dir mal meine Daten anzuschauen über TeamViewer ?

  7. <?xml version="1.0" encoding="utf-8" ?>
    <meta>
      <info name="WiredPlayers" author="Xabi" type="gamemode"/>
      
      <!-- Gamemode library -->
      <script src="bin/Debug/netcoreapp2.0/WiredPlayers.dll" />
    
      <!-- Database connection settings -->
      <settings>
        <setting name="localhost" value="localhost"/>
        <setting name="gta" value="gta"/>
        <setting name="Freeman1234" value="Freeman1234"/>
        <setting name="gtav" value="gtav"/>
      </settings>
    
    </meta>

     

×
×
  • Create New...