HeArTBeaT Posted April 5, 2013 Share Posted April 5, 2013 well I have the scripts the map , included the scripts and map in meta , but when I try to start it it says resource not found. Link to comment
tosfera Posted April 5, 2013 Share Posted April 5, 2013 Try to refresh your resources. In the cmd of the server (The server console), type in: Refresh It will say that it found a new script and loaded it (un)successfully. After that you can start it Link to comment
xXMADEXx Posted April 6, 2013 Share Posted April 6, 2013 make sure, if you transfered map to LUA, you use: <script src="name.lua" type="client" /> and not <map src="name.lua" type="client" /> Link to comment
Jaysds1 Posted April 6, 2013 Share Posted April 6, 2013 Try typing in "Upgrade all", and if it shows anything about the resource has failed then post your meta.xml here please. Link to comment
HeArTBeaT Posted April 8, 2013 Author Share Posted April 8, 2013 (edited) well it opens my map now , so thanks so far , but it still wont load scripts , it says resource not found. look at my meta files tell me if I did something wrong (also look at pics) <meta> <info author="HeArTBeaT" type="server" name="Fallout San Andreas" description="multi mode wasteland roleplay" /> <script src="client.lua" type="client"/> <map src="FalloutLosSantos.map" type="map" /> <map dimension="0" src="FalloutLosSantos.map"/> <file src="images/info.png" /> <file src="images/language/eng.png" /> <file src="images/language/ger.png" /> </meta> And this is the map meta <meta> <info type="map" name="FalloutLosSantos" author="HeArTBeaT[TBT]" version="1.0.0" description="Team Death Match , Teritory war , Capture The Flag"></info> <map src="FalloutLosSantos.map" dimension="0"></map> <settings> <setting name="#minplayers" value="[ 0 ]"></setting> <setting name="#maxplayers" value="[ 128 ]"></setting> <setting name="#gravity" value="[ 0.008000 ]"></setting> <setting name="#weather" value="[ 0 ]"></setting> <setting name="#time" value="11:0"></setting> <setting name="#locked_time" value="[ true ]"></setting> <setting name="#waveheight" value="[ 0 ]"></setting> <setting name="#gamespeed" value="[ 1 ]"></setting> </settings> <script src="mapEditorScriptingExtension_s.lua"></script> </meta> and these pics to see the files: from script From map when I use start falloutlossantos to open the map it works without problems now. but when I try to use start falloutscript it says resource could not be found. any solutions please? Edited April 8, 2013 by Guest Link to comment
HeArTBeaT Posted April 8, 2013 Author Share Posted April 8, 2013 EDIT : sorry double post , slow loading. Link to comment
unknooooown Posted April 8, 2013 Share Posted April 8, 2013 In your script folder you have called the meta.xml file mta.xml - Thats whats causing the problem. Link to comment
Ab-47 Posted April 8, 2013 Share Posted April 8, 2013 In your script folder you have called the meta.xml file mta.xml - Thats whats causing the problem. @Wadamde, the file he saved was "mta.txt" not "mta.xml", lol minor mistake, who cares.. HeArTBeaT, tell us if the situation is resolved please. Link to comment
unknooooown Posted April 8, 2013 Share Posted April 8, 2013 In your script folder you have called the meta.xml file mta.xml - Thats whats causing the problem. @Wadamde, the file he saved was "mta.txt" not "mta.xml", lol minor mistake, who cares.. HeArTBeaT, tell us if the situation is resolved please. Not that it really matters, but where do you see ".txt" ? Link to comment
HeArTBeaT Posted April 8, 2013 Author Share Posted April 8, 2013 still not working. Says resource not found. I edited the Meta (I made a typing mistake and named it mta btw) with notepad but its in .xml format. Link to comment
Ab-47 Posted April 9, 2013 Share Posted April 9, 2013 In your script folder you have called the meta.xml file mta.xml - Thats whats causing the problem. @Wadamde, the file he saved was "mta.txt" not "mta.xml", lol minor mistake, who cares.. HeArTBeaT, tell us if the situation is resolved please. Not that it really matters, but where do you see ".txt" ? Here: Link to comment
HeArTBeaT Posted April 10, 2013 Author Share Posted April 10, 2013 you mean meta file? but it says xml type.... look right part of the screen Link to comment
Ab-47 Posted April 10, 2013 Share Posted April 10, 2013 you mean meta file? but it says xml type....look right part of the screen Oh Oh Ok.. Lol sorry, I was getting confused with the icon, lol.. Link to comment
50p Posted April 10, 2013 Share Posted April 10, 2013 well it opens my map now , so thanks so far , but it still wont load scripts , it says resource not found.look at my meta files tell me if I did something wrong (also look at pics) <meta> <info author="HeArTBeaT" type="server" name="Fallout San Andreas" description="multi mode wasteland roleplay" /> <script src="client.lua" type="client"/> <map src="FalloutLosSantos.map" type="map" /> <map dimension="0" src="FalloutLosSantos.map"/> <file src="images/info.png" /> <file src="images/language/eng.png" /> <file src="images/language/ger.png" /> </meta> And this is the map meta <meta> <info type="map" name="FalloutLosSantos" author="HeArTBeaT[TBT]" version="1.0.0" description="Team Death Match , Teritory war , Capture The Flag"></info> <map src="FalloutLosSantos.map" dimension="0"></map> <settings> <setting name="#minplayers" value="[ 0 ]"></setting> <setting name="#maxplayers" value="[ 128 ]"></setting> <setting name="#gravity" value="[ 0.008000 ]"></setting> <setting name="#weather" value="[ 0 ]"></setting> <setting name="#time" value="11:0"></setting> <setting name="#locked_time" value="[ true ]"></setting> <setting name="#waveheight" value="[ 0 ]"></setting> <setting name="#gamespeed" value="[ 1 ]"></setting> </settings> <script src="mapEditorScriptingExtension_s.lua"></script> </meta> and these pics to see the files: from script ...... From map ...... when I use start falloutlossantos to open the map it works without problems now. but when I try to use start falloutscript it says resource could not be found. any solutions please? Your folloutscript meta.xml contains inclusion of files that do not exists in the falloutscript folder. When you start/refresh the server and the resource can't be found when starting it, you have got a problem with meta.xml. So, first thing you do is validate the xml file (copy all the content of the file and use XML Validator), if you won't get any xml format problems then check if the files that you include actually exists in the resource folder/subfolders (whatever the path you used as src attribute). In your meta.xml you have these 2 lines: <map src="FalloutLosSantos.map" type="map" /> <map dimension="0" src="FalloutLosSantos.map"/> Both of these lines are pointless since you don't have the .map file in the same folder as meta.xml (that's the src is pointing) bysides, type="map" also has no use since nodes only supports 2 attributes (src and dimension). So remove the 2 lines and try again. If you want falloutscript to start with the FalloutLosSantos map then include "falloutscript" resource inside the FalloutLosSantos map's meta.xml as: <include resource="falloutscript" /> Link to comment
HeArTBeaT Posted April 11, 2013 Author Share Posted April 11, 2013 I did all that validator found no errors (deleted search map part) and added 1. but it says it failed to find the link to fallout script mind if I send these files to you ? maybe you can find a solution if you see them first hand. Link to comment
Jaysds1 Posted April 11, 2013 Share Posted April 11, 2013 Actually, I've just noticed something in your meta script. Try this: > author="HeArTBeaT" type="script" name="Fallout San Andreas" description="multi mode wasteland roleplay" /> ="client.lua" type="client"/> src="FalloutLosSantos.map" dimension="0"/> src="images/info.png" /> src="images/language/eng.png" /> src="images/language/ger.png" />> Link to comment
HeArTBeaT Posted April 11, 2013 Author Share Posted April 11, 2013 well I did as you guys said: and made map meta like this : still cant open it with the script. event tried moving script folder inside map folder. Link to comment
50p Posted April 11, 2013 Share Posted April 11, 2013 In the server's console type: info falloutscript It should tell you some more information. Link to comment
Jaysds1 Posted April 11, 2013 Share Posted April 11, 2013 JEEEZE, You keep putting something else instead of the correct type... change this line: author="HeArTBeaT" type="client" name="Fallout San Andreas" description="script" /> to this: author="HeArTBeaT" type="script" name="Fallout San Andreas" description="script" /> and please read more on meta.xml Link to comment
HeArTBeaT Posted April 11, 2013 Author Share Posted April 11, 2013 hmm I did that and it still wont work Link to comment
Jaysds1 Posted April 11, 2013 Share Posted April 11, 2013 try shortening the names of the folder and change the uppercase letters to lowercase. For an example: "LosSantosMap" shorter and lowercase - "lsmap" Link to comment
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