Id to send the opcode to play a movie menu

User Tag List

Results 1 to 8 of 8
  1. #1
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Id to send the opcode to play a movie

    Basically I am replacing the long boring intro on login to the wraith gate cinematic.
    In character handler I have made this:

    Code:
        if(plr->m_FirstLogin)
        {
            uint32 introid = 22031; // cant find correct id for wraith gate
    
    #ifdef USING_BIG_ENDIAN
            swap32(&introid);
    #endif
    //        OutPacket(SMSG_TRIGGER_CINEMATIC, 4, &introid); // don't need this - were using movie not cinematic
            OutPacket(SMSG_TRIGGER_MOVIE, 4, &introid); // no idea if this will work  - my fail C++ skillz
    Basically changed the intro id and the opcode.
    I have no idea what the "4" in the opcode means though.

    Browsing through loads of DBC's I have come up with a list of about 5 possible id's, playing them through this code all of them did not work.
    I'm asking if anyone knows the correct Opcode formula or the correct id for the wraith gate cinematic.

    DBCs I have browsed and looks possible:

    - CinematicCamera
    - CinematicSequences
    - Move
    - MovieFileData
    - MovieVariation
    - FileData


    The movie ones + file data seem to be the ones most likely to have the id, but I cant seem to get it to work! Probably my fail C++ skills.

    Thanks in advance.
    Also I figured to post in here since this is more to do with emulation than DBC editing (model editing section).
    Last edited by stoneharry; 05-25-2009 at 03:01 PM.

    Id to send the opcode to play a movie
  2. #2
    Iaccidentallytwink's Avatar Elite User
    Reputation
    591
    Join Date
    Aug 2007
    Posts
    1,020
    Thanks G/R
    1/16
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So what exactly happens? You say you can't get it to work, does it just skip the intro completely, or does it black out, or something else?


  3. #3
    Dythzer's Avatar Contributor
    Reputation
    271
    Join Date
    May 2008
    Posts
    461
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IDs for SMSG_TRIGGER_MOVIE can be found in Movie.dbc (first column). The one you're looking for is 14.

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I tried 14 and the only thing that happened was it went straight into game (didn't play the movie/intro or anything). =/
    Same problem with all the id's I have tried (sorry for long time reply i was asleep
    )

  5. #5
    Dythzer's Avatar Contributor
    Reputation
    271
    Join Date
    May 2008
    Posts
    461
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    I tried 14 and the only thing that happened was it went straight into game (didn't play the movie/intro or anything). =/
    Same problem with all the id's I have tried (sorry for long time reply i was asleep
    )
    Well, the ID is correct (tested with mangos debug command) so something else must be wrong. You might need to move it down to the bottom of the login function to let the character completely load first.

  6. #6
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Alright - Know I know 14 is the exact id I can play around with it easier, +Rep

    Edit: Once you get in game, the sound does not work at all and the mouse dissapears. The rest is normal, any ideas?
    I cant even get it to play in game using: ".debug sendpacket SMSG_TRIGGER_MOVIE 4 14" and variations of this

    Edit2: It appears my DBC's are not up to date or something since it's not in that DBC only the WoW main intro and logo.

    See screenshot of my DBC file (for 3.1 and 3.0.9 it's same what I extracted so far)

    http://i42.tinypic.com/a5esmf.jpg

    Last edited by stoneharry; 05-26-2009 at 06:25 AM.

  7. #7
    Dythzer's Avatar Contributor
    Reputation
    271
    Join Date
    May 2008
    Posts
    461
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Mine looks the same and it works for me (in mangos), even tested at login.

    Anyway, I just checked arcemu source code and it's a bit different, it looks like you need to use OnPushToWorld() in Player.cpp.

    So try add the opcode after if(m_FirstLogin) { in OnPushToWorld() and see if it works. It's probably the same in aspire/hearthstone if you're using that.

    EDIT:
    there's already an existing function for playing movies: SendTriggerMovie(), you should use it.
    Last edited by Dythzer; 05-26-2009 at 10:10 AM.

  8. #8
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    ok thanks again - I'll give it a shot.

Similar Threads

  1. [Relatively Useless] Hear the song L70ETC play at Worlds End Tavern Twice
    By Sireddie in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 08-11-2008, 11:29 AM
  2. thats the WoW you play
    By suran37 in forum Screenshot & Video Showoff
    Replies: 3
    Last Post: 11-02-2007, 09:42 AM
  3. Help: How the **** do you play a Warrior =P?
    By The Mars Volta in forum World of Warcraft General
    Replies: 11
    Last Post: 09-11-2007, 03:54 PM
  4. Female Night Elves and The Men Who Play Them
    By Holier Than Thou in forum Community Chat
    Replies: 10
    Last Post: 05-07-2007, 11:51 AM
All times are GMT -5. The time now is 04:17 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search