Is there an easy way to get rid of sounds?

This is what ive tried;



Code:
public sealed class PlaySound : Packet
    {
       
        public PlaySound( int soundID, IPoint3D target ) : base( 0x54, 12 )
        {
            return;
            /*m_Stream.Write( (byte) 1 ); // flags
            m_Stream.Write( (short) soundID );
            m_Stream.Write( (short) 0 ); // volume
            m_Stream.Write( (short) target.X );
            m_Stream.Write( (short) target.Y );
            m_Stream.Write( (short) target.Z );*/
        }
    }

Server hangs and got a message on console:

badpacketlenght.png
 
Kinda hackish.. but you could use uofiddler to replace whatever sound you dont want with a .wav that has no sound in it...
if you are supplying the client to your players, then that would work.

Else, you may have to hunt down the multitude of play sounds throughout the scripts and just comment them out.

The ultimate easy way to accomplish this is to just go into options in game and just turn sound off with the click of a button..

I am curious, why would you want to disable sounds?
 
Last edited:
or instead of soundid you would use 0 or something idk I mean you could just mute the uo client?
 
Well im trying to emulate an old mmorpg that has no sound. I finally made it:

Code:
public sealed class PlaySound : Packet
    {
       
        public PlaySound( int soundID, IPoint3D target ) : base( 0x54, 12 )
        {
           
            m_Stream.Write( (byte) 1 ); // flags
            m_Stream.Write( (short) 9999 );
            m_Stream.Write( (short) 0 ); // volume
            m_Stream.Write( (short) target.X );
            m_Stream.Write( (short) target.Y );
            m_Stream.Write( (short) target.Z );
        }
    }

Now i would like to get rid of footsteps. It is client side right?


Is there any tool to edit the client? Thanks
 
Back