Maximus_G 0 Posted July 4, 2007 I don't play much, and i never have enough time to gain a promotion allowing me to fly a chopper in Evolution coops - because my stats are lost when mission ends. It wouldn't be a problem if there was a way to read and write stats. Is it possible? Can we have some more involving gameplay? Share this post Link to post Share on other sites
zyklone 1 Posted July 4, 2007 There are not really any IO routines as such. There are a couple of workarounds which would allow Evolution to save the stats, but it's not exactly easy to do. Share this post Link to post Share on other sites
jerryhopper 286 Posted July 4, 2007 yes there is, and its called DSTS Data Storage and Transaction system by nutty. and you can find it here: http://forums.livecar.net/index.p....act=idx What is possible? Quote[/b] ]Database Support:EXECUTE Executes an SQL Query without any results. ::DATA EXECUTE {SQL STATEMENT} QUERY Executes a SQL statement and returns the results into a storage area. ::DATA QUERY {SQL STATEMENT} {STORAGENAME} {KEYNAME} Email Support: EMAIL Sends an email to any email address ::EMAIL {TO: Ex someone@domain.com} {From: Email address} {Subject} {Message} Date Support: Current time/date on system, not the games time stamps. FORMAT Returns a formated Date string. ::DATE FORMAT {DateFormat} "See msdn2.microsoft.com/en-us/library/8kb3ddd4(vs.71).aspx for examples" HOUR Returns the current hour (System Date) ::DATE HOUR MINUTE Returns the current minute ::DATE MINUTE SECOND Returns the current second. ::DATE SECOND MONTH Returns the current month. ::DATE MONTH YEAR Returns the current year. ::DATE YEAR DAY Returns the current day. ::DATE DAY WEEKDAY Returns the current day in a string. Ex: Sunday. ::DATE WEEKDAY Player Class: PLAYER COUNT Returns the number of players on the game PLAYER NAME {#} Returns the players name based upon a number (use count to return # playing) PLAYER CDKEY {NAME} Returns the CD key for the play with name {name} PLAYER JOINED {Name} Returns the date/time the player joined the game Debug Functions: DEBUG WRITE Writes data to the debug screen on the DSTS console. ::DEBUG WRITE {String to write} oh yea file read write access is also possible Share this post Link to post Share on other sites
S.O.S 0 Posted July 21, 2007 WTF its possible to get my cd key from the game? thats bullshit. Share this post Link to post Share on other sites
Lord Byte 0 Posted July 21, 2007 He probably means your player ID... Share this post Link to post Share on other sites
S.O.S 0 Posted July 21, 2007 How to connect to a sql server with armed assault? what sql servers r supported anyways?) Share this post Link to post Share on other sites
Nutty_101 0 Posted July 21, 2007 How to connect to a sql server with armed assault? what sql servers r supported anyways?) Armed assault does not support any file output or database by default. There are some tools to help with it but overall its a give or take on making it work. You have to give up some performance to have it. Unless they made it native its not going to be that fast. Unless you break the game itself and that is treading some thin water that should not be. Share this post Link to post Share on other sites
S.O.S 0 Posted July 21, 2007 For what porpose do they support the SQL then? another scripting question: does the armed assault scripting allow this in a mission script (i use common c code style now just for explanation, i forgott the armed assault/ofp syntax/scripting language xD): for ( i=0; i<PLAYER COUNT; i++) { hint( PLAYER NAME {i} + getdammage(PLAYER {i}) ) // popup hint every second displaying "PeterPan0.223" for example ~1 } Question is: is there a player array to access all current available player objects in a mission? Also about the performance isssue, i bet armed assault is using some own interpretation of sql instead of trusting or allowing the access to an external sql server which does everything for us which wud save system resources on the machine the arma assault server is running on. Share this post Link to post Share on other sites
Nutty_101 0 Posted July 21, 2007 For what porpose do they support the SQL then?another scripting question: does the armed assault scripting allow this in a mission script (i use common c code style now just for explanation, i forgott the armed assault/ofp syntax/scripting language xD): for ( i=0; i<PLAYER COUNT; i++) { hint( PLAYER NAME {i} + getdammage(PLAYER {i}) ) // popup hint every second displaying "PeterPan0.223" for example ~1 } Question is: is there a player array to access all current available player objects in a mission? Also about the performance isssue, i bet armed assault is using some own interpretation of sql instead of trusting or allowing the access to an external sql server which does everything for us which wud save system resources on the machine the arma assault server is running on. There is no database at all. No SQL, files, memory or anything. This was never put into armed assault and never will be that i know of. There are no player arrays, but you can build a trigger that covers the whole map and then use a foreach on it or count list array. With that use isplayer to see if they are human or not. Share this post Link to post Share on other sites
S.O.S 0 Posted July 22, 2007 wow. such easy stuff isnt avilable by default? kinda redicioulous.. Share this post Link to post Share on other sites
Nutty_101 0 Posted July 22, 2007 wow. such easy stuff isnt avilable by default?kinda redicioulous.. What games add this by default? I can't think of any to be honest. Share this post Link to post Share on other sites
Nutty_101 0 Posted July 22, 2007 counter strike/source From what i know it's not native to the game. It is thru the language's (perl i think but not 100% sure as i never played that one) that it is allowed. Kinda a rare item to be honest, but then again that is the half life engine so who knows and the source code is out there anyway. I would not expect it. worthless cause to be honest. Share this post Link to post Share on other sites
Maximus_G 0 Posted July 24, 2007 wow. such easy stuff isnt avilable by default?kinda redicioulous.. What games add this by default? I can't think of any to be honest. I was surprised Arma can't do it. Take a look at Il-2 series: http://www.gennadich.com/g1/en/index.html (click "statistics" link) Server i/o allows making of an advanced gameplay (online career for example). And it makes the game very popular online. Share this post Link to post Share on other sites
Nutty_101 0 Posted July 24, 2007 Yeah. With the cheat issues and everything else going on this is the least of our worries now anyway. Share this post Link to post Share on other sites