[Plugin] Audio Plugin

Hello,
Sometimes I get this error (I know it's because of audio client)


And if I press OK, GTA crashes.. If I just leave that message, I can play SA but my audio client doesn't works then..
Reply

I tried exiting GTA once and I got this:

Hope this is related to audio client..
Maybe this is more helpful..
Reply

Quote:
Originally Posted by SiJ
I tried exiting GTA once and I got this:

Hope this is related to audio client..
Maybe this is more helpful..
Next time, just edit your original post.

Upgrade your .net framework... maybe add codecs to your WMP...
Reply

Quote:
Originally Posted by RealCop228 - Nick
Quote:
Originally Posted by SiJ
I tried exiting GTA once and I got this:

Hope this is related to audio client..
Maybe this is more helpful..
Next time, just edit your original post.

Upgrade your .net framework... maybe add codecs to your WMP...
Thanks for teaching me..

I'll try that..

..and edit this post with the results..
Reply

in the readme:

Код:
SA-MP Audio Plugin v0.4
Copyright © Incognito 20010
Код:
20010
??
Reply

Thanks, nice plugin !!!
Reply

Incognito, i love you
very usefull plugin!!
Reply

Here is another thing you could add to this, an Audio_Fade native! Where it will fade the audio out after the set amount of time!
Reply

How about something like Audio_AttachToPlayer(soundid,playerid) so that particular sound is attached to the player even if he moves. This would make things like cop sirens seem more realistic adding a bit of a doppler affect.
Reply

Quote:
Originally Posted by Joe Staff
How about something like Audio_AttachToPlayer(soundid,playerid) so that particular sound is attached to the player even if he moves. This would make things like cop sirens seem more realistic adding a bit of a doppler affect.
Ah, this is a great idea too!
Reply

Pretty awesome, works for me, 0.3a R7!
Reply

Ok stupid question time. what is causing this and how can I fix it...

[14:50:17] SA-MP Audio Plugin initialized
[14:50:17] ------------------------------
[14:50:37] Connecting to 86.175.82.184:7777...
[14:50:47] Could not connect to 86.175.82.184:7777
[14:50:47] Attempting reconnection (1 of 5)...
[14:51:07] Connecting to 86.175.82.184:7777...
[14:51:17] Could not connect to 86.175.82.184:7777
[14:51:17] Attempting reconnection (2 of 5)...
[14:51:37] Connecting to 86.175.82.184:7777...
[14:51:47] Could not connect to 86.175.82.184:7777
[14:51:47] Attempting reconnection (3 of 5)...
[14:52:07] Connecting to 86.175.82.184:7777...
[14:52:17] Could not connect to 86.175.82.184:7777
[14:52:17] Attempting reconnection (4 of 5)...
[14:52:37] Connecting to 86.175.82.184:7777...
[14:52:47] Could not connect to 86.175.82.184:7777
[14:52:47] Attempting reconnection (5 of 5)...
[14:53:07] Connecting to 86.175.82.184:7777...
[14:53:17] Could not connect to 86.175.82.184:7777
[14:54:49] SA-MP Audio Plugin unloaded

I know its rather silly but I would like to get this plugin working so any help would be nice.
Reply

I need to run that client plugin and then connect to server to hear my songs?
Reply

Quote:
Originally Posted by aelfred
Ok stupid question time. what is causing this and how can I fix it...

[14:50:17] SA-MP Audio Plugin initialized
[14:50:17] ------------------------------
[14:50:37] Connecting to 86.175.82.184:7777...
[14:50:47] Could not connect to 86.175.82.184:7777
[14:50:47] Attempting reconnection (1 of 5)...
[14:51:07] Connecting to 86.175.82.184:7777...
[14:51:17] Could not connect to 86.175.82.184:7777
[14:51:17] Attempting reconnection (2 of 5)...
[14:51:37] Connecting to 86.175.82.184:7777...
[14:51:47] Could not connect to 86.175.82.184:7777
[14:51:47] Attempting reconnection (3 of 5)...
[14:52:07] Connecting to 86.175.82.184:7777...
[14:52:17] Could not connect to 86.175.82.184:7777
[14:52:17] Attempting reconnection (4 of 5)...
[14:52:37] Connecting to 86.175.82.184:7777...
[14:52:47] Could not connect to 86.175.82.184:7777
[14:52:47] Attempting reconnection (5 of 5)...
[14:53:07] Connecting to 86.175.82.184:7777...
[14:53:17] Could not connect to 86.175.82.184:7777
[14:54:49] SA-MP Audio Plugin unloaded

I know its rather silly but I would like to get this plugin working so any help would be nice.
Make sure the plugin has enough available bandwith... Also, make sure you have installed it correctly.
Reply

Quote:
Originally Posted by Kurence
I need to run that client plugin and then connect to server to hear my songs?
Why don't you look at the main post? All of the available functions will allow you to do so.
Reply

I have a problem with the audio plug it is not bild in freebsd
and ready to plug-in displays the log Audio Plugin Error accepting socket Interrupted system call
Reply

I've got a doubt, how can i reproduce a sound on the OnPlayerRequestClass?

pawn Код:
Audio_Play(playerid, 2, false, false, false)
Iґve got this already there, but it doesn't play, but in this way it works:

pawn Код:
if(strcmp(cmdtext, "/soundtest", true) == 0)
  {
  Audio_Play(playerid, 2, false, false, false);
  return 1;
  }
Reply

I do not know very well eng ...
but the plugin here server log:
Код:
*** Audio Plugin: Error accepting socket: Interrupted system call
[19:10:07]
*** Audio Plugin v0.4 by Incognito unloaded ***
time make errors
Код:
[root@1 ~/audio]# make
 ./Libraries/SimpleIni/*.craries/
: not found
*** Error code 127

Stop in /root/audio.
[root@1 ~/audio]#
Код:
[root@1 ~/audio]# uname -a
FreeBSD 1.pro-tdm.co.cc 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Apr 14 11:26:39 IRKST 2010   root@freebsd8-amd64.ispsystem.net:/root/src/sys/amd64/compile/ISPSYSTEM amd64
Reply

I like this, but I miss support for XM and MOD audio files

Info:
http://en.wikipedia.org/wiki/XM_(file_format)
http://en.wikipedia.org/wiki/MOD_(file_format)


There quite many songs I would like to use, but most (if not all) is in MOD or XM format
Reply

Quote:
Originally Posted by Joe Staff
How about something like Audio_AttachToPlayer(soundid,playerid) so that particular sound is attached to the player even if he moves. This would make things like cop sirens seem more realistic adding a bit of a doppler affect.
+1, would be very cool to attach to both players and cars. Cars have audio systems, players could carry an audio system on their shoulder.

I've managed to do this with updating the positions of audios OnPlayerUpdate for streamed players. I took maximum streamed players as 30, and loop is small enough to keep the server from lagging. This is better than looping through MAX_PLAYERS.
When a player streams out, the playback of an audio stops.
Same for streamed cars.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)