Thread: 718 - Simple Farm Raking

Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1 718 - Simple Farm Raking 
    Registered Member
    Join Date
    Aug 2011
    Posts
    396
    Thanks given
    29
    Thanks received
    57
    Rep Power
    9
    K. Replace your userake method with this

    Code:
    	public static void useRake(final Player player, final int configId) {
    		if (player.getInventory().containsItem(RAKE, 1)) {
    
    		WorldTasksManager.schedule(new WorldTask() {
    			
    			int loop;
    			
    			@Override
    			public void run() {
    				if (loop == 0) {
    					player.lock();
    					player.setNextAnimation(new Animation(2273));
    					player.getPackets().sendConfigByFile(configId, 1);
    					player.getInventory().addItem(WEEDS, 1);
    				} else if (loop == 3) {
    					player.setNextAnimation(new Animation(2273));
    					player.getPackets().sendConfigByFile(configId, 2);
    					player.getInventory().addItem(WEEDS, 1);
    				} else if (loop == 6) {	
    					player.setNextAnimation(new Animation(2273));
    					player.getPackets().sendConfigByFile(configId, 3);
    					player.getInventory().addItem(WEEDS, 1);
    					player.unlock();
    					}
    					loop++;
    					}
    				}, 0, 1);
    			} else {
    				player.sm("You'll need a rake to get rid of the weeds.");
    			}
    	}
    Now in ObjectHandler.java
    Under Option1, add these:

    Code:
    				//Raking - (player, configId);
    				else if (id == 8150) {
    					FarmingManager.useRake(player, 780);
    				}
    				else if (id == 7847) {
    					FarmingManager.useRake(player, 728);
    				}
    				else if (id == 8550) {
    					FarmingManager.useRake(player, 708);
    				}
    				else if (id == 8551) {
    					FarmingManager.useRake(player, 709);
    				}
    				//End Raking
    Credits:
    me - 25% for cleaning up and releasing configs.
    partyhatz - Setting up the code.
    Reply With Quote  
     

  2. #2  
    Always 1 step In front Of the Rest!

    lol ftw lol's Avatar
    Join Date
    Nov 2008
    Age
    30
    Posts
    597
    Thanks given
    68
    Thanks received
    35
    Rep Power
    91
    sounds great i might use it since im working on matrix 100% farming
    I Always do my best to make us progress
    Dont Ask Yes I'm French That Why I'm Not The Best In English!
    RuneScape is copyright © Jagex Ltd 1999-2014. RuneScape and Jagex are registered trademarks of Jagex Ltd.
    Orion is not affiliated with Jagex Ltd in any way and exists solely for educational purposes.

    Reply With Quote  
     

  3. #3  
    Donator
    Mr Sandman's Avatar
    Join Date
    Oct 2011
    Posts
    659
    Thanks given
    176
    Thanks received
    26
    Rep Power
    38
    you also need to add so it will remove the grass from the patch and your set

    EDIT: nvm it was the configs lol
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2011
    Posts
    396
    Thanks given
    29
    Thanks received
    57
    Rep Power
    9
    Ya ik. i already did that but i removed it on release, u can just make it add a weed each loop.
    Reply With Quote  
     

  5. #5  
    Registered Member Lord's Avatar
    Join Date
    Jul 2012
    Posts
    603
    Thanks given
    5
    Thanks received
    20
    Rep Power
    10
    Thanks, might use!
    Good job.
    Reply With Quote  
     

  6. #6  
    Super Donator
    Kova+'s Avatar
    Join Date
    Jan 2012
    Posts
    938
    Thanks given
    124
    Thanks received
    249
    Rep Power
    13
    Good job, Credit's where credits due? - Thanks.
    Reply With Quote  
     

  7. #7  
    Registered Member L3git's Avatar
    Join Date
    Nov 2011
    Posts
    427
    Thanks given
    5
    Thanks received
    9
    Rep Power
    13
    great job might use
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Join Today Don't miss out. Click one of the banner's to go to our website
    Reply With Quote  
     

  8. #8  
    Donator

    Old Oak's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    1,552
    Thanks given
    544
    Thanks received
    435
    Rep Power
    189
    There's a few other things that could have been done better, but other than that, good job.

    Oh, and you add the part where you can rake the different weeds, but not that part that changes the weeds? Hmmm.
    Reply With Quote  
     

  9. #9  
    Mug Club


    Join Date
    Jul 2011
    Age
    26
    Posts
    1,873
    Thanks given
    509
    Thanks received
    890
    Discord
    View profile
    Rep Power
    332
    Quote Originally Posted by `Luke View Post
    There's a few other things that could have been done better, but other than that, good job.

    Oh, and you add the part where you can rake the different weeds, but not that part that changes the weeds? Hmmm.
    A few? Man you are nice.


    My Open Source Projects
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Sexy boi <3

    ByteValue's Avatar
    Join Date
    May 2012
    Age
    25
    Posts
    831
    Thanks given
    11
    Thanks received
    80
    Rep Power
    80
    Nevermind, didn't see the config as parameter.
    Reply With Quote  
     

Page 1 of 3 123 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. Replies: 11
    Last Post: 03-21-2013, 10:29 AM
  2. [Help] Delta c.farm
    By Antiyou in forum Help
    Replies: 2
    Last Post: 05-31-2010, 10:51 PM
  3. Farm error
    By ƅʅ1ƭȥȥ ツ in forum Help
    Replies: 5
    Last Post: 05-30-2009, 03:27 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
  •