Jump to content

Search the Community

Showing results for tags 'barrows'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 18 results

  1. What i'm asking is how to change the location in which killcount appears on the screen. I'm using [718/753] Rune-Evo v3. I tried looking in Barrows.java and BarrowsBrother.java, but I don't really know a lot of Java.
  2. Hi. You must set up the item interactions yourself as mine were all in Python, but this was what I had in Java and can be used for a base setup for Barrows for anyone in need. Not complete, don't expect to rip this and go make magic happen. Also you have to change to your own dialogue system because ours is completely custom and runs off of a Deque poll system. click the following link for minimap blackout : [url]http://www.runelocus.com/forums/showthread.php?93556-Minimap-Blackout-Packet[/url] [CODE]package com.asgarniars.rs2.content.minigame.barrows; import com.asgarniars.rs2.model.Position; import com.asgarniars.rs2.util.Misc; /** * Encapsulates each barrows brother and their respective properties. * * @[URL="http://www.runelocus.com/forums/member.php?u=52317"]auth[/URL]or Joshua Barry <Sneakyhearts> * */ public enum Brother { AHRIM(2025, 6821, new Position(3556, 9696, 3)), // Ahrim the Blighted DHAROK(2026, 6771, new Position(3551, 9714, 3)), // Dharok the Wretched GUTHAN(2027, 6773, new Position(3539, 9701, 3)), // Guthan the Infested KARIL(2028, 6822, new Position(3554, 9683, 3)), // Karil the Tainted TORAG(2029, 6772, new Position(3572, 9685, 3)), // Torag the Corrupted VERAC(2030, 6823, new Position(3570, 9706, 3)); // Verac the Defiled /* The ID of the Npc */ private int npcId; /* The ID of the sarcophagus object */ private int sarcophagusId; /* The relative postition the Npc should spawn at */ private Position position; /** * * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m npcId The NPC ID. * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m sarcophagusId The object ID. * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m position The spawn position. */ private Brother(int npcId, int sarcophagusId, Position position) { this.npcId = npcId; this.sarcophagusId = sarcophagusId; this.position = position; } public int getNpcId() { return npcId; } public int getSarcophagusId() { return sarcophagusId; } public Position getPosition() { return position; } /** * Global access to a Barrows Brother * * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m id The NPC id you want to match. * @[URL="http://www.runelocus.com/forums/member.php?u=184045"]return[/URL] The brother corresponding to the NPC id. */ public static Brother forId(int id) { for (Brother brother : Brother.values()) if (id == brother.getNpcId()) return brother; return null; } /** * Gets a brother based on the ID of the sarcophagus they are associated * with. * * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m id The ID of the sarcophagus object. * @[URL="http://www.runelocus.com/forums/member.php?u=184045"]return[/URL] */ public static Brother forTomb(int id) { for (Brother brother : Brother.values()) if (id == brother.getSarcophagusId()) return brother; return null; } /** * Returns a randomised brother which we will use to enter a hidden tomb. * * @[URL="http://www.runelocus.com/forums/member.php?u=184045"]return[/URL] */ public static Brother randomise() { Brother[] values = Brother.values(); int ordinal = Misc.random(values.length); for (Brother brother : values) if (ordinal == brother.ordinal()) return brother; return null; } } [/CODE] [CODE]package com.asgarniars.rs2.content.minigame.barrows; import com.asgarniars.rs2.content.dialogue.Dialogue; import com.asgarniars.rs2.content.dialogue.Option; import com.asgarniars.rs2.content.dialogue.StatementDialogue; import com.asgarniars.rs2.content.dialogue.StatementType; import com.asgarniars.rs2.model.Position; import com.asgarniars.rs2.model.World; import com.asgarniars.rs2.model.npcs.Npc; import com.asgarniars.rs2.model.npcs.Npc.WalkType; import com.asgarniars.rs2.model.players.Player; import com.asgarniars.rs2.task.Task; /** * * @[URL="http://www.runelocus.com/forums/member.php?u=52317"]auth[/URL]or Joshua Barry <Sneakyhearts> * */ public class Barrows { /** * Summons a brother from their tomb. * * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m brother * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m player */ public static void awaken(Brother brother, Player player) { Npc npc = new Npc(brother.getNpcId()); npc.setSpawnPosition(brother.getPosition()); npc.setWalkType(WalkType.STAND); npc.setFaceType(1); npc.setAttribute("owner", player); World.register(npc); npc.getUpdateFlags().sendForceMessage("You dare disturb my rest!"); player.getActionSender().createNpcHints(npc.getIndex()); player.setAttribute("brother", npc); } /** * */ public static void requestHiddenTomb(final Player player) { Dialogue dialogue = new StatementDialogue(StatementType.NORMAL, "You've found a hidden tunnel, do you want to enter?"); Option yes = new Option("Yeah I'm fearless!", new Task(1, true) { @[URL="http://www.runelocus.com/forums/member.php?u=15855"]Over[/URL]ride protected void execute() { player.clipTeleport(new Position(3535, 9712, 0), 3); this.stop(); } }); Option no = new Option("No way, that looks scary!", new Task(1, true) { @[URL="http://www.runelocus.com/forums/member.php?u=15855"]Over[/URL]ride protected void execute() { player.getActionSender().sendMessage("You chose NOT to enter!"); this.stop(); } }); dialogue.add("Select an Option", yes, no); player.open(dialogue); } public static void openChest(Player player) { Brother brother = player.getAttribute("hidden_tomb"); Npc npc = new Npc(brother.getNpcId()); npc.setSpawnPosition(new Position(3551, 9691, 0)); npc.setWalkType(WalkType.STAND); npc.setFaceType(1); npc.setAttribute("owner", player); World.register(npc); npc.getUpdateFlags().sendForceMessage("You dare steal from us!"); player.getActionSender().createNpcHints(npc.getIndex()); player.setAttribute("brother", npc); } /** * Called when a player defeats a brother. Increments the killcount and * proceeds. * * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m brother The brother who has been slain. * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m player The player who defeated the brother. */ public static void defeat(Brother brother, Player player) { incrementKillcount(player); player.getActionSender().sendString("Killcount: " + player.getAttribute("barrows_killcount"), 4536); player.removeAttribute("brother"); } /** * Increments the players kill count for each brother they slay. * * @[URL="http://www.runelocus.com/forums/member.php?u=75098"]Para[/URL]m player */ public static void incrementKillcount(Player player) { /* define the key we're going to use to identify this attribute */ String key = "barrows_killcount"; /* check if the attribute exists, if not (first kill) we set it to 1 */ if (player.getAttribute(key) == null) { player.setAttribute(key, 1); return; } /* create an integer type specific data type of the attribute */ int killcount = (Integer) player.getAttribute(key); /* If you have killed all the brother's, your kill count is reset */ if (killcount >= 6) { player.setAttribute(key, 0); return; } /* increment too kill count at this point */ player.setAttribute(key, ++killcount); } } [/CODE] How I got into each crypt : Python Script : [CODE] def itemInteractOptionOne_spade(player, item): player.getUpdateFlags().sendAnimation(831) World.submit(Dig(player)) class Dig(Task): ''' When a player digs with a spade ''' def __init__(self, player): super(Dig, self).__init__(2) self.player = player def execute(self): self.player.getUpdateFlags().sendAnimation(-1) # construct a dictionary where key = acceptable area : val = final position tombs = {Area(Position(3562, 3286, 0), Position(3567, 3291, 0)) : Position(3557, 9703, 3), #ahrim Area(Position(3574, 3279, 0), Position(3579, 3286, 0)) : Position(3535, 9704, 3), # guthan Area(Position(3572, 3295, 0), Position(3577, 3301, 0)) : Position(3556, 9718, 3), # D'harok Area(Position(3563, 3272, 0), Position(3568, 3279, 0)) : Position(3546, 9684, 3), #Karil Area(Position(3550, 3279, 0), Position(3556, 3286, 0)) : Position(3568, 9683, 3), #Torag Area(Position(3553, 3294, 0), Position(3560, 3301, 0)) : Position(3578, 9706, 3) # verac } for tomb in tombs.items(): if tomb[0].isInArea(self.player.getPosition()): self.player.teleport(tomb[1]) self.player.getActionSender().sendMessage("You've broken into a crypt!") self.player.getActionSender().sendMinimapBlackout(2) self.stop() [/CODE] [CENTER] [COLOR=#FF0000][IMG]http://i.imgur.com/3NtFYgy.png[/IMG] [IMG]http://i.imgur.com/0TvLvRS.png[/IMG] [IMG]http://i.imgur.com/xFgbUZi.png[/IMG] [IMG]http://i.imgur.com/XdsSF2H.png[/IMG][/COLOR] [/CENTER]
  3. Ok so I am using impozzes source and client and I have come across a couple different errors. 1. Whenever someone teleports to the corporeal beast they disconnect and you need to re-log in order to be at corporeal beast spawn. 2. Whenever someone kills a barrows boss the server gets an error that says windows cannot find run-server.bat and the server disconnects for all players.
  4. [CENTER][FONT=Arial][SIZE=3][COLOR="#FF0000"]Hello, I'm going to show you how to add barrows box set's with the option button "Open"[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=3][COLOR="#FF0000"]This is[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=5][COLOR="#FF0000"]EASY[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=3][COLOR="#FF0000"]All you need to do is Copy & Paste[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=3][COLOR="#FF0000"]This is an easy tutorial but will come in handy for your server![/COLOR][/SIZE][/FONT][/CENTER] First: [FONT=Arial][SIZE=4][COLOR="#00FF00"]Go to UseItem.java and add this:[/COLOR][/SIZE][/FONT] [CODE] if ((itemUsed == 4716) || (itemUsed == 4718) || (itemUsed == 4720) || (itemUsed == 4722) && (useWith == 4716) || (useWith == 4718) || (useWith == 4720) || (useWith == 4722)) { if (c.getItems().playerHasItem(4716, 1) && c.getItems().playerHasItem(4718, 1) && c.getItems().playerHasItem(4720, 1) && c.getItems().playerHasItem(4722, 1)){ c.getItems().addItem(11848, 1); c.getItems().deleteItem(4716, 1); c.getItems().deleteItem(4718, 1); c.getItems().deleteItem(4720, 1); c.getItems().deleteItem(4722, 1); c.sendMessage("You put your Dharok's into a set."); } else { c.sendMessage("You don't have all parts to complete this set."); } } [/CODE] Second: [FONT=Arial][SIZE=4][COLOR="#00FF00"]Go to ItemDef.java (CLIENT SIDED) and add this:[/COLOR][/SIZE][/FONT] [code] case 11848: itemDef.actions = new String[5]; itemDef.actions[0] = "Open"; itemDef.name = "Barrows-dharok's set"; itemDef.description = "A box containing full Dharoks"; itemDef.stackable = true; break;[/code] Third: [FONT=Arial][SIZE=4][COLOR="#00FF00"]Go to ClickItem.java (SERVER SIDED) and add this:[/COLOR][/SIZE][/FONT] [CODE] if (itemId == 11848) { if (c.inWild()) { c.sendMessage("You can't do this while your in a PvP Area."); return; } else if(c.getItems().freeSlots() <= 10) { c.sendMessage("You need atleast 10 free slot's to use this feature."); return; } if (c.getItems().playerHasItem(11848, 1)) { c.getItems().addItem(4716, 1); c.getItems().addItem(4718, 1); c.getItems().addItem(4720, 1); c.getItems().addItem(4722, 1); c.getItems().deleteItem(11848, 1); } }[/CODE] [FONT=Arial][SIZE=5][COLOR="#00FF00"]Compile your Client & Server[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=5][COLOR="#00FF00"]Your finished! Have fun :)[/COLOR][/SIZE][/FONT] [CENTER][I]Any error's? please post and ill help you:)[/I][/CENTER]
  5. pindapoep

    Barrows Bug

    When i or someone else on my server kills one of the barrow brothers, the whole server dc out and back in
  6. Before barrows were dropping the items, (which would break to 0 when dropped) and some random items such as runes or random herbs. I just wanted it to drop barrows, so I deleted the random drops, and changed the 0 drops to noted barrows Now barrows aren't dropping anything! Trust me I've killed well over 100 without a drop, so it's not just me. Anyone help?
  7. I think this is a model issue, but my barrows gloves are messed up when wielded. Im using PI. [ATTACH=CONFIG]6758[/ATTACH]
  8. well i changed my barrows minigame from the killcount then click chest to where they are just spawned ontop of the hills and u kill for drops, but it wont drop anything but charms, does anyone know what might be causing this? NPCDrops.TSM [CODE]#dharok 2026:55 995:15000 12158:1 12159:1 12160:1 12163:1 995:15000 4716:1 4718:1 4720:1 4722:1 #guthan 2027:55 995:15000 12158:1 12159:1 12160:1 12163:1 995:15000 4724:1 4726:1 4728:1 4730:1 #verac 2030:55 995:15000 12158:1 12159:1 12160:1 12163:1 995:15000 4716:1 4718:1 4720:1 4722:1 #karil 2028:55 995:15000 12158:1 12159:1 12160:1 12163:1 995:15000 4732:1 4734:1 4736:1 4738:1 #ahrim 2025:55 995:15000 12158:1 12159:1 12160:1 12163:1 995:15000 4708:1 4710:1 4712:1 4714:1 #torag 2029:55 995:15000 12158:1 12159:1 12160:1 12163:1 995:15000 4745:1 4747:1 4749:1 4751:1[/CODE] spawn-config.cfg [CODE]spawn = 2026 3576 3300 0 0 35 100 150 dharok spawn = 2026 3574 3299 0 0 35 100 150 dharok spawn = 2026 3575 3297 0 0 35 100 150 dharok spawn = 2026 3577 3297 0 0 35 100 150 dharok spawn = 2026 3578 3299 0 0 35 100 150 dharok spawn = 2027 3577 3285 0 0 35 100 150 guthan spawn = 2027 3579 3283 0 0 35 100 150 guthan spawn = 2027 3578 3281 0 0 35 100 150 guthan spawn = 2027 3576 3281 0 0 35 100 150 guthan spawn = 2027 3575 3283 0 0 35 100 150 guthan spawn = 2028 3566 3278 0 0 35 100 150 karil spawn = 2028 3567 3277 0 0 35 100 150 karil spawn = 2028 3565 3274 0 0 35 100 150 karil spawn = 2028 3564 3275 0 0 35 100 150 karil spawn = 2028 3563 3277 0 0 35 100 150 karil spawn = 2025 3563 3289 0 0 35 100 150 ahrim spawn = 2025 3565 3287 0 0 35 100 150 ahrim spawn = 2025 3567 3289 0 0 35 100 150 ahrim spawn = 2025 3567 3291 0 0 35 100 150 ahrim spawn = 2025 3564 3292 0 0 35 100 150 ahrim spawn = 2029 3555 3281 0 0 35 100 150 torag spawn = 2029 3552 3281 0 0 35 100 150 torag spawn = 2029 3552 3283 0 0 35 100 150 torag spawn = 2029 3553 3285 0 0 35 100 150 torag spawn = 2029 3555 3284 0 0 35 100 150 torag spawn = 2030 3556 3295 0 0 35 100 150 verac spawn = 2030 3558 3297 0 0 35 100 150 verac spawn = 2030 3557 3299 0 0 35 100 150 verac spawn = 2030 3555 3299 0 0 35 100 150 verac spawn = 2030 3555 3297 0 0 35 100 150 verac[/CODE]
  9. Hi there, i've been looking around for the configs for the random puzzle interface and have been unable to find any, they are the shapes on the interface, i've posted an example below: [img]http://www.zybez.net/img/genimg/barrows/puzzles.gif[/img] If you have any of them I would really appreciate if you could help me out and post them! Thanks in advance.
  10. Krazybotz

    Barrows

    Hi, im having trouble with my server. After people killed barrows, it would shutdown the whole server. So we went to source/src/server/model/minigames/barrows << and we just deleted the barrows file all together. Is it linked somewhere else? because it won't compile. If you could help me over teamviewer or on skype, that would help a lot! Thanks! Sincerely, Perilx Staff Team. Skype: Krazy.botz
  11. Ok so i was messing around and i thought it would be fun just to add the box sets like on runescape the diff barrows. Im sure you all know what i meen. I know this is easy but i just decided i would release for the lazy people that dont wanna make it. This makes it so if you use any of the barrows item with each other it makes the set. Ima only show you one but im sure you can do the rest of the sets with it. Ill also show you how to make it open and show them. basically go into your useitem.java and under itemonitem add this [code] if ((itemUsed == 4716) || (itemUsed == 4718) || (itemUsed == 4720) || (itemUsed == 4722) && (useWith == 4716) || (useWith == 4718) || (useWith == 4720) || (useWith == 4722)) { if (c.getItems().playerHasItem(4716, 1) && c.getItems().playerHasItem(4718, 1) && c.getItems().playerHasItem(4720, 1) && c.getItems().playerHasItem(4722, 1)){ c.getItems().addItem(11848, 1); c.getItems().deleteItem(4716, 1); c.getItems().deleteItem(4718, 1); c.getItems().deleteItem(4720, 1); c.getItems().deleteItem(4722, 1); c.sendMessage("You put your Dh parts into a set."); } else { c.sendMessage("You dont have all parts to make this set."); } } [/code] Basically the first line is saying that any of those ids can be used with any of the useWith ids and itll make the box, so basically its saying any of the dh pieces used with the other dh pieces will make the box. The second line obviously checks to make sure you have that. And the rest i think you can figure out. So that will basically if you use any dh piece with the other itll make a box only if you have all them. Now for the second part, to make it open. Open up Itemdef.java in ur client and with the rest add this SOme people might need to add .getBytes(); if it doesnt work and u add that to the end of description [code] case 11848: itemDef.itemActions = new String[5]; itemDef.itemActions[1] = "Open"; itemDef.name = "Barrows dharok's set"; itemDef.description = "A box containing full Dharoks"; itemDef.stackable = true; break; [/code] Basically this will add a "open" option to it. But if you go and try that youll wield it, so you need to go to itemass.java and search this [code] } else if(itemType(wearID).equalsIgnoreCase("ring")) { targetSlot=12; } else { targetSlot = 3; }[/code] Should see a bunch of those but with diff numbers ands stuff. Under the last one add this [code] if (wearID == 11848) { if (c.getItems().playerHasItem(11848, 1)) { c.getItems().addItem(4716, 1); c.getItems().addItem(4718, 1); c.getItems().addItem(4720, 1); c.getItems().addItem(4722, 1); c.getItems().deleteItem(11848, 1); } [/code] Now compile ur server and client and run and you should be able to open your boxes and make them. PS: I know this is easy but i was helping someone do it and decided to write a tut for it so ya. } if you want it so they need inventory spots though that way they dont lose items, (if they have 1 invy spot and they clcik it theyll lost 3 items) you can add this [code] if (c.inWild() && c.isBanking) { c.sendMessage("You cannot do this right now"); } else if(c.getItems().freeSlots() <= 10) { c.sendMessage("You need atleast 10 free slot's to use this feature."); }[/code] this also makes them not be able to do it in wild (it would help them, think about it, 4 items into 1 for prot or something). This goes in the item ass like below the wearitem id code
  12. Hello, I recently downloaded a new source which I really was interested in but I found a major flaw in it that I cannot figure out how to fix. Whenever a barrows brother is killed, my server closes and re-opens. Anybody on the server who kills one will cause this to happen. There is nothing the console says about it because it simply restarts the server so it doesn't output anything to the console, just starts a fresh new one. Any help would be appreciated!!
  13. Krazybotz

    Barrows Help

    Hi, im having trouble with my server. After people killed barrows, it would shutdown the whole server. So we went to source/src/server/model/minigames/barrows << and we just deleted the barrows file all together. Is it linked somewhere else? because it won't compile. If you could help me over teamviewer or on skype, that would help a lot! Thanks! Sincerely, Perilx Staff Team. Skype: Krazy.botz Error: [IMG]http://i49.tinypic.com/2v9sm4p.png[/IMG] [CODE]package server.model.minigames; import server.model.players.Client; import server.util.Misc; public class Barrows { public static final int[][] COFFIN_AND_BROTHERS = { {6823, 2030}, {6772, 2029}, {6822, 2028}, {6773, 2027}, {6771, 2026}, {6821, 2025} }; /** * Picking the random coffin **/ public static int getRandomCoffin() { return Misc.random(COFFIN_AND_BROTHERS.length-1); } /** * Selects the coffin and shows the interface if coffin id matches random coffin **/ public static boolean selectCoffin(Client c, int coffinId) { if(c.randomCoffin == 0) { c.randomCoffin = getRandomCoffin(); } if(COFFIN_AND_BROTHERS[c.randomCoffin][0] == coffinId) { c.getDH().sendDialogues(1, -1); return true; } return false; } }[/CODE]
  14. Soo i'm using 711 source, but when i dig in to barrows crypt and search sarcophagus, it says: nothing interesting happens. How to fix this?
  15. Any barrows brother i kill shuts the server down and gives me this error in my CMD: [IMG]http://i1139.photobucket.com/albums/n547/Im_G_O_D/help-1.png[/IMG] I've tried everything and cant get it to quit shutting down.
  16. hello was wondering of anyone could help me fix this (tell me what to do to fix it :L) basically what happens is whenever i attack barrows once i have killed the npc the server restarts help much apreciated [ATTACH=CONFIG]3380[/ATTACH]
  17. first go into world.java and add these if ur source doesnt have em [code] public static World getWorld() { return instance; } public EntityList<NPC> getNpcs() { return npcs; } [/code] now go into player.java and add these ints [code] public int torag = 0; public int ahrim = 0; public int dh = 0; public int verac = 0; public int karil = 0; public int guthan = 0; public int torag2 = 0; public int ahrim2 = 0; public int dh2 = 0; public int verac2 = 0; public int karil2 = 0; public int guthan2 = 0; public int barrows = 0; [/code] [code] public boolean dharokhill(){ if(getLocation().getX() >= 3573 && getLocation().getY() >= 3295 && getLocation().getX() <= 3578 && getLocation().getY() <= 3302) return true; else return false; } public boolean ahrimhill(){ if(getLocation().getX() >= 3563 && getLocation().getY() >= 3287 && getLocation().getX() <= 3567 && getLocation().getY() <= 3291) return true; else return false; } public boolean karilhill(){ if(getLocation().getX() >= 3563 && getLocation().getY() >= 3274 && getLocation().getX() <= 3567 && getLocation().getY() <= 3278) return true; else return false; } public boolean guthanhill(){ if(getLocation().getX() >= 3575 && getLocation().getY() >= 3281 && getLocation().getX() <= 3580 && getLocation().getY() <= 3285) return true; else return false; } public boolean toraghill(){ if(getLocation().getX() >= 3551 && getLocation().getY() >= 3280 && getLocation().getX() <= 3556 && getLocation().getY() <= 3285) return true; else return false; } public boolean verachill(){ if(getLocation().getX() >= 3554 && getLocation().getY() >= 3295 && getLocation().getX() <= 3560 && getLocation().getY() <= 3300) return true; else return false; } [/code] and add this [code] if(dh == 1 && karil == 1 && torag == 1 && guthan == 1 && ahrim == 1 && verac == 1 && barrows == 0) { barrows = 1; this.teleport(Location.location(3551, 9694, 0)); actionSender.sendMessage("You teleport to the chest room to claim your reward!"); } [/code] now goto object1packethandler.java and search for this [code] public class Object1PacketHandler implements PacketHandler { [/code] Now add this under it [code] public static int junk1[] = { 4740, 558, 562, 560, 565 }; public static int junk1() { return junk1[(int) (Math.random() * junk1.length)]; } public static int barrows1[] = { 4708, 4710, 4712, 4714, 4716, 4718, 4720, 4722, 4724, 4726, 4728, 4730, 4732, 4734, 4736, 4738, 4745, 4747, 4749, 4751, 4753, 4755, 4757, 4759, 7462 }; public static int barrows1() { return barrows1[(int) (Math.random() * barrows1.length)]; } [/code] and after any break add this [code] case 10284://chest if (player.barrows == 0) { player.getActionSender().sendMessage("You didn kill all barrows yet!"); return; } player.getInventory().addItem(barrows1(), 1); player.getInventory().addItem(junk1(),Misc.random(4)); player.ahrim = 0; player.dh = 0; player.guthan = 0; player.karil = 0; player.torag = 0; player.verac = 0; player.barrows = 0; player.ahrim2 = 0; player.guthan2 = 0; player.dh2 = 0; player.verac2 = 0; player.karil2 = 0; player.torag2 = 0; break; case 6771: //dh if(player.dh == 1) { player.sm("You have already killed him"); return; } if (player.dh == 0 && player.dh2 == 0) { NPC npc = new NPC(2026); npc.readResolve(); npc.setLocation(player.getLocation()); World.getWorld().getNpcs().add(npc); player.dh2 = 1; player.getActionSender().sendMessage("You search the sarcophagus..."); player.getActionSender().sendMessage("... And the spirit of dharok appears!"); npc.forceChat("You Dare Disturb My Eternal Rest!"); } break; case 6773: //guthan if(player.guthan == 1) { player.sm("You have already killed him"); return; } if (player.guthan == 0 && player.guthan2 == 0) { NPC npc = new NPC(2027); npc.readResolve(); npc.setLocation(player.getLocation()); World.getWorld().getNpcs().add(npc); player.guthan2 = 1; player.getActionSender().sendMessage("You search the sarcophagus..."); player.getActionSender().sendMessage("... And the spirit of guthan appears!"); npc.forceChat("You Dare Disturb My Eternal Rest!"); } break; case 6772: //torag if(player.torag == 1) { player.sm("You have already killed him"); return; } if (player.torag == 0 && player.torag2 == 0) { NPC npc = new NPC(2029); npc.readResolve(); npc.setLocation(player.getLocation()); World.getWorld().getNpcs().add(npc); player.torag2 = 1; player.getActionSender().sendMessage("You search the sarcophagus..."); player.getActionSender().sendMessage("... And the spirit of torag appears!"); npc.forceChat("You Dare Disturb My Eternal Rest!"); } break; case 6823: //verac if(player.verac == 1) { player.sm("You have already killed him"); return; } if (player.verac == 0 && player.verac2 == 0) { NPC npc = new NPC(2030); npc.readResolve(); npc.setLocation(player.getLocation()); World.getWorld().getNpcs().add(npc); player.verac2 = 1; player.getActionSender().sendMessage("You search the sarcophagus..."); player.getActionSender().sendMessage("... And the spirit of verac appears!"); npc.forceChat("You Dare Disturb My Eternal Rest!"); } break; case 6822: //karil if(player.karil == 1) { player.sm("You have already killed him"); return; } if (player.karil == 0 && player.karil2 == 0) { NPC npc = new NPC(2028); npc.readResolve(); npc.setLocation(player.getLocation()); World.getWorld().getNpcs().add(npc); player.karil2 = 1; player.getActionSender().sendMessage("You search the sarcophagus..."); player.getActionSender().sendMessage("... And the spirit of karil appears!"); npc.forceChat("You Dare Disturb My Eternal Rest!"); } break; case 6821: // ahrim if(player.ahrim == 1) { player.sm("You have already killed him"); return; } if (player.ahrim == 0 && player.ahrim2 == 0) { NPC npc = new NPC(2025); npc.readResolve(); npc.setLocation(player.getLocation()); World.getWorld().getNpcs().add(npc); player.ahrim2 = 1; player.getActionSender().sendMessage("You search the sarcophagus..."); player.getActionSender().sendMessage("... And the spirit of ahrim appears!"); npc.forceChat("You Dare Disturb My Eternal Rest!"); } break; case 6702://barrows: ahrim player.tele(3565, 3289 , 0); break; case 6703://barrows: dharok player.tele(3575, 3298 , 0); break; case 6704://barrows: guthan player.tele(3577, 3282 , 0); break; case 6705://barrows: karil player.tele(3566, 3276 , 0); break; case 6706://barrows: torag player.tele(3553, 3282 , 0); break; case 6707://barrows: verac player.tele(3557, 3297 , 0); break; [/code] now to make the spade work go into itempackethandler.java and add this [code] case 952://Spade player.animate(830, 1); player.sm("You start digging..."); if(player.dharokhill()) { player.sm("You've broken into a crypt!"); player.tele(3556, 9718, 3); } else if(player.ahrimhill()) { player.sm("You've broken into a crypt!"); player.tele(3557, 9703, 3); } else if(player.guthanhill()) { player.sm("You've broken into a crypt!"); player.tele(3534, 9704, 3); } else if(player.karilhill()) { player.sm("You've broken into a crypt!"); player.tele(3546, 9684, 3); } else if(player.toraghill()) { player.sm("You've broken into a crypt!"); player.tele(3568, 9683, 3); } else if(player.verachill()) { player.sm("You've broken into a crypt!"); player.tele(3578, 9706, 3); } else { player.animate(830, 1); player.sm("And find nothing......."); } break; [/code] now go into npc.java and search for [code] public void npcDiedBones(Player p, int npcID) { switch(npcID) { [/code] under it add this [code] case 2029: //Torag's p.torag = 1; p.sm("You killed Torag the Corrupted."); break; case 2026: //dhorak p.dh = 1; p.sm("You killed Dharok the Wretched."); break; case 2027: //guthans p.guthan = 1; p.sm("You killed Guthan the Infested."); break; case 2028: //karil p.karil = 1; p.sm("You killed Karil the Tainted."); break; case 2025: //ahrim p.ahrim = 1; p.sm("You killed Ahrim the Blighted."); break; case 2030: //verac p.verac = 1; p.sm("You killed the Verac the Defiled."); break; [/code] i think thats it if there is anything missing plz tell me and ill add it :S
  18. LAST EDIT: POSTED PICS ArturoScape 317 Runescape Private Server We are currently looking for staff Download the server here: CURRENT ARTUROSCAPE CLIENT V3!!! [url]http://www.mediafire.com/?o0l1v2vvbx2k8at[/url] Register at forums: [url]www.imsofamousscape.webs.com[/url] Join today! The server’s features are: -quests -plenty of custom quests -barrelchest anchor -animated npcs -508 and 525 animations (walk, run, stand, ranging, block, punch and more) -spirit shields -godsword specs -real dclaw spec -real dbow spec -dragon arrows -avansies -custom bosses -Godswords -KBD -fully working minigames -a custom minigame -fully working clue scrolls + rewards -staff of light -custom bosses -fully working combat -fully working magic -magic is made stronger -stable economy -good exp rate -all skills can be raises -skillcapes -fully working barrows armour -full barrows (dig with spade, up coffins, open chest, rewards etc..) -decent shops Plus many more features! Looking for staff! Come join ArturoScape today! PICS: [IMG]http://i417.photobucket.com/albums/pp252/090345/anchorarrowsgwswordsshields.png[/IMG] [IMG]http://i417.photobucket.com/albums/pp252/090345/avansies.png[/IMG] [IMG]http://i417.photobucket.com/albums/pp252/090345/barrows.png[/IMG] [IMG]http://i417.photobucket.com/albums/pp252/090345/cluescroll.png[/IMG] [IMG]http://s417.photobucket.com/albums/pp252/090345/customquests.png[/IMG] [IMG]http://i417.photobucket.com/albums/pp252/090345/0147.png[/IMG] [IMG]http://i417.photobucket.com/albums/pp252/090345/0161.png[/IMG]
×