Thread: TeleTimer - Help

Results 1 to 3 of 3
  1. #1 TeleTimer - Help 
    Registered Member
    Join Date
    Apr 2014
    Posts
    226
    Thanks given
    97
    Thanks received
    10
    Rep Power
    0
    I added this right under: " SecondclickObject method in actionhandler.java

    Code:
    if (c.teleTimer > 0) {
    					return;
    				}
    Compiled and I tested it..

    I teled and right clicked the bank, it opens lol.. It should be not open while I'm teleport.


    And I've already this in Player.java

    Code:
    public int teleGrabItem, teleGrabX, teleGrabY, duelCount, underAttackBy, underAttackBy2, wildLevel, teleTimer, respawnTimer, saveTimer = 0, teleBlockLength, poisonDelay;
    Any help?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Apr 2014
    Posts
    226
    Thanks given
    97
    Thanks received
    10
    Rep Power
    0
    bump
    Reply With Quote  
     

  3. #3  
    Software Developer

    Tyrant's Avatar
    Join Date
    Jul 2013
    Age
    24
    Posts
    1,562
    Thanks given
    678
    Thanks received
    423
    Rep Power
    1060
    Add this on the method opens the bank:
    Code:
    c.teleTimer += 5; //Change 5 into a number you'd like waiting
    Add this on process (You can also start an event while doing it and stop it while finishin')

    On client.java , process void:
    Code:
    if (teleTimer > 0)
        teleTimer--;
    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. Need gfx help?
    By Beh3moth2 in forum General
    Replies: 1
    Last Post: 04-03-2007, 11:50 AM
  2. GIMP brush help
    By man777 in forum Tutorials
    Replies: 0
    Last Post: 04-03-2007, 03:11 AM
  3. Need help again
    By Zane in forum Showcase
    Replies: 4
    Last Post: 04-02-2007, 09:11 PM
  4. Need help choosing sig
    By Zane in forum Showcase
    Replies: 7
    Last Post: 04-02-2007, 03:14 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
  •