Hi,
I'm trying to store running effects (spells, buffs...) to
persistant storage (disk, sql), so that when a player logs out after having drunk an expensive potion that should last an hour, he/she still gets the remaining time after relogging.
My system uses lua to implement effects and stores them under a runtime ID at runtime. Since some effects have scripts (with pauses in them), i'm at a loss on how to store this.
How does Aardwolf mud do this?
The same would hold for quests (kill x/x mobs, etc)
I'm trying to store running effects (spells, buffs...) to
persistant storage (disk, sql), so that when a player logs out after having drunk an expensive potion that should last an hour, he/she still gets the remaining time after relogging.
My system uses lua to implement effects and stores them under a runtime ID at runtime. Since some effects have scripts (with pauses in them), i'm at a loss on how to store this.
How does Aardwolf mud do this?
The same would hold for quests (kill x/x mobs, etc)