Jump to content

Search the Community

Showing results for tags 'arena'.



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 43 results

  1. so all of my options work on duel arena and all that.. but when i get into the battle it wont let me attack and it says "you may only attack players in a player-vs-player area" .. how can i fix?
  2. Hi, i din't had the challange option in my duelcontroler.java so i removed the // and i also added this part: [QUOTE] @Override public void start() { sendInterfaces(); player.getAppearence().generateAppearenceData(); //player.getPackets().sendPlayerOption("Challenge", 1, false); moved(); } [/QUOTE] However im getting this wird error: [QUOTE] Building please wait... src\com\rs\game\minigames\duel\DuelControler.java:18: error: method does not ove rride or implement a method from a supertype @Override ^ 1 error Compiled. [/QUOTE] Anybody knows how to fix this error and how to let the challange button to appear? Thanks for youre response.
  3. Hi, i got a duel arena issue, when im entering the duel arena i see the battleaxe icon but i when im right clicking on a person there is no 'challange' option. Anybody knows how to fix this? Il also give the names of my files from Duel Arena: Duelarena.java DuelControler.java DuelRules.java Thanks for answer, would be appriciated.
  4. I need help fixing this, I know it's something to do with the slots and it's not sending the right slots but I can't seem to find the fix. This is what it looks like: [IMG]http://i.imgur.com/NfPJrnC.png?1[/IMG]
  5. Can sombody give me the right Duel Arena code so it can function as the normal duel arena. Becuse when ever i enter the duel arena i can't challange nobody and also can't see the battle axe icon. Thanks, would be appriciated. I got this code (but it doesn't work in game) [QUOTE]package com.rs.game.minigames.duel; import com.rs.cache.loaders.ItemDefinitions; import com.rs.game.Animation; import com.rs.game.Entity; import com.rs.game.ForceTalk; import com.rs.game.World; import com.rs.game.WorldObject; import com.rs.game.WorldTile; import com.rs.game.item.Item; import com.rs.game.player.Player; import com.rs.game.player.actions.PlayerCombat; import com.rs.game.player.content.Foods.Food; import com.rs.game.player.content.ItemConstants; import com.rs.game.player.content.Pots.Pot; import com.rs.game.player.controlers.Controler; import com.rs.game.tasks.WorldTask; import com.rs.game.tasks.WorldTasksManager; import com.rs.net.decoders.WorldPacketsDecoder; import com.rs.net.decoders.handlers.ButtonHandler; import com.rs.utils.Utils; public class DuelArena extends Controler { private Player target; private boolean ifFriendly, isDueling; private final Item[] FUN_WEAPONS = {new Item(4566)}; private final WorldTile[] LOBBY_TELEPORTS = { new WorldTile(3367, 3275, 0), new WorldTile(3360, 3275, 0), new WorldTile(3358, 3270, 0), new WorldTile(3363, 3268, 0), new WorldTile(3370, 3268, 0), new WorldTile(3367, 3267, 0), new WorldTile(3376, 3275, 0), new WorldTile(3377, 3271, 0), new WorldTile(3375, 3269, 0), new WorldTile(3381, 3277, 0) }; @Override public void start() { this.target = (Player) getArguments()[0]; ifFriendly = (boolean) getArguments()[1]; openDuelScreen(target, ifFriendly); } private void openDuelScreen(Player target, boolean ifFriendly) { if (!ifFriendly) { sendOptions(player); player.getLastDuelRules().getStake().clear(); } player.getTemporaryAttributtes().put("acceptedDuel", false); player.getPackets().sendItems(134, false, player.getLastDuelRules().getStake()); player.getPackets().sendItems(134, true, player.getLastDuelRules().getStake()); player.getPackets().sendIComponentText(ifFriendly ? 637 : 631, ifFriendly ? 16 : 38, " " + Utils.formatPlayerNameForDisplay(target.getUsername())); player.getPackets().sendIComponentText(ifFriendly ? 637 : 631, ifFriendly ? 18 : 40, "" + (target.getSkills().getCombatLevel())); player.getPackets().sendConfig(286, 0); player.getTemporaryAttributtes().put("firstScreen", true); player.getInterfaceManager().sendInterface(ifFriendly ? 637 : 631); refreshScreenMessage(true, ifFriendly); player.setCloseInterfacesEvent(new Runnable() { @Override public void run() { closeDuelInteraction(true, DuelStage.DECLINED); } }); } private void accept(boolean firstStage) { if(!hasTarget()) return; boolean accepted = (Boolean) player.getTemporaryAttributtes().get("acceptedDuel"); boolean targetAccepted = (Boolean) target.getTemporaryAttributtes().get("acceptedDuel"); DuelRules rules = player.getLastDuelRules(); if (!rules.canAccept(player.getLastDuelRules().getStake())) return; if(accepted && targetAccepted) { if(firstStage) { if(nextStage()) ((DuelArena) target.getControlerManager().getControler()).nextStage(); } else { player.setCloseInterfacesEvent(null); player.closeInterfaces(); closeDuelInteraction(true, DuelStage.DONE); } return; } player.getTemporaryAttributtes().put("acceptedDuel", true); refreshScreenMessages(firstStage, ifFriendly); } protected void closeDuelInteraction(boolean started, DuelStage duelStage) { Player oldTarget = target; if(duelStage != DuelStage.DONE) { target = null; WorldTasksManager.schedule(new WorldTask() { @Override public void run() { player.getControlerManager().startControler("DuelControler"); } }); player.getInventory().getItems().addAll(player.getLastDuelRules().getStake()); player.getInventory().init(); player.getLastDuelRules().getStake().clear(); } else { removeEquipment(); beginBattle(started); } Controler controler = oldTarget.getControlerManager().getControler(); if (controler == null) return; DuelArena targetConfiguration = (DuelArena) controler; if (controler instanceof DuelArena) { if (targetConfiguration.hasTarget()) { oldTarget.setCloseInterfacesEvent(null); oldTarget.closeInterfaces(); if (duelStage != DuelStage.DONE) player.getControlerManager().removeControlerWithoutCheck(); if (started) targetConfiguration.closeDuelInteraction(false, duelStage); if (duelStage == DuelStage.DONE) player.getPackets().sendGameMessage("Your battle will begin shortly."); else if (duelStage == DuelStage.SECOND) player.getPackets().sendGameMessage("<col=ff0000>Please check if these settings are correct."); else if (duelStage == DuelStage.DECLINED) oldTarget.getPackets().sendGameMessage("<col=ff0000>Other player declined the duel!"); else if (duelStage == DuelStage.DECLINED) { oldTarget.getPackets().sendGameMessage("You do not have enough space to continue!"); oldTarget.getPackets().sendGameMessage("Other player does not have enough space to continue!"); } } } } public void addItem(int slot, int amount) { if(!hasTarget()) return; Item item = player.getInventory().getItem(slot); if (item == null) return; if (!ItemConstants.isTradeable(item)) { player.getPackets().sendGameMessage("That item cannot be staked!"); return; } Item[] itemsBefore = player.getLastDuelRules().getStake().getItemsCopy(); int maxAmount = player.getInventory().getItems().getNumberOf(item); if (amount < maxAmount) item = new Item(item.getId(), amount); else item = new Item(item.getId(), maxAmount); player.getLastDuelRules().getStake().add(item); player.getInventory().deleteItem(slot, item); refreshItems(itemsBefore); cancelAccepted(); } public void removeItem(final int slot, int amount) { if(!hasTarget()) return; Item item = player.getLastDuelRules().getStake().get(slot); if (item == null) return; Item[] itemsBefore = player.getLastDuelRules().getStake().getItemsCopy(); int maxAmount = player.getLastDuelRules().getStake().getNumberOf(item); if (amount < maxAmount) item = new Item(item.getId(), amount); else item = new Item(item.getId(), maxAmount); player.getLastDuelRules().getStake().remove(slot, item); player.getInventory().addItem(item); refreshItems(itemsBefore); cancelAccepted(); } private void refreshItems(Item[] itemsBefore) { int[] changedSlots = new int[itemsBefore.length]; int count = 0; for (int index = 0; index < itemsBefore.length; index++) { Item item = player.getLastDuelRules().getStake().getItems()[index]; if (item != null) if (itemsBefore[index] != item) { changedSlots[count++] = index; } } int[] finalChangedSlots = new int[count]; System.arraycopy(changedSlots, 0, finalChangedSlots, 0, count); refresh(finalChangedSlots); } private void refresh(int... slots) { player.getPackets().sendUpdateItems(134, player.getLastDuelRules().getStake(), slots); target.getPackets().sendUpdateItems(134, true, player.getLastDuelRules().getStake().getItems(), slots); } public void cancelAccepted() { boolean canceled = false; if((Boolean) player.getTemporaryAttributtes().get("acceptedDuel")) { player.getTemporaryAttributtes().put("acceptedDuel", false); canceled = true; } if((Boolean) target.getTemporaryAttributtes().get("acceptedDuel")) { target.getTemporaryAttributtes().put("acceptedDuel", false); canceled = true; } if(canceled) refreshScreenMessages(canceled, ifFriendly); } private void openConfirmationScreen(boolean ifFriendly) { player.getInterfaceManager().sendInterface(ifFriendly ? 639 : 626); refreshScreenMessage(false, ifFriendly); } private void refreshScreenMessages(boolean firstStage, boolean ifFriendly) { refreshScreenMessage(firstStage, ifFriendly); ((DuelArena) target.getControlerManager().getControler()).refreshScreenMessage(firstStage, ifFriendly); } private void refreshScreenMessage(boolean firstStage, boolean ifFriendly) { player.getPackets().sendIComponentText(firstStage ? (ifFriendly ? 637 : 631) : (ifFriendly ? 639 : 626), firstStage ? (ifFriendly ? 20 : 41) : (ifFriendly ? 23 : 35), "<col=ff0000>"+getAcceptMessage(firstStage)); } private String getAcceptMessage(boolean firstStage) { if (target.getTemporaryAttributtes().get("acceptedDuel") == Boolean.TRUE) return "Other player has accepted."; else if (player.getTemporaryAttributtes().get("acceptedDuel") == Boolean.TRUE) return "Waiting for other player..."; return firstStage ? "" : "Please look over the agreements to the duel."; } public boolean nextStage() { if(!hasTarget()) return false; if(player.getInventory().getItems().getUsedSlots() + target.getLastDuelRules().getStake().getUsedSlots() > 28) { player.setCloseInterfacesEvent(null); player.closeInterfaces(); closeDuelInteraction(true, DuelStage.NO_SPACE); return false; } player.getTemporaryAttributtes().put("acceptedDuel", false); openConfirmationScreen(false); player.getInterfaceManager().closeInventoryInterface(); return true; } private void sendOptions(Player player) { player.getInterfaceManager().sendInventoryInterface(628); player.getPackets().sendUnlockIComponentOptionSlots(628, 0, 0, 27, 0, 1, 2, 3, 4, 5); player.getPackets().sendInterSetItemsOptionsScript(628, 0, 93, 4, 7, "Stake 1", "Stake 5", "Stake 10", "Stake All", "Examine"); player.getPackets().sendUnlockIComponentOptionSlots(631, 47, 0, 27, 0, 1, 2, 3, 4, 5); player.getPackets().sendInterSetItemsOptionsScript(631, 0, 120, 4, 7, "Remove 1", "Remove 5", "Remove 10", "Remove All", "Examine"); } public void endDuel(Player victor, Player loser) { endDuel(victor, loser, true); } public void endDuel(final Player victor, final Player loser, boolean removeLoserControler) { for (Item item : player.getLastDuelRules().getStake().getItems()) { if (item == null) continue; victor.getInventory().addItem(item); } for (Item item : target.getLastDuelRules().getStake().getItems()) { if (item == null) continue; victor.getInventory().addItem(item); } if (loser.getControlerManager().getControler() != null && removeLoserControler) loser.getControlerManager().removeControlerWithoutCheck(); loser.setCanPvp(false); loser.getHintIconsManager().removeUnsavedHintIcon(); loser.reset(); loser.closeInterfaces(); if (victor.getControlerManager().getControler() != null) victor.getControlerManager().removeControlerWithoutCheck(); victor.setCanPvp(false); victor.getHintIconsManager().removeUnsavedHintIcon(); victor.reset(); victor.closeInterfaces(); startEndingTeleport(victor); startEndingTeleport(loser); loser.getPackets().sendGameMessage("Oh dear, it seems you have lost to "+victor.getDisplayName()+"."); victor.getPackets().sendGameMessage("Congradulations! You easily defeated "+loser.getDisplayName()+"."); WorldTasksManager.schedule(new WorldTask() { @Override public void run() { victor.getControlerManager().startControler("DuelControler"); loser.getControlerManager().startControler("DuelControler"); } }, 2); } private void startEndingTeleport(Player player) { WorldTile tile = LOBBY_TELEPORTS[Utils.random(LOBBY_TELEPORTS.length)]; WorldTile teleTile = tile; for (int trycount = 0; trycount < 10; trycount++) { teleTile = new WorldTile(tile, 2); if (World.canMoveNPC(tile.getPlane(), teleTile.getX(), teleTile.getY(), player.getSize())) break; teleTile = tile; } player.setNextWorldTile(teleTile); } private void removeEquipment() { int slot = 0; for (int i = 10; i < 23; i++) { if (i == 14) { if (player.getEquipment().hasTwoHandedWeapon()) ButtonHandler.sendRemove(target, 3); } if (player.getLastDuelRules().getRule(i)) { slot = i - 10; ButtonHandler.sendRemove(player, slot); } } } private void beginBattle(boolean started) { if (started) { WorldTile[] teleports = getPossibleWorldTiles(); int random = Utils.getRandom(1); player.setNextWorldTile(random == 0 ? teleports[0] : teleports[1]); target.setNextWorldTile(random == 0 ? teleports[1] : teleports[0]); } player.stopAll(); player.lock(2); // fixes mass click steps player.reset(); isDueling = true; player.getTemporaryAttributtes().put("startedDuel", true); player.getTemporaryAttributtes().put("canFight", false); player.setCanPvp(true); player.getHintIconsManager().addHintIcon(target, 1, -1, false); WorldTasksManager.schedule(new WorldTask() { int count = 3; @Override public void run() { if (count > 0) player.setNextForceTalk(new ForceTalk("" + count)); if (count == 0) { player.getTemporaryAttributtes().put("canFight", true); player.setNextForceTalk(new ForceTalk("FIGHT!")); this.stop(); } count--; } }, 0, 2); } @Override public boolean canEat(Food food) { if (player.getLastDuelRules().getRule(4) && isDueling) { player.getPackets().sendGameMessage("You cannot eat during this duel.", true); return false; } return true; } @Override public boolean canPot(Pot pot) { if (player.getLastDuelRules().getRule(3) && isDueling) { player.getPackets().sendGameMessage("You cannot drink during this duel.", true); return false; } return true; } @Override public boolean canMove(int dir) { if (player.getLastDuelRules().getRule(25) && isDueling) { player.getPackets().sendGameMessage("You cannot move during this duel!", true); return false; } return true; } @Override public boolean canSummonFamiliar() { if (player.getLastDuelRules().getRule(24) && isDueling) return true; player.getPackets().sendGameMessage("Summoning has been disabled during this duel!"); return false; } @Override public boolean processMagicTeleport(WorldTile toTile) { player.getDialogueManager().startDialogue("SimpleMessage", "A magical force prevents you from teleporting from the arena."); return false; } @Override public boolean processItemTeleport(WorldTile toTile) { player.getDialogueManager().startDialogue("SimpleMessage","A magical force prevents you from teleporting from the arena."); return false; } @Override public void magicTeleported(int type) { if (type != -1) return; } @Override public boolean processObjectClick1(WorldObject object) { player.getDialogueManager().startDialogue("ForfeitDialouge"); return true; } @Override public boolean sendDeath() { player.lock(7); WorldTasksManager.schedule(new WorldTask() { int loop; @Override public void run() { player.stopAll(); if (loop == 0) { player.setNextAnimation(new Animation(836)); } else if (loop == 1) { player.getPackets().sendGameMessage( "Oh dear, you have died."); } else if (loop == 3) { player.setNextAnimation(new Animation(-1)); endDuel(target, player); this.stop(); } loop++; } }, 0, 1); return false; } @Override public boolean login() { startEndingTeleport(player); removeControler(); return true; } @Override public boolean logout() { if (isDueling) endDuel(target, player, false); else closeDuelInteraction(true, DuelStage.DECLINED); return isDueling ? false : true; } @Override public boolean keepCombating(Entity victim) { DuelRules rules = player.getLastDuelRules(); boolean isRanging = PlayerCombat.isRanging(player) != 0; if (player.getTemporaryAttributtes().get("canFight") == Boolean.FALSE) { player.getPackets().sendGameMessage("The duel hasn't started yet.", true); return false; } if (target != victim) return false; if (player.getCombatDefinitions().getSpellId() > 0 && rules.getRule(2) && isDueling) { player.getPackets().sendGameMessage("You cannot use Magic in this duel!", true); return false; } else if (isRanging && rules.getRule(0) && isDueling) { player.getPackets().sendGameMessage("You cannot use Range in this duel!", true); return false; } else if (!isRanging && rules.getRule(1) && player.getCombatDefinitions().getSpellId() <= 0 && isDueling) { player.getPackets().sendGameMessage("You cannot use Melee in this duel!", true); return false; } else { for (Item item : FUN_WEAPONS) { if (rules.getRule(8) && !player.getInventory().containsItem(item.getId(), item.getAmount())) { player.getPackets().sendGameMessage("You can only use fun weapons in this duel!"); return false; } } } return true; } @Override public boolean canEquip(int slotId, int itemId) { DuelRules rules = player.getLastDuelRules(); if (isDueling) { if (rules.getRule(10 + slotId)) { player.getPackets().sendGameMessage("You can't equip " + ItemDefinitions.getItemDefinitions(itemId).getName().toLowerCase() + " during this duel."); return false; } if (slotId == 3 && player.getEquipment().hasTwoHandedWeapon() && rules.getRule(15)) { player.getPackets().sendGameMessage("You can't equip "+ ItemDefinitions.getItemDefinitions(itemId).getName().toLowerCase() + " during this duel."); return false; } } return true; } private WorldTile[] getPossibleWorldTiles() { final int arenaChoice = Utils.getRandom(2); WorldTile[] locations = new WorldTile[2]; int[] arenaBoundariesX = { 3337, 3367, 3336 }; int[] arenaBoundariesY = { 3246, 3227, 3208 }; int[] maxOffsetX = { 14, 14, 16 }; int[] maxOffsetY = { 10, 10, 10 }; int finalX = arenaBoundariesX[arenaChoice] + Utils.getRandom(maxOffsetX[arenaChoice]); int finalY = arenaBoundariesY[arenaChoice] + Utils.getRandom(maxOffsetY[arenaChoice]); locations[0] = (new WorldTile(finalX, finalY, 0)); if (player.getLastDuelRules().getRule(25)) { int direction = Utils.getRandom(1); if (direction == 0) { finalX--; } else { finalY++; } } else { finalX = arenaBoundariesX[arenaChoice] + Utils.getRandom(maxOffsetX[arenaChoice]); finalY = arenaBoundariesY[arenaChoice] + Utils.getRandom(maxOffsetY[arenaChoice]); } locations[1] = (new WorldTile(finalX, finalY, 0)); return locations; } @Override public boolean processButtonClick(int interfaceId, int componentId, int slotId, int packetId) { synchronized (this) { synchronized (target.getControlerManager().getControler()) { DuelRules rules = player.getLastDuelRules(); switch (interfaceId) { case 271: if (rules.getRule(5) && isDueling) { player.getPackets().sendGameMessage("You can't use prayers in this duel."); return false; } return true; case 193: case 430: case 192: if (rules.getRule(2) && isDueling) return false; return true; case 884: if (componentId == 4) { if (rules.getRule(9) && isDueling) { player.getPackets().sendGameMessage("You can't use special attacks in this duel."); return false; } } return true; case 631: switch (componentId) { case 56: // no range rules.setRules(0); return false; case 57: // no melee rules.setRules(1); return false; case 58: // no magic rules.setRules(2); return false; case 59: // fun wep rules.setRules(8); return false; case 60: // no forfiet rules.setRules(7); return false; case 61: // no drinks rules.setRules(3); return false; case 62: // no food rules.setRules(4); return false; case 63: // no prayer rules.setRules(5); return false; case 64: // no movement rules.setRules(25); if (rules.getRule(6)) { rules.setRule(6, false); player.getPackets().sendGameMessage( "You can't have movement without obstacles."); } return false; case 65: // obstacles rules.setRules(6); if (rules.getRule(25)) { rules.setRule(25, false); player.getPackets().sendGameMessage( "You can't have obstacles without movement."); } return false; case 66: // enable summoning rules.setRules(24); return false; case 67:// no spec rules.setRules(9); return false; case 21:// no helm rules.setRules(10); return false; case 22:// no cape rules.setRules(11); return false; case 23:// no ammy rules.setRules(12); return false; case 31:// arrows rules.setRules(23); return false; case 24:// weapon rules.setRules(13); return false; case 25:// body rules.setRules(14); return false; case 26:// shield rules.setRules(15); return false; case 27:// legs rules.setRules(17); return false; case 28:// ring rules.setRules(19); return false; case 29: // bots rules.setRules(20); return false; case 30: // gloves rules.setRules(22); return false; case 107: closeDuelInteraction(true, DuelStage.DECLINED); return false; case 46: accept(true); return false; case 47: switch (packetId) { case WorldPacketsDecoder.ACTION_BUTTON1_PACKET: removeItem(slotId, 1); return false; case WorldPacketsDecoder.ACTION_BUTTON2_PACKET: removeItem(slotId, 5); return false; case WorldPacketsDecoder.ACTION_BUTTON3_PACKET: removeItem(slotId, 10); return false; case WorldPacketsDecoder.ACTION_BUTTON4_PACKET: Item item = player.getInventory().getItems().get(slotId); if (item == null) return false; removeItem(slotId, player.getInventory().getItems().getNumberOf(item)); return false; case WorldPacketsDecoder.ACTION_BUTTON5_PACKET: player.getInventory().sendExamine(slotId); return false; } return false; } case 628: switch (packetId) { case WorldPacketsDecoder.ACTION_BUTTON1_PACKET: addItem(slotId, 1); return false; case WorldPacketsDecoder.ACTION_BUTTON2_PACKET: addItem(slotId, 5); return false; case WorldPacketsDecoder.ACTION_BUTTON3_PACKET: addItem(slotId, 10); return false; case WorldPacketsDecoder.ACTION_BUTTON4_PACKET: Item item = player.getInventory().getItems().get(slotId); if (item == null) return false; addItem(slotId, player.getInventory().getItems().getNumberOf(item)); return false; case WorldPacketsDecoder.ACTION_BUTTON5_PACKET: player.getInventory().sendExamine(slotId); return false; } case 626: switch (componentId) { case 43: accept(false); return false; } case 637: // friendly switch (componentId) { case 25: // no range rules.setRules(0); return false; case 26: // no melee rules.setRules(1); return false; case 27: // no magic rules.setRules(2); return false; case 28: // fun wep rules.setRules(8); return false; case 29: // no forfiet rules.setRules(7); return false; case 30: // no drinks rules.setRules(3); return false; case 31: // no food rules.setRules(4); return false; case 32: // no prayer rules.setRules(5); return false; case 33: // no movement rules.setRules(25); if (rules.getRule(6)) { rules.setRule(6, false); player.getPackets().sendGameMessage( "You can't have movement without obstacles."); } return false; case 34: // obstacles rules.setRules(6); if (rules.getRule(25)) { rules.setRule(25, false); player.getPackets().sendGameMessage("You can't have obstacles without movement."); } return false; case 35: // enable summoning rules.setRules(24); return false; case 36:// no spec rules.setRules(9); return false; case 43:// no helm rules.setRules(10); return false; case 44:// no cape rules.setRules(11); return false; case 45:// no ammy rules.setRules(12); return false; case 53:// arrows rules.setRules(23); return false; case 46:// weapon rules.setRules(13); return false; case 47:// body rules.setRules(14); return false; case 48:// shield rules.setRules(15); return false; case 49:// legs rules.setRules(17); return false; case 50:// ring rules.setRules(19); return false; case 51: // bots rules.setRules(20); return false; case 52: // gloves rules.setRules(22); return false; case 86: closeDuelInteraction(true, DuelStage.DECLINED); return false; case 21: accept(true); return false; } case 639: switch (componentId) { case 25: accept(false); return false; } } } } return true; } public boolean isDueling() { return isDueling; } public boolean hasTarget() { return target != null; } public Entity getTarget() { if (hasTarget()) return target; return null; } enum DuelStage { DECLINED, NO_SPACE, SECOND, DONE } } [/QUOTE]
  6. [CENTER]BoomScape 718 RSPS Eco / Pk / Pvm Server! [URL="http://boomscape.co.uk/"][IMG]http://boomscape.co.uk/banner1.png[/IMG][/URL] [URL="http://boomscape.co.uk/"]BoomScape - Home[/URL] [URL="http://boomscape.co.uk/boomscape718.jar"]BoomScape - Download[/URL] [URL="http://boomscape.co.uk/webclient.html"]BoomScape - Webclientl[/URL] [URL="http://boomscape.co.uk/forum/forum.php"]BoomScape - Forums[/URL] [URL="http://boomscape.co.uk/highscores/"]BoomScape - Highscores[/URL] [URL="http://boomscape.co.uk/vote/"]BoomScape - Vote[/URL] In the first image I would like to show you guys is where our home is located & our Teleport Hub which you can use to teleport around, everything goes down here pretty much! [IMG]http://gyazo.com/499b49612302b2c4542751c272acfc32.png[/IMG] The next few images will show you our Grand Exchange [IMG]http://gyazo.com/7dcb74aea0c0f386e11f1dc311ae5279.png[/IMG] [IMG]http://gyazo.com/5edea7ca188c5b4a90e0ce2ee02b9a67.png[/IMG] [IMG]http://gyazo.com/4964bbcd6d1a3d9f86b5b7aa97fb9ea7.png[/IMG] [IMG]http://gyazo.com/e8dda4510d90afa32efc5be971cb707d.png[/IMG] In the next picture you can see our duel arena which works perfectly, and in this image you can see "The Spoils" from a stake! [IMG]http://gyazo.com/e1c82d14d0ce20b9d958e3cf989d6e62.png[/IMG] In this image, I show you another way of teleporting around, you'll need this especially if your looking to go down to Glacors and pick up yourself some Steads! [IMG]http://gyazo.com/9bcf0481833136532b7ccfd7de43c93d.png[/IMG] Talking about Glacors! Here they are, working 100% like runescape, Double HP bars Minions and weak to Fire Spells! [IMG]http://gyazo.com/0e2ad324696170cfcc86e9dd70af3c7d.png[/IMG] [IMG]http://gyazo.com/cf599facdeee8325868a5960ade4060b.png[/IMG] Whats this we have? A fun minigame Pest Control working fabulously and users enjoy playing it, saving up for that void armour! Heres a few images of it! [IMG]http://gyazo.com/bd54ad97e077bdc13b621047122c3988.png[/IMG] [IMG]http://gyazo.com/8befef73ac8a1e40468cdaa9c9976950.png[/IMG] [IMG]http://gyazo.com/0f11b1024aed3882f7439aa3ff35db17.png[/IMG] [IMG]http://gyazo.com/e738439944463b392eba0b414e53a83a.png[/IMG] You into bossing? Find it pretty much easy as hell to go boss, what we have choose to do is use the way Runescape do it and make you have to kill 25 Minions before entering past the door to slay Bandos etc! [IMG]http://gyazo.com/762829f9585504e5ad9c4399c8e473de.png[/IMG] Currently on BoomScape we have the Construction system of making planks, done much better than most servers but still something we will be working on to upgrade heres a few images! [IMG]http://gyazo.com/f3afdd9912bd55be2944eab6f43c97af.png[/IMG] [IMG]http://gyazo.com/cb0ac3be977e33e1a2112d938cd308a2.png[/IMG] [IMG]http://gyazo.com/b94bb30187782a233550fb094805f0d7.png[/IMG] Dungeoneering find it boring and very easy on most servers? Not on BoomScape, our Dung system requires you to go through a series of waves to kill all different NPC's like Jad, Nomad and much more but don't worry they don't come at you until you get onto higher waves! [IMG]http://gyazo.com/df2fc353e7d3cc350330f6640c8b0e02.png[/IMG] Completionist Cape Rewards, we have decided not to make them to easy, they have been made like this to keep you guys entertained and work hard towards your goal of getting Comp! [IMG]http://gyazo.com/abd881e01fe01971f34e45fbae578a98.png[/IMG] Don't worry we didn't forget Completionist Cape Trimmed! To acquire this cape your going to have to do a little more! [IMG]http://gyazo.com/cd4e48d196423a6512bc910938408e44.png[/IMG] Donator boxes, what these will do is give you a chance of getting Rare items and Rusty coins, Rusty coins are a currency which allow you to buy Donator, Extreme Donator & VIP ranks from the shop! Character Customisation! We have long waited fixing this one up, we now have it working just like Runescape, when you login you will be able to style up your character and look cool without armour! [IMG]http://gyazo.com/8f8314b2ef2186be63a0f500b83c2dfc.png[/IMG] Even though on BoomScape all Nulls have been fixed, instead of making Mules, we have a Token System currency which are worth 100m each and can be traded around to buy stuff :) [IMG]http://gyazo.com/11b1179d3f29e6d73be7f1f1417b95a9.png[/IMG] Pyramid Plunder minigame, perfect for you thief's out there! Play this minigame to level up in Thieving! [IMG]http://gyazo.com/1fb3552d27502ae787d9c5839344f586.png[/IMG] On BoomScape the Dominion Tower is a great place to get the best gloves on the game! After getting a certain amount of Dominion Factor points you can go and purchase your long waited gloves! [IMG]http://gyazo.com/63c99dbe07e31af0aa493a4125cf31f3.png[/IMG] Pvm Points, on most slayer tasks, when killing the NPC's you will notice you get Pvm points, these are great for earning rewards in the stores! [IMG]http://gyazo.com/a59d934c0e4820d2e3cb46af7b824575.png[/IMG] No longer need to have cash in your inventory to Buy & Sell items they go straight from your Money Pouch, Buying & Selling, you still can buy from using Coins in your inventory though! [IMG]http://gyazo.com/5e3a481c4c05f9bd5ae72ee766009a87.png[/IMG] Dragonfire shield working just like Runescape & Cools down like Runescape, giving you the ultimate Shield as you can see below! [IMG]http://gyazo.com/e3aadb70b68180cb2ce1529c40a0db3f.png[/IMG] [IMG]http://gyazo.com/68816cb4598772aa52eb7bde473094ac.png[/IMG] Bank Pins, speak to a banker to get one of these, we are still working on making it so you can use the interface for Bank Pins though! [IMG]http://gyazo.com/bef3eb4d652274868c703afd52cc39ff.png[/IMG] Correct Stats Checker in Shops, Select Item Click Stats to see! [IMG]http://gyazo.com/bde36997ce7aaf6bf36a5ef490cc526b.png[/IMG] Gambling! At BoomScape we have a great Gambling Community, we allow Extreme Donators + Plant Mithril Seeds & After 150 Votes you can buy a Dice Bag!! [IMG]http://gyazo.com/b6a58605bcfae819263ef9fe6721b868.png[/IMG] & Here you can see you can't plant ontop of another flower ;) [IMG]http://gyazo.com/189c098d99c8d2e780b9fd83168ff989.png[/IMG] Squeal Of Fortune 100% Working, as you can see in the pictures below, I show you has Earned, Daily & Bought Spins, Saves your item for you to Claim Later even if you logout, if you DC whilst spinning your reward will still be there to collect when you log back in, your rewards are set so re-logging won't reset your reward items (The items that are winnable won't get reset basically until your next spin) [IMG]http://gyazo.com/06ca8810ed4c9f4872279e24980b7950.png[/IMG] [IMG]http://gyazo.com/400e05d7e730419307e395542a310d25.png[/IMG] Check out the SOF yourself to hard to show how it works through images :) Currently that's all we have got to show you, we will be back here to update the thread add more images and include much more infortmation about BoomScape, be sure to get this server link around to your friends and family who Play RSPS's or even RuneScape! Thanks for your guys time please post below on any questions & thoughts about BoomScape! [/CENTER]
  7. lord boss

    duel arena

    when i want to stake with someone in duel arena its works and there always a looser and winner but the looser die and he go to duel arena back but the winner stay at the ring with his reward why he dont go back to duel arena?
  8. My duel arena works, well partly... You get into the stake selection window to disable this like melee etc. and put the items up to stake... But you can put an item up to stake, you click it to offer it up and nothing happens. Any fixes? Will teamview, skype - r1chbyafk SOURCE: ARDI
  9. Hey guys! Im playing a server where on duel arena you cant "Challenge" Im asking how to fix that problem? Feel free skype me problem "Benn.Bm"
  10. Just Recently On my server, When players Duel, (Stake, or whatever). A bug happens where the account Stays logged, as like a decoy, for however long, until Manually restarted. [url]http://prntscr.com/1eq5jc[/url] As you can see, He's just standing there. You cannot interact with him, You cannot trade, and It does not even show the account is logged in. What is happening? How can this be fixed? Thank you, tyler.
  11. johan13

    Glitch Deul arena

    Hello everyone, All the players have the same problem at deul arena. If someone kills his target at duel arena he gets stuck after it. He can do everything like tele/attacking but inventory isn't working anymore, cant put pray on, armour off etc. Can someone help me with this problem? Thanks,
  12. Revant

    Duel arena bug

    Hey, In the duel arena when both players die in a stake, they both get the winning items, and basically is a dupe. If anyone can help me fix this please post, Thanks. (ps I've already tried using this under the senddeath method and declared it ---> if(player.isDead() && target.isDead()) { tie = true; }
  13. void rambo

    [P.I] duel arena

    Whenever you fight someone, ONLY one person can attack the other, and it's random. The other player that tries to attack it says "The duel hasn't started yet!", and the other one can attack freely. However if the opposer has auto-retaliate on, he can hit back, but he can't hit first.
  14. OCD

    [PI] Duel arena glitch

    I've had to disable staking Duel Arena due this, and have no idea on how to fix this.. So here's an example of what happens inside Duel Arena: 1. Player1 duels Player2 2. Player1 and Player2 are doing whatever kind of fight, 3. Player1 kills Player2. 4. Player2 teleports to Duel Arena (As usual when you die), but Player1 is stuck in the Duel, and has to re-log to get out of it. 5. When Player1 Re-logs, Player2 Wins.. (so pretty much what happens is the duel doesn't end on death. and I don't know how to fix this..)
  15. So i found 3 dupes in dual arena, I gave feed back to the owner about it and i want to do some research on how to disable dual arena while he works on it because atm he is busy so any ideas i read this but i dont know if it is right "Delete the part that will make the "challenge" option near Duel Arena disappear when you right click a player. That way players can't challenge each other. If you don't know where to look, open up your folders and use the search bar on the right top and look for "Challenge" or open up Client class. You should find it this way. It should look something like this: Code: else { getPA().showOption(3, 0, "Challenge", 1); } If you find it, delete it or copy it in a text document so you can re-add it once you want your players to be able to play it again. "
  16. ArenaRS Will be the first Private Server based of a Ranked Player versus Player system. Base: Delta Revision: 317 Loading 498 - Client sided. All animations, Sounds, Interfaces loaded. Combat System information - [B]Melee[/B] - Melee will be maybe the most balanced combat style of them all. All special Attacks will hit the exact same with the exact same Accuracy, this will remove the concept "Prod" since there will not be a difference if you have a Dragon Dagger or Godsword. Of course the Godsword will be able to hit a little bit higher because it is a Two-handed weapon. But the main part will be to keep all Melee weapons almost the same so you can use whatever you feel like and still have the same chance of winning. [B]Range[/B] - Range will be for the most part weak against Melee, but it will be better against magic as usual, it won't hit as high as you're used to though but it will have an accuracy increase, it will be good against Melee as well but it will be more effective against Magic Armor as said below. [B]Magic[/B] - Magic will be hard to balance like Melee and Range, considering you have "Freeze" spells which will give you an advantage against one Class players only, so hybridizing will probably be a must against high ranked players. The max hit with Ancient will be 30. [CENTER][B]Arena Ranking - The Concept[/B][/CENTER] This will be the main part, you will get the meaning of the Combat system I will be inventing when you read this. So The Arena Ranking system will be very competitive because of the balance between the Three Combat styles you're able to use, I will focus on making survival a big part of it so it won't be the guy with the highest special Attacks that necessarily wins the Ranked Duel, per Win and Lose your ranking will change like this. Obtaining Ranking will be like [QUOTE] Rating: 0 - 50 Win +9 / Lose -6 Rating: 51 - 100 Win +6 / Lose -6 Rating: 101 - 150 Win +4 / Lose -6 Rating: 151 - 200 Win +3 - Lose -6 Rating: 201 - 250 Win 2+ / Lose -6 Rating: 251 - 300+ Win 1+ / Lose -5 [/QUOTE] The Rating will be used to compare you against other players, the Rating will be reset each week and every week the best ranked player will receive a "Gladiator" title that will prove you're a true Warrior. [B]How to get in a Game: [/B] Since I wan't it to be as legit that I can get it, there will not be the normal "Challenge" system but a "Que" system so you can not choose the player you're meeting against. The players you meet will be choosen out from your Personal Rating. So you won't meet a Player with 36 Rating when you're at 128. [B]What will the point of becoming a Gladiator be?[/B] Since items will have no value in the Arena, items won't be a cool reward. Therefor I will invent Items that you can use to change your character's appearance in-game to look better. For Example exchange your Platebody with for example a Torso or Bandos Chestplate. The Stats will of course not be any better inside the Arena but outside they will count like they usually would in Runescape. [B]The Arena Armor[/B] will not be anything advanced, I though of normal Rune/Dragon Hide/Mystic setup for people with 50 or lower rating, and when your rating increases you will be able to purchase better looking armors. These sets with over 50 rating will have a rating requirement so every week you must get your rating up again to be able to use them. More info will be written later, feel free to comment and give ideas.
  17. [B][CENTER][SIZE="7"][FONT="Impact"][COLOR="red"]PANDEMIC[/COLOR] [COLOR="white"]ARENA[/COLOR][/FONT][/SIZE][/CENTER][/B] [SIZE="4"]CLIENT DOWNLOAD: [URL="https://rapidshare.com/files/2990402783/Pandemic%20Arena.zip"][COLOR="red"]HERE[/COLOR][/URL][URL="http://uppit.com/m47ksglkre3h/Pandemic_Arena.rar"][COLOR="blue"]MIRROR[/COLOR][/URL][/SIZE] [CENTER]Pandemic Arena! A new old fashioned 317, pk, and economical server! With friendly staff members always ready to help, and active players! Updated daily by the owner and Coder SeeSaw, myself. Join us now, and be apart of the begining of a great server! [SIZE="3"]~STAFF MEMBERS~[/SIZE] OWNER: SeeSaw Administrators: Unholytruth Moderators: The Don 36[/CENTER] [SIZE="5"][B][COLOR="yellow"]*SERVER FEATURES:[/COLOR][/B][/SIZE] [SIZE="3"][LIST] [*]95% WORKING SPECS! 100% Working GW Stance and attacks! Lots of skills to train! Including Slayer, Mining, Thieving! 100% MAGIC SYSTEM! 100% LUNAR AND ANCIENT MAGICKS! INCLUDING VENGEANCE! PVP ARMOR! 100% Working Jad! All 72 levels! CUSTOM "MORRIGANS DOOM" MINIGAME! Working Barrows, Pest Control, and Assault! Excellent Combat/PK System! Working food timers and pots![/LIST][/SIZE] [B][FONT="Microsoft Sans Serif"][SIZE="6"]Pictures![/SIZE][/FONT][/B] [CENTER][IMG]http://i189.photobucket.com/albums/z106/DannymaN231/Server/zgsspec.gif[/img][IMG]http://i189.photobucket.com/albums/z106/DannymaN231/Server/ssspec.gif[/img][IMG]http://i189.photobucket.com/albums/z106/DannymaN231/Server/sgsspec.gif[/img][IMG]http://i189.photobucket.com/albums/z106/DannymaN231/Server/claws-1.gif[/img][IMG]http://i189.photobucket.com/albums/z106/DannymaN231/Server/cbow-1.gif[/img][IMG]http://i189.photobucket.com/albums/z106/DannymaN231/Server/agsspec.gif[/img][IMG]http://i41.tinypic.com/zlb0hd.gif[/img] [IMG]http://www.runelocus.com/images/server_uploads/17038_18145.png[/IMG] [IMG]http://i49.tinypic.com/2a0etqs.png[/IMG] [IMG]http://i42.tinypic.com/1zyveaf.jpg[/IMG] [IMG]http://i41.tinypic.com/25umkol.jpg[/IMG] [IMG]http://i42.tinypic.com/11294j7.jpg[/IMG] [IMG]http://i41.tinypic.com/dwp7pu.jpg[/IMG] [IMG]http://i43.tinypic.com/2nk1mqg.png[/IMG] [/CENTER]
  18. ok well im trying to add the duel arena to my 562 but for some reason i cant challenge i have put duel request in request.java compiled and did all that good stuff but still not working could any1 shoot me some ideas plz. :D
  19. ok im offering rsgp everything is up for negotiation: duel arena-offer (must buy this first #1 priority atm) fixing hunter 99% (imps 1-99)-offer rsgp fight pits (with added rewards for winning)-offer rsgp a task system for rewarding ppl-offer rsgp (if u have any other ideas u can leave in post) this is 562 loading 659 Alhassa-Scape im just 2 lazy to bother with it been working on the sever like 20 some hrs adding bosses patching glitches and dealing with ppl in the past 2 day. skype is: cody.twigg1
  20. Okay, so the glitch is When ever you win the winner stay at the duel arena while the losser gets teleported out, and the winner is stuck in the duel arena until the losser re-logs. Then the winner gets his price and gets teleported. Any one got a clue how to fix it?
  21. I cant get it to work i dont know what im doing wrong. In my player.java [code] public boolean inDuelArena() { if(getLocation().getX() >= 3333 && getLocation().getX() <= 3356 && getLocation().getY() >= 3244 && getLocation().getY() <= 3258) { return true; } else { return false; } } [/code] Then i got this also in player.java [code] if (inDuelArena()) { actionSender.sendPlayerOption("Attack", 1, false); } [/code] And basicly i cant attack the opponent in that area it wont give me the attack option what did i do wrong ? Do i have to make some kind of chek to see if im in the duel arena ?? if so how do i do it ?
  22. 1. Every time you duel someone on my server in the duel arena, you can attack anyone that is in the Duel Arena. How can I fix this? 2. Every time you duel someone on my server in the duel arena, after you kill someone, you can click somewhere on the duel arena and you get to stay in the duel arena. How can I fix this? Thanks you guys!
  23. So getting into duel arena is all fine, but once someone dies, the person that dies is ok, but the person who wins stay in the duel arena? I have no clue where to start tbh anyhelp?
  24. Okay so on my pi source there no options beside Fun Weapons for example [ATTACH=CONFIG]5421[/ATTACH] Please Can you give me a Detailed Guide On how to fix? Thanks
  25. I'm using the Eyrescape 562/639 Dementhium source, And well, When you or your opponent dies in Dueling arena, You logout automaticly, Any stakes and spoils are lost in the process, And you aren't teleported out, This doesn't ALWAYS happen in friendly mode, but so far it has always happened in Staking mode. Please ask me if you need anymore information on the problem, and sorry I can't provide any now; I have no clue on what the problem could be caused by. Thanks so much in advance :D
×