Jump to content

BenBen

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About BenBen

  • Rank
    Newbie

core_pfieldgroups_3

  • Interests
    OrelSan, Plastic Beach
  1. Hello, I'm trying to use persistentDB but i have a issue that doesn't append every time : the Number values was return has "Any" instead of the real value : Logs from arma2oaserver : Exemple with missionId (tmid) on vehicule saving : 0:43:45 "SERVER MSG: SQL output: [tobj=SkodaGreen,tpos=[7007.31|7724.17|9.15527e-005],tdir=[-0.919542|-0.392992|0],tup=[0|0|1],tdam=0,tfue=1,tlkd=false,twcar=[["SCAR_L_STD_Mk4CQT"]|[1]],teng=false,twmag=[["30Rnd_556x45_Stanag"]|[1]],tmid=any,tintid=1]" Exemple on player saving : 0:43:36 "SERVER MSG: SQL output:tsc=[b]any[/b],tpos=6806.97|6470.06|0.00177002,tdam=0,tdhe=[b]any[/b],tdbo=[b]any[/b],tdha=[b]any[/b],tdle=[b]any[/b],tdir=50.2899,tsta=Stand,tsid=[b]any[/b],tveh=[b]any[/b],tsea=,ttyp=USMC_Soldier_Officer,trat=0,tvd=[b]any[/b],ttd=[b]any[/b],tran=[b]any[/b],tfir=[b]any[/b],tek=[b]any[/b],tck=[b]any[/b],tfk=[b]any[/b],tsui=[b]any[/b],tlif=ALIVE,tdea=[b]any[/b],ttp=[b]any[/b],tlc=[b]any[/b],tld="04/09/2012 22:43:36",tpid=44461254,tna=BenBen,tmid=[b]any[/b]" Logs from Arma2NETMySQL folder : Info: 04:40:40 - Received - Database: arma Procedure: RemoveObjects Parameters: tmid=[b]any[/b] Info: 04:40:40 - Parsing parameters... Warning: 04:40:40 - MySQL error. MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect integer value: '[b]any[/b]' for column 'tmid' at row 1 at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId) at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& 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.ExecuteReader() at Arma2NETMySQLPlugin.MySQL.RunOnDatabase(MySqlCommand command, Int32 maxResultSize) If some have an idea, I don't want to modify files without know if it a stupid thing from me. I forgot, I add persistentDB to the Dynamic Zombie Sandbox mission, I don't think it is related but in case. Thanks for help.
  2. Hello, I have an issue on Number variable. Sometimes, i don't get its real value but i get Any when i add it to an other string variable with a "+". I don't understand why it doesn't append the whole time ? I tried to use the function str(), but I'm using PersistentDB and it doesn't like to save String in Integer field. Thanks for your help.
×