{"id":7729,"date":"2019-04-21T09:03:36","date_gmt":"2019-04-21T08:03:36","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=7729"},"modified":"2019-04-21T09:03:36","modified_gmt":"2019-04-21T08:03:36","slug":"p0-a3-part-550-server-persistence-debugging","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-a3-part-550-server-persistence-debugging\/","title":{"rendered":"P0-A3: Part 550: Server Persistence, Debugging"},"content":{"rendered":"<p>I have switched back to a simpler physics system, which seems to work better for the project at the moment. I may reimplement the advanced physics system later, or stick with this one.<\/p>\n<p>The next major issue is the server persistence.<\/p>\n<p>There is a serious issue with saving and loading the players position when travelling far from the origin.<\/p>\n<p>It seems that there is a loss of precision, causing the players position to be incorrect. <\/p>\n<p><a href=\"https:\/\/imgur.com\/x3S05se\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/x3S05sem.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/CvXX8FG\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/CvXX8FGm.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/CPdXTsH\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/CPdXTsHm.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/OUxA7UT\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/OUxA7UTm.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/ggHySFU\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/ggHySFUm.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/rg4t5Dj\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/rg4t5Djm.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/Lkp0plb\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/Lkp0plbm.png\" title=\"source: imgur.com\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have switched back to a simpler physics system, which seems to work better for the project at the moment. I may reimplement the advanced physics system later, or stick with this one. The next major issue is the server persistence. There is a serious issue with saving and loading the players position when travelling [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,3,17,10,11],"tags":[],"class_list":["post-7729","post","type-post","status-publish","format-standard","hentry","category-a3","category-astral-realms","category-p-0","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\/7729"}],"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=7729"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7729\/revisions"}],"predecessor-version":[{"id":7730,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7729\/revisions\/7730"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=7729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=7729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=7729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}