Thread: [PI] Flax picking.

Results 1 to 6 of 6
  1. #1 [PI] Flax picking. 
    Registered Member
    Join Date
    Jan 2010
    Posts
    65
    Thanks given
    6
    Thanks received
    1
    Rep Power
    1
    Hi,

    I added these lines of code into actionhandler.java

    case 2646:
    if(System.currentTimeMillis() - c.buryDelay > 1500) {
    c.getItems().addItem(1779,1);
    c.turnPlayerTo(c.objectX, c.objectY);
    c.startAnimation(2292);
    c.getPA().object(-1, 2739, 3444, 0, 10);
    c.sendMessage("You pick some flax.");
    c.buryDelay = System.currentTimeMillis();


    }
    break;
    But when i click the flax nothing happens and no items get added? how is this happening..?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2011
    Posts
    422
    Thanks given
    88
    Thanks received
    21
    Rep Power
    22
    Make sure you compiled correctly and did you add it in the correct place?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    65
    Thanks given
    6
    Thanks received
    1
    Rep Power
    1
    ^ I added it under switch (objectType) {
    In the ActionHandler.java..

    I compiled the server, not the client.. maybe thats the problem?
    Reply With Quote  
     

  4. #4  
    Registered Member OblivionRealm's Avatar
    Join Date
    Apr 2012
    Posts
    596
    Thanks given
    60
    Thanks received
    41
    Rep Power
    11
    actionhandler is server sided, so no need to compile client
    Reply With Quote  
     

  5. #5  
    Registered Member OblivionRealm's Avatar
    Join Date
    Apr 2012
    Posts
    596
    Thanks given
    60
    Thanks received
    41
    Rep Power
    11
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2010
    Posts
    65
    Thanks given
    6
    Thanks received
    1
    Rep Power
    1
    ^ I dont have the second part.. in actionhandler.java so i dont know where to paste it..
    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. [PI] Flax Picking 100%
    By The Situationist in forum Snippets
    Replies: 33
    Last Post: 04-29-2012, 01:37 PM
  2. [pi] Flax picking
    By inFamous in forum Help
    Replies: 3
    Last Post: 11-10-2011, 01:55 AM
  3. Working Flax Picking
    By Insidia X in forum Show-off
    Replies: 13
    Last Post: 10-20-2011, 09:04 PM
  4. [PI] better flax picking class
    By xxcodyxxfish in forum Snippets
    Replies: 5
    Last Post: 08-23-2011, 10:48 PM
  5. [pi] flax picking
    By Spooky in forum Snippets
    Replies: 17
    Last Post: 01-16-2011, 05:52 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
  •