Thread: [PI][DSPK]Dieng No Animations

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 [PI][DSPK]Dieng No Animations 
    Registered Member Trivzor's Avatar
    Join Date
    Dec 2010
    Posts
    544
    Thanks given
    102
    Thanks received
    109
    Rep Power
    17
    Okay, When i got killed its not doing the dead animations the character is standing there for 5 secs and respawning back at home.

    My Question is the codes to get the animations back I will Rep =D
    HyBriD PvP - Reborn - Coming soon!
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2010
    Age
    29
    Posts
    1,886
    Thanks given
    446
    Thanks received
    523
    Rep Power
    0
    lol easy man sec

    EDIT: Nvm just look for your death anim and change it.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2010
    Posts
    498
    Thanks given
    41
    Thanks received
    84
    Rep Power
    54
    looks for the 5 sec delay... put the anim right before the delay is started lol
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Apr 2011
    Posts
    70
    Thanks given
    3
    Thanks received
    0
    Rep Power
    0
    look in your death methods
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2010
    Age
    32
    Posts
    603
    Thanks given
    96
    Thanks received
    43
    Rep Power
    59
    post your applydead please

    EDIT:you dont have any rep to rep with
    Reply With Quote  
     

  6. #6  
    Registered Member Trivzor's Avatar
    Join Date
    Dec 2010
    Posts
    544
    Thanks given
    102
    Thanks received
    109
    Rep Power
    17
    Quote Originally Posted by Ta1nt3d View Post
    post your applydead please

    EDIT:you dont have any rep to rep with
    public void applyDead() {
    c.respawnTimer = 10;
    c.isDead = false;
    if(c.duelStatus != 6) {
    //c.killerId = c.getCombat().getKillerId(c.playerId);
    c.killerId = findKiller();
    Client o = (Client) Server.playerHandler.players[c.killerId];
    if(o != null) {
    c.DC++;
    o.KC++;
    if(!(c.npcIndex > 0) && c.inPits == false){
    }
    if (c.killerId != c.playerId)
    o.sendMessage("You have defeated "+Misc.optimizeText(c.playerName)+"!");
    if(c.inWild()){
    c.pkPoints += 5;
    o.sendMessage("You have received 5 Pk Points");
    }
    c.playerKilled = c.playerId;
    if(o.duelStatus == 5) {
    o.duelStatus++;
    }
    }
    }
    c.poisonDamage = 0;
    c.faceUpdate(0);
    c.npcIndex = 0;
    c.playerIndex = 0;
    c.stopMovement();
    if(c.duelStatus <= 4) {
    c.sendMessage("Oh dear you are dead!");
    } else if(c.duelStatus != 6) {
    c.sendMessage("You have lost the duel!");
    }
    resetDamageDone();
    c.specAmount = 10;
    c.getItems().addSpecialBar(c.playerEquipment[c.playerWeapon]);
    c.lastVeng = 0;
    c.vengOn = false;
    resetFollowers();
    c.attackTimer = 10;
    removeAllWindows();
    c.tradeResetNeeded = true;
    }
    HyBriD PvP - Reborn - Coming soon!
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2010
    Age
    32
    Posts
    603
    Thanks given
    96
    Thanks received
    43
    Rep Power
    59
    probably not the right way to go about fixing it but try adding


    c.startAnimation(1); (i don't know the animation id)

    under:

    public void applyDead() {

    definiately not the right way to fix it
    but it may be n easy way of going around the hard way of doing it
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Sep 2010
    Age
    29
    Posts
    567
    Thanks given
    147
    Thanks received
    202
    Rep Power
    0
    Code:
    if(respawnTimer == 7) {
    			respawnTimer = -6;
    			getPA().giveLife();
    		} else if(respawnTimer == 12) {
    			respawnTimer--;
    			startAnimation(836);
    			poisonDamage = -1;
    		}
    in client.java process
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2010
    Age
    32
    Posts
    603
    Thanks given
    96
    Thanks received
    43
    Rep Power
    59
    Quote Originally Posted by k3vin View Post
    Code:
    if(respawnTimer == 7) {
    			respawnTimer = -6;
    			getPA().giveLife();
    		} else if(respawnTimer == 12) {
    			respawnTimer--;
    			startAnimation(836);
    			poisonDamage = -1;
    		}
    in client.java process
    i never would of found that >.>
    Reply With Quote  
     

  10. #10  
    Registered Member Trivzor's Avatar
    Join Date
    Dec 2010
    Posts
    544
    Thanks given
    102
    Thanks received
    109
    Rep Power
    17
    Quote Originally Posted by k3vin View Post
    Code:
    if(respawnTimer == 7) {
    			respawnTimer = -6;
    			getPA().giveLife();
    		} else if(respawnTimer == 12) {
    			respawnTimer--;
    			startAnimation(836);
    			poisonDamage = -1;
    		}
    in client.java process
    Already got it there
    HyBriD PvP - Reborn - Coming soon!
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. [DSPK] Animations wont stop .Gif included
    By addicted in forum Help
    Replies: 2
    Last Post: 03-26-2011, 10:03 PM
  2. Replies: 10
    Last Post: 01-16-2011, 12:26 AM
  3. Replies: 55
    Last Post: 11-17-2009, 01:09 AM
  4. [Delta] Players Dieng at 21 hp
    By darkburak in forum Help
    Replies: 0
    Last Post: 05-24-2009, 10:56 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
  •