Jonkero Posted May 18, 2010 Posted May 18, 2010 Hi everyone, I hope someone of you guys can help me, as I really cant find any other reason, which caused this problem. Well, since I've started my server, I had some troubles with the "Resources" tab at the Admin panel. I cannot start/restart/stop resources through the panel. To make it work, I gotta type the command for it. (Example /start test1). I really dont know what is causing this problem. The acl.xml file seems everything fine, and the rest too. But on the debugconsole, it gives me these errors back : WARNING : admin/server/admin_server.lua:997: Access denied @ 'stopResource' WARNING : admin/server/admin_server.lua:996: Access denied @ 'restartResource' WARNING : admin/server/admin_server.lua:995: Access denied @ 'startResource' It's just weird that with the commands, it's not giving me any error. Im actually a newbie, if the discussion is about scripting. That's why I had difficulties to find out the reason why this problem is caused. I hope that you can enlighten me. Thanks in advance for the help.
dzek (varez) Posted May 18, 2010 Posted May 18, 2010 post your acl.xml here Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Jonkero Posted May 18, 2010 Author Posted May 18, 2010 Well, here it is. <acl> <group name="Everyone"> <acl name="Default" /> <object name="user.*" /> <object name="resource.*" /> </group> <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="user.Jonkero" /> </group> <group name="Console"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="user.Console" /> </group> <acl name="Admin"> <right name="general.ModifyOtherObjects" access="true" /> <right name="general.http" access="true" /> <right name="command.shutdown" access="true" /> <right name="command.install" access="true" /> <right name="command.aexec" access="true" /> <right name="command.debugscript" access="true" /> <right name="command.upgrade" access="true" /> <right name="command.crun" access="true" /> <right name="command.srun" access="true" /> <right name="command.run" access="true" /> <right name="function.addBan" access="true" /> <right name="function.removeBan" access="true" /> <right name="function.executeCommandHandler" access="true" /> <right name="function.setServerPassword" access="true" /> <right name="function.getServerPassword" access="true" /> <right name="function.createResource" access="true" /> <right name="function.copyResource" access="true" /> <right name="function.addResourceMap" access="true" /> <right name="function.addResourceConfig" access="true" /> <right name="function.removeResourceFile" access="true" /> <right name="function.setResourceDefaultSetting" access="true" /> <right name="function.removeResourceDefaultSetting" access="true" /> <right name="function.aclReload" access="true" /> <right name="function.aclSave" access="true" /> <right name="function.aclCreate" access="true" /> <right name="function.aclDestroy" access="true" /> <right name="function.aclSetRight" access="true" /> <right name="function.aclRemoveRight" access="true" /> <right name="function.aclCreateGroup" access="true" /> <right name="function.aclDestroyGroup" access="true" /> <right name="function.aclGroupAddACL" access="true" /> <right name="function.aclGroupRemoveACL" access="true" /> <right name="function.aclGroupAddObject" access="true" /> <right name="function.aclGroupRemoveObject" access="true" /> <right name="general.adminpanel" access="true" /> <right name="general.tab_players" access="true" /> <right name="general.tab_resources" access="true" /> <right name="general.tab_server" access="true" /> <right name="general.tab_bans" access="true" /> <right name="general.tab_adminchat" access="true" /> <right name="command.kick" access="true" /> <right name="command.freeze" access="true" /> <right name="command.mute" access="true" /> <right name="command.shout" access="true" /> <right name="command.spectate" access="true" /> <right name="command.slap" access="true" /> <right name="command.setgroup" access="true" /> <right name="command.sethealth" access="true" /> <right name="command.setarmour" access="true" /> <right name="command.setmoney" access="true" /> <right name="command.setskin" access="true" /> <right name="command.setteam" access="true" /> <right name="command.giveweapon" access="true" /> <right name="command.setstat" access="true" /> <right name="command.jetpack" access="true" /> <right name="command.warp" access="true" /> <right name="command.setdimension" access="true" /> <right name="command.setinterior" access="true" /> <right name="command.createteam" access="true" /> <right name="command.destroyteam" access="true" /> <right name="command.givevehicle" access="true" /> <right name="command.repair" access="true" /> <right name="command.blowvehicle" access="true" /> <right name="command.destroyvehicle" access="true" /> <right name="command.customize" access="true" /> <right name="command.setcolor" access="true" /> <right name="command.setpaintjob" access="true" /> <right name="command.listmessages" access="true" /> <right name="command.readmessage" access="true" /> <right name="command.listresources" access="true" /> <right name="command.start" access="true" /> <right name="command.stop" access="true" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="true" /> <right name="command.execute" access="true" /> <right name="command.setpassword" access="true" /> <right name="command.setwelcome" access="true" /> <right name="command.setgame" access="true" /> <right name="command.setmap" access="true" /> <right name="command.setweather" access="true" /> <right name="command.blendweather" access="true" /> <right name="command.setblurlevel" access="true" /> <right name="command.setwaveheight" access="true" /> <right name="command.setskygradient" access="true" /> <right name="command.setgamespeed" access="true" /> <right name="command.setgravity" access="true" /> <right name="command.settime" access="true" /> <right name="command.ban" access="true" /> <right name="command.unban" access="true" /> <right name="command.banip" access="true" /> <right name="command.unbanip" access="true" /> <right name="command.banserial" access="true" /> <right name="command.unbanserial" access="true" /> <right name="command.listbans" access="true" /> <right name="resource.superman" access="true" /> <right name="resource.admin" access="true" /> </acl> </acl> I removed the other unnecessary groups like Moderator, Supermoderator, ect. To not make it too long.
50p Posted May 18, 2010 Posted May 18, 2010 Your Admin acl doesn't have access to start/stop/restartResource functions even thought it has access to start/stop/restart commands. Just add these: <right name="function.startResource" access="true" /> <right name="function.stopResource" access="true" /> <right name="function.restartResource" access="true" /> - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
50p Posted May 18, 2010 Posted May 18, 2010 No problem buddy. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
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