Page 2 of 2

Re: [HL2:DM] sound

Posted: Sat May 13, 2017 5:16 pm
by Painkiller
satoon101 wrote:The next SP update should fix the name issue. For the overlays, what directory are they in on the server? Do you have a fast-download server?


Name Functioned.

I have a fastdownload and the overlay is on the gameserver and fastdownload

Edit: http://hlsw.rocks-clan.de/~akooh/fastDL ... ials/exae/

Re: [HL2:DM] sound

Posted: Sat May 13, 2017 8:27 pm
by Painkiller
Would it be possible for me, if I aaa enter the only all others the overlay and I myself not?

Edit: ok i test it with a user and work now. ty very mutch Satoon.

Re: [HL2:DM] sound

Posted: Thu May 18, 2017 8:59 pm
by Painkiller
My players and I found a little problem and do not know where it comes from.

The one who plays the sound does not hear the sound.
What is the reason?

Re: [HL2:DM] sound

Posted: Fri May 19, 2017 12:36 pm
by satoon101
Oh sorry about that, I misread my notes on the original plugin. It looks like the message and overlay are only supposed to be sent to 'other' players while the sound is played to everyone. I set it up so that the sound and overlay were only sent to 'other' players while the message is sent to all players. I will modify the sound to send to everyone. Who all should see the message and the overlay? Is it everyone for both of those, as well, or should one or both of those only be sent to 'other' players?

Re: [HL2:DM] sound

Posted: Fri May 19, 2017 2:58 pm
by Painkiller
Hi Satoon,
thanks so please.

music - all
Overlay - all except the sender
Text - all except the sender

Re: [HL2:DM] sound

Posted: Fri May 19, 2017 3:21 pm
by satoon101
Ok, I edited the plugin in my post on the first page. Let me know if that works correctly.

Re: [HL2:DM] sound

Posted: Fri May 19, 2017 4:19 pm
by Painkiller

Code: Select all

[RocKs³]|Mr.[S]aint Painkiller: aaa
L 05/19/2017 - 18:19:02: "[RocKs³]|Mr.[S]aint Painkiller<2><[U:1:43907303]><Unassigned>" say "aaa"

[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/packages/source-python/events/listener.py", line 92, in fire_game_event
    callback(game_event)
  File "../addons/source-python/plugins/sound_trigger/sound_trigger.py", line 70, in player_say
    recipients = get_recipients(player.index)

UnboundLocalError: local variable 'player' referenced before assignment

Re: [HL2:DM] sound

Posted: Fri May 19, 2017 5:36 pm
by satoon101
Whoops, sorry about that. Fixed in my code on the 1st page.

Re: [HL2:DM] sound

Posted: Fri May 26, 2017 5:46 pm
by Painkiller
Ok i have test it now and it works correct.

thank you.