Thread: skilling interuption

Results 1 to 3 of 3
  1. #1 skilling interuption 
    Donator

    Join Date
    Jan 2014
    Posts
    81
    Thanks given
    19
    Thanks received
    8
    Rep Power
    36
    Hello,

    I have a small issue where my herblore skill isn't being interrupted when walking/teleporting
    I've went through fletching file to see how thats handled since with fletching it does work.

    However I noticed it calls the same method:

    Code:
    player.getSkilling().stop();
    [herblore.java]
    [Only registered and activated users can see links. ]

    Am I missing something here?

    Sorry im just a beginner trying to learn some shit
    Reply With Quote  
     

  2. #2  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,712
    Thanks given
    170
    Thanks received
    285
    Discord
    Arch337#1337
    Rep Power
    631
    Check how your fletching is being handled as your herblore have their own timer added to it. If you were to cancel that out, the game will need to know when you make a movement.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    Registered Thanker
    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    1,859
    Thanks given
    14,175
    Thanks received
    295
    Rep Power
    5000
    You are able to pass an integer to this method if I'm correct. So like this:

    Code:
    CycleEventHandler.getSingleton().addEvent(player, 1, new CycleEvent()
    Then if the player walks you can do something like this (Sorry I don't know the correct methods):
    Code:
    CycleEventContainer.stop(Player, 1);
    I'm almost sure there's a method like that.

    If you don't have the eventID method. Replace your CycleEvent classes with this:
    [Only registered and activated users can see links. ]
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [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. What 99 NON-combat skill would you like?
    By P Hatz Own in forum Voting
    Replies: 83
    Last Post: 05-04-2008, 07:01 PM
  2. Skill Capes
    By Itachi Uchiha in forum Tutorials
    Replies: 33
    Last Post: 09-20-2007, 12:15 AM
  3. Making Skill Menus
    By VorargC in forum Tutorials
    Replies: 6
    Last Post: 06-16-2007, 06:27 AM
  4. key crafting {skill}
    By Crysis in forum Tutorials
    Replies: 3
    Last Post: 05-18-2007, 09:58 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
  •