Thread: [pi] Pest Control Interface

Results 1 to 2 of 2
  1. #1 [pi] Pest Control Interface 
    Registered Member
    Join Date
    Jun 2010
    Age
    27
    Posts
    2,528
    Thanks given
    544
    Thanks received
    584
    Rep Power
    411
    The pest control interface with the portals life left, works, but the HP dosent drain...

    Any help?
    Reply With Quote  
     

  2. #2 Pest interface tut 
    Donator [pi] Pest Control Interface Market Banned

    Usaclub's Avatar
    Join Date
    Aug 2010
    Age
    28
    Posts
    512
    Thanks given
    119
    Thanks received
    37
    Rep Power
    29
    PestControl.java


    Code:
    Code:
    	public void setInterface() {
    		for (int j = 0; j < PlayerHandler.players.length; j++) {
    			if (PlayerHandler.players[j] != null) {
    				if (PlayerHandler.players[j].inPcBoat()) {
    					Client c = (Client) PlayerHandler.players[j];
    					c.getPA().sendFrame126("Next Departure: "+waitTimer+"", 21120);
    					c.getPA().sendFrame126("Players Ready: "+playersInBoat()+"", 21121);
    					c.getPA().sendFrame126("(Need 3 to 25 players)", 21122);
    					c.getPA().sendFrame126("Points: "+c.pcPoints+"", 21123);
    				}
    				if (PlayerHandler.players[j].inPcGame()) {
    					Client c = (Client) PlayerHandler.players[j];
    					for (j = 0; j < NPCHandler.npcs.length; j++) {
    						if (NPCHandler.npcs[j] != null) {
    							if (NPCHandler.npcs[j].npcType == 3777)
    								c.getPA().sendFrame126("" + NPCHandler.npcs[j].HP + "", 21111);
    							if (NPCHandler.npcs[j].npcType == 3778)
    								c.getPA().sendFrame126("" + NPCHandler.npcs[j].HP + "", 21112);
    							if (NPCHandler.npcs[j].npcType == 3779)
    								c.getPA().sendFrame126("" + NPCHandler.npcs[j].HP + "", 21113);
    							if (NPCHandler.npcs[j].npcType == 3780)
    								c.getPA().sendFrame126("" + NPCHandler.npcs[j].HP + "", 21114);
    						}
    					}
    					c.getPA().sendFrame126("0", 21115);
    					c.getPA().sendFrame126("0", 21116);
    					c.getPA().sendFrame126("Time remaining: "+gameTimer+"", 21117);
    				}
    			}
    		}
    	}
    In the process() add setInterface(); at the top...

    Now got to Client.java find getPA().showOption(3, 0, "Attack", 1);

    under it add


    Code:
    } else if(inPcBoat()) {
        getPA().walkableInterface(21119);
    } else if(inPcGame()) {
        getPA().walkableInterface(21100);
    }
    I would suggest making a 1 secound timer as process runs in 600 clocks!

    Thank you sanity for pointing out why the Interfaces was flashing

    My Vouches..
    Spoiler for Vouches:

    Quote Originally Posted by Benes View Post
    Very good!
    Quote Originally Posted by Jesper_ View Post
    Big vouch for you!!! Thanks for your auto donation system.
    Quote Originally Posted by Light View Post
    vouch, Bought summoning & extra. Went first and was done smoothly. Rep++
    Quote Originally Posted by Grim Line View Post
    Brought all of it. Very good trade very good guy
    Quote Originally Posted by HyBriDPvP View Post
    Vouch for this guy (I bought scripts and now i got my domain up and running with the WC maker (Rsps-HQ.com)) Ty!!!
    Quote Originally Posted by chri55w View Post
    vouch bought vote4cash, was done very quickly and payment went smooth
    Rep++ too
    thanks
    Quote Originally Posted by muporz View Post
    Vouch, bought vote4points $5, he even went first.
    Thanks .


    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •