Thread: No attack option?!

Results 1 to 6 of 6
  1. #1 No attack option?! 
    Registered Member
    Homie Pimpson's Avatar
    Join Date
    Jul 2008
    Age
    29
    Posts
    980
    Thanks given
    280
    Thanks received
    124
    Rep Power
    175
    I'm using Dharokzpkz Isle (Bulby) and when i'm at wildy there isn't any attack option
    When i'm at wild and click follow on a player i don't follow i attack.

    And here's the code :
    Code:
    if(AtClanField() || AtDuel() || AtPits())
    {
    frames.setPlayerOption(this, "Attack", 1);
    }
    else
    {
    frames.setPlayerOption(this, "Follow", 1);
    }
    What do i need to put?
    I tried AtWildy() , AtWild() but didn't work >.<
    Reply With Quote  
     

  2. #2  
    Gfx/Coder


    Join Date
    Dec 2008
    Posts
    1,965
    Thanks given
    38
    Thanks received
    48
    Rep Power
    320
    Quote Originally Posted by thedeath View Post
    I'm using Dharokzpkz Isle (Bulby) and when i'm at wildy there isn't any attack option
    When i'm at wild and click follow on a player i don't follow i attack.

    And here's the code :
    Code:
    if(AtClanField() || AtDuel() || AtPits())
    {
    frames.setPlayerOption(this, "Attack", 1);
    }
    else
    {
    frames.setPlayerOption(this, "Follow", 1);
    }
    What do i need to put?
    I tried AtWildy() , AtWild() but didn't work >.<
    Ok well where did you put
    AtWildy() , AtWild()
    As i where in the thing
    Reply With Quote  
     

  3. #3  
    Registered Member
    Homie Pimpson's Avatar
    Join Date
    Jul 2008
    Age
    29
    Posts
    980
    Thanks given
    280
    Thanks received
    124
    Rep Power
    175
    I tried this :
    Code:
    if(AtClanField() || AtDuel() || AtPits() || AtWild())
    and this :
    Code:
    if(AtClanField() || AtDuel() || AtPits() || AtWildy())
    I also tried
    Code:
    if(AtClanField() || AtDuel() || AtPits() || AtwildernessArea())
    But still didn't work

    EDIT : Fixed it
    Reply With Quote  
     

  4. #4  
    Gfx/Coder


    Join Date
    Dec 2008
    Posts
    1,965
    Thanks given
    38
    Thanks received
    48
    Rep Power
    320
    Ok what did you haves to do?
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Feb 2007
    Posts
    1,005
    Thanks given
    2
    Thanks received
    17
    Rep Power
    93
    Code:
        public void checkForAttackOption() {
            if (showAttackOption != Engine.wildernessArea(absX, absY)) {
                showAttackOption = Engine.wildernessArea(absX, absY);
                if (showAttackOption) {
                    frames.setPlayerOption(this, "Attack", 1);
                } else {
                    frames.setPlayerOption(this, "Duel", 1);
                }
            }
        }
    	    checkForAttackOption();
    -Removed

    Advertising is not allowed.
    Reply With Quote  
     

  6. #6  
    Gfx/Coder


    Join Date
    Dec 2008
    Posts
    1,965
    Thanks given
    38
    Thanks received
    48
    Rep Power
    320
    Quote Originally Posted by nemesis View Post
    Code:
        public void checkForAttackOption() {
            if (showAttackOption != Engine.wildernessArea(absX, absY)) {
                showAttackOption = Engine.wildernessArea(absX, absY);
                if (showAttackOption) {
                    frames.setPlayerOption(this, "Attack", 1);
                } else {
                    frames.setPlayerOption(this, "Duel", 1);
                }
            }
        }
    	    checkForAttackOption();
    Pointless? He already said he figured out but umm ok.
    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
  •