Jump to content

Recommended Posts

Posted

Hi all, I’m looking for some LUA help. I’ve written a pretty cool script for a mission meant for a 24/7 public server which I’ll have online shortly. I’m 80-90% done with it. One task I have remaining is the ability to read and write scores outside of the mission. I’m pretty good with LUA but haven’t done any sort of import/export with it yet.

 

I’d like to host the server and have all the player scores stored in a separate file on my PC. I’m pretty sure I can do this part. However, if someone connects to the server and runs the mission, won’t the script also execute on their local machine and create another copy of the scores on their machine? This might be ok except for the next part...

 

I’d also like to be able to read from the file such that when XYZ connects to the server another time, they’d see a message welcoming them back and loading their score from the previous login so that they can continue progress. If this is possible, how would I get their machine to read from the “master” score file on my machine?

 

I’m not all too familiar with all the capabilities of DCS when it comes to importing and exporting, so a little help pointing me in the right direction would go a long way. I don’t mind doing some reading and researching but can’t seem to find anything that meets my criteria through Google searching. It all seems to be based on uploading data to some web server. Of course, if you know the answer to it, I don’t mind the shortcut approach either ;)

 

Thanks!

 

My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server

 

Supercarrier Reference Kneeboards

 

IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...