Thread: Vengeance Other?

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11  
    br43k ur jaw
    Guest
    eh try this..lol dont think that is the problem but try it

    Code:
     case 430:
                if (p.magicDelay == 0) {
                    if (p.clickId == 19 && p.skillLvl[6] >= 93) {
                        if (Engine.playerItems.invItemCount(p, 9075) > 3
                                && Engine.playerItems.invItemCount(p, 560) > 2
                                && Engine.playerItems.invItemCount(p, 557) > 10) {
    		    if(!p2.vengOn) {
                            p.stopMovement(p);
                            p.magicDelay = 7;
                            p.requestAnim(4411, 0);
                            p2.requestGFX(725, 0);
    			p2.vengOn = true;
                            Engine.playerItems.deleteItem(p, 9075,
                                    Engine.playerItems.getItemSlot(p, 9075), 3);
                            Engine.playerItems.deleteItem(p, 560,
                                    Engine.playerItems.getItemSlot(p, 560), 2);
                            Engine.playerItems.deleteItem(p, 557,
                                    Engine.playerItems.getItemSlot(p, 557), 10);
    		    } else {
    			p.frames.sendMessage(p, 
    				"That person already has vengeance casted.");
    			}
                        } else {
                            p.frames.sendMessage(p,
                                    "You don't have enough runes to cast this spell.");
                        }
                    } else {
                        p.frames.sendMessage(p,
                                "You need a magic level of 93 to cast this spell.");
                    }
                }
     

  2. #12  
    Registered Member `Gaz's Avatar
    Join Date
    Sep 2008
    Posts
    158
    Thanks given
    0
    Thanks received
    0
    Rep Power
    9
    Nope, no errors but still disconnects.
     

  3. #13  
    br43k ur jaw
    Guest
    got this in player.java

    Code:
        /**
         * Magic on player.
         */
        public int magicDelay = 0;
        public int freezeDelay = 0;

    if not search for
    /**
    * Skull data.
    */
    add under that

    [EDIT] if that dosent work try adding this

    Code:
            if (magicDelay > 0) {
                magicDelay--;
            }
    add under public void process() {

    am sorry av jsut started codeing 508s and am not that good lol

    hope that works
     

  4. #14  
    Registered Member `Gaz's Avatar
    Join Date
    Sep 2008
    Posts
    158
    Thanks given
    0
    Thanks received
    0
    Rep Power
    9
    Already have put of them in player.java
     

  5. #15  
    br43k ur jaw
    Guest
    sorry i cant help u any more i dont no what else it can be lol
     

Page 2 of 2 FirstFirst 12

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
  •