Quited Posted July 22, 2013 Share Posted July 22, 2013 (edited) Hi All it is nice to add simple command reloadacl to reload acl.xml. * Don't Reply for use runcode resource or Execute command in admin panel to do this , It's mostly used for hacking and cheat. Edited August 26, 2013 by Guest Link to comment
Castillo Posted July 22, 2013 Share Posted July 22, 2013 How would it be used for "hacking"? Link to comment
Quited Posted July 22, 2013 Author Share Posted July 22, 2013 (edited) How would it be used for "hacking"? start runcode Resource , type into console "F8" srun setTimer(outputChatBox,1000,0,"Type Anything",root,0,0,0,true) And srun setTimer(function () fadeCamera ( root, false, 1.0, math.random(255), math.random(255), math.random(255)) end,500,0) or type srun addEventHandler("onPlayerJoin",root, function() redirectPlayer(source,'Your server ip','Your server port') end ) After that and you will see whats doing Edited August 26, 2013 by Guest Link to comment
TAPL Posted July 22, 2013 Share Posted July 22, 2013 This happen only with "stupids" and sorry to tell that but what you was expect when you give everyone admin rights like giving chocolate to everyone whom you don't know or you can't trust him. Link to comment
Castillo Posted July 22, 2013 Share Posted July 22, 2013 Or when you don't restrict the runcode to admin only. Link to comment
Quited Posted July 22, 2013 Author Share Posted July 22, 2013 This happen only with stupids and sorry to tell that but what you was expect when you give everyone admin rights like giving chocolate to everyone whom you don't know or you can't trust him. I know, but I give him an answer to his question Link to comment
Quited Posted July 22, 2013 Author Share Posted July 22, 2013 Or when you don't restrict the runcode to admin only. Even if made runcode resource restrict to admins , I do not trust admins. Link to comment
Sora Posted July 22, 2013 Share Posted July 22, 2013 '' runcode commands wont work with any player except admins and this resource is really useful '' anyways about the reload command you can make it yourself addCommandHandler("reloadacl", function (player) local accountname = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accountname.."",aclGetGroup("admin")) then aclReload() outputChatBox("* ACL Reloaded.",player,255,255,255,true) end end) add it to admin resource or another resource that have admin rights Link to comment
ixjf Posted July 22, 2013 Share Posted July 22, 2013 Even if made runcode resource restrict to admins , I do not trust admins. If you do not trust in your team, perhaps they shouldn't be in? I mean, this is common sense.. Link to comment
Quited Posted July 30, 2013 Author Share Posted July 30, 2013 '' runcode commands wont work with any player except admins and this resource is really useful ''anyways about the reload command you can make it yourself addCommandHandler("reloadacl", function (player) local accountname = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accountname.."",aclGetGroup("admin")) then aclReload() outputChatBox("* ACL Reloaded.",player,255,255,255,true) end end) add it to admin resource or another resource that have admin rights Thanks Sora Link to comment
DanHR Posted July 31, 2013 Share Posted July 31, 2013 Cant the command be console-only? Modloader's mdel blah blah command is console only, so a admin cant delete cars. Link to comment
xXMADEXx Posted August 1, 2013 Share Posted August 1, 2013 You could make it so runcode will only work on certain accounts... Link to comment
Quited Posted August 6, 2013 Author Share Posted August 6, 2013 You could make it so runcode will only work on certain accounts... how ? Link to comment
xXMADEXx Posted August 8, 2013 Share Posted August 8, 2013 You could make it so runcode will only work on certain accounts... how ? With: isGuestAccount getPlayerAccount getAccountName Link to comment
Markeloff Posted August 22, 2013 Share Posted August 22, 2013 Add runcode to admin acl. do /run aclReload() or /srun aclReload() if you have debug like access Denied restart runcode. PS : TAPL, i love chocolate :3. Link to comment
Quited Posted August 26, 2013 Author Share Posted August 26, 2013 Add runcode to admin acl. do /run aclReload() or /srun aclReload() if you have debug like access Denied restart runcode. PS : TAPL, i love chocolate :3. i said : * Don't Reply for use runcode resource or Execute command in admin panel to do this , It's mostly used for hacking and cheat. Link to comment
Recommended Posts