[Request] NTP Client

Post your work in progress addons and get feedback

Post » Tue Jul 26, 2016 7:23 am

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.
Mistakes were made.
B
60
S
30
G
134
Posts: 1,950
Reputation: 75,377

Post » Tue Jul 26, 2016 5:32 pm

@oosyrag

Hello :)

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.

Good luck ;)
http://armaldio.xyz - Construct 2 Addon Installer: https://github.com/armaldio/AddonInstaller - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3
B
57
S
16
G
2
Posts: 251
Reputation: 6,300

Post » Wed Jul 27, 2016 2:24 am

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?
Mistakes were made.
B
60
S
30
G
134
Posts: 1,950
Reputation: 75,377

Post » Wed Jul 27, 2016 2:31 am

Goodbye
B
114
S
31
G
295
Posts: 4,549
Reputation: 164,608

Post » Wed Jul 27, 2016 3:08 am

Wow ng.io has a pretty fantastic feature set. Thanks for these plugins! Time to experiment to see how best to use...
Mistakes were made.
B
60
S
30
G
134
Posts: 1,950
Reputation: 75,377


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests