** 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:
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):
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.
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.
Originally Posted by Claw
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!
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?