176 - Garrison Inn - recruited a follower
It would be great to see SI track if each of my characters has recruited a follower from the inn this week.
| User | When | Change |
|---|---|---|
| slippycheeze | Dec 18, 2014 at 20:08 UTC | Create |
- 6 comments
- 6 comments
Facts
- Last updated
- May 03, 2015
- Reported
- Dec 18, 2014
- Status
- New - Issue has not had initial review yet.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 1
- Reply
- #6
joevt Sep 08, 2015 at 06:31 UTC - 0 likes@oscarucb: Go
I think that doing the query-less detection might be the only way.
First you would have to register for some recruiter events or patch some of the garrison recruiter calls to catch when the user accesses the UI and hires a follower.
Save a HiredDate variable which indicates the last time a follower was hired (or the last time the user checked the recruiter UI and couldn't hire a follower). You also need a CheckedDate variable (not saved) which indicates when the user last checked the UI since the last /reloadui.
When you check HiredDate, clear it if the week is different then the current week.
If there's a HiredDate, then you know a follower has been hired and SI can display a checkmark "√". If there isn't a HiredDate, then if there's a LastCheckedDate then display an "x", otherwise display an "?".
Data loss (or lack of data) would be indicated by the "?" character and can be corrected by visiting the recruiter UI.
- Reply
- #5
Bormes11 May 26, 2015 at 19:51 UTC - 0 likesMaybe the information in this thread can help? Not sure tho, I have very little coding experience.
http://www.wowinterface.com/forums/showthread.php?p=307848
- Reply
- #4
cremor Mar 29, 2015 at 09:05 UTC - 0 likesI just found that post, but haven't tried it myself yet: http://www.wowinterface.com/forums/showpost.php?p=307847&postcount=5
- Reply
- #3
oscarucb Feb 26, 2015 at 11:13 UTC - 0 likes<<reply 2494968>>
None of the C_Garrison functions I've tried can reliably query this (except for the special case of having the NPC recruitment dialog open, which doesn't really help)
Author/Maintainer of SavedInstances, RaidBuffStatus, Archaeology Helper, Avengers Nemesis Groups, IdiotCheck, and others..
- Reply
- #2
qktrolle Feb 24, 2015 at 14:47 UTC - 0 likes@oscarucb: Go
i belive this will return true if u can recruit followers from the inn
- Reply
- #1
oscarucb Dec 18, 2014 at 23:57 UTC - 0 likesI would also like this, but there is definitely no associated quest tracking flag, and I've not found another way to query this information from the server.
If someone finds a way to reliably query this info I will gladly add it.
It may be possible to do a query-less detection, but that has the significant downside that any data loss would result in it incorrectly showing that you hadn't done it when in fact you had, for up to a week, which could be really annoying.