Thread: [PI]Paying 5usd to write 2 command methods.[$$$]

Results 1 to 9 of 9
  1. #1 [PI]Paying 5usd to write 2 command methods.[$$$] 
    Member Market Banned Market Banned
    Crispytoast's Avatar
    Join Date
    Nov 2010
    Posts
    448
    Thanks given
    19
    Thanks received
    42
    Rep Power
    17
    Need 2 commands written for PI base.(technically 4) First command i need written is a working ::mute and unmute and second i need is a :romote and :emote command)


    :romote/demote must promote to permission level: 1
    ::mute/unmute must only work for permission level: 1

    At completion please leave your paypal and i will be sure to send as a gift on paypal or western union if you prefer

    *note: I also have 5-6 runescape pins i will give one instead if you would like.


    -Toasty Boi
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Feb 2010
    Posts
    381
    Thanks given
    8
    Thanks received
    4
    Rep Power
    5
    Thats 4 commands. ill do it PM me

    Click here to see girls masturbating amazingly, If it dosent work click spoiler for link.
    Spoiler for Link:

    You idiot, HAHAHA!

    Reply With Quote  
     

  3. #3  
    Member Market Banned Market Banned
    Crispytoast's Avatar
    Join Date
    Nov 2010
    Posts
    448
    Thanks given
    19
    Thanks received
    42
    Rep Power
    17
    Quote Originally Posted by legacy508 View Post
    Thats 4 commands. ill do it PM me
    Read the actual post
    Reply With Quote  
     

  4. #4  
    Donator

    Join Date
    Feb 2010
    Posts
    381
    Thanks given
    8
    Thanks received
    4
    Rep Power
    5
    But the title says 2

    Click here to see girls masturbating amazingly, If it dosent work click spoiler for link.
    Spoiler for Link:

    You idiot, HAHAHA!

    Reply With Quote  
     

  5. #5  
    Member Market Banned Market Banned
    Crispytoast's Avatar
    Join Date
    Nov 2010
    Posts
    448
    Thanks given
    19
    Thanks received
    42
    Rep Power
    17
    Quote Originally Posted by legacy508 View Post
    But the title says 2
    Because its really only 2...just gotta switch the code to do the opposite...if you can code ::mute then it would take almost no work to code ::unmute....
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Oct 2010
    Posts
    32
    Thanks given
    0
    Thanks received
    1
    Rep Power
    2
    Ill do it, Pm me.
    Reply With Quote  
     

  7. #7  
    Member Market Banned Market Banned
    Crispytoast's Avatar
    Join Date
    Nov 2010
    Posts
    448
    Thanks given
    19
    Thanks received
    42
    Rep Power
    17
    Still up for grabs...please help!
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Dec 2009
    Posts
    250
    Thanks given
    30
    Thanks received
    4
    Rep Power
    1
    Mute & unmute is already added in PI source.
    The reason why mute won't work is because sanity commented a line out in connection.java..
    Last line, delete the // and remove the return false;

    ---

    Code:
    			if (playerCommand.startsWith("mute")) {
    				try {	
    					if(c.playerRights > 0){
    		return;
    		}
    					String playerToBan = playerCommand.substring(5);
    					Connection.addNameToMuteList(playerToBan);
    					for(int i = 0; i < Config.MAX_PLAYERS; i++) {
    						if(Server.playerHandler.players[i] != null) {
    							if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToBan)) {
    								Client c2 = (Client)Server.playerHandler.players[i];
    								c2.sendMessage("You have been muted by: " + c.playerName);
    								break;
    							} 
    						}
    					}
    				} catch(Exception e) {
    					c.sendMessage("Player Must Be Offline.");
    				}			
    			}
    			if (playerCommand.startsWith("unmute")) {
    				try {	
    					if(c.playerRights > 0){
    		return;
    		}
    					String playerToBan = playerCommand.substring(7);
    					Connection.unMuteUser(playerToBan);
    				} catch(Exception e) {
    					c.sendMessage("Player Must Be Offline.");
    				}			
    			}
    ?

    a promote command to PlayerRights 1.
    Code:
    			if (playerCommand.startsWith("promote")) {
    				try {	
    					String playerToG = playerCommand.substring(8);
    					for(int i = 0; i < Config.MAX_PLAYERS; i++) {
    						if(Server.playerHandler.players[i] != null) {
    							if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerToG)) {
    								Server.playerHandler.players[i].playerRights = 1;
    								c.sendMessage("You have given "+Misc.optimizeText(Server.playerHandler.players[i].playerName)+" the position: @[email protected]");
    								Server.playerHandler.players[i].disconnected = true;								
    							} 
    						}
    					}
    				} 
    				catch(Exception e) {
    					c.sendMessage("Player Must Be Offline.");
    				}
    			}
    			if (playerCommand.startsWith("demote") && c.playerName.equalsIgnoreCase("yourname")) {
    				try {
    					String playerTodonar = playerCommand.substring(7);
    					for(int i = 0; i < Config.MAX_PLAYERS; i++) {
    						if(Server.playerHandler.players[i] != null) {
    							if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(playerTodonar)) {
    								Server.playerHandler.players[i].playerRights = 0;
    							} 
    						}
    					}
    				} catch(Exception e) {
    					c.sendMessage("Player Must Be Offline.");
    				}	
    }
    I just found these commands on r-s, so not sure if it works
    [Only registered and activated users can see links. ] (':
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    RuneFatality

    Join Date
    May 2009
    Age
    24
    Posts
    2,355
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    add [Only registered and activated users can see links. ] i'll do it for a pin.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Run.bat error - 5usd to fix this!
    By Crispytoast in forum Help
    Replies: 3
    Last Post: 12-11-2010, 04:53 AM
  2. Paying 5USD for help
    By Peach in forum Help
    Replies: 9
    Last Post: 08-18-2010, 04:10 AM
  3. a quick command(paying)
    By silabgarza in forum Help
    Replies: 7
    Last Post: 03-29-2010, 06:18 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •