skeezix
Internal Development
Thoughts from middle of the night while sleep deprived.. tl;dr -- for a offlilne/online game, where do you keep the character?
I'm working on a persistant online game .. you join in, do your business, and come back another day; its not 'too persistant' (may last for a few hours, days or weeks, but depends on setup of the game.)
I'm thinking of avoiding 'create account' and all that business, especially if I ever get it working on tablets or phones .. you want a nice easy quick join, and some unique way to identify the device, but withotu sharing any private info. So one starting point is to (say) make a hash of the mac-id of the interface, and send that up to the server to say 'this is who I am'; it'd be unique, but meaningless. Or woudl that offend people as a form of 'tracking' (even though its only for one game.) The other option is letting folks create an account/password, but thats work for the user, and amounts to the same thing. (a hash can be used automatically on multiple servers, to save creating accounts on every server; think Quake, thats how it works.. no accont, jut a unique identifier.)
Anyway, so you can play the game as single player on your pandora, or join up to a server (which could be someone elses pandora, or some dedicated server.)
The real question is .. where does your 'character' live?
Could create the character locally (on the device), so that you can use it single player, and then also multiplayer.. sign into a server and it could send up your character (identified by the unique hash or login created above, internally); you could name your guy (since I imagine half pandoras have the username 'pandora' so that as you run around, your name could show up as needed. When you log out, your guy vanishes from the world, and yuo could level up locally on your own or whatever.
Another option is to create the character on the server .. your device joins the server of choice,a nd gets a list of your characters there (based on your login or unique hash as above .. ) and oyu go form there. Implications are .. harder to 'hack your character' for 'cheating', since its on the server; but also means you can't use one character across servers (since its on a given server), and can't use it for local play. Could perhaps download copies of the character for local play, but that wouldn't then sync back up to the server (violates trust, since woudl enable cheating.)
--
My thoguht (again, 3am was to just have the unique-hash and server-side character; so first game is .. fire up the game, start a local game,m start a server game on your unit, or join a list of already running games (think Quake lobby again.) If you hit 'join up online' (thats the main goal, or single player) it'd show yo a list of servers and population count, and you pick one and *poof* you're in, no muss, no fuss; pick your class and away you go, sort of thing.
Come back later, pick the same server and poof, theres your guy back where he was; pick anotehr server, a new guy. Maybe client woudl keep a list of recent servers so you know where your characters are lieing around.
--
But as I didn't sleep much, and these things are often personally feeling, I wanted to ask.
I doubt anyone really cares about the unique-hash and how its generated, but I do think people care about if the character is stored locally, or stored on a server.
(and yes you coudl still cheat.. if you start up a server on your pandora, and then join *it*, your character files coudl still be hacked there; or have a friend run a server and he coudl hack the files; but everyone knows the risk of joining Bobs server, that Bob could hack aroun the files Hence online trusted servers.)
(and likewise, hacked files are also otherwise known as mods, and thats a good thing so you don't want to block everything, nor do I have time to create super secure hardcore design here, just want folks to have fun
--
Your thoughts?
jeffsleepy
PS: How important is crafting and 'easy player modding'? Terraria and Minecraft and so forth really kicked it up a notch (ha, see what I did there?), but does every game need that? its not hard to add into this game, but its hard to design well to be fun and interesting .. if peopel really want it (withotu me spilling the game design at all), .. well, I'll just go get WizStan to help me with it But do you want to just jump intot he action and go nuts, or do you also want to be able to explore, craft, and chill out with less violence? (me, I don' bother crafting in games.. I want more violence!)
I'm working on a persistant online game .. you join in, do your business, and come back another day; its not 'too persistant' (may last for a few hours, days or weeks, but depends on setup of the game.)
I'm thinking of avoiding 'create account' and all that business, especially if I ever get it working on tablets or phones .. you want a nice easy quick join, and some unique way to identify the device, but withotu sharing any private info. So one starting point is to (say) make a hash of the mac-id of the interface, and send that up to the server to say 'this is who I am'; it'd be unique, but meaningless. Or woudl that offend people as a form of 'tracking' (even though its only for one game.) The other option is letting folks create an account/password, but thats work for the user, and amounts to the same thing. (a hash can be used automatically on multiple servers, to save creating accounts on every server; think Quake, thats how it works.. no accont, jut a unique identifier.)
Anyway, so you can play the game as single player on your pandora, or join up to a server (which could be someone elses pandora, or some dedicated server.)
The real question is .. where does your 'character' live?
Could create the character locally (on the device), so that you can use it single player, and then also multiplayer.. sign into a server and it could send up your character (identified by the unique hash or login created above, internally); you could name your guy (since I imagine half pandoras have the username 'pandora' so that as you run around, your name could show up as needed. When you log out, your guy vanishes from the world, and yuo could level up locally on your own or whatever.
Another option is to create the character on the server .. your device joins the server of choice,a nd gets a list of your characters there (based on your login or unique hash as above .. ) and oyu go form there. Implications are .. harder to 'hack your character' for 'cheating', since its on the server; but also means you can't use one character across servers (since its on a given server), and can't use it for local play. Could perhaps download copies of the character for local play, but that wouldn't then sync back up to the server (violates trust, since woudl enable cheating.)
--
My thoguht (again, 3am was to just have the unique-hash and server-side character; so first game is .. fire up the game, start a local game,m start a server game on your unit, or join a list of already running games (think Quake lobby again.) If you hit 'join up online' (thats the main goal, or single player) it'd show yo a list of servers and population count, and you pick one and *poof* you're in, no muss, no fuss; pick your class and away you go, sort of thing.
Come back later, pick the same server and poof, theres your guy back where he was; pick anotehr server, a new guy. Maybe client woudl keep a list of recent servers so you know where your characters are lieing around.
--
But as I didn't sleep much, and these things are often personally feeling, I wanted to ask.
I doubt anyone really cares about the unique-hash and how its generated, but I do think people care about if the character is stored locally, or stored on a server.
(and yes you coudl still cheat.. if you start up a server on your pandora, and then join *it*, your character files coudl still be hacked there; or have a friend run a server and he coudl hack the files; but everyone knows the risk of joining Bobs server, that Bob could hack aroun the files Hence online trusted servers.)
(and likewise, hacked files are also otherwise known as mods, and thats a good thing so you don't want to block everything, nor do I have time to create super secure hardcore design here, just want folks to have fun
--
Your thoughts?
jeffsleepy
PS: How important is crafting and 'easy player modding'? Terraria and Minecraft and so forth really kicked it up a notch (ha, see what I did there?), but does every game need that? its not hard to add into this game, but its hard to design well to be fun and interesting .. if peopel really want it (withotu me spilling the game design at all), .. well, I'll just go get WizStan to help me with it But do you want to just jump intot he action and go nuts, or do you also want to be able to explore, craft, and chill out with less violence? (me, I don' bother crafting in games.. I want more violence!)