The Daily Click ::. Forums ::. Klik Coding Help ::. Data Store Problem!
 

Post Reply  Post Oekaki 
 

Posted By Message

EonDev



Registered
  13/01/2007
Points
  219
1st January, 2008 at 12:32:34 -

I've been programming an MMORPG for a few months now but I've noticed that sometimes user data doesn't store properly. I'm currently using server-side IMIs. I know they aren't tje best but I don't know how to use the Data Store 2 object. Anytime I try make it save a file, it doesn't. Any ideas on what I should do? I need a good way of storing player info...

 
Breathing? It's optional!

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
3rd January, 2008 at 06:28:24 -

Are you writing your own server-side?

In which case, you can get it to store data in a normal INI on the server's hard disk.

If you're using a Moo Server hosted by someone else, you may need to consider keeping some details on a separate server, and communicating them using MooSock or Live Receiver Object and PHP.

That way, the Moo Server handles the sending and receiving of in-game data, and your own webserver works as a database.

 
191 / 9999 * 7 + 191 * 7

EonDev



Registered
  13/01/2007
Points
  219
3rd January, 2008 at 11:12:34 -

No i'm not writing my own server-side. Players can play both offline & online so data has to be stored on their own PCs.

Edit:
Found out that the problem is to do with Vista (apparently programs can't write to their install directory)

Image Edited by the Author.

 
Breathing? It's optional!
   

Post Reply



 



Advertisement

Worth A Click