Thread: [PI] Farming

Results 1 to 5 of 5
  1. #1 [PI] Farming 
    Verified Owner of Herpes
    Join Date
    May 2011
    Posts
    79
    Thanks given
    24
    Thanks received
    7
    Rep Power
    15
    Hi, I've been trying to find help for this the past few days, but nobody would help me on the thread of the snippet I'm trying to add.. I've added everything correctly from this snippet, [Only registered and activated users can see links. ] yet when I go to pick the herbs, nothing happens. I've scanned the pages of the thread to see if someone else had the same issue, but my luck, nobody had before. So if anyone could point me in the right direction on how to fix this, it'd be greatly appreciated!

    Thanks in advance,
    Catnipple
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    I'm Baack...


    Join Date
    Mar 2011
    Posts
    1,663
    Thanks given
    281
    Thanks received
    202
    Rep Power
    324
    You should have the object id added in the switch statement within the clickobject class, underneath the case you call the pickHerb() method from the herblore class.
    I'm back
    Reply With Quote  
     

  3. #3  
    Verified Owner of Herpes
    Join Date
    May 2011
    Posts
    79
    Thanks given
    24
    Thanks received
    7
    Rep Power
    15
    Sorry if I'm being a bother, I'm novice at this.. When you say I should have the object ID added to the switch statement in clickObject, are you referring to this? I don't see where I could add it, so if I'm wrong please tell me.
    Code:
    switch(c.objectId) {
    				default:
    				c.objectDistance = 1;
    				c.objectXOffset = 0;
    				c.objectYOffset = 0;
    				break;		
    			}
    Again, sorry if I'm being a bother I'm trying to learn..
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,830
    Thanks given
    893
    Thanks received
    1,439
    Discord
    View profile
    Rep Power
    2924
    c.objectDistance = 1; effects how far you can be to click an object, so you might want to tweak that for your farming objects so you can do it from 1 / 2 steps away ect.
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Verified Owner of Herpes
    Join Date
    May 2011
    Posts
    79
    Thanks given
    24
    Thanks received
    7
    Rep Power
    15
    Quote Originally Posted by Faris View Post
    c.objectDistance = 1; effects how far you can be to click an object, so you might want to tweak that for your farming objects so you can do it from 1 / 2 steps away ect.
    Thanks mang, I really appreciate that, that's has been giving me trouble elsewhere, +rep'd. I'm still not able to pick my herbs though.
    [Only registered and activated users can see links. ]
    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. farming help
    By dragonflame in forum Help
    Replies: 11
    Last Post: 12-12-2011, 11:58 AM
  2. [pi] Farming help
    By SinfulByNature in forum Help
    Replies: 33
    Last Post: 09-23-2011, 03:27 AM
  3. Farming
    By Martin Jones in forum Show-off
    Replies: 13
    Last Post: 03-08-2010, 01:45 AM
  4. Farming
    By Aeterna in forum Help
    Replies: 10
    Last Post: 11-26-2009, 09:45 PM
  5. Farming timer! great farming tool made by me :)
    By lattmjolk1 in forum Application Development
    Replies: 8
    Last Post: 01-10-2009, 02:42 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
  •