Alright, open inquiry. I am a sometimes developer, so I get what's wrong, but not what to do about it as I'm still not fully up to snuff with the syntax.
PROBLEM
There's a bug in the game where, due to unknown circumstances, the lance/spear disappears from inventory completely. You can still actually do sneak attacks and hacking (Aloy still does the animations), but the actual weapon isn't there; thus you can't use it for side quests that require you use it to, for example, smash objects.
In my case the last time I clearly recall having it was doing the final strike to Hades. Once the final cutscene rolled and I was back in control, it was gone. So I had the thought of just re-adding it to inventory via script to get around the issue.
I read through the thread - and a script was posted for inventory
HERE. However that script doesn't execute, throwing the following:
The array of byte named aobGetFunctionAndParam could not be found.
In looking at the script, I verified that I don't find the second half of the array specified. But because I don't know what it corresponds to, I'm not sure it's the same as what I did find. The person that wrote the script did not leave any comments about what's what (which I normally recommend for this very reason).
So I suspect that they expected this to be a static thing, but it changed at some point. Which means it's fragile and should instead be pointed at something else.
QUESTION
What's the
best suggestion for this game as far as a static value to hook into? I'm basically asking for best practices. My plan is to take that advice and attempt to edit the script myself, which will help me learn the syntax.
I'M NOT ASKING FOR THE FIX. I'M ASKING FOR THE KNOWLEDGE OF HOW TO FIX.