and @lucasvinbr i see quite a lot of files with the name "error_GangAndTurfMod_20231031-2148.log" and it says "10/31/2023 9:48:59 PM : loading file ModOptions failed! error: System.InvalidOperationException: There is an error in XML document (2, 3). ---> System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParsePI(StringBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderModOptions.Read10_ModOptions()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at GTA.GangAndTurfMod.PersistenceHandler.LoadFromFile[T](String fileName)
10/31/2023 9:48:59 PM : loading file GangData failed! error: System.InvalidOperationException: There is an error in XML document (5, 59). ---> System.Xml.XmlException: An error occurred while parsing EntityName. Line 5, position 59.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.ReadString()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGangData.Read12_Gang(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGangData.Read13_GangData(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGangData.Read14_GangData()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at GTA.GangAndTurfMod.PersistenceHandler.LoadFromFile[T](String fileName)"
@lucasvinbr whenever i edit the Gangdata file and start the game up it just creates another file called "GangData20231105-0015.xml" with all my edits and restores the default one so i dont see my changes i made in game
@lucasvinbr is it possible for you to release a update with weapon attachments customization and make the helicopters stay in the air instead of landing when in combat?
@lucasvinbr do you have discord?
@lucasvinbr i dont have pastebin
and @lucasvinbr i see quite a lot of files with the name "error_GangAndTurfMod_20231031-2148.log" and it says "10/31/2023 9:48:59 PM : loading file ModOptions failed! error: System.InvalidOperationException: There is an error in XML document (2, 3). ---> System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParsePI(StringBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderModOptions.Read10_ModOptions()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at GTA.GangAndTurfMod.PersistenceHandler.LoadFromFile[T](String fileName)
10/31/2023 9:48:59 PM : loading file GangData failed! error: System.InvalidOperationException: There is an error in XML document (5, 59). ---> System.Xml.XmlException: An error occurred while parsing EntityName. Line 5, position 59.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.ReadString()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGangData.Read12_Gang(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGangData.Read13_GangData(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGangData.Read14_GangData()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at GTA.GangAndTurfMod.PersistenceHandler.LoadFromFile[T](String fileName)"
@lucasvinbr whenever i edit the Gangdata file and start the game up it just creates another file called "GangData20231105-0015.xml" with all my edits and restores the default one so i dont see my changes i made in game
@lucasvinbr everything works just when i try editing the Gangdata file
@lucasvinbr no errors no and the game was closed
@lucasvinbr whenever i edit the "Gangdata" file like changing their firing patterns weapons or money it doesnt save when launching the game
@lucasvinbr and relationship groups customization so the players gang dont attack other allys or bodyguards
@lucasvinbr is it possible for you to release a update with weapon attachments customization and make the helicopters stay in the air instead of landing when in combat?
@lucasvinbr i need help with erasing my saved data