#DaMiAnO Posted November 26, 2011 Posted November 26, 2011 Hi! When i Connect to my localhost server, i have seen lots of errors, with download custom sounds. BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\countdown.mp3 3d:0 loop:0BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\countdown.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\countdown.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\go.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\race\audio\cp.mp3 3d:0 loop:0 How to fix that ? Sorry for my English.
Jaysds1 Posted November 26, 2011 Posted November 26, 2011 Did you add them in the meta.xml? My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
#DaMiAnO Posted November 26, 2011 Author Posted November 26, 2011 Did you add them in the meta.xml? Thanks, I'm fuc*** moron. Sorry for my English.
Jaysds1 Posted November 26, 2011 Posted November 26, 2011 np, even I make that mistake with my resources My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Paper Posted January 29, 2012 Posted January 29, 2012 np, even I make that mistake with my resources I have this problem too, have you solved it?
Jaysds1 Posted January 29, 2012 Posted January 29, 2012 ya, what's your problem? My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
JR10 Posted January 30, 2012 Posted January 30, 2012 Did you add them in the meta.xml? Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
JR10 Posted January 30, 2012 Posted January 30, 2012 What does it say in /debugscript 3? Show your meta.xml Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Paper Posted January 30, 2012 Posted January 30, 2012 in the /debugscript 3 nothing, but i see this in the console: BASS ERROR 2 in LoadMedia path:D:\MTA San Andreas 1.1\mods\deathmatch\resources\tdma\sounds\misc\Colt.wav 3d:0 loop:0
JR10 Posted January 30, 2012 Posted January 30, 2012 Show your meta.xml. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Jaysds1 Posted January 30, 2012 Posted January 30, 2012 When adding music into your folder, remember it's a file, so you have to do this: <file src="sounds\misc\Colt.wav" /> My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Paper Posted January 30, 2012 Posted January 30, 2012 When adding music into your folder, remember it's a file, so you have to do this: <file src="sounds\misc\Colt.wav" /> Yes, i'm doing so D:
JR10 Posted January 30, 2012 Posted January 30, 2012 Show your meta.xml. And post the script. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Paper Posted January 30, 2012 Posted January 30, 2012 The meta is correct and the script is a simple playSound functions T_T
Jaysds1 Posted January 30, 2012 Posted January 30, 2012 Can you post the script please My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
JR10 Posted January 30, 2012 Posted January 30, 2012 Since it's simple, why are you afraid to post it? Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Paper Posted January 31, 2012 Posted January 31, 2012 I'm not afraid to post it lol function checkLowHP() if getElementHealth(getLocalPlayer()) <= 20 then playSound("misc/heart_beat.wav") end end setTimer(checkLowHP, 1000, 0)
JR10 Posted January 31, 2012 Posted January 31, 2012 And the meta.xml. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Paper Posted January 31, 2012 Posted January 31, 2012 <meta> <info author="Paper" description="" name="asd" version="1.0" type="script" /> <file src="sounds/misc/heart_beat.wav" type="client" /> <script src="core.lua" /> </meta>
JR10 Posted January 31, 2012 Posted January 31, 2012 That's because, in your meta it's "sounds/misc/heart_beat.wav", while in the script "misc/heart_beat.wav". Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
JR10 Posted January 31, 2012 Posted January 31, 2012 You're welcome. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Paper Posted January 31, 2012 Posted January 31, 2012 But i should see an error in the debug script saying the path is not correct
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