Jump to content

elpeke

Members
  • Posts

    2
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by elpeke

  1. Hello Well, I'm trying to change the command. Debug.play sound ID to work for all players. Does anyone know anything about it please? I think that is modified object.cpp Thanks in advance Sorry for my English:)
  2. 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+8); 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 ); } Thanks for all.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use