MegaMediaLife
Welcome to MegaMediaLife. Register to post Have fun!!!!
MegaMediaLife
Welcome to MegaMediaLife. Register to post Have fun!!!!
MegaMediaLife
Would you like to react to this message? Create an account in a few clicks or log in to continue.


MegaMediaLife
 
HomeHomeLatest imagesSearchRegisterLog in

 

 [562]- Veng Delay

Go down 
2 posters
AuthorMessage
the egg pk
Noob
Noob



Posts : 4
Reputation : 0
Join date : 2009-11-18
Age : 29

[562]- Veng Delay Empty
PostSubject: [562]- Veng Delay   [562]- Veng Delay EmptyWed Nov 18, 2009 4:17 am

Go To your Packets Folder then Open Buttons Java



And Add this

Code:
 case 430:

        if (buttonId == 36) {//veng
                            if (!p.usingVeng) {
                            p.getMasks().requestAnim(4410,0);
                            p.getMasks().requestGFX(726,100);
                            p.usingVeng = true;
                            p.vengUseDelay = 60; //30 seconds.   
                            p.getPackets().sendMessage("You can cast vengeance only every 30 seconds after vengeance has", null, 0);
        p.getPackets().sendMessage("Rebounded damage on your enemy, Or after the vengeance spell hasn't", null, 0);
        p.getPackets().sendMessage("been used (30 seconds no use).", null, 0);
                            if (p.vengDelay > 0) {
                            p.getPackets().sendMessage("You can only use vengeance 30 seconds after its activated.", null, 0);
        p.getPackets().sendMessage("Exceptions for vengeance fades away.", null, 0);
                            }
                            }
                            break;
                            }
                            }

Then Make your Way over to Model Folder/Player folder/ Player Java And Add this Search



"private boolean onLogin;"



Then Add this under it
Code:
public int vengDelay;
 public boolean usingVeng;
 public int vengUseDelay;



then in Player java still Search

"if (eatDelay > 0) {"



And Add this under it

Quote :
if (vengDelay > 0) {
vengDelay--;
}
if (vengUseDelay > 0) {
vengUseDelay--;
}
if (vengUseDelay <= 0 && usingVeng) {
vengUseDelay = 0;
usingVeng = false;
getPackets().sendMessage("Vengeance has faded away.", null, 0);
}



Save And Compile lol!
Back to top Go down
kurta
Legend
Legend
kurta


Posts : 59
Reputation : 0
Join date : 2009-11-16
Location : Australia

[562]- Veng Delay Empty
PostSubject: Re: [562]- Veng Delay   [562]- Veng Delay EmptyMon Nov 23, 2009 7:00 am

where abouts did you find ur 562 source? ive been looking everywhere
Back to top Go down
http://www.runescape.com
 
[562]- Veng Delay
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
MegaMediaLife :: Runescape Private Servers :: 503+ Related Boards :: Tutorials-
Jump to: