Jinrake
Welcome to PvP Planet's website!

Please register and view some cool guides and help!

Also vote for us at: Www.Jinrake.at.ua
Jinrake
Welcome to PvP Planet's website!

Please register and view some cool guides and help!

Also vote for us at: Www.Jinrake.at.ua
Jinrake
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Jinrake

Jinrake's website and forum
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  Vote For PVPVote For PVP  

 

 add dragon claws to your server

Go down 
+5
d a r c y
Ac
Dark Pk
secret
apur3slife
9 posters
AuthorMessage
apur3slife

apur3slife


Posts : 137
Points : 11
Reputation : 0
Join date : 2009-02-02

add dragon claws to your server Empty
PostSubject: add dragon claws to your server   add dragon claws to your server EmptyWed Feb 04, 2009 3:26 pm

Hi guys. I'll be showing you, by request, how to make ints. It is SO EASY. Maybe someone has given you a download link to a model, you want in your server, but don't have the code. EASY. Just read this.

First off: Download these.

Gzipper: Used to make .dat files ready for your server:
http://uppit.com/XEE4S4

To use: Just drag a .dat file over it. You can't open it, but it is .exe. Be sure to scan Razz


DatMaker: Used to view .Dats and export as MQOs, or make MQOs Dats (For a different tutorial, but this is good for viewing models).
http://uppit.com/RQU55P

To use: Go into it, click file, open or open folder. Must be a .dat file. Or MQO, but for ints, stick with DATs.



1. NPCs

Now you have those Razz

Lets get started.


First, off, get your model. If you don't have one, I have one for you:

Link: http://www.sendspace.com/file/ap6pxf

This is a model I made with models from Jagex's cache, putting them together and then re-coloring. Please don't leech. Its cool. Lol.





So now you have that, you'll notice its a .dat. Not a winzip or winRar file like most of your models. Just drag it over the Gzipper and its a .gz. Then re-name it as a number, preferably between 5000 and 15000. Then go into your client and say

add model #### (your model number)

No :: or anything

If you get an error when runnning your client after you added model, take out, compile, open client, then add model again. Just don't compile after you add the model in folder and before you open client.



Now the ints. We'll be going to class5.java because its an NPC.

Look for this:


Code:
public static final Class5 method159(int i)
{Under that you'll see this:


Code:
for(int j = 0; j < 20; j++)
if(aClass5Array80[j].aLong78 == (long)i)
return aClass5Array80[j];

anInt56 = (anInt56 + 1) % 20;
Class5 class5 = aClass5Array80[anInt56] = new Class5();
aClass30_Sub2_Sub2_60.anInt1406 = anIntArray72[i];
class5.aLong78 = i;
class5.method165(true, aClass30_Sub2_Sub2_60);Now under that, we can add our ints.
Add this:



Code:
if(i == 3582)
{
aClass30_Sub2_Sub2_60.anInt1406 = anIntArray72[630];
class5.method165(true, aClass30_Sub2_Sub2_60);
class5.aStringArray66 = new String[5];
class5.aStringArray66[1] = "Attack";
class5.aString65 = "Name";
class5.anInt61 = LEVEL;
class5.aByteArray89 = "Examine".getBytes();
class5.anIntArray94 = new int[1];
class5.anIntArray94[0] = MODEL NUMBER;
}Now I'll explain the lines you need (Note: This can be used for every NPC, use it as a base!)


Code:
if(i == 3582)At the top. 3582, is the NPC ID. Change it to whatever



One.

Code:
class5.aStringArray66 = new String[5];
class5.aStringArray66[1] = "Attack";First line says that there are 5 options. (I THINK, HAVEN'T TESTED)
Second line shows in the [1] that it chooses option 1, which makes you ATTACK the monster, so the option is, attack. The 1 makes it attack, not the word, so you can change attack to "Beat with a stick" or something.


Two:

Code:
class5.aString65 = "Name";Name is the name of the NPC..Challenging, huh?

Three:

Code:
class5.anInt61 = LEVEL;Just the level of the monster, delete the whole line if you don't want a level, or make it 99999 for fun Razz


Four:

Code:
class5.aByteArray89 = "Examine".getBytes();Examine. Change it to the examine info.

Five:

Code:
class5.anIntArray94 = new int[1];
class5.anIntArray94[0] = MODEL NUMBER;This part can be tough. The first line, the [1] makes it so the NPC contains 1 model, you can change this. If the NPC has 2 models used, a weopon and the person, for example, you'd have this:



Code:
class5.anIntArray94 = new int[2];
class5.anIntArray94[0] = MODEL NUMBER;
class5.anIntArray94[1] = MODEL NUMBER2;You'd just add the second line again, but make sure the 0 is a 1. Then add the other model number. Plus, the 1 at the first line is now a 2, due to 2 models.

If you have 3 models:


Code:
class5.anIntArray94 = new int[3];
class5.anIntArray94[0] = MODEL NUMBER;
class5.anIntArray94[1] = MODEL NUMBER2;
class5.anIntArray94[2] = MODEL NUMBER3;And so forth. Remember, on the second line, you start with 0.


There ya go Razz an NPC in your files. Just go in-game and spawn your new NPC.

I REALLY hope I have enough characters left for items


2. Items

Easier, just gotta download another model if you don't already have one.

Lets just use Jagex's D plate.

http://www.sendspace.com/file/bk8t3r

Great. Good. You got it. Already Gzipped for ya.

All you have to do is open you client, add the model into your folder, then say in your client:

add model ####

#### being the model number, no ::'s before or anything.

Might send you a message, if it did, good.


Now the int..

We're going to class8.java now, since it's an item.

Search for:


Code:
public static final Class8 method198(int i)Under that you'll see this:


Code:
for(int j = 0; j < 10; j++)
if(aClass8Array172[j].anInt157 == i)
return aClass8Array172[j];

anInt180 = (anInt180 + 1) % 10;
Class8 class8 = aClass8Array172[anInt180];
aClass30_Sub2_Sub2_183.anInt1406 = anIntArray195[i];
class8.anInt157 = i;
class8.method197();
class8.method203(true, aClass30_Sub2_Sub2_183);Under that, we can add our ints. Now copy this in.



Code:
if(i == 7104)
{
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = %; //Model Drop/inv view
class8.anInt181 = 919;
class8.anInt190 = 429;
class8.anInt198 = 1660;
class8.anInt199 = -1;
class8.anInt169 = 1;
class8.anInt194 = 5;
class8.anInt197 = 120;
class8.anInt165 = $; //male wearing
class8.anInt200 = #; //female wearing
class8.anInt175 = 65;
class8.aBoolean176 = false;
class8.aString170 = "Name";
class8.aByteArray178 = "Examine".getBytes();
}Now lets explain the parts you need to change, as this will work for any item base.

One:

Code:
if(i == 7104)
{
7104 is the item ID. Change it to anything you like. Some clients must go under 7809, idk why, just look for a null item or something stupid. Like cheese.


Two:

Code:
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";Been through this, look above for NPCs attack thing because it's basically the same. Weild can be anything.

Three:

Code:
class8.anInt174 = %; //Model Drop/inv viewSometimes a model will be a drop model, where its what the model looks like in the inventory and on the ground. Thats where this goes, if you have one, if you don't, use the regular model number.

Four:

Code:
class8.anInt165 = $; //male wearing
class8.anInt200 = #; //female wearingSometimes you'll have a female version of a plate or pants, and a male version (Like santa outfit).

First line, you use the model number for male, second for female, as it says above.

If you have just one, use the same model for both.

Sometimes you might have 2 models for one item. Here's what you do.


Code:
class8.anInt165 = $; //male wearing
class8.anInt165 = $; //male wearing
class8.anInt200 = #; //female wearing
class8.anInt200 = #; //female wearingYou just make another line for each, you can continue to do that too.


Five:

Code:
class8.aString170 = "Name";
class8.aByteArray178 = "Examine".getBytes();Easy enough, just name your item and Examine info. Sorry can't explain that well.


I'll try to add more info and pics and stuff.

Hope this helps, post if you need help or if it helped.
__________________
Back to top Go down
secret

secret


Posts : 235
Points : 0
Reputation : 0
Join date : 2009-01-15
Age : 28
Location : in your computer

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyThu Feb 05, 2009 8:26 am

it's already leeched on moparscape forums !
Back to top Go down
http://www.redtube.com
Dark Pk

Dark Pk


Posts : 559
Points : -11
Reputation : -1
Join date : 2009-01-22
Age : 115
Location : Behind you! :P

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyThu Feb 05, 2009 8:31 am

I know you see even the code tags lmfao.
Back to top Go down
apur3slife

apur3slife


Posts : 137
Points : 11
Reputation : 0
Join date : 2009-02-02

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyThu Feb 05, 2009 4:06 pm

doesnt matter at least i gave u a guide so stfu
Back to top Go down
apur3slife

apur3slife


Posts : 137
Points : 11
Reputation : 0
Join date : 2009-02-02

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyFri Feb 06, 2009 5:39 pm

ty everyone who didnt flame me
Back to top Go down
Dark Pk

Dark Pk


Posts : 559
Points : -11
Reputation : -1
Join date : 2009-01-22
Age : 115
Location : Behind you! :P

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptySat Feb 07, 2009 3:42 am

Idc just post your own work.. O wait you cant you are a retartd.
Back to top Go down
Ac
Co-Owner
Co-Owner
Ac


Posts : 839
Points : 78
Reputation : 5
Join date : 2009-01-18
Age : 114
Location : WEST LONDON

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptySat Feb 07, 2009 4:48 am

dont fucking double post!! it pisses me off! JUST PRESS THE YELLOW EDIT BUTTON!! And why dont u stfu? its leeched. Everones already seen this. And if they want to know they will check on moparscape.. so gtfo of the fourms.. u kill it.
Back to top Go down
http://jinrake.com
d a r c y

d a r c y


Posts : 149
Points : -3
Reputation : 0
Join date : 2009-01-23

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptySat Feb 07, 2009 11:15 pm

awsome
Back to top Go down
Smirky

Smirky


Posts : 79
Points : -3
Reputation : 0
Join date : 2009-01-31

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptySun Feb 08, 2009 5:32 am

fuck of you new commers stop spamming our forums with usless shit and fuck u leacher stop fucking leeching get a life nerd hope you get banned
Back to top Go down
owned one




Posts : 17
Points : -3
Reputation : 0
Join date : 2009-02-16

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyTue Feb 17, 2009 8:14 am

wow.... nice tho
Back to top Go down
pwnzorz




Posts : 37
Points : -9
Reputation : 0
Join date : 2009-02-19

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyThu Feb 19, 2009 4:45 am

Thank you so much i was looking for this for ages! And it works! Thanks!
Back to top Go down
matty




Posts : 139
Points : -3
Reputation : 0
Join date : 2009-02-16
Location : da icy place

add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server EmptyThu Feb 19, 2009 8:30 am

very nice guide!
Back to top Go down
Sponsored content





add dragon claws to your server Empty
PostSubject: Re: add dragon claws to your server   add dragon claws to your server Empty

Back to top Go down
 
add dragon claws to your server
Back to top 
Page 1 of 1
 Similar topics
-
» all join this server ken-pkserver.no-ip.biz download client at www.naderpkz2.webs.com or play the server from www.silabsoft.org
» all join this server ken-pkserver.no-ip.biz download client at www.naderpkz2.webs.com or play the server from www.silabsoft.org
» all join this server ken-pkserver.no-ip.biz download client at www.naderpkz2.webs.com or play the server from www.silabsoft.org
» all join this server ken-pkserver.no-ip.biz download client at www.naderpkz2.webs.com or play the server from www.silabsoft.org
» all join this server ken-pkserver.no-ip.biz download client at www.naderpkz2.webs.com or play the server from www.silabsoft.org

Permissions in this forum:You cannot reply to topics in this forum
Jinrake :: Rs2 Server :: Rs2 Tutorials-
Jump to: