Drakath Posted July 29, 2012 Share Posted July 29, 2012 (edited) I keep getting errors in my server when I open console. BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0 BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0 BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan7.ogg 3d:1 loop:0 BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0 etc... Edited August 23, 2012 by Guest Link to comment
0 Jaysds1 Posted July 29, 2012 Share Posted July 29, 2012 Those are your Sound errors, Go to the script that involves those sounds then make sure your file path is as corrected: Filepath Link to comment
0 Drakath Posted July 30, 2012 Author Share Posted July 30, 2012 I replaced it with all with: zombierpg/sounds/mrgoan1 etc But now it says that it can't find this location... Link to comment
0 Anderl Posted July 30, 2012 Share Posted July 30, 2012 Put how it was and show meta.xml Link to comment
0 Jaysds1 Posted July 30, 2012 Share Posted July 30, 2012 Actually, your going to have to post the sound part of the script here and your Meta.xml. Link to comment
0 Drakath Posted July 30, 2012 Author Share Posted July 30, 2012 I replaced my sounds back to normal but I still get these errors: Script part: addEvent( "Zomb_Moan", true ) function Zmoan ( ped, randnum ) if (isElement(ped)) then local Zx,Zy,Zz = getElementPosition( ped ) local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) Meta part: <file src="sounds/mgroan2.ogg" /> <file src="sounds/mgroan3.ogg" /> <file src="sounds/mgroan4.ogg" /> <file src="sounds/mgroan6.ogg" /> <file src="sounds/mgroan8.ogg" /> <file src="sounds/mgroan9.ogg" /> <file src="sounds/mgroan10.ogg" /> Link to comment
0 Jaysds1 Posted July 30, 2012 Share Posted July 30, 2012 well, that looks good, can you play the sounds your self? BTW, try this: addEvent( "Zomb_Moan", true ) function Zmoan ( ped, randnum ) if (isElement(ped)) then local Zx,Zy,Zz = getElementPosition( ped ) local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz) setSoundMaxDistance(sound, 20) end end addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) Link to comment
0 Drakath Posted July 30, 2012 Author Share Posted July 30, 2012 I keep getting errors, everything else looks same. And yes I can hear the sounds. Link to comment
0 Jaysds1 Posted July 30, 2012 Share Posted July 30, 2012 try keeping the sounds in the same folder as the scripts, meaning don't put them in the sounds folder. Link to comment
0 Drakath Posted July 31, 2012 Author Share Posted July 31, 2012 Bass error is still here... Link to comment
0 Anderl Posted July 31, 2012 Share Posted July 31, 2012 Are you sure the files are OGG format? Didn't you edit the extension? Link to comment
0 Drakath Posted August 25, 2012 Author Share Posted August 25, 2012 Can anyone help? Link to comment
0 Jaysds1 Posted August 25, 2012 Share Posted August 25, 2012 Do you have Team Viewer? and try putting the folder name as: '[sounds]' . Link to comment
0 Scripting Moderators Sarrum Posted August 26, 2012 Scripting Moderators Share Posted August 26, 2012 addEvent( "Zomb_Moan", true ) function Zmoan ( ped, randnum ) if (isElement(ped)) then local Zx,Zy,Zz = getElementPosition( ped ) if ( randnum == 5 or randnum == 7 ) then return end local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) Link to comment
0 Anderl Posted August 26, 2012 Share Posted August 26, 2012 addEvent( "Zomb_Moan", true ) function Zmoan ( ped, randnum ) if (isElement(ped)) then local Zx,Zy,Zz = getElementPosition( ped ) if ( randnum == 5 or randnum == 7 ) then return end local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) This won't fix the error, it will just stop the function if randnum is 5 or 7. Link to comment
0 Drakath Posted August 29, 2012 Author Share Posted August 29, 2012 Nothing helped, does anyone else has any idea? Link to comment
Question
Drakath
I keep getting errors in my server when I open console.
BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0
BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0
BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan7.ogg 3d:1 loop:0
BASS ERROR 2 in LoadMedia path:C:\Games\MTA\mods\deathmatch\resources\zombierpg\sounds\mgroan5.ogg 3d:1 loop:0
etc...
Edited by GuestLink to comment
16 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now