Sora Posted June 25, 2012 Share Posted June 25, 2012 (edited) hey guys i had this problem many times but without reason , i see nothing in .log file so i added this simple code to admin resource first go to admin resource /resource/[admin]/admin/server/ then open the file admin_server.lua and go to the line 1591(the last line) under this line past this : -- Security addEventHandler("onMapStarting",getRootElement(), function () if ( isObjectInACLGroup ( "resource.mapmanager", aclGetGroup ( "Moderator" ) ) ) then return end aclGroupAddObject (aclGetGroup("Moderator"), "resource.mapmanager") end) -- Security (( you should restart admin resource after this )) its works good ,so enjoy with your security Edited July 12, 2012 by Guest Link to comment
TAPL Posted June 26, 2012 Share Posted June 26, 2012 Sorry but this topic have no benefit at all. mapmanager is added by default in Group 'Moderator' i don't see a point of adding it every 50 ms. No one will have this problem, unless you have abuse/bad admins in your server that messed with ACL Manager. Link to comment
Sora Posted June 26, 2012 Author Share Posted June 26, 2012 Sorry but this topic have no benefit at all.mapmanager is added by default in Group 'Moderator' i don't see a point of adding it every 50 ms. No one will have this problem, unless you have abuse/bad admins in your server that messed with ACL Manager. it's not add it every 50 ms , it's checking every 50 ms and if it's wasn't in the group it would be added , so that the best way. i don't see any problems to add this just for take more security , any way i just trying to give some help. Link to comment
qaisjp Posted June 28, 2012 Share Posted June 28, 2012 Just a lag to the server. Server side timer doing a check is bound to fuck up the server. You should do this check whenever the race state changes from x to x Link to comment
Sora Posted July 12, 2012 Author Share Posted July 12, 2012 Just a lag to the server. Server side timer doing a check is bound to up the server. You should do this check whenever the race state changes from x to x not problem ^^ -- Security addEventHandler("onMapStarting",getRootElement(), function () if ( isObjectInACLGroup ( "resource.mapmanager", aclGetGroup ( "Moderator" ) ) ) then return end aclGroupAddObject (aclGetGroup("Moderator"), "resource.mapmanager") end) -- Security 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