Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Era Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=162)
-   -   Mute Instruments? (https://forums.graalonline.com/forums/showthread.php?t=134265794)

MonkeyBob 02-20-2012 08:55 AM

Mute Instruments?
 
Era needs an option in the wrench at the top left of the screen (where you change nickname color etc) where you can mute instruments. Sometimes instruments being played at unstick is annoying(in my opinion). Staff have a function where we can mute instruments, however it no longer allows the player to play the instrument. That is taking it too far really, not to mention when you do it you have to remember to unmute the instument later, or they will never be able to play the instrument again. Why not just toss the function in the options where you cant hear the instruments, while still allowing the players to use them. Should be easy, it's like muting a TV :D

Logababy 02-20-2012 11:52 AM

Support this, no reason why this should be rejected. I myself actually mute my sound because of the annoyance of instruments and then when I want to hear my gun shooting I have to unmute my sound again ;[
Would be much easier if there was just an option to mute it.
/yes!

BlueMelon 02-20-2012 01:42 PM

I play era without sound so my opinion on this is yes?

Tim_Rocks 02-20-2012 04:38 PM

Let's do this, I'll see what I can do.

bloodykiller 02-20-2012 05:05 PM

i strongly support this (unless we simply delete all instruments)

Kohola_KinG 02-20-2012 05:22 PM

Some idiot muted me and i couldn't play instruments for weeks lol

Supaman771 02-20-2012 07:44 PM

I've been saying this since instruments were added. Please for the love of god...

But according to a few people it's not possible to do. I forget which people told me this so I won't name names.

zzz

Fiberwyre_P2P 02-20-2012 08:44 PM

Yes please.
Doesn't matter how talented you are; the instruments are still annoying XD

salesman 02-20-2012 09:04 PM

Pretty sure instruments are just using gani sounds (passing the file name via PARAM1, PARAM2, etc), and as far as I know, there is no way to mute the sounds another player makes.

tstre 02-20-2012 09:55 PM

Good idea man.

fowlplay4 02-20-2012 09:57 PM

If Era is still using ganis like era_swift-piano-play1.gani for the piano the script can be modified to check for a client flag. I.e.

PHP Code:

SCRIPT
if ((created || playerenters) && !client.option_instruments_muted) {
  for (
temp.06++) {
    if (
params[i] != null) {
      
play(params[i]);
    }
  }
}
SCRIPTEND 

Which will allow players to mute instruments for just themselves.

bloodykiller 02-20-2012 10:40 PM

so we have to delete instruments completely then?

Fiberwyre_P2P 02-21-2012 05:26 AM

Quote:

Originally Posted by bloodykiller (Post 1685224)
so we have to delete instruments completely then?

They'll just be re-downloaded.

Tim_Rocks 02-21-2012 05:40 AM

I'll do some quick tests in a few minutes, but I'm pretty sure I'll have to alter the scripts one by one.

Edit: Yeah, so If you guys wanted this done, I'd have to go through the 100+ ganis and edit every single one.

Fiberwyre_P2P 02-21-2012 06:30 AM

Quote:

Originally Posted by Tim_Rocks (Post 1685277)
I'll do some quick tests in a few minutes, but I'm pretty sure I'll have to alter the scripts one by one.

Edit: Yeah, so If you guys wanted this done, I'd have to go through the 100+ ganis and edit every single one.

It would be so worth it.

fowlplay4 02-21-2012 06:34 AM

Quote:

Originally Posted by Tim_Rocks (Post 1685277)
I'll do some quick tests in a few minutes, but I'm pretty sure I'll have to alter the scripts one by one.

Edit: Yeah, so If you guys wanted this done, I'd have to go through the 100+ ganis and edit every single one.

1. Download all instrument ganis to a folder.
2. Using Notepad++ Find in Files:

Find:
if (created || playerenters) {

Replace With:
if ((created || playerenters) && !client.option_instruments_muted) {

3. Re-upload Ganis.

xXziroXx 02-21-2012 06:44 AM

Quote:

Originally Posted by Tim_Rocks (Post 1685277)
I'll do some quick tests in a few minutes, but I'm pretty sure I'll have to alter the scripts one by one.

Edit: Yeah, so If you guys wanted this done, I'd have to go through the 100+ ganis and edit every single one.

If you're too lazy to do what fp4 suggested, add something like this to a 0.05 loop in some weapon NPC.

PHP Code:

  // Is instruments disabled?
  
if (client.instrumentsDisabled) {
    
// List of instrument sound effects
    
temp.instrumentSoundList = {
      
"steps2.wav",
    };
    
    
// Let's loop through the instrument sounds and stop them if they are played
    
for (temp.soundNametemp.instrumentSoundList) {
      
// Stops sound if it's played
      
if (isSoundPlaying(temp.soundName))
        
stopSound(temp.soundName);
    }
  } 

EDIT: I strongly encourage you to do what he said though.

Tim_Rocks 02-21-2012 08:16 AM

Quote:

Originally Posted by fowlplay4 (Post 1685286)
1. Download all instrument ganis to a folder.
2. Using Notepad++ Find in Files:

Find:
if (created || playerenters) {

Replace With:
if ((created || playerenters) && !client.option_instruments_muted) {

3. Re-upload Ganis.

Thanks, I forgot notepad++ could do that.

bloodykiller 02-21-2012 03:57 PM

it would be very helpful, i know by fact that most ppl (excluding 8 year olds and chicks) can't stand instruments

Tim_Rocks 02-21-2012 08:07 PM

Okay so I managed to get the mute working. I will add it to the options menu later, for now say /instruments in game to toggle the mute.

Andre2006 02-22-2012 02:08 AM

Now is there any way to mute weapon/melee noise? I haven't had any sound on Graal for over 9 years, oh I wonder why?

MonkeyBob 02-22-2012 03:15 AM

Quote:

Originally Posted by Andre2006 (Post 1685380)
Now is there any way to mute weapon/melee noise? I haven't had any sound on Graal for over 9 years, oh I wonder why?

If you're gonna take it that far, just don't play with sound.

Andre2006 02-22-2012 12:12 PM

Quote:

Originally Posted by MonkeyBob (Post 1685402)
If you're gonna take it that far, just don't play with sound.

I'd really enjoy using sounds if the only thing I could hear was the instruments, an instrument of my own I have, the violin and I love it.

bloodykiller 02-22-2012 05:01 PM

open game_config file in ur graal folder (there might be 2 of them)
and toggle true/false with tryloadsound64bit
sometimes my sound randomly goes away by itself and i gotta do this

MagicMan 02-22-2012 05:34 PM

Quote:

Originally Posted by bloodykiller (Post 1685505)
open game_config file in ur graal folder (there might be 2 of them)
and toggle true/false with tryloadsound64bit
sometimes my sound randomly goes away by itself and i gotta do this

That's not the problem he's having. He wants to hear nothing but his own instruments.

What you posted was the solution to sound not working at all on 64-bit systems.

BlueMelon 02-22-2012 07:30 PM

Quote:

Originally Posted by Andre2006 (Post 1685480)
I'd really enjoy using sounds if the only thing I could hear was the instruments, an instrument of my own I have, the violin and I love it.

Go into a level where no one is?

bloodykiller 02-22-2012 08:33 PM

Quote:

Originally Posted by MagicMan (Post 1685507)
That's not the problem he's having. He wants to hear nothing but his own instruments.

What you posted was the solution to sound not working at all on 64-bit systems.

oh lmao, he should just change game then

Dragon551 02-22-2012 08:57 PM

They could open the practice room again.

Andre2006 02-22-2012 09:08 PM

Quote:

Originally Posted by BlueMelon (Post 1685520)
Go into a level where no one is?

Someone is going to break in and disturb you eventually.

Quote:

Originally Posted by bloodykiller (Post 1685532)
oh lmao, he should just change game then

If they can mute instruments why can't they mute it the other way around as well?

Quote:

Originally Posted by Dragon551 (Post 1685534)
They could open the practice room again.

This.

Crow 02-23-2012 12:09 AM

Quote:

Originally Posted by Andre2006 (Post 1685536)
If they can mute instruments why can't they mute it the other way around as well?

That'd be quite difficult, actually.

bloodykiller 02-23-2012 05:19 AM

cuz insturuments r useless and don't fit into era
go to band camp ull have a load of fun kid

defaultaccount 02-23-2012 12:26 PM

How is music useless but it would be useless to try and do what andre said.


I think it's good to have the option now

Logababy 02-23-2012 01:13 PM

Quote:

Originally Posted by defaultaccount (Post 1685668)
How is music useless but it would be useless to try and do what andre said.


I think it's good to have the option now

How would it be useless if it was used by a number of players?
:confused:
That is just your opinion I guess..

bloodykiller 02-23-2012 04:50 PM

it's as if u start selling puppies on era
it's just retarded

Andre2006 02-23-2012 05:02 PM

Quote:

Originally Posted by bloodykiller (Post 1685687)
it's as if u start selling puppies on era

This is the best idea I have ever seen you contribute! please do THIS!

bloodykiller 02-23-2012 05:07 PM

since to obtain something we need to sacrifice something of an equal value i think we must replace guns with puppies. i'm sure every1 would love those cute puppies ****ting in the streets of era

Crow 02-23-2012 05:20 PM

Quote:

Originally Posted by bloodykiller (Post 1685689)
since to obtain something we need to sacrifice something of an equal value i think we must replace guns with puppies. i'm sure every1 would love those cute puppies ****ting in the streets of era

We need to sacrifice something in order to obtain something of equal value? I'd like to sacrifice Tk for a rotten fruit, then. At least I can throw that away.

bloodykiller 02-23-2012 05:39 PM

ud have to find hundreds of new players if you were to sacrifice me
u seem less angry than usual crow, good for you :)

Tim_Rocks 02-23-2012 06:31 PM

Well since I already updated and added the mute option for instruments, I'll be closing this thread. If you want anything else muted, that's what the mute button is for on your computer.


All times are GMT +2. The time now is 09:03 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.