Xabi

[GAMEMODE] WiredPlayers Roleplay Server

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 by MrPancakers

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Hello,
Does anyone have a similar problem like me and can he help with this gamemode?
Everything is set right, but...

zaQkCfn.pngcTHJ3HG.pngl1nSg2l.pngKOwoJnu.pngBRYBseV.pngpxsBM7i.pngCrwYi8f.pngGNw2Gut.png

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.