{"id":864,"date":"2009-10-03T22:56:02","date_gmt":"2009-10-03T12:56:02","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=864"},"modified":"2009-10-03T23:02:04","modified_gmt":"2009-10-03T13:02:04","slug":"save-games-part-finale","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2009\/10\/03\/save-games-part-finale\/","title":{"rendered":"Save Games, Part Finale"},"content":{"rendered":"

\"SaveDataTest\"<\/a>Last post about save game stuff, I promise!<\/p>\n

Here’s a quick screenshot of my test of the new “auto savefile handling” that I’ve been talking about for the past few days; \u00a0it seems to work reasonably well! \u00a0And it’s hilighted a few issues; \u00a0like that I apparently have both a “loggedIn” and an “online” value on my player characters; \u00a0I really ought to get rid of one of those two — they mean the same thing! \u00a0I suspect that one of them dates back to MMORPG Tycoon 1, and the other was accidentally added while I was adjusting the Toon to support MMORPG Tycoon 2’s new multiple-characters-per-subscriber model.<\/p>\n

I haven’t moved very much of my game data over into this new system yet; \u00a0I’d estimate that I’ve only moved about a third of the data on the main “Toon” simulated in-game characters. \u00a0But it’ll be pretty trivial to move more data across, now that the basic system is in place; \u00a0it doesn’t require changing any game code, it just involves declaring the data in a slightly different manner, so that the saving code knows where to find it. \u00a0I’m quite pleased with the system overall; \u00a0it should make coping with (and debugging!) this huge amount of data a whole lot easier.<\/p>\n

There’s still a few minor loose ends to be sorted out (the worst of these are handling arrays and enumerated values), but this is basically functional now, so the whole “maintaining save game files” issue is now looking much less scary, and so I’m going to get back onto game mechanics for a while. \u00a0Hopefully, tomorrow I’ll be able to get the various Design user interface screens back up and working; \u00a0I’m eager to get all of that accessible again!<\/p>\n","protected":false},"excerpt":{"rendered":"

Last post about save game stuff, I promise! Here’s a quick screenshot of my test of the new “auto savefile handling” that I’ve been talking about for the past few days; \u00a0it seems to work reasonably well! \u00a0And it’s hilighted a few issues; \u00a0like that I apparently have both a “loggedIn” and an “online” value…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-dW","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/864"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=864"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/864\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}