View Full Version : Save Feature Remodel: Consolidation of Space
navysealltblue
07-17-2009, 10:10 PM
As indicated in the game, save files are deleted after 7 days to conserve space. I am proposing a radical rework of the save framework to allow you to keep users for longer by saving less information on your own servers.
Basically, rather than saving the entire mapping of the game on the server (which is costly size wise for you), save all that data client-side. However, by storing data client-side you have to worry about users tampering with that data. The easiest, and in my opinion best, solution is to have a process server-side that takes that data and calculates a checksum of sorts. That way, you only have to have to store the checksum on your server instead of all of their data. If when they login, the checksums don't match, the user is told that they cannot play that account. You'd just have to make sure that you don't overwrite local data if multiple people play on the same computer.
Hope you devs like the idea and thanks again for a terrific game.
Chokladkakan
07-17-2009, 10:23 PM
Perfect suggestion! I am not sure whether it is possible to make it very cheat-proof or not, though, but I am no flash-developer. :)
navysealltblue
07-17-2009, 10:38 PM
At no point should the user know what the checksum is, all the calculations of it, and verification of it should be done server-side.
All data should temporarily be sent to the server at the time of checksum calculation, regardless of whether it is to be used, just so that the user doesn't know what is used in the calculation of the checksum.
The data stored locally should be encrypted to reduce the likelihood of tampering. When the checksum is verified, the encryption key is sent to the game to allow the file to be decoded.
The checksum and encryption keys should be calculated implemented with each save.
That's all I can really think about at this moment in time, but hehe, yeah :P
Chokladkakan
07-17-2009, 10:44 PM
Sounds fair! I suspect the game would take longer time loading, but that is a small price to pay. :)
navysealltblue
07-17-2009, 11:07 PM
Sounds fair! I suspect the game would take longer time loading, but that is a small price to pay. :)
Either that, or it'd be quicker, just a couple transactions with the server rather than a whole data download (I honestly don't know the size of the save files)
Chokladkakan
07-17-2009, 11:32 PM
My common sense says it'd take longer, but it is just that, my common sense. And I am as mentioned no flash developer.
I'm of to sleep now, though. Goodnight.
rosedragon
07-17-2009, 11:52 PM
Thanks a lot guys! This detailed suggestions make us easier to think of an implementation =) . We will consider it!
Luigigi
07-20-2009, 07:25 AM
add jetpacks[/u]
Chokladkakan
07-20-2009, 11:05 AM
Isn't it enough to post that in one place, and also in a thread that is more suited for the subject?
RealShadowCaster
07-20-2009, 11:43 AM
I personnaly think saving the map layout on the server is a great idea.
I'm using more than one computer, and this game is the only flash game I can play on any without restarting from scratch.
Chokladkakan
07-20-2009, 11:53 AM
If you were to use Firefox, you could make that possible for any games and website, by simply using a plugin like FEBE to back up all your data to a memory stick. :)
wwebgjzva
09-17-2011, 02:36 AM
我今天终于有了自己的QQ空间,欢迎新老朋友为我的空间捧场,征途私服一条龙 (http://www.GDSH88.COM/)!
虽然我认识的GGMM都有QQ空间,不过我相信我的空间一定是独一无二的!
我喜欢交朋友,传奇合击似服发布网 (http://WWW.WSWYGG.COM/),如果你想和我多聊一些,win征途服务端 (http://www.BJTYTH.COM/),给我留言,1.76复古传奇私服网 (http://WWW.WHJINSHENG.COM/),发小纸条或者直接加我好友吧,劲舞团sf6.5外挂 (http://www.SDWTGC.COM/)!
另外,如果你在其他博客上有日记或者照片,可以用QQ空间搬家工具(
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.