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 quest target 5929 #221

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

add quest target 5929 #221

wants to merge 3 commits into from

Conversation

journeym
Copy link

No description provided.

@journeym
Copy link
Author

journeym commented Nov 26, 2023

Please can you check what am I doing wrong?
Im trying to add an objective marker for quest https://database.turtle-wow.org/?quest=5929
for an npc Great Bear Spirit https://database.turtle-wow.org/?npc=11956

@shagu
Copy link
Owner

shagu commented Nov 26, 2023

Hi, the problem is that manually adding things into the database, would revert it the next time I auto-generate the data.
I just fixed the druid bear quest for turtle wow using the overwrites: shagu/pfQuest-turtle@e311e76

For pfQuest itself, there's no overwrites yet, and it would be preferred to teach the extractor.lua how to detect it.

@journeym
Copy link
Author

I dont get it
Quest is not exclusive to Turtle wow
https://www.wowhead.com/classic/quest=5929/great-bear-spirit
Whats the point in making chages to turtle quest module?
Yes, after your chages everything started working, but i still dont understand the structure needed to add quests, is this explained somewhere, because my solution didn't work form me for some reason.

@shagu
Copy link
Owner

shagu commented Nov 27, 2023

I added it there, so that at least turtle-wow users see it for now (which i think is better than nobody seeing it).

pfQuest doesn't yet have an overwrites.lua that would allow to patch the auto-generated database.
To have that quest in pfQuest you'd need to update https://github.com/shagu/pfQuest/blob/master/toolbox/extractor.lua so that it picks up the proper data from the VMaNGOS database.
(Or introduce an overwrites.lua to pfQuest that allows to perform hacky additions to the database.)

How the database is built each time CMaNGOS or VMaNGOS adds new major changes, is explained here:
https://github.com/shagu/pfQuest/tree/master/toolbox

@shagu
Copy link
Owner

shagu commented Nov 27, 2023

but i still dont understand the structure needed to add quests, is this explained somewhere, because my solution didn't work form me for some reason.

Maybe you picked the wrong quest ID? There are two of them, one for alliance and one for horde (5929 and 5930).
The syntax looks okay to me, so it should have worked if you used the correct faction.

@Artur91425
Copy link
Contributor

Artur91425 commented Feb 5, 2024

Or introduce an overwrites.lua to pfQuest that allows to perform hacky additions to the database.

Very good idea. Add this file to make it easier for users to modify and add data to the database.

Temporary manually fixes can be integrated into this file and subsequently analyzed to correct errors and improvements extractor.lua

@Artur91425 Artur91425 mentioned this pull request Feb 9, 2024
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.

3 participants