well i guess the idea is to make this as simple as possible, can you make the game write certain data values to a txt or ini?
if so then this is the format i would like to see:
Quote[Party Member 1]
NAME=Tobia
LEVEL=5
GRAPHIC=01-fighter.png (the file doesnt need to store the image, just have the name, i can have all the images website side)
HP=62 (these would be the max hp and sp, not the current)
SP=43
STR=12
DEX=11
AGI=9
INT=10
WEAPON=4 (I guess the data file would use the item id's instead of names)
SHIELD=12
BODY_ARMOR=14
ACCESSORY=nil (when nothing is equip, show none or 0 if possible)
[Party Member 2]
NAME=nil (meaning there is no second party member)
LEVEL=nil
GRAPHIC=nil
HP=nil
SP=nil
STR=nil
DEX=nil
AGI=nil
INT=nil
WEAPON=nil
SHIELD=nil
BODY_ARMOR=nil
ACCESSORY=nil
[Party Member 3]
NAME=nil
LEVEL=nil
GRAPHIC=nil
HP=nil
SP=nil
STR=nil
DEX=nil
AGI=nil
INT=nil
WEAPON=nil
SHIELD=nil
BODY_ARMOR=nil
ACCESSORY=nil
[Party Member 4]
NAME=nil
LEVEL=nil
GRAPHIC=nil
HP=nil
SP=nil
STR=nil
DEX=nil
AGI=nil
INT=nil
WEAPON=nil
SHIELD=nil
BODY_ARMOR=nil
ACCESSORY=nil
[Other Information]
LOCATION=37 (guess it would go by map ids, to show the location in the current save)
TIME_PLAYED=00:34.62 (unsure how the game formats this, prefer hours, mins, secs)
[Variables]
0001:1
0002:0
0003:5
0004:7
0005:0
0006:0 (and so on until the max is reached)
[Switches]
0001:off
0002:off
0003:on
0004:off (uses 1's and 0's if you have to.)
the reason i want the variables and switches is because i would like to show things like arena score or game progress, and have an achivement system much like xbox live, i can also create a reward system website side where they can gain codes to unlock features in the game
for a little security i guess the file would have to be encrypted or the extension changed, i just need a way to decrypt it again on my end
the reason i say my end is cause to keep it simple and working, i think i should collect the files manually from my site and update the pages myself, i dont think theres a way for html or php to decrypt the files. the players can upload the files themselves by browsing to the directory, i will have an upload page on my site for that
then i can have the stats updated weekly or so on.
once i recieve the data file then i can do the rest of the work on my end, i just need your help to get the game to write these files.
thats one way and the easiest to do it, another way would be to have the game write the data into sql querys and i can create an auto uploader to get them to my site and exicute them.
i looked into ruby-sql, according to rubyforge the plugin hasnt even been made yet, its still in the planning stages. the only other way i know is netplay plus but dont want an mmo i just need a few values <_<
im not asking to add sql to the game, just have the game write the data files in the format of an sql query, like a text file, then save it as .sql and i'll make an auto uploader from there. that way the players can have a 1 click instant update instead of my slow manual weekly maintence.
i dont know, i dont want to take too much of your time, quite frankly i would be happy enough with just the txt or ini file, and at least saving it as another extension like .som so at least the basic players dont know how to hack it
i can take care of account managment on the site, have players log in before they can upload so i wont need any of that info in the data file