Precisely I was going to post about something related to this.
Basically, I'd like to learn how to save data for each user, which can be retrieved and updated anytime, and exists even after the user disconnects. Basically, like a database system. I was thinking, perhaps the data would need to be written to a text file on the server, but correct me if I am wrong.
And either way, how would this be done? You can simply send me to a tutorial or reference guide. I want to work on a currency system, but I'd also like to save other data. I'm going to try building something similar to a roleplaying system (but not too complex), for my palace, for which I need to be able to constantly store, update and retrieve some data values, like: the user's nickname/identity (for each user, a unique identity), their character's name, class or job, rank, and money -among others.
If this is not really possible, then I'll consider trying to play with variables and web URL's (passing data through URL's (GET data)) and using my own PHP scripts, along with MySQL, to manage the data. If it's even possible. That would require changing variable values and passing these on a URL, then opening that URL at some point during the process... Well, I am still not sure about how possible this is, but if opening web addresses directly from the client is possible, and using variables as well, then I think it should, somehow.
(Problem would be, transferring that information back into the client. Now, I think that makes this idea useless for what I'm trying to achieve, lol.)
Help would be greatly appreciated.
(I'll start a new separate thread if necessary.)
Last edited by Arwym; 05-04-2009 at 01:43 AM.
|