View Single Post
smitten
Junior Member
Join Date: Dec 2011
Old 07-10-2012 , 04:38   Re: Loading Music II v1.2.9
Reply With Quote #161

Right!problem!

Quote:
] mp3 play sound/mp3/Domino2.mp3
warning: MP3_InitStream(32, sound\mp3\Domino2.mp3) failed
] mp3 play sound/mp3/CallMeMaybe2.mp3
warning: MP3_InitStream(33, sound\mp3\CallMeMaybe2.mp3) failed
] mp3 play sound/mp3/BloodSugar.mp3
MP3_InitStream(30, sound\mp3\BloodSugar.mp3) successful
] mp3 play sound/mp3/Starships.mp3
warning: MP3_InitStream(34, sound\mp3\Starships.mp3) failed
] mp3 play sound/mp3/DontStopTheMusic.mp3
warning: MP3_InitStream(35, sound\mp3\DontStopTheMusic.mp3) failed
.ini:
Quote:
; THIS IS A SAMPLE PLAYLIST FILE

; EDITING NOTES:
; 1) put this file under $AMXMODX/config/ folder
; 2) all paths to files must be relative to $MODDIR/ folder
; 3) you can skip an extension, but that file won't be precached (still can
; can be played by client side if exists right there)
; 4) files are precached only if they are placed within $MODDIR/sound/ folder

; NOTE: Half-Life??.mp3 tracks are supplied with HL/CS
;media/Half-Life01.mp3
;media/Half-Life02
;media/Half-Life17
; your custom mp3 track to be precached; watch out for mp3 size!
;sound/mp3/your_track.mp3
sound/mp3/BloodSugar.mp3
sound/mp3/Domino2.mp3
sound/mp3/CallMeMaybe2.mp3
sound/mp3/Starships.mp3
sound/mp3/DontStopTheMusic.mp3

; next track is supplied with CS
;sound/ambience/lv_jubilee.wav

; and finally some loading samples supplied with this plugin
sound/loading/HipHop.wav
;sound/loading/Shogo436.WAV
;sound/loading/ShogoTheme.wav
;sound/loading/Spaceman.wav

; NOTE: max number of tracks is 30; others will be skipped
cvars:
Quote:
g_cvarAmxLoadingTrack = register_cvar("amx_loading_track", "-1")
g_cvarAmxLoadingLoop = register_cvar("amx_loading_loop", "0", FCVAR_SERVER)
g_cvarAmxLoadingDelay = register_cvar("amx_loading_delay", "0.0")
g_cvarAmxLoadingFlags = register_cvar("amx_loading_flags", "abc")
Now all 5 of the mp3's are 320kbps , channels - 2 , 44kHz sample rate.
And only Blood Sugar works..which is also the longest track, being 5mins long.
All song are on fastdownload and all files are correctly downloaded to client.
Wondering if anyone could help me with this please

Last edited by smitten; 07-10-2012 at 04:40.
smitten is offline