MegaMediaLife
Welcome to MegaMediaLife. Register to post Have fun!!!!


MegaMediaLife
 
HomeHomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [562]- Veng Delay

Go down 
AuthorMessage
the egg pk
Noob
Noob


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

PostSubject: [562]- Veng Delay   Wed 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
View user profile
kurta
Legend
Legend
avatar

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

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

where abouts did you find ur 562 source? ive been looking everywhere
Back to top Go down
View user profile http://www.runescape.com
 
[562]- Veng Delay
Back to top 
Page 1 of 1
 Similar topics
-
» macam mana nak tambah lampu brake belakang klip2

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