Thread: [Delta] The best Dragon claws code Client + server

Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 135
  1. #1 [Delta] The best Dragon claws code Client + server 
    Registered Member
    Hatescape1's Avatar
    Join Date
    Jan 2009
    Posts
    557
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    Base tested: Delta

    difficulty: 2 [ maybe for the poeple having trouble adding the models ]



    ok im I hate I didnt code a few year but now i'm back, dont look at my english, i'm Dutch

    if you saw an other thread about adding Dragon claw special dont take it

    if you wield and un-wield it the special bar goes away and you need to relogin

    1.

    Download the models for Dragon claws made by galkon.

    [Only registered and activated users can see links. ]

    if ur using bluurrs client dont take the models cus u'll see an skeleton hand.

    2. ok the two winrar archives are done withdownloading, Put them in ur urClient\Models

    now open Class8.java and add this

    Code:
    	if(i == 8002)
    	{
    		class8.aStringArray189 = new String[5];
    		class8.aStringArray189[1] = "Wield";
    		class8.anInt174 = 13699;
    		class8.anInt181 = 738; // zoom; increase will make it smaller
    		class8.anInt190 = 245; // model rotate; up+down increase to move down away from you
    		class8.anInt198 = 80; // model rotate; side ways increase to move right in circle
    		class8.anInt169 = -2; // model offset; increase to move to the right
    		class8.anInt194 = 3; // model offset; increase to move up
    		class8.anInt165 = 13698;
    		class8.anInt200 = 13698;
    		class8.anInt188 = -1;
    		class8.anInt164 = -1;
    		class8.aString170 = "Dragon claws";
    		class8.aByteArray178 = "A set of fighting claws.".getBytes();
    	}
    Safe & Compile

    Leave ur client now

    3. Open ur Client.java and Search for
    Code:
    public class client extends Player implements Runnable {
    Must be at the top

    Right under that add

    Code:
    public boolean DCDamg = false;
    public int DCdown = 0;
    4. Search For
    Code:
    if(playerEquipment[playerWeapon] == 5698 && specialAmount > 24){
    U'll see SOMETHING like this [ I EDITED MY DDS SO URS CAN BE DIFFRENT ]

    Code:
    if(playerEquipment[playerWeapon] == 5698 && specialAmount > 24){
    startAnimation(0x426);
    specialAtk(false, 0, 252, 0x426);
    getHit(35);
    DDS2Damg = true;
    DDStimer = 1;
    startAnimation(0x426);
    usingSpecial = true;
    specialAmount -= 25;
    int j = PlayerHandler.players[AttackingOn].absX;
    int k = PlayerHandler.players[AttackingOn].absY;
    int l = PlayerHandler.players[AttackingOn].playerLevel[playerHitpoints];
    }
    Under that add This

    Code:
    if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
    specialAtk(true, 25, 252, 2068);
    DCdown = 4;
    DCDamg = true;
    getHit(100);
    usingSpecial = true;
    }
    5. Now search For
    Code:
    if(playerEquipment[playerWeapon] == 5698 && specialAmount > 24){
    U'll see something like this

    Code:
    if(playerEquipment[playerWeapon] == 5698 && specialAmount > 24){
    specialAtkNPC(true, 25, 252, 0x426);
    npcDamage(8);
    }
    Under that add this

    Code:
    if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
    specialAtkNPC(true, 25, 252, 2068);
    DCdown = 4;
    DCDamg = true;
    npcDamage(8);
    }
    Now Safe ur Client.java and close it

    6. open Special.java and Search For
    Code:
    		case 5698:
    Right under that add this

    Code:
    		case 8002:
    Now search again for
    Code:
    		case 5698:
    [ THERE MUST BE TWO 5698 ]

    Right under that add

    Code:
    		case 8002:
    Now Safe And close

    7. Open ur Item.config in ur Config map

    Above add this

    Code:
    item = 8002	Dragon Claws	A_legendary_pair of claws.	880000000.2105575155	880000000.2105575155	13200000.3495290539	-4	110	110	110	0	0	110	110	110	110	110	110
    You can change the 110 to whatever you want its just the bonusses

    This was my first tut for Dragon claws

    if there are any errors please post it

    This is 100% my own tut.


    ---------------Edit-------------

    Poeple said it only hits two times

    i fixed it leave the codes you used above just leave it there.

    search up for

    Code:
    	public boolean process() {
    and under that add

    Code:
    if(dclaws == 3) {
    dclawed();
    }
    
    if(dclaws == 2) {
    startAnimation(2068);
    dclawed2();
    }
    
    if(dclaws == 1) {
    dclawed2();
    actionInterval = getbattleTimer() + getbattleTimer()/2;
    }
    
    if(dclaws > 0) {
    dclaws -= 1;
    }
    if ((IsAttackingNPC) && DCDamg == true ) {
    if (DCdown == 2 ) {
    startAnimation(2068);
    }
    SpecDamgNPC(30);
    DCdown -= 1;
    if (DCdown == 0 ) {
    DCDamg = false;
    }
    }
    if (IsAttacking == true && DCDamg == true ) {
    if (DCdown == 2 ) {
    startAnimation(2068);
    }
    SpecDamg(25);
    DCdown -= 1;
    if (DCdown == 0 ) {
    DCDamg = false;
    }
    }
    should be fixed now.
     

  2. #2  
    Donator Market Banned Market Banned



    Join Date
    Feb 2009
    Posts
    3,821
    Thanks given
    88
    Thanks received
    113
    Rep Power
    5000
    nice tut thanks
     

  3. #3  
    Registered Member
    Hatescape1's Avatar
    Join Date
    Jan 2009
    Posts
    557
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    Quote Originally Posted by Gr44n FT3 View Post
    nice tut thanks
    Anytime Dude
     

  4. #4  
    Registered Member
    Hatescape1's Avatar
    Join Date
    Jan 2009
    Posts
    557
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    *Edit* Only use for delta, maybe it work on other source's to.
     

  5. #5  
    Registered Member
    Join Date
    Feb 2009
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    nice tut it compiles fine but only hits 2 times at least on npcs
    and
    specialAtkNPC(true, 25, 252, 2068);
    should be
    specialAtkNPC(true, 50, 252, 2068);

    edit: it only hits 2x on players also

    Reedit: I'm like 90% sure you got this from a tut i just read an left out...
    Code:
    if ((IsAttackingNPC) && DCDamg == true ) {
    if (DCdown == 2 ) {
    startAnimation(2068);
    }
    SpecDamgNPC(30);
    DCdown -= 1;
    if (DCdown == 0 ) {
    DCDamg = false;
    }
    }
    if (IsAttacking == true && DCDamg == true ) {
    if (DCdown == 2 ) {
    startAnimation(2068);
    }
    SpecDamg(25);
    DCdown -= 1;
    if (DCdown == 0 ) {
    DCDamg = false;
    }
    }
     

  6. #6  
    Registered Member
    Hatescape1's Avatar
    Join Date
    Jan 2009
    Posts
    557
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    Quote Originally Posted by xpri2 View Post
    nice tut it compiles fine but only hits 2 times at least on npcs
    and
    specialAtkNPC(true, 25, 252, 2068);
    should be
    specialAtkNPC(true, 50, 252, 2068);

    edit: it only hits 2x on players also

    Reedit: I'm like 90% sure you got this from a tut i just read an left out...
    Code:
    if ((IsAttackingNPC) && DCDamg == true ) {
    if (DCdown == 2 ) {
    startAnimation(2068);
    }
    SpecDamgNPC(30);
    DCdown -= 1;
    if (DCdown == 0 ) {
    DCDamg = false;
    }
    }
    if (IsAttacking == true && DCDamg == true ) {
    if (DCdown == 2 ) {
    startAnimation(2068);
    }
    SpecDamg(25);
    DCdown -= 1;
    if (DCdown == 0 ) {
    DCDamg = false;
    }
    }
    This is from my own server, its my D claws, and it hits 4 times with special attack and 1 time with normal hit, so what ur talking bout do you efen got delta?
     

  7. #7  
    Registered Member
    Join Date
    Feb 2009
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Hatescape1 View Post
    This is from my own server, its my D claws, and it hits 4 times with special attack and 1 time with normal hit, so what ur talking bout do you efen got delta?
    yes i have delta
    if this was off your server you would have known that the spec was only using 25% of your bar but looked for 49% to use the spec

    also your tut doesn't have the 3rd an 4th hit added you have it ready to look for it but the code isn't there

    [Only registered and activated users can see links. ]

    a tut almost like yours on page two that has everything added
     

  8. #8  
    Registered Member
    Hatescape1's Avatar
    Join Date
    Jan 2009
    Posts
    557
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    Quote Originally Posted by xpri2 View Post
    yes i have delta
    if this was off your server you would have known that the spec was only using 25% of your bar but looked for 49% to use the spec

    also your tut doesn't have the 3rd an 4th hit added you have it ready to look for it but the code isn't there

    [Only registered and activated users can see links. ]

    a tut almost like yours on page two that has everything added
    My tut Uses 2 specials attacks... This isnt leech if you want to tell that

    Btw, the tut you send is whole diffrent then mines.
     

  9. #9  
    Registered Member
    Hatescape1's Avatar
    Join Date
    Jan 2009
    Posts
    557
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    my D claws and the models works 100%
     

  10. #10  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Exact same tutorial from da360tornado.. Please stop doing Delta+leech.
     

Page 1 of 14 12311 ... LastLast

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
  •