Combination Xx 317-603
Welcome to Conbination Xx ,please make a free account today to have access to making your own topics,if you are new to Unforgivscape,and do not have a client download can be found at the "announcements/updates" section of the Forums thanks for your time and don't forget to vote for us and you can download the new 317 client at http://www.mediafire.com/?3vdw42jcy511d1l
..::The forum Team::..


Image
 
PlayHomeUnforgivscapeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Top posters
Awesome4me (842)
 
Sinji (502)
 
Abel (270)
 
Eh Im God (260)
 
Blue Phat (228)
 
Mikenike (227)
 
Travis (223)
 
©I Am G0d I (202)
 
AskingAle (186)
 
๖̶ۣۜMєlaηiє™♥ (136)
 
Latest topics
» Looking for Developers \ Beta Testers \ Coders
Mon Sep 04, 2017 9:33 pm by Liam

» NOSTALGIA 2017
Fri Jun 16, 2017 4:21 pm by Abel

» I'm back, bitches.
Thu Dec 26, 2013 1:33 pm by Liam

» Hey been awhile
Thu Dec 26, 2013 12:35 pm by Liam

» Sweet Nostalgia
Sat Dec 07, 2013 4:23 am by Abel

» Hello ! [2013]
Sun Apr 28, 2013 5:31 am by Abel

» The hell happened?
Tue Jan 22, 2013 7:02 pm by MADBRO

» isaac abusing powers
Mon Dec 24, 2012 5:52 pm by Travis

» Hello :-)
Fri Dec 21, 2012 9:53 pm by dronza


Share | 
 

 DFS Tutorial

View previous topic View next topic Go down 
AuthorMessage
Guest
Guest



PostSubject: DFS Tutorial   Wed May 18, 2011 10:46 pm

Firstly, Open Your Player.Java

Then Declare This

Code:
This public int DFStimer = 0;


Secondly, Search for Prayer Variables And Put this Under It

Code:
/*DFS*/
public boolean dfsOn = false;
public int dfsdelay = 0;
public int dFire = 1000;

Thirdly, U Should Know Where All the Delay's Are Put this in There.

Code:
if (dfsdelay > 0) {
dfsdelay --;
}

Fourthly, Open Your PlayerCombat.Java And Search for "if (p.freezeDelay"

Then Put this Above it,

Code:
if(p.dfsOn) {
         en.appendHit(Misc.random(20), 0);
         p.requestAnim(6695, 0);
         en.requestGFX(1167, 177);
         p.requestGFX(1165, 0);
         p.dfsdelay = 50;
         p.dfsOn = false;
      }


5th Step,

Open Your ItemOperate.JAVA

And Past this in It

Code:

case 11283:
      if(p.dFire >= 25){
         if(p.dfsdelay < 1) {   
         p.dfsOn = true;
         } else {
         p.getActionSender().sendMessage(p,"You Have To Let This Cool Down Before Using it Again. (About A Minute or two)");
         p.dfsOn = false;
         }
                      }
      break;
      


Last edited by Luther on Sun May 22, 2011 3:48 am; edited 2 times in total
Back to top Go down
Travis
Forum Moderator
Forum Moderator
avatar

Posts : 223
Unforgivscape Reputation : 2
Join date : 2010-01-09
Age : 24

PostSubject: Re: DFS Tutorial   Thu May 19, 2011 6:12 pm

Lol, put GFX 762 in, see what happens ;D
Back to top Go down
View user profile
 
DFS Tutorial
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Starter Motor Cleaning Tutorial
» Excellent Tutorial on CVT Trannys
» Rear Muguard Extension
» Rad flush.
» Manual brake pedal arm modification

Permissions in this forum:You cannot reply to topics in this forum
Combination Xx 317-603 ::  Coders zone-
Jump to: