Blockland Forums > General Discussion
I'm making a CityRPG mod that doesn't use Iban's core scripts.
Port:
--- Quote from: Axolotl2 on December 17, 2012, 11:27:47 AM ---Why is everyone hesitant of me using Saver? It even has corruption detection functionality.
--- End quote ---
I don't even know what Saver is. Shouldn't be surprising with such a generic name though.
elm:
Lol, using names of saving algorithms like everyone's heard of 'em..
aludane:
export() is my saver lool
Kalphiter:
--- Quote from: aludane on December 17, 2012, 03:49:26 PM ---export() is my saver lool
--- End quote ---
That gets clunky when the list grows and you're saving the entire list.
Axolotl2:
--- Quote from: Port on December 17, 2012, 12:05:13 PM ---I don't even know what Saver is. Shouldn't be surprising with such a generic name though.
--- End quote ---
Blame McTwist for calling it that. http://pastebin.com/H66gAR5C
Note that RPCore is public, but McTwist wants nobody to publish a changed version of its saver. This copy of Saver is untouched.
Also, I'm using a cascading psuedoquota autosaver:
--- Code: ---function AxoCity_EfficientSave(%i)
{
if(%i < 1)
%i = 1;
if(AxoCity.listOnline[%i] !$= "")
{
AxoCity_RPDB.saveKey(AxoCity_RPDB.listOnline[%i]);
schedule($AxoCity::Pref::Saver::SaveQuotaDelay, 0, "AxoCity_EfficientSave", %i + 1);
}
else
{
echo("... Finished saving");
return;
}
}
--- End code ---