Persistent Stats?
by Joshua Brown · in Technical Issues · 05/29/2008 (11:51 am) · 9 replies
Hello everyone! I've been lurking around here for years and I'm working on another little project. I have a base idea for a simple IA game but I'm looking into persistent stats of sorts (read: str, dex, etc.). I've searched to posts and found no relevant answers.
So my question is, Does anyone here know how and/or what the best way to keep persistent server side stats for individual players? So each player has individual progress levels, storyline progression, and stats?
Somehow link into a MySQL database? I heard references to xml type stuff. Any ideas or WORKING EXAMPLES would be excelent!
-Josh
So my question is, Does anyone here know how and/or what the best way to keep persistent server side stats for individual players? So each player has individual progress levels, storyline progression, and stats?
Somehow link into a MySQL database? I heard references to xml type stuff. Any ideas or WORKING EXAMPLES would be excelent!
-Josh
About the author
#2
05/29/2008 (12:20 pm)
Do a search for "variable player stats" or "dynamic agility" in resources.
#4
Does anyone know where I can find just the source and scripts to a basic MMO client/server setup so I can compile it with xCode?
This isn't a huge project. I'd be fine with having only 64 people on per server, as long as the stats remained consistent no matter what server one logged on to.
-Josh
05/29/2008 (4:00 pm)
Well I havn't found anything specific. But I did see a couple MMO kits that look EXTREMELY messy. I don't know if I am biting off more than I can chew here, but it seems that making even a very small MMO type game is going to be a huge undertaking. I've looked at www.mmoworkshop.com and www.mydreamrpg.com and I can honestly say I am more confused than when I started. First off, it looks like they are only doing stuff for windows (I'm working in osx) and everything is in a .exe. Does anyone know where I can find just the source and scripts to a basic MMO client/server setup so I can compile it with xCode?
This isn't a huge project. I'd be fine with having only 64 people on per server, as long as the stats remained consistent no matter what server one logged on to.
-Josh
#6
-Josh
05/29/2008 (11:43 pm)
Ted, that looks very promising. I'll have to look at it. I still need some way to make the "stats" or variables server independent. But I will definitely look into that.-Josh
#7
05/30/2008 (6:28 am)
By "server independent", you mean that each server the player logs into would have different versions of those same stats? For that, I would just serialize the data. You can do that with a database (I use MySQL), or to a flat file (xml, for example).
#8
I assume it can be achieved near the same way? But I don't know how to reference to a database.
-Josh
05/30/2008 (9:35 am)
Actually, by server independent I meant that no matter which server the player logged into, the stats would remain the same.I assume it can be achieved near the same way? But I don't know how to reference to a database.
-Josh
#9
05/30/2008 (10:38 am)
Yeah, you would use a database, or at least a file held in a central location, for that kind of feature. The resource for databases can be found with a search on "odbc support".
Torque 3D Owner Edward