Jump to content

[REL][GM] (ZA) Zombie Apocalypse - New Gamemode


12p

What is your opinion of this gamemode?  

67 members have voted

  1. 1. What is your opinion of this gamemode?

    • Best resource ever
      10
    • Excellent
      15
    • Good
      12
    • Common
      21
    • Bad
      2
    • Worse
      1
    • Worst resource ever
      6


Recommended Posts

  • 3 weeks later...

accounts.xml is no longer used from 1.0.4 version (but what have you edited? O_O)

is server triggering any error? (check the logs if you dont have direct access to console - like on server hostings)

post your acl.

remember to edit acl only when server IS NOT running, then start your server

Link to comment

In the file server.log are many errors Access Denied.

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.Pawlllosss" />
  <object name="resource.admin" />
  <object name="resource.webadmin" />
  <object name="resource.ZA" />
  </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="true" />
  <right name="command.changemode" access="true" />
  <right name="command.changemap" access="true" />
  <right name="command.stopmode" access="true" />
  <right name="command.stopmap" access="true" />
  <right name="command.skipmap" access="true" />
  <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="true" />
  <right name="function.unbanSerial" access="true" />
  <right name="function.getClientIP" access="true" />
  <right name="function.startResource" access="true" />
  <right name="function.stopResource" access="true" />
  <right name="function.restartResource" access="true" />
  <right name="function.redirectPlayer" access="true" />
  <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="true" />
  <right name="general.tab_bans" access="false" />
  <right name="general.tab_adminchat" access="true" />
  <right name="command.kick" access="false" />
  <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="true" />
  <right name="command.setarmour" access="true" />
  <right name="command.setmoney" access="false" />
  <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="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="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="false" />
Link to comment
  • 1 month later...

I am noticing error message spam like this:

WARNING: za/zkillreward.lua:3: Bad argument @ 'getPlayerAccount' 
WARNING: za/zkillreward.lua:5: Bad argument @ 'hasObjectPermissionTo' 

The lines referred in those errors include addEventHandler I think.

addEventHandler ("onPlayerJoin",getRootElement(), 
function (client) 
local player = getPlayerAccount(client) 
 look = nil 
    if hasObjectPermissionTo( client, 'general.adminpanel', false ) then 
       setAccountData (player,"Permission to get out","true") 
    end 
end) 

Is there any way to fix that? I don't know how to script or anything but changing lines and such I can definitely do.

Also, as this has been mentioned before...

the problem is that since MTA 1.0.4 accounts are saved in internal.db file instead of accounts.xml and this is no longer a xml file, but sqlite database.

of course you can still use getAccountData etc, but you can't edit this data with notepad. use sqlite browser.

I am also getting aforementioned spam regarding getAccountData. If the function can still be used the same way, why are errors still getting put out in regards to it? Is there something I should change in the SQLite database to better reflect the behaviour of the function?

{Third issue nicked due to being answered in appropriate thread.}

Anyway, thanks for any help in advance. This is a fun resource and I'd like to be able to host it nearly full-time. (save for when I just want to mess around and make things go boom)

EDIT: Forgot to add: I am using the 1.0.4-9-2033.2 release on GNU/Linux, Ubuntu distro with XFCE4.

Link to comment
  • 1 month later...

yep same problem. When I try to register, it's says that

  
[12:40:45] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
[12:40:45] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
[12:40:45] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
[12:40:45] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
[12:40:45] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
[12:40:47] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
[12:40:47] WARNING: za\login.serv.lua:26: Access denied @ 'addAccount' 
  

Please fix that, please please

Link to comment

1. Use EDIT Button please.

2. That is not a bug, you didn't add "za" to "Admin" ACL Group so it can't add any account to the server because doesn't has rights.

3. The problem about not-earning money may be caused by LAG, otherwise it should work because the script itself works.

Link to comment
  • 9 months later...

[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:29] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 
[2011-10-20 21:35:30] ERROR: zombies\zombie_server.lua:138: attempt to perform arithmetic on global 'x' (a boolean value) 

Help me!!! :C

Link to comment

Y U no create a GM yourself?

I won't give support about that sh*tty gamemode anymore, because it's completely garbage, outdated and buggy (although I won't give a f*ck about Zombies concept in MTA, I'm planning other gamemodes/scripts/things).

Sorry, mate.

But you can make great things if you put effort at them.

Learn to script is the way.

Link to comment

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...