Blockland Forums > General Discussion
Dionysus's CityRPG [joshua moon amirite]
Cnaibedoge:
--- Quote from: Kalphiter on November 07, 2012, 04:09:15 PM ---Wtf, are you trying to copy Iban?
--- End quote ---
Hail naw.
I don't want to make the same goddamn mistakes he did with v2. I do believe though, that some of the features in his v3 are pretty badass.
--- Quote from: Swat 3 on November 07, 2012, 04:11:40 PM ---Guys, forget scripting and use VCE.
--- End quote ---
welcome
¥ola:
--- Quote from: Cnaibedoge on November 07, 2012, 04:07:44 PM ---#1, you didn't even define the path to save stuff to,
#2, you didn't even define a format for it to go by, so it knows what it's loading.
--- End quote ---
#1 you can't figure this out? Are you kidding me? It's YOUR mod, I was letting YOU pick where you wanted it.
#2 What the forget?
Cnaibedoge:
--- Quote from: ¥ola on November 07, 2012, 04:14:41 PM ---#1 you can't figure this out? Are you kidding me? It's YOUR mod, I was letting YOU pick where you wanted it.
--- End quote ---
And I thought we distinguished that you were in charge of the saving system from the beginning?
I'll take care of it, don't worry.
Blocki:
--- Quote from: Cnaibedoge on November 07, 2012, 04:07:44 PM ---best saving system 2012
amirite?
--- End quote ---
http://forum.blockland.us/index.php?topic=202677.0
--- Code: ---new scriptobject(CityData)
{
class = molodion;
autoloadkeys=1;
savepath="config/city/data/";
};
CityData.registervalue("emone",0);
CityData.registervalue("whatever","default");
--- End code ---
call CityData.createdata(BL_ID) if someone joins, it will create a new data or do do nothing if it already exists
call CityData.savedata(BL_ID) when someone leaves
Modify/Get data with CityData.Data[bl_id].value["value"] = "axblah"
Cnaibedoge:
Dammit, thank you, all though I still wont be using the entire code.