Raised This Month: $ Target: $400
 0% 

Error with sound download


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Thomeeek
Junior Member
Join Date: Nov 2011
Location: At Home
Old 12-30-2012 , 14:17   Error with sound download
Reply With Quote #1

Can someone help me?

Error: server failed to transmit file 'funmenu/item_activated.wav

Here is the code:
PHP Code:
new const item_activation[] = { "funmenu/item_activated.wav" }

public 
plugin_precache()
{
precache_sound(item_activation)


Last edited by Thomeeek; 12-30-2012 at 14:32.
Thomeeek is offline
rastafari
Senior Member
Join Date: May 2011
Old 12-30-2012 , 15:00   Re: Error with sound download
Reply With Quote #2

Make sure that the sound is in the right place, in this example: "sound/funmenu/item_activated.wav"
If it's correct check if the server allows the clients to download from it. This means check the server.cfg for sv_allowdownload and set it to "1".
__________________
rastafari is offline
Thomeeek
Junior Member
Join Date: Nov 2011
Location: At Home
Old 12-30-2012 , 15:08   Re: Error with sound download
Reply With Quote #3

it is in right place: sound/funmenu/item_activated.wav

Also:

sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "http://91.83.231.155/fast/cs1/"

Last edited by Thomeeek; 12-30-2012 at 15:09.
Thomeeek is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-30-2012 , 15:10   Re: Error with sound download
Reply With Quote #4

Quote:
Not Found

The requested URL /fast/cs1/sound/funmenu/item_activated.wav was not found on this server.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 12-30-2012 at 15:10.
YamiKaitou is offline
Thomeeek
Junior Member
Join Date: Nov 2011
Location: At Home
Old 12-30-2012 , 15:15   Re: Error with sound download
Reply With Quote #5

Oh. Thank you Sir. Little mistake

Last edited by Thomeeek; 12-30-2012 at 15:26.
Thomeeek is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-30-2012 , 15:18   Re: Error with sound download
Reply With Quote #6

Actually, no it isn't. The file exists as an MP3 file, not a WAV file. Are you sure you are precaching the correct file?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Thomeeek
Junior Member
Join Date: Nov 2011
Location: At Home
Old 12-30-2012 , 15:22   Re: Error with sound download
Reply With Quote #7

Yeah, now I got the right file precached and it is working fine
Thomeeek is offline
Reply


Thread Tools
Display Modes

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 13:43.


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