Guest Posted June 12, 2008 Share Posted June 12, 2008 I tried to add this resource just for test. I have test.rar on resource folder. test.rar contains these two files, test.lua and meta.xml. meta.xml looks like this: and I have this on mtaserver.conf: . I'm getting this error on server console ERROR: Couldn't find resource test. Check it exists. Why it doesn't work? Link to comment
eAi Posted June 12, 2008 Share Posted June 12, 2008 What makes you think MTA supports rar files for resources? MTA supports resources as zip files and as folders. The latter is easier to work with while developing, the former is easier to distribute. Link to comment
[DooD]Heavyair Posted June 13, 2008 Share Posted June 13, 2008 have to say i had the same problem ( using winrar ) when u create an archive with winrar it defaults to .RAR format you have to tick the little .ZIP button and then delete the .ZIP extension it puts on the end of the filename and then create archive should just say test but not test.rar or test.zip Link to comment
50p Posted June 13, 2008 Share Posted June 13, 2008 have to say i had the same problem ( using winrar )when u create an archive with winrar it defaults to .RAR format you have to tick the little .ZIP button and then delete the .ZIP extension it puts on the end of the filename and then create archive should just say test but not test.rar or test.zip Don't you have windows built-in zip compressor? Right click selected files -> Send to -> Compressed folder Link to comment
Guest Posted June 13, 2008 Share Posted June 13, 2008 Yea i got it working now, thx. But i was wondering, can i add resource, and start it without quiting server and starting it? Link to comment
[DooD]Heavyair Posted June 13, 2008 Share Posted June 13, 2008 if you set yourself as admin you can stop and start resources from the console or admin screen ( press F8 for console / p for admin screen to set admin look in mta server directory\mods\deathmatch open ACL.XML <group name="Admin"> <acl name="Moderator"/> <acl name="SuperModerator"/> <acl name="Admin"/> <acl name="RPC"/> <object name="user.HeavyAir"/> <object name="resource.admin"/> then change HeavyAir to what your username is and then open ACCOUNTS.XML and add this <account name="Username here" password="password if u want one" /> then either press P and start resource or press F8 and type start resource name here Link to comment
Mr.Hankey Posted June 13, 2008 Share Posted June 13, 2008 i think he asked for a way to add new resources to the server and use them without restarting the server so it recognizes the new resources And to answer your question, yes just type "refresh" into the server console without the qoutes. Alternative you can just use /refresh in the game if you got admin access. Link to comment
[DooD]Heavyair Posted June 13, 2008 Share Posted June 13, 2008 how daft do i feel LOL 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