Thread: how to make a whole world pvp/multi (apart from safezones of course)

Results 1 to 10 of 10
  1. #1 how to make a whole world pvp/multi (apart from safezones of course) 
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    How will i do this? title says it all
    Reply With Quote  
     

  2. #2  
    Generation-X

    Bilsma's Avatar
    Join Date
    Feb 2011
    Posts
    691
    Thanks given
    657
    Thanks received
    45
    Rep Power
    82
    I want to know this world like whole varrock
    Reply With Quote  
     

  3. #3  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    public boolean isInPvP() {
    return absX > Config.PVP_X_ONE && abs X < Config.PVP_X_TWO && absY > Config.PVP_Y_ONE && absY < Config.PVP_Y_TWO;
    }

    public boolean isInSafeArea() {
    return absX > Config.SAFE_X_ONE && absX < Config.SAFE_X_TWO && absY > Config.SAFE_Y_ONE && absY < Config.SAFE_Y_TWO;
    }

    if(isInPvP() && !isInSafeArea()) {
    //methodology here
    }

    Hope this helped?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2013
    Posts
    7
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    i Too would like to know how this is done, like what coords youwould need
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    i dont understand :/
    Reply With Quote  
     

  7. #6  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    public boolean isInPvP() {
    return absX > Config.PVP_X_ONE && abs X < Config.PVP_X_TWO && absY > Config.PVP_Y_ONE && absY < Config.PVP_Y_TWO;
    }

    public boolean isInSafeArea() {
    return absX > Config.SAFE_X_ONE && absX < Config.SAFE_X_TWO && absY > Config.SAFE_Y_ONE && absY < Config.SAFE_Y_TWO;
    }

    if(isInPvP() && !isInSafeArea()) {
    //methodology here
    }

    isinpvp is stating that
    area absX > Config.PVP_X_ONE && abs X < Config.PVP_X_TWO && absY > Config.PVP_Y_ONE && absY < Config.PVP_Y_TWO;
    is a pvp area

    isinsafearea is stating that
    absX > Config.SAFE_X_ONE && absX < Config.SAFE_X_TWO && absY > Config.SAFE_Y_ONE && absY < Config.SAFE_Y_TWO;
    is a safe area.

    if(isInPvP() && !isInSafeArea()) {
    is saying if theyre in pvp and NOT in safezone, he put that the rest should be common sense because, thats where you make it like a dangerous area or whatever you wanna do with the "pvp" area
    Reply With Quote  
     

  8. #7  
    Registered Member
    wreckless's Avatar
    Join Date
    Dec 2008
    Posts
    727
    Thanks given
    82
    Thanks received
    78
    Rep Power
    294
    Work a PVP area on a different height level to your main world?
    Reply With Quote  
     

  9. #8  
    Donator
    Defiled-X's Avatar
    Join Date
    Jun 2010
    Posts
    1,434
    Thanks given
    52
    Thanks received
    78
    Rep Power
    27
    Here follow this.
    http://www.rune-server.org/runescape...afe-timer.html

    Take what you need from it and modify it according to your preference.
    Reply With Quote  
     

  10. Thankful user:


  11. #9  
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    okay thanks guys, to make a whole world pvp would coords be 0 and 0? as its not defining a particular place? orrrrr what shall i just put 324234 23432423 hehe
    Reply With Quote  
     

  12. #10  
    Registered Member
    wreckless's Avatar
    Join Date
    Dec 2008
    Posts
    727
    Thanks given
    82
    Thanks received
    78
    Rep Power
    294
    Quote Originally Posted by yunaaa View Post
    okay thanks guys, to make a whole world pvp would coords be 0 and 0? as its not defining a particular place? orrrrr what shall i just put 324234 23432423 hehe
    Just have the whole world PVP and then set the safezones using coords (like they said above).
    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: 4
    Last Post: 06-14-2011, 06:07 PM
  2. Safezones on massacred world? [pi]
    By james12 in forum Help
    Replies: 2
    Last Post: 04-29-2011, 06:51 AM
  3. [PI] Make safezones on pvp
    By johny cash in forum Help
    Replies: 5
    Last Post: 10-07-2010, 09:18 PM
  4. Replies: 1
    Last Post: 03-11-2010, 02:02 PM
  5. How to make safezones~!~!~!
    By woofdawg23 in forum Tutorials
    Replies: 7
    Last Post: 11-18-2007, 05:26 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
  •