Jump to content
CryptEarth

enforce script - data persistence

Recommended Posts

So, back in A3 we had the extension api to communicate between in-game SQF and external native code. With a bit of work or existing extensions like extDB it was possible to export data, store it persistently and load them back in after a session restart. That made DayZ and AltisLife possible.

 

Now with the new enfusion engine comes the new C# based enforce script language. Unfortunate I wasn't able to find any informations about any way to persistently store data or connect to some external native code.

 

Is there anything available in a similar way? On github there's a reforger life mission which uses either in-memory storage or accessing a json-file. Although a file-based storage is fine for developement it ain't enough for big sessions with dozens of players.

 

Is there some native database connectivity planed? Or at least some way to access native code like the extension api in A3?

 

Without such way it seems hard to impossible to continue the success of ArmaLife role play.

Share this post


Link to post
Share on other sites

Hey,

A simple look through reforger's wiki would answer your questions. Here are I think useful links:

ABOUT JSON: https://community.bistudio.com/wiki/Arma_Reforger:Scripting:_JSON

ABOUT SERIALISATION: https://community.bistudio.com/wiki/Arma_Reforger:Serialisation

JSON API STRUCT: https://community.bistudio.com/wiki/Arma_Reforger:JsonApiStruct_Usage

 

Using REST may also come in handy: https://community.bistudio.com/wiki/Arma_Reforger:REST_API_Usage

 

Im new to reforger modding so if I overlooked something or understood your question incorrectly sorry 'bout that.  GLHF

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×