Thread: Pest control Interface (Wont show up)

Results 1 to 2 of 2
  1. #1 Pest control Interface (Wont show up) 
    Registered Member
    CTucker's Avatar
    Join Date
    Oct 2008
    Posts
    2,422
    Thanks given
    263
    Thanks received
    281
    Rep Power
    343
    Alright, i was writing a pest control interface for Project Insanity, i did some research to get the numbers i used, but it doesn't seem to be working.. This is what i've done.

    *** This is for when you enter the boat ***

    Code:
    	void boatInterface(int players) {
    		for (int j = 0; j < Server.playerHandler.players.length; j++) {
    			if (Server.playerHandler.players[j] != null) {
    				if (Server.playerHandler.players[j].inPcBoat()) {
    					Client c = (Client) Server.playerHandler.players[j];
    						c.getPA().sendFrame126("Pest Control", 21006);
    						c.getPA().sendFrame126("Next departure: "+waitTimer, 21007);
    						c.getPA().sendFrame126("Players ready: "+players, 21008);
    						c.getPA().sendFrame126("(Need atleast 3 players.)",21009);
    						c.getPA().sendFrame126("pest Points: "+ c.pcPoints, 21010);
    						
    				}
    			}
    		}
    	}

    and i have

    Code:
    boatInterface(playersInBoat());
    placed in the process() function in pest-control.java, although it's not doing anything, and i'm confused as to why.

    I'm using the original PI client/source released by insanity.
    Reply With Quote  
     

  2. #2  
    Registered Member
    CTucker's Avatar
    Join Date
    Oct 2008
    Posts
    2,422
    Thanks given
    263
    Thanks received
    281
    Rep Power
    343
    Second page bump.
    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. [pi] Pest Control Interface
    By Alexander in forum Help
    Replies: 1
    Last Post: 09-05-2010, 06:30 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
  •