Thread: The Real Way To Add Vengeance

Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1 The Real Way To Add Vengeance 
    Banned

    Join Date
    Aug 2007
    Age
    32
    Posts
    704
    Thanks given
    21
    Thanks received
    30
    Rep Power
    0
    Description : To add a lunar spell onto your server. It will be charge , so make sure that spell is available for you.
    Difficulty : 3/10
    Files used : Client.java
    What to know : Where to add certain things.
    All credit goes to King ownage from Frugooscape.net

    1. Open client.java and look for the code
    Code:
    public class client extends Player implements Runnable {
    After you find it , should be near the top of client.java hit enter twice and add this code (Part of Vengence)
    Code:
    public boolean vegeance = false;
    public int vengtimer = 0;
    public int waittimer = 0;
    public boolean wait = false;
    
    public void vegeance()
    {
    if(vegeance == false && vengtimer <= 0 && waittimer <= 0 && playerLevel[6] >= 94) {
    vegeance = true;
    vengtimer = 20;
    addAnimation(1914);
    stillgfx(465, absX, absY);
    sendMessage("You gain the vegeance power!");
    } else {
    sendMessage("You can cast this spell ones a 30 seconds!");
    }
    }
    
    public void castvegeance()
    {
    	if(vengtimer <= 0 && vegeance == true && PlayerHandler.players[AttackingOn] != null) {
    	txt4 = "Taste vegeance!";
    	string4UpdateRequired = true;
    	PlayerHandler.players[AttackingOn].hitDiff = misc.random(40);
    	PlayerHandler.players[AttackingOn].updateRequired = true;
    	PlayerHandler.players[AttackingOn].hitUpdateRequired = true;
    	waittimer = 30;
    	vengtimer = 0;
    	vegeance = false;
    	} else {
    	//If player doesnt have target .. Else nullPoint error
    	}
    }
    
    public int VenganceTimer = 0;
    It allows you to attack a player and adds send Message and Texting as you can see.

    2. Save , close , open client.java up again and look for the code

    Code:
    if (isGhost == false)
    {
    	isNpc = false;
    	updateRequired = true;
    	appearanceUpdateRequired = true;
    }
    After that , under it add

    Code:
    if(vengtimer == 0) {
    castvegeance();
    }

    After that just scroll down a little until you see

    Code:
    		if (RCTimer > 0) {
    			RCTimer -= 1;
    		}
    Under that add :

    Code:
    		if (vengtimer > 0) {
    			vengtimer -= 1;
    		}

    Then save , close and open up client.java again.

    3. Add this code with your other commands.

    Code:
    if(command.startsWith("vegeance")) {
    vegeance();
    }
    Save and close , and re-open Client.java again =.=

    4. Search for
    Code:
    if (magicID == 1160 && playerLevel[3] >= 1) { // Wind bolt
    ProjectileSpell(117, 118, 119, absY, absX, offsetY, offsetX, npcIndex, EnemyY2, EnemyX2, 12, 1, 566, 558, 2, 1);
    }
    and above that add

    Code:
    if(magicID == 1193 && playerLevel[3] >= 94) {
    castvegeance();
    }
    Save , close , re-open for the last time!

    5. Search for

    Code:
    case 14067: // Char design accept button
    RemoveAllWindows();
    break;
    Under that add

    Code:
    case 4169:
    vegeance();
    break;


    Enjoy
     

  2. #2  
    x19
    Guest
    Isnt this just that other veng tut with timers added?

    Mr. X
     

  3. #3  
    LvL 3 Night Elf

    SandyBridge's Avatar
    Join Date
    Jul 2007
    Age
    31
    Posts
    796
    Thanks given
    6
    Thanks received
    10
    Rep Power
    140
    where is the skull and stuff??? thought so..

     

  4. #4 nice.. 
    renzokuke100
    Guest
    nice tut bro
     

  5. #5  
    Banned

    Join Date
    Aug 2007
    Age
    32
    Posts
    704
    Thanks given
    21
    Thanks received
    30
    Rep Power
    0
    where is the skull and stuff??? thought so..
    I didn't mean real runescape i meant all the ones released that i've used haven't worked but this one does.

    Nice tut bro
    thanx
     

  6. #6  
    mstier s
    Guest
    I have the skull and the emotes it has been done already
     

  7. #7  
    Super Donator


    Join Date
    Jun 2007
    Age
    31
    Posts
    2,157
    Thanks given
    316
    Thanks received
    282
    Rep Power
    779
    Good Job Grimmy
     

  8. #8  
    Banned

    Join Date
    Aug 2007
    Age
    32
    Posts
    704
    Thanks given
    21
    Thanks received
    30
    Rep Power
    0
    thanx and hey mage
     

  9. #9  
    LvL 3 Night Elf

    SandyBridge's Avatar
    Join Date
    Jul 2007
    Age
    31
    Posts
    796
    Thanks given
    6
    Thanks received
    10
    Rep Power
    140
    so this is the very crappy version compared to the ones that are already done

     

  10. #10  
    Banned

    Join Date
    Aug 2007
    Age
    32
    Posts
    704
    Thanks given
    21
    Thanks received
    30
    Rep Power
    0
    Well this is the best one released on this forum...
     

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

Similar Threads

  1. The Real Vengeance GFX Model
    By Nintendo in forum Requests
    Replies: 1
    Last Post: 11-06-2010, 12:13 AM
  2. Real vengeance
    By LastResortpkz in forum Show-off
    Replies: 11
    Last Post: 08-14-2009, 03:52 PM
  3. Real Vengeance emote!
    By Dust R I P in forum Show-off
    Replies: 30
    Last Post: 08-07-2009, 10:38 PM
  4. Replies: 38
    Last Post: 05-03-2009, 06:23 PM
  5. Real Vengeance GFX in a 317
    By Harry in forum Show-off
    Replies: 44
    Last Post: 12-30-2008, 12:49 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
  •