Monthly Target: $400 Donations: $348
 87% 

"Missing RIFF/WAVE chunks"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dballs442
Member
Join Date: Feb 2007
Location: Duarngo CO
Old 09-20-2007 , 04:13   "Missing RIFF/WAVE chunks"
Reply With Quote #1

i tried moding this throwing knife mod for cs 1.6 to play a diffrent sound and i am getting this error in console and its crashing my server:

Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks

i changed "weapons/knife_hitwall1.wav" to "Custom/knife_hitwall1.wav" both on line 394 and in the precache section (line 552 in the orignal or line 554 on the one i had moded to work with free for all death match.)

heres a link to the original code: http://forums.alliedmods.net/showthread.php?p=19610

and ive attached what i have on my server now. any help would be great. i dont script at all so lame mans terms would be much appreciated. or a change of what i need and reattachment of the new code would also be great.





p.s. on a side not i need some more moding to this plugin so it works with free for all death match and this mapchooser i have that creates a vote at 45 and a map change at 50 kills by any one persons, teammate or not. if some one can help me with that please pm me.
Attached Files
File Type: sma Get Plugin or Get Source (throwing_knives.sma - 692 views - 19.6 KB)
__________________
If you enjoy Goldeneye 64 checkout 72.5.102.38:27015 (cs 1.6) sometime.
dballs442 is offline
Send a message via AIM to dballs442
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2007 , 04:40   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #2

I'm pretty sure that this error isn't related to this plugin. ( Even after your modification )

Also this error doesn't crash the server.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),


Last edited by Arkshine; 09-20-2007 at 04:44.
Arkshine is online now
dballs442
Member
Join Date: Feb 2007
Location: Duarngo CO
Old 09-20-2007 , 04:43   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #3

well the only reason i think this is cause the server does crash if i only use throwing knifes. theres a good chance its not though. thanks. what else would cause this?
__________________
If you enjoy Goldeneye 64 checkout 72.5.102.38:27015 (cs 1.6) sometime.
dballs442 is offline
Send a message via AIM to dballs442
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2007 , 04:48   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #4

Are you sure that your custom sound ( knife_hitwall1.wav ) exists in sound/Custom/ ? ( And that your folder is Custom/ and not custom/ )
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is online now
dballs442
Member
Join Date: Feb 2007
Location: Duarngo CO
Old 09-20-2007 , 04:51   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #5

yes i just dbl checked. its in /sound/Custom/ and it is a wav file not mp3 (as i was reading in another post about this same error message)
__________________
If you enjoy Goldeneye 64 checkout 72.5.102.38:27015 (cs 1.6) sometime.
dballs442 is offline
Send a message via AIM to dballs442
dballs442
Member
Join Date: Feb 2007
Location: Duarngo CO
Old 09-20-2007 , 05:03   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #6

i also get these errors: (i think they are skin realated as i have some moded skins on the server)


S_LoadSound: Couldn't load /weapons/m16_magout.wav
S_LoadSound: Couldn't load /weapons/m16_magout.wav
S_LoadSound: Couldn't load /weapons/m16_magout.wav
S_LoadSound: Couldn't load /weapons/m16_magout.wav
S_LoadSound: Couldn't load /weapons/m16_magin.wav
S_LoadSound: Couldn't load /weapons/m16_magin.wav
S_LoadSound: Couldn't load /weapons/m16_boltcatch.wav
S_LoadSound: Couldn't load /weapons/m16_boltcatch.wav
S_LoadSound: Couldn't load /weapons/fireswitch.wav


S_LoadSound: Couldn't load /weapons/m16_magin.wav
S_LoadSound: Couldn't load /weapons/m16_magin.wav
S_LoadSound: Couldn't load /weapons/g3a3_magin.wav
S_LoadSound: Couldn't load /weapons/g3a3_magin.wav
S_LoadSound: Couldn't load /weapons/g3a3_magin.wav
S_LoadSound: Couldn't load /weapons/g3a3_magin.wav
S_LoadSound: Couldn't load /weapons/m16_boltcatch.wav
__________________
If you enjoy Goldeneye 64 checkout 72.5.102.38:27015 (cs 1.6) sometime.
dballs442 is offline
Send a message via AIM to dballs442
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2007 , 05:10   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #7

With your modification it should work.

So you should check the others plugins.

Give the list of your plugins. ( amxx list )
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is online now
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-20-2007 , 05:28   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #8

Are you testing this plugin on a listenserver ?
ConnorMcLeod is offline
dballs442
Member
Join Date: Feb 2007
Location: Duarngo CO
Old 09-20-2007 , 05:29   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #9

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
;multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
say_motd.amxx
mapchooser2.amxx
GHW_Weapon_Replacement.amxx
paintball.amxx
throwing_knives.amxx
AdvancedMusicPlayer.amxx


_____________________________________________ _________________
CSDM:



;rename this file to disabled-csdm.ini to turn it off.
;rename it back to plugins-csdm.ini to turn it on.

;put a semi-colon in front of a plugin to disable it.
;add the word debug after a plugin to place it in debug mode
; for example: csdm_main.amxx debug
;remove a semi-colon to re-enable a plugin


;Main plugin, required for most cases
csdm_main.amxx

;Weapons and equipment menus
csdm_equip.amxx

;Enables preset spawning and the preset spawning editor
;Map config files are located in configs/csdm
csdm_spawn_preset.amxx
spawn_editor.amxx

;Miscellanious extra features, such as ammo refills
; and objective removals
csdm_misc.amxx

;Spawn protection
csdm_protection.amxx

;Adds free-for-all mode (must be enabled in csdm.cfg too)
csdm_ffa.amxx

;Round ticketing mode, like FireArms. First team to use all
; of their death points loses the ability to respawn.
; (must be enabled in csdm.cfg too)
;csdm_tickets.amxx

;Item mode (from CSDM1)
;Must be enabled in csdm.cfg as well (at the very bottom)
;There is currently no item editor!
;csdm_itemmode.amxx



heres a link to the other probs and sma's of some of the 3rd party plugins: http://forums.alliedmods.net/showthread.php?t=60928
i can also get you that AdvancedMusicPlayer sma if need be
__________________
If you enjoy Goldeneye 64 checkout 72.5.102.38:27015 (cs 1.6) sometime.

Last edited by dballs442; 09-20-2007 at 05:57.
dballs442 is offline
Send a message via AIM to dballs442
vl@d
Senior Member
Join Date: Dec 2006
Location: Romania
Old 09-20-2007 , 07:32   Re: "Missing RIFF/WAVE chunks"
Reply With Quote #10

What?That error is from tha cvar sv_downloadurl.
I know because i didnt but the sounds corectile and the server fill my sound dir with blank file ( 4 KB).
The error tould you because he can not read the file.Its empty.
check your .res on all maps because if you have a model or other fings you will have big problemes ;)
__________________


I hate Spammers....

Last edited by vl@d; 09-20-2007 at 07:36.
vl@d 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 16:29.


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