Debug play sound menu

User Tag List

Results 1 to 4 of 4
  1. #1
    elpeke's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Debug play sound

    Help me! I need play music in a mangos server for everybody with the command .debug play sound ID. Can I modify it in *.cpp?

    Object.cpp

    void WorldObject::PlayDistanceSound( uint32 sound_id, Player* target /*= NULL*/ )
    {
    WorldPacket data(SMSG_PLAY_OBJECT_SOUND,4+;
    data << uint32(sound_id);
    data << uint64(GetGUID());
    if (target)
    target->SendDirectMessage( &data );
    else
    SendMessageToSet( &data, true );
    }

    void WorldObject::PlayDirectSound( uint32 sound_id, Player* target /*= NULL*/ )
    {
    WorldPacket data(SMSG_PLAY_SOUND, 4);
    data << uint32(sound_id);
    if (target)
    target->SendDirectMessage( &data );
    else
    SendMessageToSet( &data, true );
    }

    Sorry for my bad english
    Thanks for all.

    Debug play sound
  2. #2
    BlodyWarior's Avatar Contributor
    Reputation
    100
    Join Date
    Jan 2007
    Posts
    330
    Thanks G/R
    5/7
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is not an exploit, nor is this even in the right topic. this belongs in the emulator section.

  3. #3
    elpeke's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry my first post

  4. #4
    AfterMidnight's Avatar Banned
    Reputation
    162
    Join Date
    Jan 2008
    Posts
    689
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by elpeke View Post
    Sorry my first post
    That would be so bad if you weren't already a member since 2009, observing people doing it RIGHT for months!
    But, who am I :P

Similar Threads

  1. [ArcEmu] Play sounds to where all can hear it?
    By dbbaker01 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 01-04-2015, 02:18 PM
  2. how do i play sounds in chat channels?
    By leprakawn in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-29-2008, 04:25 AM
  3. Play Sound
    By Entr0py in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 05-05-2008, 03:33 PM
  4. How To Play sounds to all players of the server! read it here !
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 11-30-2007, 03:33 AM
  5. Play every sound in WoW!
    By Dartex in forum World of Warcraft Exploits
    Replies: 12
    Last Post: 08-10-2007, 09:39 AM
All times are GMT -5. The time now is 07:34 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search