MiniGoveya Posted October 1, 2010 Share Posted October 1, 2010 (edited) Good evening ladies and gentlemen, tonight I come to ask a question, no scripting or anything like that. Well, bit of scripting you have to do with this topic. My question is: Why when I put any kind of script files either on a map files, gives me error downloading the map in the game server? But only happens on my server,on my maps, because I've seen and I've played maps which have scripts of any kind and operate normally, why not mine?. I remember you something, the map fails with just putting a script 'setCloudsEnable' or a replacement TXD. All from script. I dont know if I put something wrong in the script, not if I put something wrong in the meta.xml, I dont know really what i do wrong. If I test the map with the script's in a game server = Error. If I test the map with the script's in the map editor = Error. Here I give you some pictures, illustrations, photos, etc ... giving them examples of what happens to me. Example: Script: function startclient () setSkyGradient( 255 , 0 , 0 , 255 , 255 , 255 ) setWaterColor ( 0,255,0 ) end addEventHandler( "onClientResourceStart", resourceRoot, startclient ) meta: Result: Hope to see you say and ... I would like to solve this little problem. Then, Good Night and good dreams. See you later. varez Don't hate me P.S. : In a few moments, in which when I try the script in the map editor does not give me any error. In the game server, it always gives me error. Edited October 1, 2010 by Guest Link to comment
dzek (varez) Posted October 1, 2010 Share Posted October 1, 2010 map editor isnt loading these scripts. can you zip whole resource and send to me via pm? i'll check if it's doing the same for me. Link to comment
MiniGoveya Posted October 1, 2010 Author Share Posted October 1, 2010 Ok. Thanks for super-fast reply O_O Link to comment
[DMC] Posted October 1, 2010 Share Posted October 1, 2010 no lol just rename the zip folder with race- infront of it Link to comment
BinSlayer1 Posted October 2, 2010 Share Posted October 2, 2010 the 'race-' bit is not important as DMC instructed you the problem is your resource has spaces in its name If you have something like my resource.zip , name it myresource.zip Link to comment
dzek (varez) Posted October 2, 2010 Share Posted October 2, 2010 I just tested it, fixed when i renamed folder with it to not contain spaces. Link to comment
MiniGoveya Posted October 2, 2010 Author Share Posted October 2, 2010 Omg. Thanks you so much: *varez Always help me and ever when you help me always work . *BinSlayer Thanks for help me, it work too. Link to comment
MiniGoveya Posted October 2, 2010 Author Share Posted October 2, 2010 Sorry for double post, varez or someone, is necesary put race- ? or only name without spaces? Link to comment
dzek (varez) Posted October 2, 2010 Share Posted October 2, 2010 no need to "race-" prefix, just remove spaces 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