Create a quest guide

Hello. This isn’t a problem per say, but hopefully some level of solution, but first, I am wondering, is there any new Truice style applications? I have checked around the forums, and it seems like there are no new quest editors.

I was hoping to create a quest planner so we can start putting in some of the quests in the 6.x branches, but, I have a different problem. While I can look at the code in Truice, even looking up the documents in the wiki, I am lost on how to start making quests for Trinitycore. Can anyone explain, or give an example (or best, both?), of how we would implement a quest? Sorry, I am still just learning (currently VB.NET), but feel if I can understand the quest flow, then I will be able create a tool to help populate the new build with some quests. Not sure I will use the delphi, since I have no experience in that, but I might be able to create something using VB or another language.

— Canned message start —

This thread is not related to the official Trinity codebase and was moved to the Custom Code section.

Please read the stickies next time.

— Canned message end —

you need the following tables:

locales_quest-> multiple translations

quest_poi, quest_poi_points-> minimap markers

quest_template-> the quest itself

creature_questender, creature_queststarter-> self explaining

this is how it worked till 4.3.4, now there are a lot more quest related tables like quest_creature_greeting, quest_details, quest_greeting, quest_objectives, quest_offer_reward, quest_requested_items, quest_template_addon, quest_visual_effect

I do ot know exactly if they are needed or what they do, just try playing around a bit,

hope this helped

Take a look at WIde, it supports building of amazing clean queries just through simple entities, but its still work in progress.

Its very easy to use (Java & OSGI), you could add your own GUI with JavaFX or Swing.

This is a simple example that shows how to read & edit database entities (in this case creature_template but you can also use every other database table).

After your work is done you can create sql queries.

But its still work in progress.

EDIT: I added a new example that shows how to modifify quest templates (set prev & next quest id) and creates a new quest.

@Naios Thanks for the info. Trying to get it up and running (the jdk is taking forever to download).

The next question is, how do I actually submit my quests to Trinity? I know how to do pulls, etc, but I do not completely understand how trinity is built (I understand the directions to build, but mostly I have worked with quests in lua format in the past, so not sure where to actually put the quests to put in the Trinity pull request)

Do I just take my generated file, and put that in the world database updates, since from your examples, it looks like it generates SQL, not code, or do I need to modify my output before I try to submit to Trinity?

SQL is code /emoticons/default_smile.png

If your fix changes C++ code, create a pull request with the changes.

If it’s only SQL, simply create an issue with your SQL code (or comment an existing issue with your fix if the issue already exists).