EDIT: ScreencapStart up openmw.
player->additem "Gold_001" 11
Talk to someone, go in the persuasion menu and bribe 10 gold.
For me, the persuasion window doesn't close, the gold doesn't update (still says 11 Gold).
Without closing the menu, bribe 10 gold again.
Exit persuasion menu and open it again. Should say you have -9 gold.
- Spoiler: Show
I wrote a fix for it at https://github.com/zinnschlag/openmw/pull/460.
This basically hides the window before calling the persuade function in the dialogue manager. I will get back to this.
It also adds an assert in the add remove gold function that catches attempts at setting gold to a negative amount.
However, this doesn't fix the underlying issue of: why doesn't the persuasion window hide?
The code is there, it gets called and Zinni says that he can't replicate my bug; that it functions as expected for him.
I noticed that when I choose a persuasion option I get a the following messages:
Code: Select all
Error in framelistener: Object 'sAdmireFail' not found (const)
Error in framelistener: Object 'sAdmireSuccess' not found (const)
Error in framelistener: Object 'sIntimidateFail' not found (const)
Error in framelistener: Object 'sIntimidateSuccess' not found (const)
Error in framelistener: Object 'sTauntFail' not found (const)
Error in framelistener: Object 'sTauntSuccess' not found (const)
Error in framelistener: Object 'sBribeFail' not found (const)
Error in framelistener: Object 'sBribeSuccess' not found (const)
I traced the problem down to this call (pps/openmw/mwdialogue/dialoguemanagerimp.cpp:469):
Code: Select all
MyGUI::LanguageManager::getInstance().replaceTags("#{"+text+"}")
Here is what I am running:
- Spoiler: Show