Thread: Animation Cancellation [PI]

Results 1 to 5 of 5
  1. #1 Animation Cancellation [PI] 
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Say if I use a special attack with any weapon, sometimes if the npc attacks me while doing the spec, my animation will reset, but the gfx will continue. How can I fix this?
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Open up walking.java.

    Look for:
    Code:
    c.startAnimation(65535);
    Remove it.

    Look for:
    Code:
    c.setNewWalkCmdIsRunning(c.getInStream().readSigne dByteC() == 1);
    for(int i1 = 0; i1 < c.newWalkCmdSteps; i1++) {
    c.getNewWalkCmdX()[i1] += firstStepX;
    c.getNewWalkCmdY()[i1] += firstStepY;

    }
    Under that add,
    Code:
    if((c.absX - (c.mapRegionX * 8)) - firstStepX != 0 || (c.absY - (c.mapRegionY * 8)) - firstStepY != 0)
    c.startAnimation(65535);
    How it works is, it checks to see how many squares you're walking.
    google bruh

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    I already saw that and realized while trying to implement it that it's already added to my server.
    Reply With Quote  
     

  4. #4  
    🍕

    Linus's Avatar
    Join Date
    Dec 2008
    Age
    31
    Posts
    2,779
    Thanks given
    974
    Thanks received
    411
    Rep Power
    0
    c.startAnimation(65535);
    c.setAppearanceUpdateRequired(true);
    c.updateRequired = true;

    ╠╬╣
    ╦╦
    ╠╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╚╩╩╩╩╩╩╝

    ╠╬╬╬╣



    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Quote Originally Posted by Linus View Post
    c.startAnimation(65535);
    c.setAppearanceUpdateRequired(true);
    c.updateRequired = true;
    Still doesn't work. When the person starts to move it goes back to normal.
    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: 8
    Last Post: 04-26-2011, 10:54 PM
  2. Making custom Animation's [pi]
    By pk flavor in forum Help
    Replies: 1
    Last Post: 11-02-2010, 12:55 AM
  3. animation.java [PI]
    By xTylerR in forum Help
    Replies: 0
    Last Post: 10-30-2010, 06:32 AM
  4. Change Death Animation On [PI]
    By Lenin in forum Help
    Replies: 2
    Last Post: 09-22-2010, 10:00 PM
  5. [pi]speeding up animation 6000[/pi]
    By Echo_ in forum Help
    Replies: 2
    Last Post: 09-14-2010, 03:16 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
  •