Switch Phase on Quest reward


i am about to Code Gilneas, but i can’t get the Phase shift done, after the 1st Quest. I always have to manually change the Phase, which is not good…

I tried several different things and my last Try was this:

INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags, event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3, action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment)
(34863, 0, 0, 0, 20, 0, 100, 0, 14078, 0, 0, 0, 44, 2, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, ‘set Player to Phase 2’);

But that doesn’t works :s I really need help on this /emoticons/default_sad.png





We had the same problem some time ago and didnt found a solution for this.
Somewhere in the forum should be the Thread about this.

Check the phase_definitions table + conditions (There’s a pinned post about it somewhere on the forums), also, please hop onto the IRC #trinity on rizon.

I just did… /emoticons/default_smile.png Thread can be closed, works perfectly, if you do this via c++ /emoticons/default_smile.png

void UpdatePost();








The phase_definitions system is the best solution for phases.

C++ or SmartAI is too hacky for switching phases and causes too much problems.

Thank you, i was looking for this too /emoticons/default_biggrin.png