Hello guys,
I wanted to create some interactives events (like Ahhn'Qiraj war effort in classic or Shattered sun offensive in tbc) and I got a look at Game_event_condition and Game_event_quest_condition, first, they're empty in TLK 3.3.5 for TrinityCore but let's be honest, it doesn't look that hard.
So first I created a Game_Event for the test with the ID 35 (nothing is here for me)
I have set the "world_event" field on 1, and I have added some random big fires into the event, to get a visual information if Yes or No the event is active.
Then I used an old quest (entry : 66016) wich is repeteable as a quest reference for Game_event_quest_condition and I filled the fields like that :
eventEntry = 35 | quest = 66016 | condition_id = 50 | num = 1
Then same goes for Game_event_condition like that :
eventEntry = 35 | condition_id = 50 | req_num = 2 | max_world_state_field = 4000 | done_world_state_field = 5000 | description = test
And when I restart the server and try to go on the NPC to do the quest : Nothing.
With the informations i've added in the tables, I should see the event 35 appear when I complete the quest 66016 two times.
But even if I complete it one time and go into the Characters.game_event_save, it's empty...
I tried many things without any ideas and Google is pretty cheap in informations about the Game_event_condition system, I even installed a Vanilla and TBC database to check on it if something was going to help me but.. Nope.
So, if someone know anything about that, it would be pretty neat to be able to understand how it works, or why it didn't.. At this point I'll take everything.
Regards !
[EDIT : Solved through eluna code]