{"id":8141,"date":"2020-02-09T08:37:48","date_gmt":"2020-02-09T08:37:48","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=8141"},"modified":"2020-02-09T08:37:48","modified_gmt":"2020-02-09T08:37:48","slug":"p0-a6-part-689-server-time-sync","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-a6-part-689-server-time-sync\/","title":{"rendered":"P0-A6: Part 689: Server Time Sync"},"content":{"rendered":"\n<p>The next feature that I have added to the project is a server synced time value.<\/p>\n\n\n\n<p>I can use this value to syncronise the time between all clients. This means that when visiting planets, the time of day (including the position of the sun, etc, etc) will be the same for all clients.<\/p>\n\n\n\n<p>I have also syncronised the weather system, so that the weather will also be the same for all clients.<br><br>There are still a few systems that are still not synchronised, such as the random AI system, clouds, etc. I will need to look at this in the future.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/hDRzvmc\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/hDRzvmcm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/GsEd4Wd\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/GsEd4Wdm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/toNeTSF\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/toNeTSFm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/jiiYjg7\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/jiiYjg7m.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/qtEorwX\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/qtEorwXm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/ZHlfPLq\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/ZHlfPLqm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/3gBPBab\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/3gBPBabm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/yxCfP3F\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/yxCfP3Fm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/qN9WPku\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/qN9WPkum.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/1mGcjfG\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/1mGcjfGm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/X3GHCSC\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/X3GHCSCm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/atMDxTr\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/atMDxTrm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/ZgDFcVp\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/ZgDFcVpm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/f6xrxEH\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/f6xrxEHm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/NLO5VTy\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/NLO5VTym.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/L4hXwuO\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/L4hXwuOm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/3HNuiCY\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/3HNuiCYm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/mxDuCNB\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/mxDuCNBm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/zlA23D6\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/zlA23D6m.png\" alt=\"\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The next feature that I have added to the project is a server synced time value. I can use this value to syncronise the time between all clients. This means that when visiting planets, the time of day (including the position of the sun, etc, etc) will be the same for all clients. I have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,21,10,11],"tags":[],"class_list":["post-8141","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-p0_a6","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/8141"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=8141"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/8141\/revisions"}],"predecessor-version":[{"id":8142,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/8141\/revisions\/8142"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=8141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=8141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=8141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}