Jump to content

Trying to fix Lost Dues In Good Faith Bug.


Recommended Posts

Have run into this bug on a recent version of the game, and I am trying to make a fix.

Essentially if you take the quest from Khan then head to Oathbinder's Sanctum, interrupt Oswald's trial, but let the Steel Garrotte proceed his execution. You are rewarded with 1400 copper, and at the end of the conversation teleported to the entrance chamber. This is where the problem occurs as to progress to the next stage of the quest you need to go back to trial chamber and search Oswald's body. From what I can tell the script that should set the variable "b_10_erol_body_searched" to "1" (True) when interacting with the corpse, doesn't activate when interacting with the loot pile that has replaced it with the scene changed.

If you let the trial playout without interrupting it, then search the corpse the script will activates just fine though.

Is there someway to maybe set it so a script will also trigger when searching this instance of the loot pile?

Currently the only potential workaround I've come up with is to set following script on the Drunkard's Regret ring on his corpse, that activate once the item is picked up.

{
    "GameDataObjects": [
        {
            "$type": "Game.GameData.EquippableGameData, Assembly-CSharp",
            "DebugName": "Ring_U_Drunkards_Regret",
            "ID": "8e0aa96f-1726-43aa-8d67-a3a1c3816cdd",
            "Components": [{
                    "$type": "Game.GameData.DataScriptEventComponent, Assembly-CSharp",
                    "Scripts": [{
                            "Event": "OnItemCollected",
                            "Script": {
                                "Conditional": {
                                    "Operator": 0,
                                    "Components": []
                                },
                                "Scripts": [{
                                        "Data": {
                                            "FullName": "Void SetGlobalValue(String, Int32)",
                                            "Parameters": ["b_10_erol_body_searched", "1"],
                                            "Flags": "",
                                            "UnrealCall": "",
                                        },
                                        "Conditional": {
                                            "Operator": 0,
                                            "Components": []
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ]
}
Edited by Kvellen
  • Like 1
Link to comment
Share on other sites

  • Kvellen changed the title to Trying to fix Lost Dues In Good Faith Bug.
  • 2 weeks later...

Decided to change this to a scripthook instead. Since that will account for the cases where the Drunkard's Regret is already collected and will also check if Oswald is dead. The only outlier remaining I could see is a situation where the ring was sold or lost some how before the scripthook is used. 

{
    "GameDataObjects": [
        {
            "$type": "Game.GameData.ModScriptHookGameData, Assembly-CSharp",
            "DebugName": "Erol_Searched_Modscript",
            "ID": "d7891c14-b47e-4b71-9557-fbf10382f6e3",
            "Components": [
                {
                    "$type": "Game.GameData.ModScriptHookComponent, Assembly-CSharp",
                    "RunOnlyOnce": "false",
                    "SucceedOnlyOnce": "true",
                    "Script": {
                        "Conditional": {
                            "Operator": 0,
                            "Components": [
                                {
                                    "$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
                                    "Data": {
                                        "FullName": "Boolean IsGlobalValue(String, Operator, Int32)",
                                        "Parameters": ["n_Erol_State", "EqualTo", "3"],
                                        "Flags": "",
                                        "UnrealCall": "",
                                    },
                                    "Not": false,
                                    "Operator": 0
                                }, {
                                    "$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
                                    "Data": {
                                        "FullName": "Boolean IsItemCount(Guid, Operator, Int32)",
                                        "Parameters": [
                                            "8e0aa96f-1726-43aa-8d67-a3a1c3816cdd", "GreaterThanOrEqualTo", "1"
                                        ]
                                    },
                                    "Not": false,
                                    "Operator": 0
                                }
                            ]
                        },
                        "Scripts": [
                            {
                                "Data": {
                                    "FullName": "Void SetGlobalValue(String, Int32)",
                                    "Parameters": ["b_10_erol_body_searched", "1"],
                                    "Flags": "",
                                    "UnrealCall": "",
                                },
                                "Conditional": {
                                    "Operator": 0,
                                    "Components": []
                                }
                            }
                        ]
                    }
                }
            ]
        }
    ]
}

Interesting bit of trivia, all variables to do with Oswald use the name "Erol", and hint that at some point during development this quest would have been about the original owner of the Goose and Fox Tavern from PoE1. There is an unused quest item called Erol's Ring which is described as : "A simple band of gold with the words "Goose and Fox" written on the inside." In PoE1 Bishop (the current owner) mentions that Erol fled after getting into an argument with a Thayn during a debate.

Edited by Kvellen
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...