Thread: [Espeon] Custom pk zones

Results 1 to 3 of 3
  1. #1 [Espeon] Custom pk zones 
    Runebay™
    Guest
    Hey guys, im trying to add cwars as a pk zone

    here are its coords
    return p.absX >= 2368 && p.absX <= 2428 && p.absY >= 3072 && p.absY <= 3132;


    and i have no clue, ive tried converting the tut
    [Only registered and activated users can see links. ]

    But had no luck...

    please help
     

  2. #2  
    Deviants
    Guest
    Code:
    public static boolean cwarea(int absX, int absY) {
            return (absX >= 2368 && absX <= 2428 && absY >= 3072 && absY <= 3132);
    		}

    Change this to your castle wars:

    Code:
    public void checkForAttackOption()
        {
    	boolean removeWildyLvl;
            if(showAttackOption != Engine.wildernessArea(absX, absY))
            {
                showAttackOption = Engine.wildernessArea(absX, absY);
                if(showAttackOption)
                   {
                    frames.setPlayerOption(this, "Attack", 1);
    		frames.setOverlay(this, 381);
    		removeWildyLvl = true;
                   }
    	    else if(removeWildyLvl = true) {
    	    removeWildyLvl = false;
        		frames.removeOverlay(this);
                    frames.setPlayerOption(this, "null", 1);
                   }
            }
        }
     

  3. #3  
    Runebay™
    Guest
    change what to my castle wars?
    this?
    public void checkForAttackOption()
    {
    boolean removeWildyLvl;
    if(showAttackOption != Engine.wildernessArea(absX, absY))
    {
    showAttackOption = Engine.wildernessArea(absX, absY);
    if(showAttackOption)
    {
    frames.setPlayerOption(this, "Attack", 1);
    frames.setOverlay(this, 381);
    removeWildyLvl = true;
    }
    else if(removeWildyLvl = true) {
    removeWildyLvl = false;
    frames.removeOverlay(this);
    frames.setPlayerOption(this, "null", 1);
    }
    }
    }
    because im in espeon and dont have that
     


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
  •