Milasoft 202 Posted June 18, 2019 Those enum values aren't updated anymore. You will have to check them manually using player settings.
numberkarl 3 Posted June 18, 2019 int notStartedColor = 16711680; int inProgressColor = 16776960; int finishedColor = 901389; int sheepShearer = getQuestIndex("Sheep Shearer"); int textColor = getWidgets().getWidget(399).getChild(6).getChild(sheepShearer).getTextColor(); if(textColor == notStartedColor) { log("Quest has not been started"); }else if(textColor == inProgressColor) { log("Quest is in progress"); }else if(textColor == finishedColor) { log("Quest is finished"); } public int getQuestIndex(String questName) { WidgetChild[] quests = getWidgets().getWidget(399).getChild(6).getChildren(); for(int i = 0; i < quests.length; i++) { if(quests[i].getText().equals(questName)) { return i; } } return -1; } Here's a work around until fixed.
Lem0nz 33 Author Posted June 18, 2019 7 hours ago, Milasoft said: Those enum values aren't updated anymore. You will have to check them manually using player settings. That's a sad fucking story 😕 7 hours ago, numberkarl said: int notStartedColor = 16711680; int inProgressColor = 16776960; int finishedColor = 901389; int sheepShearer = getQuestIndex("Sheep Shearer"); int textColor = getWidgets().getWidget(399).getChild(6).getChild(sheepShearer).getTextColor(); if(textColor == notStartedColor) { log("Quest has not been started"); }else if(textColor == inProgressColor) { log("Quest is in progress"); }else if(textColor == finishedColor) { log("Quest is finished"); } public int getQuestIndex(String questName) { WidgetChild[] quests = getWidgets().getWidget(399).getChild(6).getChildren(); for(int i = 0; i < quests.length; i++) { if(quests[i].getText().equals(questName)) { return i; } } return -1; } Here's a work around until fixed. I appreciate that, saved me a couple of time +1 xD
Nuclear Nezz 2104 Posted June 18, 2019 I wasn't aware these were broken, I'll try to take a look at them today.
yeeter 539 Posted September 7, 2019 On 6/18/2019 at 4:33 PM, Nuclear Nezz said: I wasn't aware these were broken, I'll try to take a look at them today. were these ever fixed?
Nuclear Nezz 2104 Posted September 10, 2019 On 9/7/2019 at 2:20 PM, yeeter01 said: were these ever fixed? Oh my bad I'll work on this right now, I have some other fixes that need to be released as well.
yeeter 539 Posted September 10, 2019 2 minutes ago, Nuclear Nezz said: Oh my bad I'll work on this right now, I have some other fixes that need to be released as well. thank you nezz
Nuclear Nezz 2104 Posted September 10, 2019 1 hour ago, yeeter01 said: thank you nezz If you want to update client and test quests, they should be working now. (hopefully)
yeeter 539 Posted September 10, 2019 8 minutes ago, Nuclear Nezz said: If you want to update client and test quests, they should be working now. (hopefully) Out of the house currently but will give it a shot tonight. Thanks a ton for fixing that! Let's me remove some work arounds I made lol.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.