This is common knowledge 0.-...
|
|
Purpose: How to add drops, yes I know it has been done before... but when I looked to learn, I couldn't find a decent one
Difficulty: 4
Assumed Knowledge: Copy and paste, and a little bit of java if you want to change
Server Base: Nathspkserv
Classes Modified: npchandler.java, item3.java and autospawn
Step 1:
Open up autospawn.cfg and add this, this spawns a rat in varrok square
You can change co-ords and were it walks if you wantCode:spawn = 87 3211 3422 0 0 0 0 0 0 Giant Rat
Step 2:
Open npchandler.java and find
Scroll down and you will see it, underneath the last } add thisCode:public static boolean IsDropping = false;
Step 3:Code:if(npcs[NPCID].npcType == 87) { ItemHandler.addItem(Item3.randomrat(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false); }
Close npchandler, and open item3.java, and search for
And once again under the last } add thisCode:public static int WolfDrop[] = {
Save compile and run, and you will have a rat in varrok that drops whipsCode:public static int rat[] = {4151}; public static int randomrat() { return rat[(int)(Math.random()*rat.length)]; }
Credits:
100% me, I have not leeched this from anyone.
Ell390
This is common knowledge 0.-...
Like I stated... I posted this because when I didn't know how to.. I coudn't find anything to help me.
Hence why I created this.
Ell390
Hence why I've seen it a thousand times on moparscape... You probably leeched it like your 'lvl 6 enchant'
Can you not read...And again...yes I know it has been done before... but when I looked to learn, I couldn't find a decent oneStop flaming my threads ok.Like I stated... I posted this because when I didn't know how to.. I coudn't find anything to help me.
Hence why I created this.
Ell390
Well one is leeched, why wouldn't this one be...
You seem like a noob in everything including GFX....

Stone I looked at that.. it dosn't work for pimp.. and that is what I have here.
Ell390
Dude, does it matter if u know it. What about all those other people who don't know. Why do you think this site has a tutorial section! GOD SO PEOPLE CAN LEARN!
OMG! IS THIS MOPARSCAPE? TOTALLY DIFFERENT SITE! STOP FLAMMING
WELL HE SEEMS BETTER THAN YOU! How about you show us something you know, you noob. GTFO!
BTW, nice post ell, but already have this on my source
PS: Get on msn![]()

It does matter and if you read the sticky its clearly against the rules, nevertheless I posted this first and Im asking for him to take it downDude, does it matter if u know it. What about all those other people who don't know. Why do you think this site has a tutorial section! GOD SO PEOPLE CAN LEARN!
OMG! IS THIS MOPARSCAPE? TOTALLY DIFFERENT SITE! STOP FLAMMING
well seeing how I posted this tut first...I wouldnt say he is better then me =)WELL HE SEEMS BETTER THAN YOU! How about you show us something you know, you noob. GTFO!
| « To make use off the quest tab | Cool random event (not mime or plant) » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |