Daniel_Kytyzov Posted April 29, 2018 Share Posted April 29, 2018 Hello WARNING: "SetEntityInvincible" function is not implemented yet. WARNING: "SetPlayerNametagColor" function is not implemented yet. UNHANDLED EXCEPTION IN COMMAND vehicle FOR RESOURCE WiredPlayers System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at void WiredPlayers.admin.Admin.VehicleCommand(Client player, string args) in :line 523 --- 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) at bool GTANetworkInternals.CommandParser.Parse(Client sender, string cmdRaw, string ourcmd, string[] args) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\Handlers\CommandHandler.cs:line 246 WARNING: "GetPlayerSeatbelt" function is not implemented yet. Link to comment Share on other sites More sharing options...
Xabi Posted April 29, 2018 Author Share Posted April 29, 2018 1 hour ago, Daniel_Kytyzov said: Hello WARNING: "SetEntityInvincible" function is not implemented yet. WARNING: "SetPlayerNametagColor" function is not implemented yet. UNHANDLED EXCEPTION IN COMMAND vehicle FOR RESOURCE WiredPlayers System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at void WiredPlayers.admin.Admin.VehicleCommand(Client player, string args) in :line 523 --- 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) at bool GTANetworkInternals.CommandParser.Parse(Client sender, string cmdRaw, string ourcmd, string[] args) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\Handlers\CommandHandler.cs:line 246 WARNING: "GetPlayerSeatbelt" function is not implemented yet. What command did you use? Because that line corresponds with /vehicle start and it works for me. Link to comment Share on other sites More sharing options...
Adam Posted April 29, 2018 Share Posted April 29, 2018 On 4/28/2018 at 5:12 PM, Kobunix said: Hello all, i'm making an edit of this gamemode, fully optimized. You cannot post an edit of this gamemode without the permision of the OP, doing so will get you warned and have your thread deleted. Link to comment Share on other sites More sharing options...
TheStronght Posted April 29, 2018 Share Posted April 29, 2018 (edited) wtf??? Edited April 29, 2018 by TheStronght Link to comment Share on other sites More sharing options...
MrPancakers Posted April 30, 2018 Share Posted April 30, 2018 (edited) 5 hours ago, TheStronght said: wtf??? If you're planning on making an edit, then update the gamemodes repo with your changes. You cannot just rip someone's work and post it as your own with some edits. What's wrong with that? Edited April 30, 2018 by MrPancakers Link to comment Share on other sites More sharing options...
pm112 Posted May 3, 2018 Share Posted May 3, 2018 Nice Gamemode but i have 2 Problems first i get this error [EXCEPTION SaveCharacterInformation] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank = 0, duty = 0, phone = 0, carKeys = '0,0,0,0,0', documentation = 0, license' at line 1 [EXCEPTION SaveCharacterInformation] 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.SaveCharacterInformation(PlayerModel player) in database/Database.cs:line 502 second prob is a list with all Commands ... does it exist where can i show all Commands or in witch File exactly i can find thoose ? best Greetings and Thanks for the awesome work! Link to comment Share on other sites More sharing options...
Xabi Posted May 3, 2018 Author Share Posted May 3, 2018 23 minutes ago, pm112 said: Nice Gamemode but i have 2 Problems first i get this error [EXCEPTION SaveCharacterInformation] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank = 0, duty = 0, phone = 0, carKeys = '0,0,0,0,0', documentation = 0, license' at line 1 [EXCEPTION SaveCharacterInformation] 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.SaveCharacterInformation(PlayerModel player) in database/Database.cs:line 502 second prob is a list with all Commands ... does it exist where can i show all Commands or in witch File exactly i can find thoose ? best Greetings and Thanks for the awesome work! When does that error happen? About the commands, you can find them on Messages.cs file, they're all the strings starting with COM_ prefix. Link to comment Share on other sites More sharing options...
pm112 Posted May 3, 2018 Share Posted May 3, 2018 vor 3 Minuten schrieb Xabi: When does that error happen? About the commands, you can find them on Messages.cs file, they're all the strings starting with COM_ prefix. The Error Appers regular after some minutes Link to comment Share on other sites More sharing options...
Xabi Posted May 3, 2018 Author Share Posted May 3, 2018 13 minutes ago, pm112 said: The Error Appers regular after some minutes Will check that, but didn't find any problem and nobody reported it, it's a function that gets executed each minute. Link to comment Share on other sites More sharing options...
Fusion99 Posted May 7, 2018 Share Posted May 7, 2018 Hello,Does anyone have a similar problem like me and can he help with this gamemode?Everything is set right, but... Link to comment Share on other sites More sharing options...
Recommended Posts