Milasoft 202 Share Posted June 18, 2019 Those enum values aren't updated anymore. You will have to check them manually using player settings. Link to comment Share on other sites More sharing options...
numberkarl 3 Share 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. Link to comment Share on other sites More sharing options...
Lem0nz 33 Author Share 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 Link to comment Share on other sites More sharing options...
Nuclear Nezz 2061 Share Posted June 18, 2019 I wasn't aware these were broken, I'll try to take a look at them today. Link to comment Share on other sites More sharing options...
yeeter 528 Share 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? Link to comment Share on other sites More sharing options...
Nuclear Nezz 2061 Share 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. Link to comment Share on other sites More sharing options...
yeeter 528 Share 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 Link to comment Share on other sites More sharing options...
Nuclear Nezz 2061 Share 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) Link to comment Share on other sites More sharing options...
yeeter 528 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.