Decane / SRP

Sky Reclamation Project for S.T.A.L.K.E.R.: Clear Sky
http://www.moddb.com/mods/srp
124 stars 20 forks source link

Level restrictions stopped working #105

Closed vlad54rus closed 4 years ago

vlad54rus commented 4 years ago

Playing on latest SRP and just noticed that you can go to any other levels (Agroprom, Agr.Underground, Red Forest, Army Warehouses) right from the start without any restrictions. ss_Владислав_04-23-20_17-17-28_(military)

Decane commented 4 years ago

I believe you can do that even in vanilla, as soon as you reach the Cordon?

Update: Oh, wait - your active mission is mar_story_go_to_escape ("Go to the Cordon with the guide"), at which point you are not supposed to be able to reach other maps.

Decane commented 4 years ago

I just checked, and I am unable to leave the Swamps without a guide when my active task is "Go to the Cordon with the guide".

@vlad54rus

vlad54rus commented 4 years ago

I checked it again and now it worked as it should. Currently i am playing on SRP + some config changes (weapon/ammo damage, psi-health restoration speed, demo_record camera speed) and for some reason all saves i made have unlocked level changers. savedgames.zip

Decane commented 4 years ago

@vlad54rus Thanks for the saves. A few questions (and some observations):

Is your 1.sav actually a renamed autosave originally created while you were in conversation with Suslov?

The save's thumbnail, 1.dds, shows you having a conversation window open with Suslov. And the dialogue in the conversation window suggests you had just been given the starting equipment when the save was created.

Yet, when I load 1.sav, I have the starting equipment in my inventory. And if I then speak to Suslov, he offers me the starting equipment - a second time.

My guess is that your game auto-saved itself just when Suslov offered the starting equipment and the game got glitched by that somehow.

Do you remember anything unusual happening during that dialogue?

SurDno commented 4 years ago

I've had thumbnail being very different from the actual place/moment I took a save, for reason unknown.

Can you take screenshot of dialogue history window?

@vlad54rus, have you, by any chance, reproduced #79?

SurDno commented 4 years ago

Leaving the dialogue early would not give the infoportion called mar_intro_talk_with_guide_started which would make it impossible to travel to Swamps since Trodnik would refuse to guide you unless you do what Lebedev says, so it's impossible to continue storyline even if something happened to the dialogue, intentionally or not.

SurDno commented 4 years ago

Also, I just checked with Cheat Engine speedhack set to x500 speed, and autosave never happens while you're in the dialogue window, no matter how much time you spend in it. As soon as I closed it, I started getting autosaves normally.

vlad54rus commented 4 years ago

@vlad54rus, have you, by any chance, reproduced #79?

Yes i did, just to get more money early, then continued as usual.

Decane commented 4 years ago

@SurDno

I just checked with Cheat Engine speedhack set to x500 speed

I'm not sure that's a reliable way to test it. On the contrary, I'm pretty sure I once tested this by lowering the autosave interval in alife.ltx and then having a dialogue window open and autosaves happened mid-conversation. I even wrote a comment alluding to this possibility in task_manager.script, on the basis of my experiments:

An autosave while the player has the random task dialog open would erase the
entity IDs of any tasks of the aforementioned types that have by then been
allocated for player selection in that dialog by task_dialogs.squad_has_capture_tasks().
That would spell trouble, so this block is run only if the dialog window is closed.

Update: Yep, just tested again - this time from 1.sav with alife.ltx settings:

    autosave_interval           = 00:00:30
    delay_autosave_interval     = 00:00:05

Confirmed - an autosave got created 30 seconds after I loaded the save, while I had a conversation window open with Suslov.

Decane commented 4 years ago

Can you take screenshot of dialogue history window?

Not sure which of us this was addressed to, but here:

Screenshot5259

Notice how the dialogue history implies that the save was created before vlad54rus responded to Suslov giving him the equipment ("Thanks. Hey, is it always this stressful here?").

SurDno commented 4 years ago

But does it matter if: a) he already told you that he purposefully reproduced #79 to get more money early; b) even if he did quit the dialogue early, there is no way he could then leave CS base so he had to finish the dialogue normally at least once anyway.

vlad54rus commented 4 years ago

I guess i figured it out. For some reason system.ltx that i extracted from .db files and used to change camera properties was missing "script_binding = bind_level_changer.bind" in [level_changer] section. Probably because of wrong .db exctration order, so that is completly my fault and not SRP related.