TrinityCore/TrinityCore — Issue #4542: Char cinematics fail if char not in start zone
Author: MrSmite
Created: 2011-12-30 21:13:53+00:00
State: open

OS: XP Sp3
Core: d3a7ac5d7dad8f3677de8b69d29ffbe36deb51dd (all actually)

Problem:

This is a strange one I stumbled on while trying to record the character intros.

If you flip the DB flag: `characters`.`cinematic` to 0 to force the intro cinematic to play, when you log the character in if they are not in their starting zone then the cinematic will show nothing but the sky (no buildings, trees, landscapes or NPCs).

To replicate:

1) Create two Night Elves
2) Log them in and let the cinematic play through
3) Move one to Stormwind, leave the other in Teldrassil
4) Exit the game
5) Flip the flag in the DB for `characters`.`cinematic` from 1 to 0 so the cinematic will replay (no need to stop the server)
6) Restart the game
7) Log in the character in Stormwind. Notice the cinematic is blank except for the sky
8) Log in the character in Teldrassil. Notice the cinematic plays normally

Suggestion:

For admins to force the cinematic to replay, characters will need to temporarily be relocated to their starting zone and then moved back to their actual save location after the cinematic plays.

Adding three new fields to `characters`: `def_position_x`, `def_position_y`, `def_position_z` would allow the core to quickly bounce the character between saved location (position_x, etc.) and default location (def_position_x, etc).