Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Everlasting Horn of Lavaswimming (toy) to the database #599

Merged
merged 2 commits into from
Aug 12, 2023

Conversation

cyriun
Copy link
Contributor

@cyriun cyriun commented Aug 6, 2023

adding Everlasting Horn of Lavaswimming toy. Too get a more accurate tracking on this toy you would have to track the event completion but for now its tracked by killing the mob "Inferna the Bound" at the end of the event "Siege on Dragonbane Keep".

@cyriun
Copy link
Contributor Author

cyriun commented Aug 6, 2023

been a few months since i've contributed on here so let me know if im missing anything, thanks

@rdw-software
Copy link
Member

Thanks! There's probably a better way to track this that also works if you don't actually loot the boss. The comments on wowhead say that the item can be obtained by just AFKing, which to me indicates that it's probably tied to the scenario itself.

We can still use this and improve the detection later, though, if anyone wants to check the event ingame (using /etrace).

@cyriun
Copy link
Contributor Author

cyriun commented Aug 6, 2023

yes i would say also tracking the container is better than the boss because then you still get an attempt from afking the event but i had just copy pasted the ids from an import string haha

@rdw-software rdw-software linked an issue Aug 8, 2023 that may be closed by this pull request
@rdw-software
Copy link
Member

Did you still want to implement the scenario detection I outlined in #514, or should I just push my version?
I really don't want to discourage you from experimenting and learning, so feel free to give it a try (it's just one extra function).

If you want to take a look, here's what I did: wip-pr-599 (Ideally, use only for cross-referencing)

@cyriun
Copy link
Contributor Author

cyriun commented Aug 9, 2023

yeah i could take a look and ive been trying to but i think the event only happens ever 2 hours or so and i keep missing it due to having other stuff to do.

@rdw-software
Copy link
Member

No problem, completely up to you. Just let me know when/if we can merge this (or my version, whichever you prefer).

@cyriun
Copy link
Contributor Author

cyriun commented Aug 9, 2023

is line 60 relevant for debugging or the tracking altogether?

@rdw-software
Copy link
Member

is line 60 relevant for debugging or the tracking altogether?

What line is that? If it's RegisterEvent, then yes: https://wowpedia.fandom.com/wiki/API_Frame_RegisterEvent

@cyriun
Copy link
Contributor Author

cyriun commented Aug 9, 2023

ok yes so i think thats where mine went wrong, i seen "self:RegisterEvent("QUEST_TURNED_IN", "OnQuestTurnedIn")" and used that but i think it should've still worked so im not sure

@cyriun
Copy link
Contributor Author

cyriun commented Aug 9, 2023

ok nvm the onquestturnedin function does work, i must have done something else wrong last time i tried it

@cyriun
Copy link
Contributor Author

cyriun commented Aug 9, 2023

No problem, completely up to you. Just let me know when/if we can merge this (or my version, whichever you prefer).

whichever one you think works better, they probably are pretty much the same though, from my understanding

Copy link
Member

@rdw-software rdw-software left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to modify the existing OnQuestTurnedIn handler if you want to use that event :)

Core/EventHandlers.lua Outdated Show resolved Hide resolved
Core/EventHandlers.lua Outdated Show resolved Hide resolved
@cyriun cyriun marked this pull request as ready for review August 10, 2023 16:23
@rdw-software
Copy link
Member

Merging with some cosmetic changes (streamlined commit history and removed an outdated comment). Thanks!

@rdw-software rdw-software changed the title Add lavaswimming toy to database Add Everlasting Horn of Lavaswimming (toy) to the database Aug 12, 2023
@rdw-software rdw-software merged commit f26ff21 into WowRarity:master Aug 12, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tracking for Everlasting Horn of Lavaswimming
2 participants