Moderators Popular Post IIYAMA Posted January 3, 2022 Moderators Popular Post Share Posted January 3, 2022 Server Time Sync This resource is used to sync server timestamp (in Milliseconds) to all clients. It is for scripters and resources that may use it in the future. The resource itself is not very complicated at it's core, but it can be incredible useful for (infinity) animations. For example to let many trains drive around the map with almost no bandwidth required, in that resource is the same concept applied. local timeNow = exports.servertimesync:getServerTime() if timeNow then local currentRotation = ((timeNow % 10000) / 10000) * 360 -- Rotate 0-359 every 10 seconds. end I have added a little test resource. Which you can download below. World location: 0, 0, ~. You can download the resource here. Enjoy your server . The test resource. (requires servertimesync) 4 2 Link to comment
Shady1 Posted January 3, 2022 Share Posted January 3, 2022 w0w, nice script, i will try this 1 Link to comment
Moderators IIYAMA Posted January 3, 2022 Author Moderators Share Posted January 3, 2022 2 hours ago, eoL|Shady said: w0w, nice script, i will try this I have added a test resource for inspiration. Enjoy! Link to comment
Moderators IIYAMA Posted January 11, 2022 Author Moderators Share Posted January 11, 2022 An new version on the test resource is getting a little bit out of hand in my local server. Creating a 101 aircrafts With very very little network usage. With very little Lua performance impact because of the similar method of the test resource. (This sample resource will be available on the community if there are more people interested in it) 1 2 Link to comment
Moderators IIYAMA Posted January 11, 2022 Author Moderators Share Posted January 11, 2022 By the way, I fixed the download of the test resource, which seems to be bugged by the forum. But the community resource page also has some issues, hope the link works for you. Link to comment
Shady1 Posted January 11, 2022 Share Posted January 11, 2022 there is a problem with the file links Link to comment
Moderators Popular Post IIYAMA Posted January 12, 2022 Author Moderators Popular Post Share Posted January 12, 2022 On 11/01/2022 at 23:40, eoL|Shady said: there is a problem with the file links It should be working now. @ozulus I have added the large update for the airplane resource. NOTE: Both resources must be updated to the latest version. As promised, high performance after initializing and nearly zero latency. - Added a last minute fix for an unexpected error. 1.1.0 > 1.1.1 Note: Not all bugs have been fixed. Like for example, aircraft can still fly through mountains. But you can adjust that by adding the aircraft manually. 4 Link to comment
FernandoMTA Posted April 17, 2022 Share Posted April 17, 2022 I will be trying this, thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now