matt.chugg
Moderator
Thanks, Bale. Saves me some work.
roippi are you working on this? I can't find the patch I started making it may be on my other computer.
in my head (not always a clear place!) This could be a whole new class in java that has a (java equivalent) of a collection of questStatuses
A questStatus collection item (class?) would consist of an information string (what to look for), a setting name string, a value to set the setting if the string is found and a pagename
Several functions based on the page name could loop thorugh the relevant collection (eg the collection of concil responses, OR the collection of questlog responses, or the collection of adventure results texts) setting the preference IF its different to the one it is currently set to.
Then each request could call QuestTracker.ParseXXXXresponse (eg CouncilRequest.java could call questTracker.ParceCouncilResponse, and AdventureRequest could call QuestTracker.ParseAdventureResponse)
If questTracker.parseXXXXresponse checked the preference before updating it, would it be possible to add a hook to call an ash script like QuestStatusChanged(questname, new status) ?
I know how i'd write this in .net, but i'm afraid my Java knowledge just isn't good enough to set any of this up, although i'm happy to populate the collections if it was set up by someone better than me, also apologies if my terminology isn't right!
@rinn, i'm sure I have the patch in post #19 updated to the castle in the clouds quest, but it may not be the right way to do this
Last edited: