Page 1 of 1
Bug in Augustine Quest
Posted: 22 Jan 2015, 05:08
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.
Re: Bug in Augustine Quest
Posted: 22 Jan 2015, 05:39
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.
Re: Bug in Augustine Quest
Posted: 22 Jan 2015, 07:11
by wushin
Patch Created
This should fix close getting the state out of order and make it easier to test said change on test.