Thread: Adding New Items to your Client [My Way]

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Adding New Items to your Client [My Way] 
    Exist2inspire
    Guest
    Hello friends,

    Welcome to My Tut on adding new RuneScape Items.


    ** I just want to say to james, if you consider this as leaching, i'll happily remove it. i just made my own version of your tut, to help people who can't comprehend JAVA as well as you. **


    First of all, your going to need a few things:
    1. winRAR - [Only registered and activated users can see links. ]
    2. A Client. (preferably a non-renamed 317 Deob)
    3. A Server - to test your client on.
    4. Bentski's Model Viewer + Some RS Models - [Only registered and activated users can see links. ]
    5. Gzip - [Only registered and activated users can see links. ]

    Ok, now that you have all the things you will need, we are ready to get started.


    Firstly, we have to make some commands in your client, so open up your Clients
    client.JAVA, press cntrl + f and search for:
    Code:
    String s = aString887.toLowerCase();
    Under it, Add this:
    Code:
    	if(s.startsWith("add model"))
    {
     try
     {
       int ModelIndex = Integer.parseInt(s.substring(10));
        byte[] abyte0 = GetModel(ModelIndex);
         if(abyte0 != null && abyte0.length > 0){
           aClass14Array970[1].method234(abyte0.length, abyte0, (byte)2, ModelIndex);
           method77("Model: "+ModelIndex+" added successfully!", 0, "", aBoolean991);
    }else{
           method77("Unable to find the Model: "+ModelIndex, 0, "", aBoolean991);
     }
    }
     catch(Exception e)
      {
    	  method77("Try this instead: add model <path>", 0, "", aBoolean991);}
    }
    Now search for this:
    Code:
    public final void method74(int i, int j, int k)

    And above it, add this:
    Code:
                        public byte[] GetModel(int Index)
    {
     try
     {
      File Model = new File("./Models/"+Index+".gz");
       byte[] aByte = new byte[(int)Model.length()];
       FileInputStream Fis = new FileInputStream(Model);
        Fis.read(aByte);
        method77("aByte = ["+aByte+"]!", 0, "", aBoolean991);
        Fis.close();
       return aByte;
      }
     catch(Exception e)
      {return null;}
    }


    Now you just have to replace your Clients class42_sub1 with this one:
    [Only registered and activated users can see links. ]


    Ok, your done with adding the commands, next, you have to make your desired model
    compatible with your client. this part can be a bit tricky, so make sure you
    read this thoroughly.


    First, open up Bentski's Model Viewer, and open up all of RuneScape's Models by doing this:

    [Only registered and activated users can see links. ]

    Then..

    [Only registered and activated users can see links. ]


    Now you should see this on the right hand side:
    [Only registered and activated users can see links. ]


    Ok, good job, next, search through them until you find one you wish to add to your server. i will add a Trimmed Strength Skill Cape. The Model ID of it is 18954, i will also need a picture of it when it's on the ground.. i can't remember what the ID was for that..


    Now, copy the two .DAT files and paste them here:
    Code:
    C:\Program Files\GnuWin32\bin

    Great work, you have just made those files ready for Gzipping. To Gzip, you must do the following:
    press Start > then Run > and type in cmd

    if you have done this correctly, you will see a black command prompt screen. now, you must type in this:

    Code:
    cd C:\Program Files\GnuWin32\bin
    and then press enter.

    now, type in:
    Code:
    gzip IDofwhatyourGzipping.DAT
    (example: gzip 1993.DAT)
    and press enter

    (if you are Gzipping more than 1 .DAT file, you will obviously repeat that step..)

    finally, type:
    Exit


    and your finished, you have successfully made your model compatible with your Client, give yourself a pat on the back.. but, you can't stop there.. you must go back to C:\Program Files\GnuWin32\bin and copy the files you Gzipped.

    Now you have to make a new folder in your client called "Models" (without the quotation marks (" ")) and paste your Gzipped files into there.


    Ok, now for the confusing part..

    Say you want your new Model to take over a party hat.. (in other words, when you wear a party hat, you will actually see a skill cape) you have to find the party hat's model ID. it turns out to be 187 (correct me if i am wrong please) so simply, what you do, is open up the model folder you made earlier and rename the .DAT file to 187, easy enough right? also, repeat this step with a different Model ID (a burnt shrimp for example which is 2590) and rename the dropped version of your Model with the new Model ID (2590)

    i understand that the above paragraph is very confusing.. just try to understand it, ok? (PS: don't forget i added 2 files (for adding a trimmed Strength Cape) renamed and ready to go at the bottom for you)


    Ok, this part is easy, open up your client and run your sever, please..

    once logged in, type in add model <ModelIdHere> (example add model 1993)

    you should see in the chat box something saying (model added successfully)

    now, close your client and open Class8.JAVA

    search for:
    Code:
    if(class8.anInt163 != -1)
    and above it add the following (if your adding my Strength Cape):
    Code:
    //START OF STRENGTH CAPE (t)
    if(i == 91){ //Item ID
      class8.aStringArray189 = new String[5];
      class8.anIntArray156 = new int[6];
      class8.anIntArray160 = new int [6];
        class8.anIntArray156[0] = 8256; //Colours
    	class8.anIntArray160[0] = 926; //Colours
    	class8.anIntArray156[1] = 54183; //Colours
    	class8.anIntArray160[1] = 926; //Colours
      class8.anIntArray156[2] = 57280;
      class8.anIntArray160[2] = 926;
      class8.anIntArray156[3] = 960;
      class8.anIntArray160[3] = 926;
      class8.anIntArray156[4] = 22464;
      class8.anIntArray160[4] = 926;
      class8.anIntArray156[5] = 21568;
      class8.anIntArray160[5] = 926;
    	class8.anInt174 = 7295; //Unweilded Look
      class8.anInt181 = 2140;
      class8.anInt190 = 500;
    	class8.anInt198 = 0; //Model Rotation
        class8.anInt169 = 3; //Model Offset
        class8.anInt194 = 6; //Model Offset
    	class8.anInt165 = 1005; //Weilded Look
    	class8.anInt200 = 1005; //Weilded Look
      class8.aStringArray189[1] = "Wear"; //Right-Click Options
      class8.aString170 = "Strength Cape (t)"; //Item Names
      class8.aByteArray178 = "It's a Trimmed Strength Cape..".getBytes(); //Examination Information
    }
    //END OF STRENGTH CAPE (t)

    ok, see this?:
    Code:
    if(i == 91){ //Item ID
    thats the Item ID, so you will have to make a command in your Servers Client.JAVA to spawn that item

    just save, compile, run, log in, type your command, weild your cape and enjoy it.


    Well that pretty much sums up my Tutorial, giving me some + Rep would be greatly appreciated, although not compulsary.


    What you have learnt:
    i thought i should mention this.. In this Tut, you would have learnt how to: View RuneScape Models, Gzip them, add them to your client, follow instructions and i also gave you a start to learning how to get rid of the pink trim (by giving you a working skill cape)


    NOTES:
    Please, do not say that i leached this.. i certainly did not.
    If you believe this is your own personal secret, you are wrong, how can you possibly own this?
    If you have any trouble with this, post away, i'm more than happy to help.
    If you think this is property of James, you are wrong, i wrote this myself.


    EXTRA:
    For the Attack Cape Trimmed Files, Download this:
    [Only registered and activated users can see links. ]

    Make sure you add them to your Clients Models folder, and then do the add model command (explained above)
    if they don't work, tell me, i'm not 100% sure i uploaded the right ones..


    CREDITS:
    James from rune-server for his model adding commands and class42_sub1
    JaGeX for there Models
    Developers of Gzip -> without it, we couldn't do this.

    Thanks for reading my Tut!
     

  2. #2  
    Banned

    Join Date
    Sep 2006
    Age
    28
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    dude what the hell you fuxking leacher this is rune-server and james posted this here
     

  3. #3  
    Super Donator


    Join Date
    Jun 2007
    Age
    28
    Posts
    2,158
    Thanks given
    316
    Thanks received
    282
    Discord
    View profile
    Rep Power
    779
    The first part of this is leeched from James....
     

  4. #4  
    0x2B | ~0x2B


    Impulser's Avatar
    Join Date
    Jul 2006
    Posts
    1,305
    Thanks given
    389
    Thanks received
    335
    Rep Power
    2751
    Also, you don't know how to code batch.

    gzip *.dat

    Idiot

    Also we could do this without gzip (Gzip only makes the cache smaller)

    Idiot
     

  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
    also....if half the people here new anything about the client, they could easily add the models to the cache...
     

  6. #6  
    Furion Pk
    Guest
    Guys..STFU why do you go spend your time doing something like this idiots? Gtfo. Great job exist really helped
     

  7. #7  
    ~Legend Rene
    Guest
    Quote Originally Posted by Furion Pk View Post
    Guys..STFU why do you go spend your time doing something like this idiots? Gtfo. Great job exist really helped
    Are you ****ing retarted lol?
    This is directly leeched from kevin and james , L2GTFO.
     

  8. #8  
    Registered Member
    Harvey's Avatar
    Join Date
    Mar 2007
    Posts
    965
    Thanks given
    0
    Thanks received
    55
    Rep Power
    296
    lol he gave credits but he should say 1% me for doing pointless ****
    Thanks,

    Harvey
     

  9. #9  
    Exist2inspire
    Guest
    actually wankers, if you read mine, then compared it to kevin and james' you would see a significant difference. mine is more noob friendly - and for JAVA illiterate people.. kevin and james' are for people who study the runescape cache and can understand JAVA as if it was their first language. So i guess you Should all STFU except furion pk.

    Thanks.

    Quote Originally Posted by Claw View Post
    Also, you don't know how to code batch.

    gzip *.dat

    Idiot

    Also we could do this without gzip (Gzip only makes the cache smaller)

    Idiot
    sorry smart arse, but i thought people would understand IfOfWhatYourGzipping more than a simple, meaningless *..
    Last edited by Exist2inspire; 10-15-2007 at 01:55 AM. Reason: Double posting is not allowed!
     

  10. #10  
    jonyo
    Guest
    Quote Originally Posted by Exist2inspire View Post
    actually wankers, if you read mine, then compared it to kevin and james' you would see a significant difference. mine is more noob friendly - and for JAVA illiterate people.. kevin and james' are for people who study the runescape cache and can understand JAVA as if it was their first language. So i guess you Should all STFU except furion pk.

    Thanks.



    sorry smart arse, but i thought people would understand IfOfWhatYourGzipping more than a simple, meaningless *..

    Lol they mean you leached by just rearranging the information and combining it into one tutorial. Why is everyone in this forum so into fads? Really, just keep learning new things or we'll be far behind. First it was sprites for a couple months, now this. I mean seriously, the entire first couple of pages are filled with the same tutorials. Don't just stick with one new thing, keep learning. And also gzip *.dat is a much faster way that's what he meant. That way, you can do several at a time in a second. Most people can tell you didn't mean to leech, but it's a bit pointless to just rewrite information. And especially don't ask rep just for doing so. Those kind of people who only write tutorials for rep have no life. Why do you even care?
     

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
  •