Bug in Augustine Quest

Ask for help regarding any technical issue or report any bug or OS independent issues.


Post Reply
User avatar
deepthought
Warrior
Warrior
Posts: 314
Joined: 01 Sep 2014, 10:32
Location: India

Bug in Augustine Quest

Post by deepthought »

I have recently noticed a bug in Augustine's Quest. I was making winter gloves and gave enough white furs to him and he said you need gp and when i brought gp, he started asking for white furs aagain for samw winter gloves. Weird.
I'm as cool and comforting as the porcelain tiles on your bathroom floor during an evening of vomiting.
User avatar
wushin
TMW Adviser
TMW Adviser
Posts: 1759
Joined: 18 Dec 2012, 05:56
Location: RiverBest, Brew City, Merica
Contact:

Re: Bug in Augustine Quest

Post by wushin »

The problem is in how it sets the quest player permanent quest var in the furquest script.

Furquest Source

The script relies on L_Close to set the quest state, but there are a couple of places were that might not reliably happen if you disconnect or something.

Code: Select all

L_Close:
    set QUEST_WG_state, (QUEST_WG_state & ~(BYTE_0_MASK) | (@wg_state << BYTE_0_SHIFT));
    set @wg_state, 0;
    close;
The bitmasking part on the end should at least be broken out into a sub-function.
The secret to getting all the important stuff done is doing nothing.
User avatar
wushin
TMW Adviser
TMW Adviser
Posts: 1759
Joined: 18 Dec 2012, 05:56
Location: RiverBest, Brew City, Merica
Contact:

Re: Bug in Augustine Quest

Post by wushin »

Patch Created

This should fix close getting the state out of order and make it easier to test said change on test.
The secret to getting all the important stuff done is doing nothing.
Post Reply