Thread: [B]Adding Safezones To Your Server - Noob Friendly -[/B]

Results 1 to 9 of 9
  1. #1 Adding Safezones To Your Server - Noob Friendly - 
    Registered Member

    Join Date
    Aug 2007
    Posts
    877
    Thanks given
    1
    Thanks received
    15
    Rep Power
    229
    Yo

    This Is A TUT to making safezones in your server. It is very simple but some people get confused, so I'll try to make it as easy as possible.

    Credits - 50% Me, 50% Whoever Posted This Before
    ^ Please Keep This Spam Free =]
    NOTE:WILL NOT WORK ON TESTSCAPE!

    Ok First, Go In Open Up Your client.java And Search For This (ctrl + f to search_
    Code:
    public boolean nonWild() {
    Now You Should See Something Like This.
    Code:
    if((absX >= 3246 && absX <= 3262 && absY >= 3412 && absY <=3439 ) ||
    OK, Now Read This, This Is How It Makes Sense. Where it says "absX", those are the x coordinates. Where it says "absY", those are the y coordinates.

    Get A piece of paper and write down the southwest corner and the northeast corner of your safezone. Like This...
    SW - x -####
    y -####

    Ne - x -####
    y -####

    Okay, Now This Is What The Code Means.

    if((absX >= 3246 && absX <= 3262 && absY >= 3412 && absY <=3439 )||
    ^ ^ ^ ^
    SouthWest X Coord NorthEast X Coord SouthWest Y Coord NorthEast Y Coord

    So If You Wanted To Make ::range a safezone, the code would be....
    Code:
    if((absX >= 2683 && absX <= 2667 && absY >= 3426 && absY <=3417)||
    Last edited by TheJoker; 08-23-2007 at 09:53 PM. Reason: No Reason.
     

  2. #2  
    reecey
    Guest
    might use that
    thanks
     

  3. #3  
    Whitey
    Guest
    Theres too many of these tuts, and take the tags from the title, you cant bold titles.
     

  4. #4  
    Registered Member

    Join Date
    Aug 2007
    Posts
    877
    Thanks given
    1
    Thanks received
    15
    Rep Power
    229
    I Added This TUT in because it beats looking through pages and pages of this TUT, because I haven't seen it throughout 10 pages.
     

  5. #5  
    Chatty
    Guest
    ok already new but i know alot ov people would want this tut , great one
     

  6. #6  
    guest
    Guest
    and some servers use
    public boolean inSafezone() {
     

  7. #7  
    Registered Member
    Join Date
    Jun 2007
    Posts
    351
    Thanks given
    0
    Thanks received
    0
    Rep Power
    71
    Eh, ill rep anyway... good for noobs who cant search
     

  8. #8  
    Registered Member Amaran's Avatar
    Join Date
    Jun 2007
    Age
    25
    Posts
    67
    Thanks given
    0
    Thanks received
    0
    Rep Power
    23
    Nice tut rep+
    ^
    Credits go to Wafflez
     

  9. #9  
    Registered Member

    Join Date
    Aug 2007
    Posts
    877
    Thanks given
    1
    Thanks received
    15
    Rep Power
    229
    Thanks Guys. Why Is My rep Power Still 0 Even though I Got 2 Reps From You Two Ppl?
     


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: 56
    Last Post: 06-06-2008, 09:12 AM
  2. adding portals (noob friendly tut)
    By xxx str xxx in forum Tutorials
    Replies: 4
    Last Post: 04-05-2008, 11:13 PM
  3. Replies: 14
    Last Post: 02-24-2008, 08:14 PM
  4. Adding/Making Commands [Noob Friendly]
    By Pheonix in forum Tutorials
    Replies: 7
    Last Post: 02-12-2008, 08:39 PM
  5. Adding Safezones [Noob Friendly]
    By Pheonix in forum Tutorials
    Replies: 7
    Last Post: 02-12-2008, 02:14 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
  •