Jump to content

Warning when trying to lunch a gamemode


battlefield

Recommended Posts

well here is my code

<group name="Admin"> 
        <acl name="Moderator" /> 
        <acl name="SuperModerator" /> 
        <acl name="Admin" /> 
        <acl name="RPC" /> 
        <object name="user.Battlefield" /> 
        <object name="resource.webadmin" /> 
    </group> 

and varez i don't know what you mean whith that and i start my gamemodes from webserver and it makes that warning on server.

Link to post
  • 2 weeks later...

OK here is the whole ACL

<acl> 
    <group name="Everyone">
        <acl name="Default" />
        <object name="user.*" />
        <object name="resource.*" />
    </group>
    <group name="Moderator">
        <acl name="Moderator" />
        <object name="resource.mapcycler" />
        <object name="resource.mapmanager" />
        <object name="resource.resourcemanager" />
        <object name="resource.votemanager" />
    </group>
    <group name="SuperModerator">
        <acl name="Moderator" />
        <acl name="SuperModerator" />
    </group>
    <group name="Admin">
        <acl name="Moderator" />
        <acl name="SuperModerator" />
        <acl name="Admin" />
        <acl name="RPC" />
        <object name="user.Battlefield" />
        <object name="resource.webadmin" />
    </group>
    <group name="Console">
        <acl name="Moderator" />
        <acl name="SuperModerator" />
        <acl name="Admin" />
        <acl name="RPC" />
        <object name="user.Console" />
    </group>
    <group name="RPC">
        <acl name="RPC" />
    </group>
    <group name="MapEditor">
        <acl name="Default" />
        <acl name="MapEditor" />
        <object name="resource.editor_main" />
        <object name="resource.edf" />
    </group>
    <group name="raceACLGroup">
        <acl name="Default" />
        <acl name="raceACL" />
        <object name="resource.race" />
    </group>
    <acl name="Default">
        <right name="general.ModifyOtherObjects" access="false" />
        <right name="general.http" access="false" />
        <right name="command.start" access="false" />
        <right name="command.stop" access="false" />
        <right name="command.stopall" access="false" />
        <right name="command.gamemode" access="false" />
        <right name="command.changemode" access="false" />
        <right name="command.changemap" access="false" />
        <right name="command.stopmode" access="false" />
        <right name="command.stopmap" access="false" />
        <right name="command.skipmap" access="false" />
        <right name="command.restart" access="false" />
        <right name="command.refresh" access="false" />
        <right name="command.refreshall" access="false" />
        <right name="command.addaccount" access="false" />
        <right name="command.delaccount" access="false" />
        <right name="command.debugscript" access="false" />
        <right name="command.chgpass" access="false" />
        <right name="command.loadmodule" access="false" />
        <right name="command.upgrade" access="false" />
        <right name="command.mute" access="false" />
        <right name="command.crun" access="false" />
        <right name="command.srun" access="false" />
        <right name="command.run" access="false" />
        <right name="command.unmute" access="false" />
        <right name="command.kick" access="false" />
        <right name="command.ban" access="false" />
        <right name="command.banip" access="false" />
        <right name="command.unbanip" access="false" />
        <right name="command.shutdown" access="false" />
        <right name="command.install" access="false" />
        <right name="command.aexec" access="false" />
        <right name="command.whois" access="false" />
        <right name="command.whowas" access="false" />
        <right name="function.executeCommandHandler" access="false" />
        <right name="function.setPlayerMuted" access="false" />
        <right name="function.addAccount" access="false" />
        <right name="function.addBan" access="false" />
        <right name="function.removeBan" access="false" />
        <right name="function.removeAccount" access="false" />
        <right name="function.setAccountPassword" access="false" />
        <right name="function.kickPlayer" access="false" />
        <right name="function.banIP" access="false" />
        <right name="function.banPlayer" access="false" />
        <right name="function.banSerial" access="false" />
        <right name="function.getBansXML" access="false" />
        <right name="function.unbanIP" access="false" />
        <right name="function.unbanSerial" access="false" />
        <right name="function.getClientIP" access="false" />
        <right name="function.setServerPassword" access="false" />
        <right name="function.getServerPassword" access="false" />
        <right name="function.callRemote" access="false" />
        <right name="function.startResource" access="false" />
        <right name="function.stopResource" access="false" />
        <right name="function.restartResource" access="false" />
        <right name="function.createResource" access="false" />
        <right name="function.copyResource" access="false" />
        <right name="function.addResourceMap" access="false" />
        <right name="function.addResourceConfig" access="false" />
        <right name="function.removeResourceFile" access="false" />
        <right name="function.setResourceDefaultSetting" access="false" />
        <right name="function.removeResourceDefaultSetting" access="false" />
        <right name="function.redirectPlayer" access="false" />
        <right name="function.aclReload" access="false" />
        <right name="function.aclSave" access="false" />
        <right name="function.aclCreate" access="false" />
        <right name="function.aclDestroy" access="false" />
        <right name="function.aclSetRight" access="false" />
        <right name="function.aclRemoveRight" access="false" />
        <right name="function.aclCreateGroup" access="false" />
        <right name="function.aclDestroyGroup" access="false" />
        <right name="function.aclGroupAddACL" access="false" />
        <right name="function.aclGroupRemoveACL" access="false" />
        <right name="function.aclGroupAddObject" access="false" />
        <right name="function.aclGroupRemoveObject" access="false" />
        <right name="general.adminpanel" access="false" />
        <right name="general.tab_players" access="false" />
        <right name="general.tab_resources" access="false" />
        <right name="general.tab_server" access="false" />
        <right name="general.tab_bans" access="false" />
        <right name="general.tab_adminchat" access="false" />
        <right name="command.freeze" access="false" />
        <right name="command.shout" access="false" />
        <right name="command.spectate" access="false" />
        <right name="command.slap" access="false" />
        <right name="command.setgroup" access="false" />
        <right name="command.sethealth" access="false" />
        <right name="command.setarmour" access="false" />
        <right name="command.setmoney" access="false" />
        <right name="command.setskin" access="false" />
        <right name="command.setteam" access="false" />
        <right name="command.giveweapon" access="false" />
        <right name="command.setstat" access="false" />
        <right name="command.jetpack" access="false" />
        <right name="command.warp" access="false" />
        <right name="command.setdimension" access="false" />
        <right name="command.setinterior" access="false" />
        <right name="command.givevehicle" access="false" />
        <right name="command.repair" access="false" />
        <right name="command.blow" access="false" />
        <right name="command.destroy" access="false" />
        <right name="command.customize" access="false" />
        <right name="command.setcolor" access="false" />
        <right name="command.setpaintjob" access="false" />
        <right name="command.listmessages" access="false" />
        <right name="command.readmessage" access="false" />
        <right name="command.listresources" access="false" />
        <right name="command.execute" access="false" />
        <right name="command.setpassword" access="false" />
        <right name="command.setwelcome" access="false" />
        <right name="command.setgame" access="false" />
        <right name="command.setmap" access="false" />
        <right name="command.setweather" access="false" />
        <right name="command.blendweather" access="false" />
        <right name="command.setblurlevel" access="false" />
        <right name="command.setwaveheight" access="false" />
        <right name="command.setskygradient" access="false" />
        <right name="command.setgamespeed" access="false" />
        <right name="command.setgravity" access="false" />
        <right name="command.settime" access="false" />
        <right name="command.unban" access="false" />
        <right name="command.banserial" access="false" />
        <right name="command.unbanserial" access="false" />
        <right name="command.listbans" access="false" />
    </acl>
    <acl name="Moderator">
        <right name="general.ModifyOtherObjects" access="false" />
        <right name="command.gamemode" access="false" />
        <right name="command.changemode" access="false" />
        <right name="command.changemap" access="false" />
        <right name="command.stopmode" access="false" />
        <right name="command.stopmap" access="false" />
        <right name="command.skipmap" access="false" />
        <right name="command.mute" access="true" />
        <right name="command.unmute" access="true" />
        <right name="command.whois" access="true" />
        <right name="command.whowas" access="true" />
        <right name="function.setPlayerMuted" access="true" />
        <right name="function.kickPlayer" access="true" />
        <right name="function.banIP" access="true" />
        <right name="function.banPlayer" access="true" />
        <right name="function.banSerial" access="true" />
        <right name="function.getBansXML" access="true" />
        <right name="function.unbanIP" access="false" />
        <right name="function.unbanSerial" access="false" />
        <right name="function.getClientIP" access="true" />
        <right name="function.startResource" access="false" />
        <right name="function.stopResource" access="false" />
        <right name="function.restartResource" access="true" />
        <right name="function.redirectPlayer" access="false" />
        <right name="general.adminpanel" access="true" />
        <right name="general.tab_players" access="true" />
        <right name="general.tab_resources" access="false" />
        <right name="general.tab_server" access="false" />
        <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.shout" access="true" />
        <right name="command.spectate" access="true" />
        <right name="command.slap" access="true" />
        <right name="command.setgroup" access="false" />
        <right name="command.sethealth" access="false" />
        <right name="command.setarmour" access="false" />
        <right name="command.setmoney" access="false" />
        <right name="command.setskin" access="false" />
        <right name="command.setteam" access="false" />
        <right name="command.giveweapon" access="false" />
        <right name="command.setstat" access="false" />
        <right name="command.jetpack" access="false" />
        <right name="command.warp" access="true" />
        <right name="command.setdimension" access="true" />
        <right name="command.setinterior" access="true" />
        <right name="command.createteam" access="false" />
        <right name="command.destroyteam" access="false" />
        <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="false" />
        <right name="command.stop" access="false" />
        <right name="command.stopall" access="false" />
        <right name="command.restart" access="false" />
        <right name="command.execute" access="false" />
        <right name="command.setpassword" access="false" />
        <right name="command.setwelcome" access="false" />
        <right name="command.setgame" access="false" />
        <right name="command.setmap" access="false" />
        <right name="command.setweather" access="false" />
        <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="false" />
        <right name="command.unban" access="false" />
        <right name="command.banip" access="false" />
Link to post

Lua

function joinHandler() 
    local x = 1315.84 
    local y = 1278.391 
    local z = 10.520 
    spawnPlayer(source, x, y, z) 
    fadeCamera(source, true) 
    setCameraTarget(source, source) 
    outputChatBox("Welcome to Fun Flight Server", source) 
end 
addEventHandler("onPlayerJoin", getRootElement(), joinHandler) 

meta

<meta> 
     <info author="Battlefield" type="aviation" name="Fun Fly" description="Fun Fly" /> 
     <script src="script.lua" /> 
     <map src="kr nek.map" /> 
</meta> 

I start server as usualy then i go to http://127.0.0.1:22005 enter my username and password. After that I click myserver and in right colum I press start and after that refresh but nothing changes and when I look in my server cmd it says Warning: Acess denied @ 'startresource' even if I try some other resource it does the same.

Link to post

1.Make sure, when you do "refresh" in console, it load it Correctly! whitout eny errors of meta.xml or other things.

2. When it loads correctly, then type in console "start ( ofcourse whitout < and > )

3.When it was started correctly, go to your server ( when it was no errors )

4.If it still dont do what you want, then show us your script,

Link to post
1.Make sure, when you do "refresh" in console, it load it Correctly! whitout eny errors of meta.xml or other things.

2. When it loads correctly, then type in console "start ( ofcourse whitout < and > )

3.When it was started correctly, go to your server ( when it was no errors )

4.If it still dont do what you want, then show us your script,

1.When I do refresh it says four errors that are for resources that are WIP but it allso says something about couldn't parse met.xml file for editor_dump

2.,3. It works now thank you

4. check the whole topic for my script ( I don't have more scripts than that one yet ;))

And varez no you are not right i have meta file and one .map file and of course first script for making you spawn where you want.

Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...