Raised This Month: $ Target: $400
 0% 

Ambience Sound + Loop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jon
Veteran Member
Join Date: Dec 2007
Old 11-05-2009 , 14:06   Re: Ambience Sound + Loop
Reply With Quote #1

Indeed l'arkshine. Can I safely perform the actions of plugin_init in precache or safely precache the sound in plugin_init?

Last edited by Jon; 11-05-2009 at 14:16.
Jon is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-05-2009 , 14:08   Re: Ambience Sound + Loop
Reply With Quote #2

"Caions" ?

You can precache the sounds in plugin_init using EngFunc_Precache* without problems.
__________________
Arkshine is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 11-05-2009 , 14:17   Re: Ambience Sound + Loop
Reply With Quote #3

Misclicked my touchpad = Caions.
Jon is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-05-2009 , 14:24   Re: Ambience Sound + Loop
Reply With Quote #4

Still having this problem. Thanks for helping but I am about to give up because it is not working.

Note: The old one at least precached the song file. this one doesnt even do that, i tried changing the sound file and reuploading it. It says the plugin is running, but i dont download anything new (i changed the name of the file so i should have).
__________________
Think Positive - Stay Positive

Last edited by drumzplaya13; 11-05-2009 at 14:29.
drumzplaya13 is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 11-05-2009 , 14:35   Re: Ambience Sound + Loop
Reply With Quote #5

Edited my post and should now work, if not, I kindly ask arkshine to correct it.

Last edited by Jon; 11-05-2009 at 14:44.
Jon is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-05-2009 , 15:10   Re: Ambience Sound + Loop
Reply With Quote #6

Quote:
I kindly ask arkshine to correct it.
It sounds like ironic. -_-

PrecacheGeneric -> mp3
PrecacheSound -> wav
__________________

Last edited by Arkshine; 11-05-2009 at 16:33.
Arkshine is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-05-2009 , 16:18   Re: Ambience Sound + Loop
Reply With Quote #7

Quote:
Originally Posted by Arkshine View Post
It sounds like ironic. -_-

PrecacheGeneric -> mp3
PrecacheSound -> wav
"Do not "bump" your threads unless it’s been at least 2 weeks since the last post. "

First off, we were discussing the problem with the plugin, which btw the updated version doesnt work correctly, same problem, not precaching sound (the oringal plugin I posted precached it, but didnt play it). Second, it says 2 weeks since THE last post. This thread started today, this morning, not even close to 2 weeks and people are responding to it. It also doesnt say 2 weeks since MY last post. If people are helping me with my problem and we are discussing it, I plan to respond back to them so we can work together to fix the problem which I am having.


Anyone else want to chime in who might have a solution?

my .ini file

Code:
"de_dust2_cz" "ambience/theme.mp3" "188"
I have the updated version on my server.
__________________
Think Positive - Stay Positive

Last edited by drumzplaya13; 11-05-2009 at 16:20.
drumzplaya13 is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 11-05-2009 , 15:22   Re: Ambience Sound + Loop
Reply With Quote #8

1. What?

2. Fixed.
Jon is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-05-2009 , 16:33   Re: Ambience Sound + Loop
Reply With Quote #9

Quote:
"Do not "bump" your threads unless it’s been at least 2 weeks since the last post. "

First off, we were discussing the problem with the plugin, which btw the updated version doesnt work correctly, same problem, not precaching sound (the oringal plugin I posted precached it, but didnt play it). Second, it says 2 weeks since THE last post. This thread started today, this morning, not even close to 2 weeks and people are responding to it. It also doesnt say 2 weeks since MY last post. If people are helping me with my problem and we are discussing it, I plan to respond back to them so we can work together to fix the problem which I am having.
You are all the way wrong since my quote is wrong. I wanted to quote Jon, not this sentence which is in another thread. Whatever.
__________________
Arkshine is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-05-2009 , 17:19   Re: Ambience Sound + Loop
Reply With Quote #10

I have this error in console.



warning: MP3_InitStream(31, sound\ambience\Theme.mp3) failed


That is why it is not running. Can anyone interpret this message?

mp3 initial or initiate stream. idk what 31 means, and it failed. so the initiation of the sound failed. Can anyone tell me why?
__________________
Think Positive - Stay Positive

Last edited by drumzplaya13; 11-06-2009 at 13:16.
drumzplaya13 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode