Xabi Posted November 15, 2018 Author Posted November 15, 2018 38 minutes ago, Drakenid said: -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. Nie można odnaleźć określonego pliku. at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 18 at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 44 --- 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) I've updated gtanetwork.api and Mysql.Data and I got this error The MySQL should be up to date. I don't recommend updating the bridge Nuget, as it seems to have some issues (it doesn't load the CEF/gamemode at all)
Drakenid Posted November 15, 2018 Posted November 15, 2018 Now I got something like that -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host '192.168.1.14' is not allowed to connect to this MariaDB 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() 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 1222 at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 18 at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 44 --- 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)
Xabi Posted November 15, 2018 Author Posted November 15, 2018 1 minute ago, Drakenid said: Now I got something like that -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host '192.168.1.14' is not allowed to connect to this MariaDB 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() 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 1222 at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 18 at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 44 --- 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) You only edited meta.xml right? Some people also edit Database.cs file, which shouldn't be edited as far as you don't have the error with SSL connections.
Drakenid Posted November 15, 2018 Posted November 15, 2018 I have edited meta.xml and database.cs. So database.cs not edit?
Xabi Posted November 15, 2018 Author Posted November 15, 2018 3 minutes ago, Drakenid said: I have edited meta.xml and database.cs. So database.cs not edit? No, Database.cs reads all the data from meta.xml file by tags, shouldn't be edited.
TheUnreall Posted November 17, 2018 Posted November 17, 2018 (edited) What I have to do? Edited November 17, 2018 by TheUnreall
Xabi Posted November 17, 2018 Author Posted November 17, 2018 58 minutes ago, TheUnreall said: What I have to do? Follow the steps on Github, you installed the bridge after downloading the files, not before. Go step by step.
Jordan409 Posted November 18, 2018 Posted November 18, 2018 @Xabi Hi excuse me to disturb you but I do not understand how your system works when I want to create a clothing store or a store to buy a phone when I create it there is a hologram or it is marked clothing but as soon as I 's on "F" her teleports me to another store but I do not have access to the clothes how her walking. I thank you! http://www.noelshack.com/2018-46-7-1542499721-20181118010222-1.jpg
Xabi Posted November 18, 2018 Author Posted November 18, 2018 2 hours ago, Jordan409 said: @Xabi Hi excuse me to disturb you but I do not understand how your system works when I want to create a clothing store or a store to buy a phone when I create it there is a hologram or it is marked clothing but as soon as I 's on "F" her teleports me to another store but I do not have access to the clothes how her walking. I thank you! http://www.noelshack.com/2018-46-7-1542499721-20181118010222-1.jpg /purchase
Jordan409 Posted November 18, 2018 Posted November 18, 2018 (edited) 15 hours ago, Xabi said: /purchase i have a problem when i buy something its actually crash the server except when I buy a drink to drink but when I drink it removes most of my life and when I eat it does crash the server too ==================[18/11/2018 18:37:02]================== System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at void ThrowHelper.ThrowArgumentOutOfRange_IndexException() ========================================================= ==================[18/11/2018 18:37:02]================== System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at T System.Collections.Generic.List<T>.get_Item(int index) at TSource System.Linq.Enumerable.ElementAt<TSource>(IEnumerable<TSource> source, int index) at void WiredPlayers.business.Business.PurchaseTattooEvent(Client player, int tattooZone, int tattooIndex) in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 483 --- 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) ========================================================= Edited November 18, 2018 by Jordan409
Recommended Posts