Thread: [PI] PvP System (Safe Zones, PvP Zones, Correct Icons + Changing, Safe Timer)

Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 88
  1. #21  
    Registered Member [PI] PvP System (Safe Zones, PvP Zones, Correct Icons + Changing, Safe Timer) Market Banned


    Join Date
    Feb 2010
    Age
    28
    Posts
    3,064
    Thanks given
    913
    Thanks received
    349
    Rep Power
    385
    this is nice nicly done
    Reply With Quote  
     

  2. #22  
    Donator

    Tringan's Avatar
    Join Date
    Feb 2011
    Age
    27
    Posts
    2,101
    Thanks given
    381
    Thanks received
    334
    Rep Power
    297
    doesnt look bad at all
    Reply With Quote  
     

  3. #23  
    Registered Member
    Uavix's Avatar
    Join Date
    Apr 2011
    Posts
    360
    Thanks given
    72
    Thanks received
    173
    Rep Power
    119
    Quote Originally Posted by Tringan View Post
    doesnt look bad at all
    The naming is shit, other than that isn't all that bad.

    Quote Originally Posted by Blood View Post
    im 9 lol I can't get a job
    Rune-Server Userbase ^


    Vault proving what we have all known all along: he is a 9faggot.
    Reply With Quote  
     

  4. #24  
    Super Donator


    Join Date
    Sep 2011
    Posts
    1,446
    Thanks given
    138
    Thanks received
    284
    Rep Power
    260
    when i go outside the varrock bank it says

    -10 instead of 10 so u cant attack anyone
    Reply With Quote  
     

  5. #25  
    Registered Member
    Join Date
    Oct 2009
    Posts
    407
    Thanks given
    123
    Thanks received
    64
    Rep Power
    4
    Here we go, full safe zones for 317 maps.

    Code:
    public boolean inSafeZone() {
    		return(inEdgevilleBank() || inWestVarrockBank() || inDraynorBank() || inYanilleBank() || inLumbyGarden() || inMagesBank() || inEastVarrockBank() ||
    		   inWestFaladorBank() || inEastFaladorBank() || inCamelotBank() ||
    		   inCatherbyBank() || inNorthArdougneBank() ||inSouthArdougneBank());
    		   
    	}
    	
    	public boolean inEdgevilleBank() {
    		return(absX > 3090 && absX < 3099 && absY > 3487 && absY < 3500);
    	}
    	
    	public boolean inWestVarrockBank() {
    		return (absX > 3179 && absX < 3191 && absY > 3432 && absY < 3448);
    	}
    
    	public boolean inDraynorBank() {
    		return (absX > 3087 && absX < 3098 && absY > 3239 && absY < 3247);
    	}
    	
    	
    	public boolean inYanilleBank() {
    		return (absX > 2608 && absX < 2617 && absY > 3087 && absY < 3098);
    	} 	
    	
    	public boolean inEastVarrockBank() {
    		return(absX > 3249 && absX < 3258 && absY > 3418 && absY < 3424);
    	}
    	
    	public boolean inMagesBank() {
    		return(absX > 2528 && absX < 2547 && absY > 4711 && absY < 4723);
    	}
    	
    	public boolean inLumbyGarden() {
    		return(absX > 3200 && absX < 3230 && absY > 3200 && absY < 3237);
    	}
    	
    	public boolean inWestFaladorBank() {
    		return(absX > 2941 && absX < 2948 && absY > 3367 && absY < 3374 || absX >= 2948 && absX <= 2949 && absY >= 3368 && absY <= 3369);
    	}
    	
    	public boolean inEastFaladorBank() {
    		return(absX > 3008 && absX < 3019 && absY > 3354 && absY < 3359);
    	}
    	
    	public boolean inCamelotBank() {
    		return(absX > 2720 && absX < 2731 && absY > 3489 && absY < 3494 || absX > 2723 && absX < 2728 && absY > 3486 && absY < 3490);
    	}
    	
    	public boolean inCatherbyBank() {
    		return(absX > 2805 && absX < 2813 && absY > 3437 && absY < 3442);
    	}
    	
    	public boolean inNorthArdougneBank() {
    		return(absX > 2611 && absX < 2622 && absY > 3329 && absY <3336);
    	}
    	
    	public boolean inSouthArdougneBank() {
    		return(absX > 2648 && absX < 2657 && absY > 3279 && absY < 3288);
    	}
    Reply With Quote  
     

  6. #26  
    2021
    SoulSplit's Avatar
    Join Date
    Nov 2011
    Posts
    830
    Thanks given
    620
    Thanks received
    654
    Rep Power
    528
    Code:
    src\server\model\players\Client.java:19: error: package server.model.players.pvp
     does not exist
    import server.model.players.pvp.PvPHandler;
                                   ^
    src\server\model\players\Client.java:29: error: cannot find symbol
            private PvPHandler pvpHandler = new PvPHandler(this);
                    ^
      symbol:   class PvPHandler
      location: class Client
    src\server\model\players\Client.java:29: error: cannot find symbol
            private PvPHandler pvpHandler = new PvPHandler(this);
                                                ^
      symbol:   class PvPHandler
      location: class Client
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Tryck ned valfri tangent för att fortsätta...
    Please help
    Reply With Quote  
     

  7. #27  
    Donator
    Lamprecht's Avatar
    Join Date
    Sep 2011
    Posts
    165
    Thanks given
    14
    Thanks received
    9
    Rep Power
    42
    src\server\model\players\Client.java:19: error: package server.model.players.pvp
    does not exist
    import server.model.players.pvp.PvPHandler;

    it says that the path server\model\players\pvp\PvPHandler.java does not exist
    Reply With Quote  
     

  8. #28  
    2021
    SoulSplit's Avatar
    Join Date
    Nov 2011
    Posts
    830
    Thanks given
    620
    Thanks received
    654
    Rep Power
    528
    Quote Originally Posted by Lamprecht View Post
    src\server\model\players\Client.java:19: error: package server.model.players.pvp
    does not exist
    import server.model.players.pvp.PvPHandler;

    it says that the path server\model\players\pvp\PvPHandler.java does not exist
    I understand that, but it does exist..
    Reply With Quote  
     

  9. #29  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    This is a good job! Really nice start on world PvP Might use this on a future project
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  10. #30  
    Registered Member
    Join Date
    Jan 2012
    Posts
    89
    Thanks given
    11
    Thanks received
    4
    Rep Power
    14
    When I'm in a safe zone, the safe zone sprite blinks constantly.
    Reply With Quote  
     

Page 3 of 9 FirstFirst 12345 ... LastLast

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. [PI]Basic premium system
    By Joker in forum Snippets
    Replies: 5
    Last Post: 08-03-2010, 06:33 AM
  2. Basic News system
    By ~Derek in forum Application Development
    Replies: 3
    Last Post: 07-21-2009, 02:31 AM
  3. Fix for T X's Basic Quest System.
    By k1ng 0f k1ngs in forum Tutorials
    Replies: 7
    Last Post: 10-11-2008, 12:24 AM
  4. the most basic, basic npc combat system ever.
    By ritz929 in forum Tutorials
    Replies: 19
    Last Post: 09-15-2008, 11:08 PM
Tags for this Thread
pvp

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •