Thread: getPA

Results 1 to 8 of 8
  1. #1 getPA 
    Donator

    Join Date
    Oct 2011
    Posts
    403
    Thanks given
    46
    Thanks received
    22
    Rep Power
    18
    Description Resource Path Location Type
    The method getPA() is undefined for the type Player FightPits.java /Project Insanity 602 data source/src/server/model/minigames line 82 Java Problem

    getActionSender doesn't work either

    and:

    Description Resource Path Location Type
    The method add(int, int) is undefined for the type Object FightPits.java /Project Insanity 602 data source/src/server/model/minigames line 117 Java Problem



    Can someone help pleas?

    Member since 2011 with tons of posts...
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,421
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    Post the methods.
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Oct 2011
    Posts
    403
    Thanks given
    46
    Thanks received
    22
    Rep Power
    18
    private static void enterGame(Player c) {
    playerMap.put(c, PLAYING);
    int teleportToX = MINIGAME_START_POINT_X + Misc.random(12);
    int teleportToY = MINIGAME_START_POINT_Y + Misc.random(12);
    c.getPA().movePlayer(teleportToX, teleportToY, 0);
    c.getPA().showOption(3, "Attack");
    c.getPA().showOption(2, "null");
    }


    if (state.equals(PLAYING)) {
    if (getListCount(PLAYING) - 1 == 0 && !forceRemove) {
    pitsChampion = c.playerName;
    c.headIcon = 21;
    c.updateRequired = true;
    c.getInventory()).add(TOKKUL_ID, 1500+Misc.random(500));

    Member since 2011 with tons of posts...
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Oct 2012
    Posts
    79
    Thanks given
    8
    Thanks received
    8
    Rep Power
    20
    Check:

    1) If those methods actually exist in the client class.
    2) If you've imported the client class.
    3) If "c" is the abbreviation of client.
    Reply With Quote  
     

  5. #5  
    Donator

    Join Date
    Oct 2011
    Posts
    403
    Thanks given
    46
    Thanks received
    22
    Rep Power
    18
    Quote Originally Posted by Togo View Post
    Check:

    1) If those methods actually exist in the client class.
    2) If you've imported the client class.
    3) If "c" is the abbreviation of client.
    they're in

    Member since 2011 with tons of posts...
    Reply With Quote  
     

  6. #6  
    Donator

    Join Date
    Oct 2011
    Posts
    403
    Thanks given
    46
    Thanks received
    22
    Rep Power
    18
    bump

    Member since 2011 with tons of posts...
    Reply With Quote  
     

  7. #7  
    Super Donator

    RSPSi's Avatar
    Join Date
    Mar 2011
    Posts
    169
    Thanks given
    70
    Thanks received
    173
    Rep Power
    328
    I'm not sure but shouldn't

    Code:
    private static void enterGame(Player c) {
    be

    Code:
    private static void enterGame(Client c) {

    And you'll have to change the hashmap from
    Code:
    <Player, Boolean>
    to
    Code:
    <Client, Boolean>
    Reply With Quote  
     

  8. #8  
    Donator

    Join Date
    Oct 2011
    Posts
    403
    Thanks given
    46
    Thanks received
    22
    Rep Power
    18
    bump

    Member since 2011 with tons of posts...
    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. getPA() Function
    By Debugger in forum Help
    Replies: 9
    Last Post: 07-06-2012, 10:42 PM
  2. [PI] Where is getPA method?
    By Spencer4678 in forum Help
    Replies: 4
    Last Post: 03-25-2012, 09:58 PM
  3. Cannot find c.getPA().heightLevel
    By TaterMater in forum Help
    Replies: 1
    Last Post: 02-16-2012, 08:01 PM
  4. [PI]c.getPA().closeInterface ?
    By Oaty in forum Help
    Replies: 1
    Last Post: 11-14-2011, 02:06 AM
  5. Emulous c.getPA problem
    By addinol in forum Help
    Replies: 3
    Last Post: 09-19-2010, 03:06 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •