Thread: [PI] Pest control help!

Results 1 to 2 of 2
  1. #1 [PI] Pest control help! 
    Registered Member
    Join Date
    Mar 2011
    Posts
    50
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    Can someone help me fix these?

    Code:
    src\server\rs2\entity\player\Client.java:384: error: cannot find symbol
                    if (PestControl.isInPc(this)) {
                                   ^
      symbol:   method isInPc(Client)
      location: class PestControl
    src\server\rs2\entity\npc\NPCHandler.java:610: error: gameStarted has private ac
    cess in PestControl
                            if (npcs[i].npcType == 3782 && PestControl.gameStarted){
    
                                                                      ^
    src\server\rs2\content\minigames\PestControl.java:148: error: cannot find symbol
    
                            if(!player.PC_BOAT.containsPlayer(player) && waitingBoat
    .containsKey(player)) {
                                      ^
      symbol:   variable PC_BOAT
      location: variable player of type Client
    src\server\rs2\content\minigames\PestControl.java:316: error: cannot find symbol
    
                            NPCHandler.spawnNewNPC(pcNPCData[i][0],pcNPCData[i][1],p
    cNPCData[i][2],0,0,200,0,0, 100, false);
                                      ^
      symbol:   method spawnNewNPC(int,int,int,int,int,int,int,int,int,boolean)
      location: class NPCHandler
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    4 errors
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2011
    Posts
    220
    Thanks given
    3
    Thanks received
    13
    Rep Power
    2
    Quote Originally Posted by Wonkster View Post
    Can someone help me fix these?

    Code:
    src\server\rs2\entity\player\Client.java:384: error: cannot find symbol
                    if (PestControl.isInPc(this)) {
                                   ^
      symbol:   method isInPc(Client)
      location: class PestControl
    src\server\rs2\entity\npc\NPCHandler.java:610: error: gameStarted has private ac
    cess in PestControl
                            if (npcs[i].npcType == 3782 && PestControl.gameStarted){
    
                                                                      ^
    src\server\rs2\content\minigames\PestControl.java:148: error: cannot find symbol
    
                            if(!player.PC_BOAT.containsPlayer(player) && waitingBoat
    .containsKey(player)) {
                                      ^
      symbol:   variable PC_BOAT
      location: variable player of type Client
    src\server\rs2\content\minigames\PestControl.java:316: error: cannot find symbol
    
                            NPCHandler.spawnNewNPC(pcNPCData[i][0],pcNPCData[i][1],p
    cNPCData[i][2],0,0,200,0,0, 100, false);
                                      ^
      symbol:   method spawnNewNPC(int,int,int,int,int,int,int,int,int,boolean)
      location: class NPCHandler
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    4 errors
    Press any key to continue . . .
    1. There is no method isInPc(client).
      I'm telling you exactly what it says because it can't get quite clearer than that.
      If you don't mind, could you post your PC class so we can see what methods you do have?
    2. gameStarted in PestControl.java has private access. Change the private to public, and you should be fine.
    3. I can't really help you on this one, because I don't know what your code is like.
    4. Find NPCHandler.java, search for method spawnNewNPC and check to see what variables it has and what you should change yours to.
    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. Pest Control?
    By Shamon King in forum Help
    Replies: 2
    Last Post: 07-09-2012, 05:20 AM
  2. pest control
    By sexyrussian in forum Help
    Replies: 1
    Last Post: 06-16-2010, 08:15 PM
  3. pest control
    By mike623030 in forum Help
    Replies: 5
    Last Post: 07-18-2009, 12:36 AM
  4. T3 At pest-control
    By w::v::d in forum Help
    Replies: 3
    Last Post: 05-05-2009, 03:57 PM
  5. Pest Control like 25%
    By t3aowner in forum Tutorials
    Replies: 5
    Last Post: 01-03-2009, 11:13 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
  •