I found this: https://www.npmjs.com/package/ntp-client and was wondering if there was a way to use it to process an NTP request directly from C2, either as a plugin or through the browser execJS. I have no idea what this involves though so I'm asking here.
This script is for npm that means it will only work with NW.js
If you want to develop a plugin yourself, you can read my tutorial Write a plugin with node modules for NW.js
If you are lucky, this package is compatible with Browserify : Roughly, it add regular browser support to node module.
Develop games in your browser. Powerful, performant & highly capable.
Thanks armaldio, I have no experience creating plugins or working with JS directly, but I guess I can look into it.
Are there any other ways to get time from a third party server rather than local system time?
Newgrounds.io api v3 provides a server date time.
Wow ng.io has a pretty fantastic feature set. Thanks for these plugins! Time to experiment to see how best to use...