Thread: Add Black DDS p with white poison

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Add Black DDS p with white poison 
    hydra117
    Guest
    Color guide: Orange is insrtuctions
    Red is step
    Green is code
    Black and white are pointing out what color the ints are


    Ok This is a completely original item by MacX (aka me)

    Difficulty
    : 1/10
    Need to know : How to Copy and paste
    Modified Classes : Class8.java



    Step 1:
    Search for
    Code:
    class8.method203(true, aClass30_Sub2_Sub2_183);
    and add a switch beneath it
    like:

    Code:
    	switch (i)
            {
    Step 2:
    And then add my item code wich i got the results from using
    Yarnova's
    [Only registered and activated users can see links. ]

    Code:
            case ####: //Replace with id you wish to replace
    	class8.aStringArray189 = new String[5];
    	class8.aStringArray189[1] = "Equip";
    	class8.anIntArray156 = new int[2];
            class8.anIntArray160 = new int [2];
    	class8.anIntArray156[0] = 22459;
    	class8.anIntArray160[0] = 127;
    	class8.anIntArray156[1] = 924; // This is black body
    	class8.anIntArray160[1] = 128; //this is white tip
    	class8.anInt174 = 2718;//Item Look
    	class8.anInt181 = 760;
    	class8.anInt190 = 472;
    	class8.anInt198 = 1276;
    	class8.anInt204 = 0;
    	class8.anInt169 = 0;
    	class8.anInt194 = -4;
    	class8.anInt165 = 539;
    	class8.anInt200 = 539;
    	class8.anInt175 = -1;
    	class8.anInt197 = -1;
    	class8.aString170 = "Dragon Dagger (B)";
    	class8.aByteArray178 = "A black dragon dagger born of the darkest light!".getBytes();
            break; //100% made by MacX
    Step 3:
    Compile and run your client =) and you might have to add to item.java


    and my pic




    if you use give credits and r3p++ me
    Last edited by hydra117; 12-02-2007 at 05:47 AM. Reason: Adding some stuff
    Reply With Quote  
     

  2. #2  
    s1aped
    Guest
    pics would be nice
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    May 2007
    Posts
    2,690
    Thanks given
    115
    Thanks received
    45
    Rep Power
    0
    good job, and make 1 pic pls
    Reply With Quote  
     

  4. #4  
    kilermage
    Guest
    Why use case?
    Reply With Quote  
     

  5. #5  
    Super Donator


    Join Date
    Jun 2007
    Age
    28
    Posts
    2,158
    Thanks given
    316
    Thanks received
    282
    Discord
    View profile
    Rep Power
    779
    Quote Originally Posted by um123 View Post
    Why use case?
    its a switch..and because they are easier sometimes...

    Code:
     if (i == ####) {  //Replace with id you wish to replace
    	class8.aStringArray189 = new String[5];
    	class8.aStringArray189[1] = "Equip";
    	class8.anIntArray156 = new int[2];
            class8.anIntArray160 = new int [2];
    	class8.anIntArray156[0] = 22459;
    	class8.anIntArray160[0] = 127;
    	class8.anIntArray156[1] = 924;
    	class8.anIntArray160[1] = 128;
    	class8.anInt174 = 2718;//Item Look
    	class8.anInt181 = 760;
    	class8.anInt190 = 472;
    	class8.anInt198 = 1276;
    	class8.anInt204 = 0;
    	class8.anInt169 = 0;
    	class8.anInt194 = -4;
    	class8.anInt165 = 539;
    	class8.anInt200 = 539;
    	class8.anInt175 = -1;
    	class8.anInt197 = -1;
    	class8.aString170 = "Dragon Dagger (B)";
    	class8.aByteArray178 = "A black dragon dagger born of the darkest light!".getBytes();
            } //100% made by MacX
    there...if you weren't smart enough to change 2 lines, I did it for you
    Reply With Quote  
     

  6. #6  
    hydra117
    Guest
    there i added my pic wich was made for a server i played on but i was testing on another server so i blocked out some things
    Reply With Quote  
     

  7. #7  
    kilermage
    Guest
    Quote Originally Posted by mage_owner View Post
    its a switch..and because they are easier sometimes...

    Code:
     if (i == ####) {  //Replace with id you wish to replace
    	class8.aStringArray189 = new String[5];
    	class8.aStringArray189[1] = "Equip";
    	class8.anIntArray156 = new int[2];
            class8.anIntArray160 = new int [2];
    	class8.anIntArray156[0] = 22459;
    	class8.anIntArray160[0] = 127;
    	class8.anIntArray156[1] = 924;
    	class8.anIntArray160[1] = 128;
    	class8.anInt174 = 2718;//Item Look
    	class8.anInt181 = 760;
    	class8.anInt190 = 472;
    	class8.anInt198 = 1276;
    	class8.anInt204 = 0;
    	class8.anInt169 = 0;
    	class8.anInt194 = -4;
    	class8.anInt165 = 539;
    	class8.anInt200 = 539;
    	class8.anInt175 = -1;
    	class8.anInt197 = -1;
    	class8.aString170 = "Dragon Dagger (B)";
    	class8.aByteArray178 = "A black dragon dagger born of the darkest light!".getBytes();
            } //100% made by MacX
    there...if you weren't smart enough to change 2 lines, I did it for you
    Actually I changed it the first time the tut came out, and I was just asking why use cases(and you answered).
    Reply With Quote  
     

  8. #8  
    Super Donator


    Join Date
    Jun 2007
    Age
    28
    Posts
    2,158
    Thanks given
    316
    Thanks received
    282
    Discord
    View profile
    Rep Power
    779
    Quote Originally Posted by um123 View Post
    Actually I changed it the first time the tut came out, and I was just asking why use cases(and you answered).
    I wasn't directing it at you either, it was at everyone...and using a switch statement can be easier in some instances.
    Reply With Quote  
     

  9. #9  
    hydra117
    Guest
    switches are simpler and give less chance for error so you dont have to add you brackets
    Reply With Quote  
     

  10. #10  
    T
    T is offline
    Registered Member
    T's Avatar
    Join Date
    Aug 2007
    Posts
    815
    Thanks given
    1
    Thanks received
    2
    Rep Power
    286
    nice dagger! keep up the good work
    Reply With Quote  
     

Page 1 of 2 12 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
  •