Client: Any I hope [I used PimpScape]
Files Edited: Client.java ,autospawn.cfg ,NpcHandler.java
Credits: 100% Me
[ This Is Plain Normal Barrows With All Of the Brothors On Top Of there Hills. The Brothors Drop There Own Set Only Randomly. ]
First Off Open NPChandler.java and Find.
Code:
ItemHandler.addItem(6570, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
And If you cant find that just look for this
Code:
public static boolean IsDropping = false;
public void MonsterDropItem(int NPCID)
{
{
if (IsDropping == false) {
IsDropping = true;
int Play = GetNpcKiller(NPCID);
int Maxi = server.itemHandler.DropItemCount;
for (int i = 0; i <= Maxi; i++) {
if (server.itemHandler.DroppedItemsID[i] > 0) {
} else {
int NPCID2 = NPCID+34;
System.out.println("Npc id =" +NPCID);
if(npcs[NPCID] != null && server.playerHandler.players[Play] != null && server.playerHandler.players[GetNpcKiller(NPCID)] != null) {
if(npcs[NPCID].npcType == 50) {
ItemHandler.addItem(Item2.randomKBD(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
ItemHandler.addItem(Item2.randomKBD(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
ItemHandler.addItem(Item2.randomKBD(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
ItemHandler.addItem(Item2.randomKBD(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
ItemHandler.addItem(Item2.randomKBD(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
ItemHandler.addItem(4206, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
if(npcs[NPCID].npcType == 2745)
{
ItemHandler.addItem(6570, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
Now Above the Last } Copy & Paste this
Code:
if(npcs[NPCID].npcType == 2026)
{
ItemHandler.addItem(Item3.randomDharok(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
if(npcs[NPCID].npcType == 2030)
{
ItemHandler.addItem(Item3.randomVerac(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
if(npcs[NPCID].npcType == 2029)
{
ItemHandler.addItem(Item3.randomTorag(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
if(npcs[NPCID].npcType == 2025)
{
ItemHandler.addItem(Item3.randomAhrim(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
if(npcs[NPCID].npcType == 2028)
{
ItemHandler.addItem(Item3.randomKaril(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
if(npcs[NPCID].npcType == 2027)
{
ItemHandler.addItem(Item3.randomGuthan(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
Save & Close Then
Now Open Up AutoSpawn.cfg and add this
Code:
//*Start Of Custom Barrows By Bobbert*//
spawn = 2026 3574 3297 0 3574 3297 3574 3297 1 Dharok
spawn = 2030 3557 3299 0 3557 3299 3557 3299 1 Verac
spawn = 2029 3552 3282 0 3552 3282 3552 3282 1 Torag
spawn = 2025 3564 3287 0 3564 3287 3564 3287 1 Ahrim
spawn = 2028 3566 3275 0 3566 3275 3566 3275 1 Karil
spawn = 2027 3577 3281 0 3577 3281 3577 3281 1 Guthan
//*End Of Custom Barrows By Bobbert*//
Save And Close then ,
Now Open Up Item3.java Go Down To The Bottom And Above the Very last } add the following
Code:
public static int Dharok[] = {4716,4718,4720,4722};
public static int randomDharok()
{
return Dharok[(int)(Math.random()*Dharok.length)];
}
public static int Verac[] = {4753,4755,4757,4759};
public static int randomVerac()
{
return Verac[(int)(Math.random()*Verac.length)];
}
public static int Torag[] = {4745,4747,4749,4751};
public static int randomTorag()
{
return Torag[(int)(Math.random()*Torag.length)];
}
public static int Ahrim[] = {4708,4710,4712,4714};
public static int randomAhrim()
{
return Ahrim[(int)(Math.random()*Ahrim.length)];
}
public static int Karil[] = {4732,4734,4736,4738};
public static int randomKaril()
{
return Karil[(int)(Math.random()*Karil.length)];
}
public static int Guthan[] = {4724,4726,4728,4730};
public static int randomGuthan()
{
return Guthan[(int)(Math.random()*Guthan.length)];
}
Save & Close Then
Open Up Client.java and Add this To your Tele Commands
Or Look up "Range" And Add Right Above it
Code:
else if (command.equalsIgnoreCase("Barrows"))
{
teleportToX = 3565;
teleportToY = 3303;
inwildy = false;
sendMessage("Welcome To The Barrows!");
}
Hope You All Enjoy It !
Note you may have seen this posted on Moparscape.org/smf or Smsrevolution.org i posted it there and it isnt leached