Skip to content
Forum Archive

Fucking errors

9 posts

Raz#

Fucking errors

I want my ten seconds to save between the crash and winamp closing back.

Another wonderful random crash. Fuck.
TomyLobo#
hmm an autosave function would be nice...
and quite easy to code i think 🙂

if (modified) {
if (!lmodified) {
modt=t;
}
if (t-modt>300) {
saveAVS("autosave.avs");
//saveAVS should contain "modified=false;" somewhere
modt=t;
}
}
lmodified=modified;
hungryskull#
I want my ten seconds to save between the crash and winamp closing back.
I want it back to.
Tuggummi#
Didn't mean that Tomy 😞
Just making a note that if the nullsoft staff ever actually reads these or updates avs for that matter 😛
TomyLobo#
better than saving no code, huh?

and it wouldn't have to be the same filename as before but instead a fixed filename that is only used by autosave
maybe even multiple autosave files like
autosave1.avs
autosave2.avs
autosave3.avs
autosave4.avs
Those could be the recent 4 autosaves
Tuggummi#
Wasn't thinking about it that way (that it would save code that doesn't work), i just wouldn't want it to save on it's own at all.