Thread: New Vengeace for Delta servers with timer!

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1 New Vengeace for Delta servers with timer! 
    Registered Member

    Join Date
    Mar 2009
    Posts
    388
    Thanks given
    3
    Thanks received
    12
    Rep Power
    81
    Okay, we all knew delta's veng sucks and didn't have any effect so i made a new one.
    This still has a bug that if you veng and someone attacks you, you will get logged out.. but maybe somebody know how to fix it.

    Oke go to clickingmost.java and search for your veng case replace it with this:
    Code:
    client AttackingOn2 = (client) server.playerHandler.players[c.AttackingOn];
    if(c.q10 != 15){
    c.sM("You must have completed Lunar Spirit to use this spell.");
    }
    if(System.currentTimeMillis() - c.vengDelay < 30000){
    c.sM("You can only cast vengeance spells every 30 seconds.");
    return;
    }
    if(c.playerLevel[6] < 94){
    c.sM("You need a magic level of 94 or better to cast this spell.");
    }
    if (!c.HasItemAmount(553, 4) || !c.HasItemAmount(560, 2) || !c.HasItemAmount(557, 10)) {
    c.sM("You don't have enough runes to cast this spell.");
    c.sM("You need 4 astral rune, 2 death rune and 2 earth runes!");
    } else
    if (c.HasItemAmount(553, 4) && c.HasItemAmount(560, 2) && c.HasItemAmount(557, 10) && c.playerLevel[6] > 93 && c.q8 == 15){
    c.vengDelay = System.currentTimeMillis();
    c.specGFX(657);
    c.setAnimation(100);
    c.deleteItem(553, 4);
    c.deleteItem(560, 2);
    c.deleteItem(557, 10);
    c.addSkillXP(500, 6);
    c.toX = c.absX;
    c.toY = c.absY;
    c.vengTimer= 1;
    }
    Now go to client.java and add :
    Code:
    public int vengTimer = 0;
    Now go to your process inside client.java and add this right under it:
    Code:
    if(vengTimer == 1 && inCombat){
    PlayerHandler.players[AttackingOn].hitDiff = (int)(hitDiff * .75); // Simple math, 100 divided by 1.30, and you get 76.
    PlayerHandler.players[AttackingOn].currentHealth -= (int)(hitDiff * .75);
    refreshHP();
    PlayerHandler.players[AttackingOn].hitUpdateRequired = true; // So the hit will append to you.
    PlayerHandler.players[AttackingOn].updateRequired = true; // So the hit will append to you.
    PlayerHandler.players[AttackingOn].appearanceUpdateRequired = true; // So the hit will append to you.
    vengon = false;
    vengTimer = 0;
    plrText = "Taste vengeance!"; // This says it in itself.
    plrTextUpdateRequired = true; // Make sure the txt4 will update.
    toX = absX;
    toY = absY;
    }
    if(System.currentTimeMillis() - vengDelay == 20000){
    PlayerHandler.players[AttackingOn].hitDiff = (int)(hitDiff * .75); 
    PlayerHandler.players[AttackingOn].currentHealth -= (int)(hitDiff * .75);
    refreshHP();
    PlayerHandler.players[AttackingOn].hitUpdateRequired = true;
    PlayerHandler.players[AttackingOn].updateRequired = true; // So the hit will append to you.
    PlayerHandler.players[AttackingOn].appearanceUpdateRequired = true;
    vengon = false;
    vengTimer = 0;
    plrText = "Taste vengeance!"; // This says it in itself.
    plrTextUpdateRequired = true; // Make sure the txt4 will update.
    toX = absX;
    toY = absY;
    }
    If you don't like it don't post.

    How it works: When you veng it won't say Taste Vengeace but wait till you will attack someone, after you fight someone for 10 secs it will veng again.

    This is v1 so maybe v2 will be bether
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Donator

    mike623030's Avatar
    Join Date
    Oct 2008
    Posts
    402
    Thanks given
    40
    Thanks received
    4
    Rep Power
    92
    my veng work right on mine did not edit it
    it came with the source
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Registered Member

    Join Date
    Mar 2009
    Posts
    388
    Thanks given
    3
    Thanks received
    12
    Rep Power
    81
    Quote Originally Posted by mike623030 View Post
    my veng work right on mine did not edit it
    it came with the source
    When you use veng it will say: TASTE VENGEACE the real one on rs doesn't say that when you use the spell but at the time you are in a fight.
    Reply With Quote  
     

  6. Thankful user:


  7. #4  
    Banned
    Join Date
    Aug 2009
    Posts
    409
    Thanks given
    24
    Thanks received
    19
    Rep Power
    0
    Quote Originally Posted by `moh View Post
    When you use veng it will say: TASTE VENGEACE the real one on rs doesn't say that when you use the spell but at the time you are in a fight.
    It doesn't?
    Reply With Quote  
     

  8. Thankful user:


  9. #5  
    Registered Member
    ViperSniper's Avatar
    Join Date
    Apr 2007
    Age
    27
    Posts
    2,417
    Thanks given
    367
    Thanks received
    82
    Rep Power
    976
    Process just make it check in attack player if the other person is Venged.
    Sucks sorry.
    If you don't like it don't post.
    How about you dont post if you don't like criticism.
    I love Critics, they helps me make whatever there criticizing.
    :indeed:
    Reply With Quote  
     

  10. Thankful user:


  11. #6  
    Registered Member
    Incendiary's Avatar
    Join Date
    Jul 2009
    Posts
    347
    Thanks given
    91
    Thanks received
    42
    Discord
    View profile
    Rep Power
    160
    Quote Originally Posted by X V X View Post
    It doesn't?
    yes it does, if someone hits you when you casted vengeance you will say taste vengeance! and it will rebound some damage.
    Reply With Quote  
     

  12. Thankful user:


  13. #7  
    RuneFatality

    Join Date
    May 2009
    Age
    24
    Posts
    2,355
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    I'm so glad I use EventManager... Putting it in process is completely unnecessary.
    Reply With Quote  
     

  14. Thankful user:


  15. #8  
    Registered Member

    Join Date
    Mar 2009
    Posts
    388
    Thanks given
    3
    Thanks received
    12
    Rep Power
    81
    Quote Originally Posted by MrFaranCool View Post
    I'm so glad I use EventManager... Putting it in process is completely unnecessary.
    Mwah im going to add that 2 , i forgot graham released.
    Reply With Quote  
     

  16. Thankful user:


  17. #9  
    RuneFatality

    Join Date
    May 2009
    Age
    24
    Posts
    2,355
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    Quote Originally Posted by `moh View Post
    Mwah im going to add that 2 , i forgot graham released.
    Glad to help
    Reply With Quote  
     

  18. Thankful user:


  19. #10  
    Way to long

    63oooo's Avatar
    Join Date
    Sep 2008
    Posts
    686
    Thanks given
    117
    Thanks received
    10
    Rep Power
    201
    Lmfao, The one on delta is correct.







    Reply With Quote  
     

  20. Thankful user:


Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •