Smileey

[Source] Reallife/Roleplay Script

Recommended Posts

Posted (edited)

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`zap461786-2`.`characters_customization`, CONSTRAINT `FK_characters_customization_characters` FOREIGN KEY (`character_id`) REFERENCES `characters` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()

   at int MySql.Data.MySqlClient.NativeDriver.GetResult(ref int affectedRow, ref long insertedId)

   at ResultSet MySql.Data.MySqlClient.Driver.NextResult(int statementId, bool force)

   at bool MySql.Data.MySqlClient.MySqlDataReader.NextResult()

   at MySqlDataReader MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)

Das ist das was ich nur finde gerade

Habe schon alles ausprobier was ich hier auf die Seiten gefunden habe 

Edited by ShibUkaTV

Share this post


Link to post
Share on other sites

Hat du deinen Log auch durchgelesen? Der Fehler steht doch direkt drin:

Cannot add or update a child row: a foreign key constraint fails (`zap461786-2`.`characters_customization`, CONSTRAINT `FK_characters_customization_characters` FOREIGN KEY (`character_id`) REFERENCES `characters` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

Share this post


Link to post
Share on other sites
Posted (edited)

Okay danke erst mal für die Hilfe aber wie bekomme ich das weg benutze Zap-Hosting ? Hoffe irgendeiner kennt sich damit aus .

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`zap461786-2`.`characters_customization`, CONSTRAINT `FK_characters_customization_characters` FOREIGN KEY (`character_id`) REFERENCES `characters` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

   at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket()

   at int MySql.Data.MySqlClient.NativeDriver.GetResult(ref int affectedRow, ref long insertedId)

   at ResultSet MySql.Data.MySqlClient.Driver.NextResult(int statementId, bool force)

   at bool MySql.Data.MySqlClient.MySqlDataReader.NextResult()

   at MySqlDataReader MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)

   at int MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()

   at void Roleplay.Login.Character.CreateCharacter(Client c, int hair, bool isMale, string headBlendJStr, byte eyeColor, byte hairColor, byte hightlightColor, string faceFeaturesStr, string headOverlaysJStr, string decorationJStr) in :line 385

   --- 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 void GTANetworkInternals.RemoteEventParser.Parse(Client sender, ulong eventNameHash, object[] args) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\Handlers\ResourceInfo.cs:line 62

   at void GTANetworkInternals.RemoteEventHandler.Parse(Client sender, ulong eventNameHash, object[] arguments) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\Handlers\ResourceInfo.cs:line 67

Created cmd

Char Id: 0

headOverlays Missing Key: bodyBlemishes

headOverlays Missing Key: addBodyBlemishes

Edited by ShibUkaTV

Share this post


Link to post
Share on other sites
vor 13 Stunden schrieb Rattenschwanz92:

hat jemand nen inventar fix ?

Für was?

Share this post


Link to post
Share on other sites

Dann schreib dir das Event dazu. Das hat nichts mit fix zu tun.

  • Like 2

Share this post


Link to post
Share on other sites
Am 6.1.2020 um 21:57 schrieb TheUnknowns:

Okay. Wenn man im Auto "X" drückt und das Menü mit backspace schließt, funktioniert das "X" und das "M" Menü nicht. 

Irgendjemand eine Lösung vll dazu? ^^

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.