Thread: Hm would this work?

Results 1 to 3 of 3
  1. #1 Hm would this work? 
    Registered Member
    Join Date
    Oct 2009
    Posts
    62
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Okay so every "PVP" Source ive seen has pvp everywhere and you need to add safe zones
    insted of adding Safe zones would you be able to add pvp zones insted of making everything pvp and adding safe zones example bank is always safe but outside bank if u find the coords and do it correctly you would be able to add outside bank PVP.



    So lets say just varrock is PVP but nothing else would that work?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Dec 2011
    Age
    24
    Posts
    1,330
    Thanks given
    146
    Thanks received
    151
    Rep Power
    0
    Yes that'd work fine. If I remember correctly Dementhium 637 handles it somewhat like that. Has a boolean that's loaded saying whether the dimensions are a pvp zone or not.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2008
    Posts
    254
    Thanks given
    2
    Thanks received
    7
    Rep Power
    19
    You have to specify where the safe zone is. so say this is the pvp world.
    Code:
    public boolean PvPZone() {
    if (c.absX >= 0 && c.absX <= 12000 && c.absY >= 0 && c.absY <= 12000) {
    return true;
    } else {
    return false;
    }
    Then you can specify safe zones out side of that like.
    Code:
    public boolean safeZone() {
    if (c.absX >= #### && c.absX <= #### && c.absY >= #### && c.absY <= ####) {
    return true;
    } else {
    return false;
    }
    }
    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. Replies: 2
    Last Post: 10-01-2012, 04:33 PM
  2. Replies: 7
    Last Post: 12-03-2008, 04:53 AM
  3. Replies: 8
    Last Post: 11-17-2007, 05:44 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
  •