Author Topic: I'm making a CityRPG mod that doesn't use Iban's core scripts.  (Read 2666 times)

I actually am sort of a friend with Port, so he can help me in small cases.I want to keep using Saver. If somebody can show that Sassy 1.3 is less CPU intensive than Saver, then I might switch.

I bet Brian Smith can get the CPU test for you, him or Kalphiter/lube of someone's running the thing on a map host server.


What the hell is a sassy?

What the hell is a sassy?

The current mainstream CityRPG's saving system. Known for being stuff, created by Jookia. Sassy 1.3 made a big comeback imo.

I want to keep using Saver. If somebody can show that Sassy 1.3 is less CPU intensive than Saver, then I might switch.

I might write you a saving system if you could tell me how you intend to group/format the data you're going to be working with.

Why is everyone hesitant of me using Saver? It even has corruption detection functionality.

Why is everyone hesitant of me using Saver? It even has corruption detection functionality.

I don't even know what Saver is. Shouldn't be surprising with such a generic name though.

Lol, using names of saving algorithms like everyone's heard of 'em..

export() is my saver lool

export() is my saver lool
That gets clunky when the list grows and you're saving the entire list.

I don't even know what Saver is. Shouldn't be surprising with such a generic name though.
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: [Select]
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;
}
}
« Last Edit: December 17, 2012, 06:25:31 PM by Axolotl2 »

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: [Select]
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;
}
}

Lol, that's not really efficient in my opinion.

Lol, that's not really efficient in my opinion.
Better then for(){}ing it all at once.Oh wait I'm a dumbass and just remembered that for(){} requires less TS-to-machinecode compiling than what I used.
« Last Edit: December 17, 2012, 06:38:44 PM by Axolotl2 »

I'm basically 25% of what I should call the saving and economy support, all I need to do it test it out.

Ffs

Rediscovered that Komodo Edit for Mac has a memory leak when it has lots of tabs open.

This might delay AxoCity development until I am back.
« Last Edit: December 24, 2012, 03:04:33 PM by Axolotl2 »