AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Error: server failed to transmit file (https://forums.alliedmods.net/showthread.php?t=194833)

UnknownMP 08-31-2012 17:39

Error: server failed to transmit file
 
Hi.
I need help with the errors
PHP Code:

Errorserver failed to transmit file 'sound/jailbreak/lr/1.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/2.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/3.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/4.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/5.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/6.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/7.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/8.wav'
Errorserver failed to transmit file 'sound/jailbreak/lr/9.wav' 

Important parts of the plugin
PHP Code:

new const musicalr1[]         = { "jailbreak/lr/1.wav" }
new const 
musicalr2[]         = { "jailbreak/lr/2.wav" }
new const 
musicalr3[]         = { "jailbreak/lr/3.wav" }
new const 
musicalr4[]         = { "jailbreak/lr/4.wav" }
new const 
musicalr5[]         = { "jailbreak/lr/5.wav" }
new const 
musicalr6[]         = { "jailbreak/lr/6.wav" }
new const 
musicalr7[]         = { "jailbreak/lr/7.wav" }
new const 
musicalr8[]         = { "jailbreak/lr/8.wav" }
new const 
musicalr9[]         = { "jailbreak/lr/9.wav" }

public 
plugin_precache() 
{    
    
precache_sound(musicalr1)
    
precache_sound(musicalr2)
    
precache_sound(musicalr3)
    
precache_sound(musicalr4)
    
precache_sound(musicalr5)
    
precache_sound(musicalr6)
    
precache_sound(musicalr7)
    
precache_sound(musicalr8)
    
precache_sound(musicalr9)


At the server I have the files
PHP Code:

sound/jailbreak/lr/1.wav
sound
/jailbreak/lr/2.wav
sound
/jailbreak/lr/3.wav
sound
/jailbreak/lr/4.wav
sound
/jailbreak/lr/5.wav
sound
/jailbreak/lr/6.wav
sound
/jailbreak/lr/7.wav
sound
/jailbreak/lr/8.wav
sound
/jailbreak/lr/9.wav 

After a lot of time spent I still get the same errors...

Infernuz 08-31-2012 18:21

Re: Error: server failed to transmit file
 
PHP Code:

new const musicalr1[]         = { "sound/jailbreak/lr/1.wav" 

?

UnknownMP 08-31-2012 18:23

Re: Error: server failed to transmit file
 
What is the problema with it? I gave you the directory and the file...

Infernuz 08-31-2012 18:27

Re: Error: server failed to transmit file
 
You specified wrong path to the file in your plugin.

UnknownMP 08-31-2012 18:32

Re: Error: server failed to transmit file
 
PHP Code:

Errorserver failed to transmit file 'sound/sound/jailbreak/lr/1.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/2.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/3.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/4.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/5.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/6.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/7.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/8.wav'
Errorserver failed to transmit file 'sound/sound/jailbreak/lr/9.wav' 

PHP Code:

new const musicalr1[]         = { "sound/jailbreak/lr/1.wav" }
new const 
musicalr2[]         = { "sound/jailbreak/lr/2.wav" }
new const 
musicalr3[]         = { "sound/jailbreak/lr/3.wav" }
new const 
musicalr4[]         = { "sound/jailbreak/lr/4.wav" }
new const 
musicalr5[]         = { "sound/jailbreak/lr/5.wav" }
new const 
musicalr6[]         = { "sound/jailbreak/lr/6.wav" }
new const 
musicalr7[]         = { "sound/jailbreak/lr/7.wav" }
new const 
musicalr8[]         = { "sound/jailbreak/lr/8.wav" }
new const 
musicalr9[]         = { "sound/jailbreak/lr/9.wav" 


daniel46 08-31-2012 18:38

Re: Error: server failed to transmit file
 
try this

PHP Code:

new musicalr1[] =  "sound/jailbreak/lr/1.wav" 


UnknownMP 09-01-2012 07:46

Re: Error: server failed to transmit file
 
I need to put
PHP Code:

new musicalr1[] = "jailbreak/lr/1.wav" 

but still the same error as the first post.

YamiKaitou 09-01-2012 07:51

Re: Error: server failed to transmit file
 
Are you using sv_downloadurl?
Is sv_allowdownload set to 1?

UnknownMP 09-01-2012 07:57

Re: Error: server failed to transmit file
 
sv_allowdownload "1"
sv_downloadurl ""

UnknownMP 09-01-2012 09:25

Re: Error: server failed to transmit file
 
The files were too heavy...Problem solved...


All times are GMT -4. The time now is 08:19.

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