Restarting a combat upon interruption - ID: 235

From Silversword RPG Wiki
Revision as of 12:37, 9 March 2024 by en>sswikiadmin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FORUM: Bug Reports

This topic was started by mike32 on 25/12/2011, 16:03:36

I've encountered a weird behaviour when I'm in a combat and my iDevice goes to sleep. (or if I multitask)

Upon opening the game, combat is restarted but:
- hp lost during the combat are not restored when the combat is restarted
- thrown weapons before the interruption are not recovered when the combat end

It would also be better if combat state was remembered (for long combat against a lot of monsters).


Hello mike,

Thank you for your message.
As the combat state is not saved upon game interruption, but the party is, this behaviour occurs.
Perhaps I can fix this in a future update. Up to then, make sure that you don't switch to another task / standby your device as long as a battle lasts.

Regards
Mario


I hope you'll be able to fix it soon.

It may not be an issue when playing long session on a ipad.

But on an ipod or on an iphone, you play for short session. And you don't always control when interruption happens. (a phone call, your train is coming, ...)


Could you consider implementing a work-around until you correct the problem ?

An easy way, would be to save before a combat and stop saving when in a combat.


Hello mike,

with update 2.04 (coming in about two weeks i guess) I will keep the game in a paused state upon multitasking / sleeping.
At the beginning of the pause, the game state is saved.

If the game is removed from memory by the system, it will shut down and reload at that saved state point upon restarting.

As long as the game stays in memory, you will be fine with interrupted combats.
If it is removed - the combat state won't be saved, so please beware.

This approach should work in most situations.
In addition I will think about saving a pre-combat state which will be restored when the game was killed during a fight.

Regards
Mario