Thread: Need help with Woodcutting Points 317 {PI}

Results 1 to 7 of 7
  1. #1 Need help with Woodcutting Points 317 {PI} 
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    So basicly i want this tree to give you a point after its done cutting now it gives me a point when i click on the tree "always" so spam click it you have infinity points

    my code

    Code:
    		case 1292: //dramen
    		    c.woodcut[0] = 771;
    			c.woodcut[1] = 1;
    			c.woodcut[2] = 68;
    			c.dramenTree += 1;
    			c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodcut[2]);
    			c.sendMessage("I curently have " + c.dramenTree + " Points.");
    		break;
    help much apreciated

    Kind Regards,

    Ipkmills
    Reply With Quote  
     

  2. #2  
    Banned Need help with Woodcutting Points 317 {PI} Market Banned


    Join Date
    Jan 2011
    Age
    26
    Posts
    3,112
    Thanks given
    1,198
    Thanks received
    1,479
    Rep Power
    0
    Quote Originally Posted by M C K View Post
    You could add a timer.

    Code:
    case 1292: //dramen
    if (System.currentTimeMillis() - c.lastDramen < 3000)
    				return;
    		    c.woodcut[0] = 771;
    			c.woodcut[1] = 1;
    			c.woodcut[2] = 68;
    			c.dramenTree += 1;
    			c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodcut[2]);
    			c.sendMessage("I curently have " + c.dramenTree + " Points.");
                            c.lastDramen = System.currentTimeMillis();
    		break;
    in player.java search for
    Code:
    lastPlayerMove
    and add lastDramen in there.



    Yeah, it's a shitty way to do it but w/e.



    Or you can make it give you the points when a log is received... find the actual method where logs are distributed and add it there.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by lare96 View Post



    Or you can make it give you the points when a log is received... find the actual method where logs are distributed and add it there.
    Thanks
    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by M C K View Post
    You could add a timer.

    Code:
    case 1292: //dramen
    if (System.currentTimeMillis() - c.lastDramen < 3000)
    				return;
    		    c.woodcut[0] = 771;
    			c.woodcut[1] = 1;
    			c.woodcut[2] = 68;
    			c.dramenTree += 1;
    			c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodcut[2]);
    			c.sendMessage("I curently have " + c.dramenTree + " Points.");
                            c.lastDramen = System.currentTimeMillis();
    		break;
    in player.java search for
    Code:
    lastPlayerMove
    and add lastDramen in there.



    Yeah, it's a shitty way to do it but w/e.
    facepalm
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    Like lare said. Go to your woodcutting class and seeing most servers and even runescape has the server sending a chat message telling you that you've recieve some logs, find that string and add your points right under it
    If only I hadn't given you up, my life could've been different.
    Reply With Quote  
     

  7. #6  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by True Faith View Post
    Like lare said. Go to your woodcutting class and seeing most servers and even runescape has the server sending a chat message telling you that you've recieve some logs, find that string and add your points right under it
    already got don't have to spam post it close this thread scu11
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    Quote Originally Posted by ipkmills View Post
    already got don't have to spam post it close this thread scu11
    Don't spam? Look at the time differences between our posts I viewed the thread when it just had lare and the other guys reply..
    If only I hadn't given you up, my life could've been different.
    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. Replies: 2
    Last Post: 08-13-2013, 12:14 AM
  2. Need help with login interface 317 pi
    By Project_Fallout in forum Help
    Replies: 5
    Last Post: 03-09-2013, 10:54 PM
  3. [PI][317]Need Help with this error! [317][PI]
    By Yea Im Dylan in forum Help
    Replies: 4
    Last Post: 08-11-2012, 12:12 AM
  4. [PI][317]Need Help with this error! [317][PI]
    By Yea Im Dylan in forum Help
    Replies: 0
    Last Post: 08-09-2012, 09:05 PM
  5. Need help with invisible items [317] [pi]
    By Zandicus in forum Help
    Replies: 9
    Last Post: 05-20-2012, 12:18 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
  •