Jump to content

Recommended Posts

Posted
25 minutes ago, Shooter said:

 

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

Checking the logs you posted, this one. It should come with the bridge plugin, if it's not on GitHub:

==================[21.10.2018 22:21:53]==================
System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Net.Sockets.resources'
Posted (edited)

Server starting error:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format.
 (Exception from HRESULT: 0x8007000B)
   at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness()
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in /home/gameserver/ragemp/c:\Users\str1k\Downloads\WiredPlayers-RP-master (1)\WiredPlayers-RP-master\bridge\resources\WiredPlayers\business\Business.cs:line 19
   at void WiredPlayers.database.Database.OnResourceStart() in /home/gameserver/ragemp/c:\Users\str1k\Downloads\WiredPlayers-RP-master (1)\WiredPlayers-RP-master\bridge\resources\WiredPlayers\database\Database.cs:line 41
   --- 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..

 

System.NullReferenceException: Object reference not set to an instance of an object.
   at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in /home/gameserver/ragemp/c:\Users\str1k\Downloads\WiredPlayers-RP-master (1)\WiredPlayers-RP-master\bridge\resources\WiredPlayers\globals\Globals.cs:line 244
   at void System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state)

 

Edited by DerStr1k3r
Posted
35 minutes ago, DerStr1k3r said:

Server starting error:


System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format.
 (Exception from HRESULT: 0x8007000B)
   at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness()
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in /home/gameserver/ragemp/c:\Users\str1k\Downloads\WiredPlayers-RP-master (1)\WiredPlayers-RP-master\bridge\resources\WiredPlayers\business\Business.cs:line 19
   at void WiredPlayers.database.Database.OnResourceStart() in /home/gameserver/ragemp/c:\Users\str1k\Downloads\WiredPlayers-RP-master (1)\WiredPlayers-RP-master\bridge\resources\WiredPlayers\database\Database.cs:line 41
   --- 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..

 


System.NullReferenceException: Object reference not set to an instance of an object.
   at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in /home/gameserver/ragemp/c:\Users\str1k\Downloads\WiredPlayers-RP-master (1)\WiredPlayers-RP-master\bridge\resources\WiredPlayers\globals\Globals.cs:line 244
   at void System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state)

 

The gamemode won't work on linux yet as there are some bugs on bridge plugin with entity data on linux build.

Also, didn't test it on linux, but .so libraries are required.

Posted (edited)
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
Edited by Shooter
Posted

@Shooter

You don't have to change anything on Database.cs, if you changed anything it will crash. About the libraries missing, send a screenshot of the files you have under runtimes folder.

Posted
1 minute ago, Shooter said:

my runtime

page1

http://www.nationone.de/pro/1.jpg

 

page2

http://www.nationone.de/pro/2.jpg

 

page3

http://www.nationone.de/pro/3.jpg

 

page4

http://www.nationone.de/pro/4.jpg

 

page5

http://www.nationone.de/pro/5.jpg

 

page6

http://www.nationone.de/pro/6.jpg

 

page7

http://www.nationone.de/pro/7.jpg

 

 

 

but did not you say I should enter in the database.cs my login data to the database?

 

That was long time ago, I told you not to do it as it doesn't work like that anymore.

 

Also, which .NET Core SDK version are you using?

Posted
Just now, Shooter said:

NET Core SDK 2.1

You need to download the 2.0, as the current bridge version only supports this one.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...