Basically, I'd like to be able to (for example), track how many enemies a player has killed, and then output that to a hidden file that can then be read back later by another mission .dll
The idea, is to have some sort of stats tracking system, which collects all your kills, deaths etc via one .dll, writes this to a file stored in the registry or somewhere not entirely easy to break into, and then read that data back. Of course, keeping said data 'unhackable' will likely be impossible, but nevertheless...
Using .dll to write data to an external file?
Moderators: GSH, VSMIT, Red Devil, Commando
- bigbadbogie
- Bull Dog
- Posts: 586
- Joined: Mon Feb 21, 2011 8:12 am
- Location: Ecuadorian Embassy
Re: Using .dll to write data to an external file?
The data would not be quite so hackable if it were put into secret codes and randomly split among files.
I think that C++ DLLs can write to files and retrieve information, but it goes without saying that the Scriptor can't.
I think that C++ DLLs can write to files and retrieve information, but it goes without saying that the Scriptor can't.
Re: Using .dll to write data to an external file?
Point 1: Don't write files with the DLL, use registry. Write backup routine that can extract or import this data so that someone can easily move their saves.
Point 2: Pack the data with some fluff, maybe an asymmetric encryption.
Point 3: Stat tracking sounds like something you would do with a relay to a web server.
Point 2: Pack the data with some fluff, maybe an asymmetric encryption.
Point 3: Stat tracking sounds like something you would do with a relay to a web server.