Thread: Ancient Cavern Stairs [718]

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Ancient Cavern Stairs [718] 
    Donator

    Fiddle's Avatar
    Join Date
    Dec 2011
    Age
    25
    Posts
    1,755
    Thanks given
    496
    Thanks received
    346
    Rep Power
    237
    Code:
    package com.fusion.game.player.shortcuts;
    
    import com.fusion.game.WorldObject;
    import com.fusion.game.WorldTile;
    import com.fusion.game.player.Player;
    
    /**
     * 
     * @author DikKutJoch || Fusion Development || Jul 29, 2014
     *
     */
    
    public class AncientCavern {
    
    	/**
    	 * Handles all ladders/shortcuts in Ancient Cavern
    	 * @param player
    	 * @param object
    	 * @return
    	 */
    	public static boolean climbDown(Player player, WorldObject object) {
    		switch (object.getId()) {
    		
    		case 25338:
    			player.setNextWorldTile(new WorldTile(1772, 5366, 0));
    			return true;
    			
    			
    		case 25336:
    			player.setNextWorldTile(new WorldTile(1768, 5366, 1));
    			return true;
    			
    		case 25339:
    			player.setNextWorldTile(new WorldTile(1778, 5343, 1)));
    			return true;
    			
    		case 25340:
    			player.setNextWorldTile(new WorldTile(1778, 5346, 0));
    			return true;
    			
    		case 25337:
    			player.setNextWorldTile(new WorldTile(1744, 5321, 1));
    			return true;
    			
    		case 39468:
    			player.setNextWorldTile(new WorldTile(1745, 5325, 0));
    			return true;
    			
    			THIS IS THE ANTILEECH :D , was bored lol
    		
    		}
    		return false;
    	}
    }
    Don't be scared. It can't hurt you.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Mar 2010
    Posts
    2,218
    Thanks given
    170
    Thanks received
    262
    Rep Power
    0
    Should of put this in configuration, theirs no need for a tutorial for this. lol
    Reply With Quote  
     

  3. #3  
    Registered Member Seth's Avatar
    Join Date
    Feb 2013
    Posts
    644
    Thanks given
    179
    Thanks received
    101
    Rep Power
    20
    Nice contribution.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jan 2012
    Age
    25
    Posts
    2,703
    Thanks given
    906
    Thanks received
    630
    Rep Power
    0
    This is just for lazy people, if people can't figure that anti-leech out they don't deserve to be coding RSPS.
    Reply With Quote  
     

  5. #5  
    Registered Member Grown's Avatar
    Join Date
    Oct 2012
    Posts
    838
    Thanks given
    650
    Thanks received
    86
    Rep Power
    54
    Should save someone a minute or two.

    Why is there an extra parentheses for case 25339? Might as well edit it.
    "Programs aren’t just built in one go, like a bridge. They are talked about,
    sketched out, prototyped, played with, refactored, tuned, tested, tweaked,
    deleted, rewritten....
    A program is not built; it is grown.
    Because a program is always growing and always changing, it must be written
    with change in mind."
    Reply With Quote  
     

  6. #6  
    Registered Member Seth's Avatar
    Join Date
    Feb 2013
    Posts
    644
    Thanks given
    179
    Thanks received
    101
    Rep Power
    20
    Quote Originally Posted by Burt View Post
    Should save someone a minute or two.

    Why is there an extra parentheses for case 25339? Might as well edit it.
    I think that was his anti-leech so gf, you ruined it.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2013
    Posts
    31
    Thanks given
    12
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Teek View Post
    Should of put this in configuration, theirs no need for a tutorial for this. lol
    This is the snippets section, not the tutorial section, and I don't see how this is a tutorial.

    OT: Thanks for the contribution.
    Reply With Quote  
     

  8. #8  
    Registered Member Grown's Avatar
    Join Date
    Oct 2012
    Posts
    838
    Thanks given
    650
    Thanks received
    86
    Rep Power
    54
    Quote Originally Posted by Reminiscence View Post
    I think that was his anti-leech so gf, you ruined it.
    I'm a horrible person.
    "Programs aren’t just built in one go, like a bridge. They are talked about,
    sketched out, prototyped, played with, refactored, tuned, tested, tweaked,
    deleted, rewritten....
    A program is not built; it is grown.
    Because a program is always growing and always changing, it must be written
    with change in mind."
    Reply With Quote  
     

  9. #9  
    Registered Member Seth's Avatar
    Join Date
    Feb 2013
    Posts
    644
    Thanks given
    179
    Thanks received
    101
    Rep Power
    20
    Quote Originally Posted by burt View Post
    i'm a horrible person.
    ikr
    Reply With Quote  
     

  10. #10  
    Myre


    Join Date
    Apr 2012
    Age
    26
    Posts
    1,519
    Thanks given
    407
    Thanks received
    367
    Rep Power
    475
    shit.. i got errors.. plz help fix it?
    Reply With Quote  
     

Page 1 of 2 12 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. Ancient Cavern
    By I'm me bitch in forum Requests
    Replies: 4
    Last Post: 04-03-2011, 01:13 AM
  2. Ancient Cavern? Messed up?
    By daone11 in forum Help
    Replies: 0
    Last Post: 10-17-2010, 12:19 AM
  3. Chaos Tunnel & Ancient Cavern coords.
    By Bando in forum Requests
    Replies: 4
    Last Post: 07-04-2010, 04:55 PM
  4. Ancient Cavern emotes
    By lukas265 in forum Requests
    Replies: 2
    Last Post: 12-28-2009, 12:49 AM
  5. Ancient Cavern Mapdata
    By owner jacob in forum Requests
    Replies: 1
    Last Post: 12-24-2009, 06:59 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
  •