Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Sometimes it works and sometimes it doesn't...
Sometimes it works and sometimes it doesn't...
2004-04-18, 1:38 AM #1
The command SetActorFlags(player, 0x400000); is used to fade the screen to black and restore the previous save. It's really useful for non-violent demises. Unfortunately, although it always fades to black, it doesn't always restore the last save; sometimes it just crashes the game. Is this a flaw of the save?


------------------
Rites of Xanthus

The TC that exacted a terrible toll on my time and eyesight.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2004-04-18, 10:07 PM #2
Just a thought, but I'm sure I remember an AutoSave() cog verb somewhere (or something similar - I don't have the DataMaster to hand...) - have you tried using that verb before you start the event/cutscene? [http://forums.massassi.net/html/smile.gif]

That said, I'm sure I've seen this particular problem before - I just wish my memory wasn't so bad [http://forums.massassi.net/html/rolleyes.gif]...

Anyways, hope this (sort of) helps [http://forums.massassi.net/html/biggrin.gif]

-Jackpot

------------------
"lucky_jackpot is the smily god..." - gothicX

"Life is mostly froth and bubble,
But two things stand in stone,
Kindness in another's trouble,
Courage in your own"
("Ye Wearie Wayfarer" - by Adam Lindsay Gordon)
"lucky_jackpot is the smily god..." -gothicX
"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
- "Ye Wearie Wayfarer"
|| AI Builder: compatible with both JK & MotS || My website ||
2004-04-19, 3:48 AM #3
With certain mods, if you die (all deaths) and load the level, it will crash the game. I don't know why on that, but I'd guess it'd be similar. No idea.

------------------
Major projects working on:
SATNRT
JK Pistol Mod
Aliens TC
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2004-04-19, 7:34 AM #4
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Descent_pilot:
With certain mods, if you die (all deaths) and load the level, it will crash the game. I don't know why on that, but I'd guess it'd be similar. No idea.</font>


Static.jkl. If your mod contains a static.jkl, you can be sure that dieing will kill the game.

------------------
I used to believe that we must fight the future, lest change come without our consent. I was wrong. The truth is that we must embrace the future, for only with change can we remain the same.
And when the moment is right, I'm gonna fly a kite.
2004-04-19, 11:17 AM #5
Are you sure GBK? I thought it was only that way with saving (generally speaking -- Goldeneye crashes the game for me in Derra IV when I try to respawn)

Besides, only on rare occasions has my game crashed after dying/respawning when using a mod with a static.jkl. I haven't experimented too much, but mods I'm working on (many have static.jkl) do not crash when I die, and neither do a lot of other mads I've played with. I can even quicksave and when I die it'll reload that save with no problems.

jackpot's idea makes sense. But then, setting the flag w/o a save in the level would probably just restart you at the begininning, like regular JK does. That's what I'd expect anyway.

But try AutoSave()-ing before the cutscene and see if JK crashes. If it seemed to fix the problem, you could just do an AutoSave() at startup, so you would have a save.

------------------
Bond, Power, CA, The Force, Saber, IC, Epic, Oily Mexican Food, BG, /\ |> /\ /\/\, Sentences.
Now you know where I've been.

[This message has been edited by Darth Slaw (edited April 19, 2004).]
May the mass times acceleration be with you.
2004-04-20, 9:59 AM #6
Yes, but certain bad values in a static.jkl can kill the game. It really depends, and it's hard to tell what works/what doesn't.

------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz
2004-04-23, 5:55 PM #7
I do use autosavegame. I think the problem arises when the player quicksaves on his own.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2004-04-23, 7:33 PM #8
If that's the case, you'll have to tell your player not to save, or face the consequences [http://forums.massassi.net/html/wink.gif].

------------------
Bond, Power, CA, The Force, Saber, IC, Epic, Oily Mexican Food, BG, /\ |> /\ /\/\, Sentences.
Now you know where I've been.
May the mass times acceleration be with you.

↑ Up to the top!