[HL2:DM] sound

A place for requesting new Source.Python plugins to be made for your server.

Please request only one plugin per thread.
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] sound

Postby Painkiller » Sat May 13, 2017 5:16 pm

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/
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] sound

Postby Painkiller » Sat May 13, 2017 8:27 pm

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.
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] sound

Postby Painkiller » Thu May 18, 2017 8:59 pm

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?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: [HL2:DM] sound

Postby satoon101 » Fri May 19, 2017 12:36 pm

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?
Image
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] sound

Postby Painkiller » Fri May 19, 2017 2:58 pm

Hi Satoon,
thanks so please.

music - all
Overlay - all except the sender
Text - all except the sender
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: [HL2:DM] sound

Postby satoon101 » Fri May 19, 2017 3:21 pm

Ok, I edited the plugin in my post on the first page. Let me know if that works correctly.
Image
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] sound

Postby Painkiller » Fri May 19, 2017 4:19 pm

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
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: [HL2:DM] sound

Postby satoon101 » Fri May 19, 2017 5:36 pm

Whoops, sorry about that. Fixed in my code on the 1st page.
Image
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] sound

Postby Painkiller » Fri May 26, 2017 5:46 pm

Ok i have test it now and it works correct.

thank you.

Return to “Plugin Requests”

Who is online

Users browsing this forum: No registered users and 3 guests