· 10 years ago · Aug 25, 2016, 06:22 PM
11. SMSG_PLAY_SCENE needs to send SceneId, SceneInstanceId, Playbackflags, and SceneScriptPackageId
21.1 DB2 doesn't contain linkin between SceneId and SceneScriptPackageId, also no Playbackflags (probably need of new table)
31.2 SceneInstanceId is temp data maybe to identify which scene is running???? After relogg Scenes start with SceneInstanceId 1 again
4
5EXAMPLE:
6CREATE TABLE IF NOT EXISTS `scenes` (
7 `Id` int(10) unsigned NOT NULL,
8 `Flags` int(10) unsigned NOT NULL DEFAULT '0',
9 `ScriptPackageID` int(10) unsigned NOT NULL,
10 PRIMARY KEY (`Id`)
11) ENGINE=InnoDB DEFAULT CHARSET=utf8;
12
132. Hotfixes must be included (No idea how hotfixes work)
14
153. CMSG_SCENE_TRIGGER_EVENT sends a name of a ServerSide Script. These Scripts are unique.
16
17EXAMPLE:
18ClientToServer: CMSG_SCENE_TRIGGER_EVENT (0x3206) Length: 17 ConnIdx: 2 Time: 08/20/2016 23:36:21.391 Number: 13641
19SceneInstanceID: 1
20Event: CUEILLIDANTH <<<<<<< name of Script (here it's the speech of Illidan at beginning of a Demonhunter)
21
224. CMSG_SCENE_PLAYBACK_COMPLETE gives back the SceneInstanceID (to remove the Aura according to the Sceneß to save data to not play scene again??)
23
245. CMSG_SCENE_PLAYBACK_CANCELED gives back the SceneInstanceID (to restart??? or maybe to not save data??)
25
266. Spells trigger Scenes with this Aura SPELL_AURA_430
27SPELL_AURA_430 = SPELL_AURA_PLAY_SCENE
286.1 they are triggering SMSG_PLAY_SCENE by sending the SceneId which indicates the SceneScriptPackageID