Jump to content

Search the Community

Showing results for tags 'room'.



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

  1. can anyone help me please with party room to 718 i need if any players want to do dropparty is do it and mod and all thank you -james
  2. Looked everywhere and can't seem to find ones that actually take me there?! what are the right coordinates please?
  3. Yea, it's a used couch but it looks nice and the guy who owns it said it's been slightly used and he said it was for a business. I may buy it. :cool::cool::cool::cool::cool::cool: Looks good, what do you guys think ,he said $100 :emb:
  4. Add in ObjectHandler.java : [CODE] //Party Room if (id == 26194) { player.getDialogueManager().startDialogue("PartyRoomLever"); } if (id == 115 && object.getX() == 3049 && object.getY() == 3381) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3049, 3381, 0), true); } if (id == 116 && object.getX() == 3045 && object.getY() == 3380) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3045, 3380, 0), true); } if (id == 117 && object.getX() == 3043 && object.getY() == 3383) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3043, 3383, 0), true); } if (id == 118 && object.getX() == 3041 && object.getY() == 3380) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3041, 3380, 0), true); } if (id == 119 && object.getX() == 3039 && object.getY() == 3378) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3039, 3378, 0), true); } if (id == 120 && object.getX() == 3041 && object.getY() == 3377) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3041, 3377, 0), true); } if (id == 121 && object.getX() == 3041 && object.getY() == 3376) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3041, 3376, 0), true); } if (id == 122 && object.getX() == 3042 && object.getY() == 3373) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3042, 3373, 0), true); } if (id == 115 && object.getX() == 3045 && object.getY() == 3376) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3045, 3376, 0), true); } if (id == 116 && object.getX() == 3046 && object.getY() == 3375) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3046, 3375, 0), true); } if (id == 117 && object.getX() == 3049 && object.getY() == 3376) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3049, 3376, 0), true); } if (id == 118 && object.getX() == 3052 && object.getY() == 3378) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3052, 3378, 0), true); } if (id == 119 && object.getX() == 3050 && object.getY() == 3379) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3050, 3379, 0), true); } if (id == 120 && object.getX() == 3046 && object.getY() == 3382) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3046, 3382, 0), true); } if (id == 121 && object.getX() == 3044 && object.getY() == 3377) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3044, 3377, 0), true); } if (id == 122 && object.getX() == 3043 && object.getY() == 3375) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3043, 3375, 0), true); } if (id == 115 && object.getX() == 3047 && object.getY() == 3374) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3047, 3374, 0), true); } if (id == 116 && object.getX() == 3050 && object.getY() == 3374) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3050, 3374, 0), true); } if (id == 117 && object.getX() == 3051 && object.getY() == 3377) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3051, 3377, 0), true); } if (id == 118 && object.getX() == 3047 && object.getY() == 3379) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3047, 3379, 0), true); } if (id == 119 && object.getX() == 3048 && object.getY() == 3382) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3048, 3382, 0), true); } if (id == 120 && object.getX() == 3045 && object.getY() == 3383) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3045, 3383, 0), true); } if (id == 121 && object.getX() == 3043 && object.getY() == 3381) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3043, 3381, 0), true); } if (id == 122 && object.getX() == 3039 && object.getY() == 3380) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3039, 3380, 0), true); } if (id == 115 && object.getX() == 3041 && object.getY() == 3378) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3041, 3378, 0), true); } if (id == 116 && object.getX() == 3038 && object.getY() == 3374) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3038, 3374, 0), true); } if (id == 117 && object.getX() == 3040 && object.getY() == 3377) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3040, 3377, 0), true); } if (id == 118 && object.getX() == 3041 && object.getY() == 3374) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3041, 3374, 0), true); } if (id == 119 && object.getX() == 3047 && object.getY() == 3377) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3047, 3377, 0), true); } if (id == 120 && object.getX() == 3045 && object.getY() == 3382) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3045, 3382, 0), true); } if (id == 121 && object.getX() == 3050 && object.getY() == 3383) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3050, 3383, 0), true); } if (id == 122 && object.getX() == 3051 && object.getY() == 3380) { player.setNextAnimation(new Animation(794)); player.getPackets().sendSound(279, 0, 1); World.spawnObject(new WorldObject(123, 10, 0, 3051, 3380, 0), true); } //[/CODE] Make a new dialogue PartyRoomLever.java : [CODE]package com.rs.game.player.dialogues; import com.rs.game.Graphics; import com.rs.game.minigames.CastleWars; import com.rs.game.player.Skills; import com.rs.game.player.content.Magic; import com.rs.game.player.controlers.FightCaves; import com.rs.game.player.controlers.FightKiln; import com.rs.game.World; import com.rs.game.WorldObject; import com.rs.game.WorldTile; // Referenced classes of package com.rs.game.player.dialogues: // Dialogue public class PartyRoomLever extends Dialogue { public PartyRoomLever() { } @Override public void start() { stage = 1; sendOptionsDialogue("Wähle eine Option", "Ballons", "Nothing", "Nothing"); } @Override public void run(int interfaceId, int componentId) { if (stage == 1) { if (componentId == OPTION_1) { World.spawnObject(new WorldObject(115, 10, 0, 3049, 3381, 0), true); World.spawnObject(new WorldObject(116, 10, 0, 3045, 3380, 0), true); World.spawnObject(new WorldObject(117, 10, 0, 3043, 3383, 0), true); World.spawnObject(new WorldObject(118, 10, 0, 3041, 3380, 0), true); World.spawnObject(new WorldObject(119, 10, 0, 3039, 3378, 0), true); World.spawnObject(new WorldObject(120, 10, 0, 3041, 3377, 0), true); World.spawnObject(new WorldObject(121, 10, 0, 3041, 3376, 0), true); World.spawnObject(new WorldObject(122, 10, 0, 3042, 3373, 0), true); World.spawnObject(new WorldObject(115, 10, 0, 3045, 3376, 0), true); World.spawnObject(new WorldObject(116, 10, 0, 3046, 3375, 0), true); World.spawnObject(new WorldObject(117, 10, 0, 3049, 3376, 0), true); World.spawnObject(new WorldObject(118, 10, 0, 3052, 3378, 0), true); World.spawnObject(new WorldObject(119, 10, 0, 3050, 3379, 0), true); World.spawnObject(new WorldObject(120, 10, 0, 3046, 3382, 0), true); World.spawnObject(new WorldObject(121, 10, 0, 3044, 3377, 0), true); World.spawnObject(new WorldObject(122, 10, 0, 3043, 3375, 0), true); World.spawnObject(new WorldObject(115, 10, 0, 3047, 3374, 0), true); World.spawnObject(new WorldObject(116, 10, 0, 3050, 3374, 0), true); World.spawnObject(new WorldObject(117, 10, 0, 3051, 3377, 0), true); World.spawnObject(new WorldObject(118, 10, 0, 3047, 3379, 0), true); World.spawnObject(new WorldObject(119, 10, 0, 3048, 3382, 0), true); World.spawnObject(new WorldObject(120, 10, 0, 3045, 3383, 0), true); World.spawnObject(new WorldObject(121, 10, 0, 3043, 3381, 0), true); World.spawnObject(new WorldObject(122, 10, 0, 3039, 3380, 0), true); World.spawnObject(new WorldObject(115, 10, 0, 3041, 3378, 0), true); World.spawnObject(new WorldObject(116, 10, 0, 3038, 3374, 0), true); World.spawnObject(new WorldObject(117, 10, 0, 3040, 3377, 0), true); World.spawnObject(new WorldObject(118, 10, 0, 3041, 3374, 0), true); World.spawnObject(new WorldObject(119, 10, 0, 3047, 3377, 0), true); World.spawnObject(new WorldObject(120, 10, 0, 3045, 3382, 0), true); World.spawnObject(new WorldObject(121, 10, 0, 3050, 3383, 0), true); World.spawnObject(new WorldObject(122, 10, 0, 3051, 3380, 0), true); end(); } else if (componentId == OPTION_2) { end(); } else if (componentId == OPTION_3) { end(); } } } private void teleportPlayer(int x, int y, int z) { player.setNextGraphics(new Graphics(111)); player.setNextWorldTile(new WorldTile(x, y, z)); player.stopAll(); } @Override public void finish() { } }[/CODE] It's not the best but it should help out.
  5. STRICTLY 459+++ will work with higher revisions too, I believe. [B]NOTE: You need to be able to identify the following packets from your source:[/B] [LIST] [*]Send items [*]Access mask [*]Run/client script [/LIST] Add this for your server before doing anything: [url]http://www.runelocus.com/forums/showthread.php?86080-The-access-mask-assembler-for-any-server-send-options&p=708157[/url] This class will send items to an interface. All YOU need to know for this is the child index you want the items to be put at. Examples: [img]http://puu.sh/1XSY7[/img] Code for the above [code]InterfaceContainer.generateItems(player, new Item[]{new Item(11694)}, new String[]{"Stacx", "is kewl"}, 197, 16);[/code] Right-clicking that item will prompt up two right click options above. [img]http://puu.sh/1XTa4[/img] [code]InterfaceContainer.generateItems(player, new Item[]{new Item(11694)}, new String[]{"Stacx", "is kewl"}, 260, 42);[/code] The usage is [code]InterfaceContainer.generateItems(player, Item[], String[], interfaceIndex, childIndex)[/code] Optionally you can specify the x and y coordinates (the distance between each item in the array - vertically and horizontally) for the method. The default one will, however, be correct most of the time. If the items are too far from each other, then you can set this with: [code]InterfaceContainer.generateItems(player, Item[], String[], interfaceIndex, childIndex, x, y)[/code] You cannot c+p this for your server, place it in a package with the bit register class I posted in my last snippet. (and let the class know where you put it too, lol). Change the packet methods for the ones you have. Test this with a command that reads the interface and child from user input, and start playing around. What is the correct child? You'll have to guess! Had to space my documentation around again, but here [code]/** * Generates a set of items and options on an interface. * [MENTION=149514]date[/MENTION] 5022013 * [MENTION=52317]auth[/MENTION]or Stacx */ public class InterfaceContainer { /** * The client script index for set_options. */ private static final int CLIENT_SCRIPT_INDEX = 150; /** * This index will increase each time a set is generated. */ private static int index = 93; /** * Generates a container/array of items in an interface positioned on the child index. * @ param player, the player we generate this set for * @ param itemArray, the container/array of items we want to display * @ param options, the right-click options we want for the items * @ param interfaceIndex, the interface index * @ param childIndex, the child index of the interface where we display the items at. */ private static void generate(Player player, Item[] itemArray, String[] options, int interfaceIndex, int childIndex, int x, int y) { Object[] clientScript = new Object[options.length + 7]; player.getPacketDispatch().sendRunScript(CLIENT_SCRIPT_INDEX, generateScriptArguments(options.length), populateScript(clientScript, options, interfaceIndex << 16 | childIndex, x, y)); BitregisterAssembler.send(player, interfaceIndex, childIndex, 0, itemArray.length, options.length); PacketRepository.send(ContainerPacket.class, new ContainerContext(player, -1, -2, index++, itemArray, itemArray.length, false)); } /** * Populates an object array used as a script for the client * @ param script, the array we want to populate * @ param options, the right-click options for our items * @ param hash, interfaceIndex << 16 | childIndex * @ return script, the populated script */ private static Object[] populateScript(Object[] script, String[] options, int hash, int x, int y) { int offset = 0; for(String option : options) { script[offset++] = option; } System.arraycopy(new Object[]{-1, 0, x, y, index, hash}, 0, script, offset, 6); return script; } /** * Generates a script argument type string for the client * (note: everything but a "s" is integer for the run script packet) * @ param length, the amount of options * @ return the generated string. */ private static String generateScriptArguments(int length) { StringBuilder builder = new StringBuilder("IviiiI"); while(length > 0) { builder.append("s"); length--; } return builder.toString(); } /** * Default method to generate and send an item array for the client. * [MENTION=73428]see[/MENTION] {@link InterfaceContainer.generate} */ public static void generateItems(Player player, Item[] itemArray, String[] options, int interfaceIndex, int childIndex) { generate(player, itemArray, options, interfaceIndex, childIndex, 7, 4); } /** * Method to generate the send items for the client with a specified location for the items. * @ param x, the x coordinate * @ param y, the y coordinate */ public static void generateItems(Player player, Item[] itemArray, String[] options, int interfaceIndex, int childIndex, int x, int y) { generate(player, itemArray, options, interfaceIndex, childIndex, x, y); } } [/code] import your stuffs, I'll help with some stuffs but I won't spoon feed you if you can't apply this to your server without errors.
  6. So I need help to fixed 2 bugs. One bug is when a Donator PM's anyone it doesn't show anything except "From". Example: [IMG]http://i48.tinypic.com/169rxw8.jpg[/IMG] The second bug is when you try to deposit items in the Party Room chest they never appear and actually go into your bank. You can leave a comment below, if your comment fixes the problem(s) I will send some money to your PayPal. For further details add me on Skype: VillainGB
  7. When I click on the Part chest it shows the correct interface and everything. But when I click on an item it doesn't go in the chest it disappears and goes in my bank. Someone tell me how to fix this?
  8. When I deposit items into the party chest they don't show up anywhere (Edit: They actually show up back in your bank.). The party room was already built into the source when I got it a few months back. Below will be the code to the party room. PartyRoom.java [code] package server.model.players; import java.awt.Point; import java.util.ArrayList; import java.util.Random; import server.Config; import server.Server; import server.model.items.Item; import server.model.objects.Objects; import server.model.players.Client; import server.model.players.PlayerHandler; public class PartyRoom{ static Random r = new Random(); static int[] roomItems = new int[50]; static int[] roomItemsN = new int[50]; static ArrayList<Point> coords = new ArrayList<Point>(); public static int getAmount(){ int amount = 0; for(int x = 0; x < roomItems.length; x++){ if(roomItems[x] > 0){ amount++; } } return amount; } public static void dropAll(){ int trys = 0; int amount = getAmount(); if(amount < 1){ return; } for(int x = 0; x < roomItems.length; x++){ if(roomItemsN[x] > 0){ Balloon b = null; do{ b = Balloon.getBalloon(roomItems[x], roomItemsN[x]); trys++; }while(coords.contains(b.getCoords()) && trys < 100); Server.objectHandler.addObject(b); Server.objectHandler.placeObject(b); } if(trys > 100){ break; } roomItems[x] = 0; roomItemsN[x] = 0; } trys = 0; for(int x = 0; x < amount*2; x++){ Objects o; do{ o = Balloon.getEmpty(); }while(coords.contains(new Point(o.objectX, o.objectY)) && trys < 100); if(trys > 100){ break; } Server.objectHandler.addObject(o); Server.objectHandler.placeObject(o); } coords.clear(); } public static int arraySlot(int[] array, int target){ int spare = -1; for(int x = 0; x < array.length; x++){ if(array[x] == target){ return x; } else if(spare == -1 && array[x] <= 0){ spare = x; } } return spare; } public static void open(Client c){ updateGlobal(c); updateDeposit(c); c.getItems().resetItems(5064); c.getPA().sendFrame248(2156, 5063); } public static void accept(Client c){ for(int x = 0; x < c.party.length; x++){ if(c.partyN[x] > 0){ if(Item.itemStackable[c.party[x]]){ int slot = arraySlot(roomItems, c.party[x]); if(slot < 0){ c.sendMessage("Theres not enought space on party room."); break; } if(roomItems[slot] != c.party[x]){ roomItems[slot] = c.party[x]; roomItemsN[slot] = c.partyN[x]; }else{ roomItemsN[slot] += c.partyN[x]; } c.party[x] = -1; c.partyN[x] = 0; }else{ int left = c.partyN[x]; for(int y = 0; y < left; y++){ int slot = arraySlot(roomItems, -2); if(slot < 0){ c.sendMessage("Theres not enought space on party room."); break; } c.sendMessage(""+slot); roomItems[slot] = c.party[x]; roomItemsN[slot] = 1; c.partyN[x]--; } if(c.partyN[x] <= 0) c.party[x] = -1; } } } updateDeposit(c); updateGlobal(c); } public static void updateAll(){ for(int x = 0; x < PlayerHandler.players.length; x++){ updateGlobal((Client)PlayerHandler.players[x]); } } public static void fix(Client c){ for(int x = 0; x < 8; x++){ if(c.party[x] < 0){ c.partyN[x] = 0; }else if(c.partyN[x] <= 0){ c.party[x] = 0; } } } public static void depositItem(Client c, int id, int amount){ int slot = arraySlot(c.party, id); for (int i : Config.ITEM_TRADEABLE) { if(i == id) { c.sendMessage("You can't sell this item."); return; } } if(c.getItems().getItemAmount(id) < amount){ amount = c.getItems().getItemAmount(id); } if(!c.getItems().playerHasItem(id, amount)){ c.sendMessage("You don't have that many items!"); return; } if(slot == -1){ c.sendMessage("You cant deposit more than 8 items at once."); return; } c.getItems().deleteItem2(id, amount); if(c.party[slot] != id){ c.party[slot] = id; c.partyN[slot] = amount; }else{ c.party[slot] = id; c.partyN[slot] += amount; } updateDeposit(c); } public static void withdrawItem(Client c, int slot){ if(c.party[slot] >= 0 && c.getItems().freeSlots() > 0){ c.getItems().addItem(c.party[slot], c.partyN[slot]); c.party[slot] = 0; c.partyN[slot] = 0; } updateDeposit(c); updateGlobal(c); } public static void updateDeposit(Client c) { c.getItems().resetItems(5064); for(int x = 0; x < 8; x++){ if(c.partyN[x] <= 0) itemOnInterface(c, 2274, x, -1, 0); else itemOnInterface(c, 2274, x, c.party[x], c.partyN[x]); } } public static void updateGlobal(Client c) { for(int x = 0; x < roomItems.length; x++){ if(roomItemsN[x] <= 0) itemOnInterface(c, 2273, x, -1, 0); else itemOnInterface(c, 2273, x, roomItems[x], roomItemsN[x]); } } public static void itemOnInterface(Client c, int frame, int slot, int id, int amount){ c.outStream.createFrameVarSizeWord(34); c.outStream.writeWord(frame); c.outStream.writeByte(slot); c.outStream.writeWord(id+1); c.outStream.writeByte(255); c.outStream.writeDWord(amount); c.outStream.endFrameVarSizeWord(); } //2273 items on chest //2274 personal } [/code] Actionhandler.java [code] /*Party Room*/ case 26193: //26193 if falador PartyRoom.open(c); break; case 26191: if(!c.getItems().playerHasItem(995, 500000)){ c.sendMessage("You do not have 500K Coins!"); } else { c.getItems().deleteItem2(995, 500000); PartyRoom.dropAll(); } break; [/code] Clickingbuttons.java [code] case 8198: PartyRoom.accept(c); break; [/code] Someone please help me get this working so I can host more efficient drop partys.
  9. I am trying to finish the party room I want to know how to do the balloons fall and making them pop-able with the item that is in the chest. Can anyone help me or point me in the right direction, is it a gfx when it falls then an item spawns?
  10. [video=youtube;40UsYsmpLbc]http://www.youtube.com/watch?v=40UsYsmpLbc&feature=colike[/video] Dude lol this is funny as fuck
  11. Decided to create this for [url]www.rs2005.net[/url] and wanted it to share with u guys :3 [CODE]//add all this to you object cases in client.java case 115: //party balloon makeGlobalObject(objectX, objectY, 6951, 0, 10); setAnimation(794); ItemHandler.addItem(Item2.randomPartyroom(), objectX, objectY, 1, playerId, false); sendMessage("You Stamp on the balloon!"); break; case 116: //party balloon makeGlobalObject(objectX, objectY, 6951, 0, 10); setAnimation(794); ItemHandler.addItem(Item2.randomPartyroom(), objectX, objectY, 1, playerId, false); sendMessage("You Stamp on the balloon!"); break; case 117: //party balloon makeGlobalObject(objectX, objectY, 6951, 0, 10); setAnimation(794); ItemHandler.addItem(Item2.randomPartyroom(), objectX, objectY, 1, playerId, false); sendMessage("You Stamp on the balloon!"); break; case 118: //party balloon makeGlobalObject(objectX, objectY, 6951, 0, 10); setAnimation(794); ItemHandler.addItem(Item2.randomPartyroom(), objectX, objectY, 1, playerId, false); sendMessage("You Stamp on the balloon!"); break; case 119: //party balloon makeGlobalObject(objectX, objectY, 6951, 0, 10); setAnimation(794); ItemHandler.addItem(Item2.randomPartyroom(), objectX, objectY, 1, playerId, false); sendMessage("You Stamp on the balloon!"); break; case 2416: //party lever if (GoodDistance2 (absX, absY, objectX, objectY, 3)) { if (playerHasItemAmount(995, 2000000) == true) { if (actionTimer == 0) deleteItem(995, GetItemSlot(995), 2000000); makeGlobalObject(2733, 3472, 115, 0, 10); makeGlobalObject(2733, 3466, 115, 0, 10); makeGlobalObject(2734, 3466, 115, 0, 10); makeGlobalObject(2733, 3466, 115, 0, 10); makeGlobalObject(2737, 3470, 117, 0, 10); makeGlobalObject(2739, 3472, 119, 0, 10); makeGlobalObject(2743, 3472, 116, 0, 10); makeGlobalObject(2737, 3465, 118, 0, 10); sendMessage("You pull the party lever!!!"); actionTimer = 5; setAnimation(776); addSkillXP((1 * playerLevel[2]), 2); stillgfx(639, absY, absX); updateRequired = true; appearanceUpdateRequired = true; } else { if (actionTimer == 0) server.npcHandler.newSummonedNPC(660, 2735, 3468, heightLevel, 2735, 3468, 2735, 3468, 1, server.npcHandler.GetNpcListHP(765), false, playerId); server.npcHandler.newSummonedNPC(660, 2736, 3468, heightLevel, 2736, 3468, 2736, 3468, 1, server.npcHandler.GetNpcListHP(765), false, playerId); server.npcHandler.newSummonedNPC(660, 2737, 3468, heightLevel, 2737, 3468, 2737, 3468, 1, server.npcHandler.GetNpcListHP(765), false, playerId); server.npcHandler.newSummonedNPC(660, 2738, 3468, heightLevel, 2738, 3468, 2738, 3468, 1, server.npcHandler.GetNpcListHP(765), false, playerId); server.npcHandler.newSummonedNPC(660, 2739, 3468, heightLevel, 2739, 3468, 2739, 3468, 1, server.npcHandler.GetNpcListHP(765), false, playerId); server.npcHandler.newSummonedNPC(660, 2740, 3468, heightLevel, 2740, 3468, 2740, 3468, 1, server.npcHandler.GetNpcListHP(765), false, playerId); sendMessage("You Summon the dancing knights!"); actionTimer = 20; } } break; //add next section to item2.java to complete the first code. public static int Partyroom[] = { 1038, 1040, 1042, 1044, 1046, 1048, 1050, 15334, 15336, 15333, 15335, 4716, 4718, 4720, 4722, 14507, 14508, 14511, 2633, 2635, 2637, 2978, 2980, 2982, 2984, 2986, 2988, 2990, 2992, 2994, 2957, 2653, 2655, 2659, 3478, 2665, 2661, 2663, 2667, 3479, 2673, 2669, 2671, 3480, 4724, 4728, 4730, 4726, 6570, 1037, 1050, 6857, 6859, 6861, 6863, 6856, 6858, 6860, 6862, 6818, 989}; public static int randomPartyroom() { return Partyroom[(int) (Math.random() * Partyroom.length)]; }[/CODE] its the only thing i share to lol... well gl with it :P
  12. Droxcy

    Dark Room

    Got bored and started working on something then i thought of Amanda so i did some what her style sorry for those neon squiggly lines i saved the image not the psd so i can't fix it -.- [img]http://fc03.deviantart.net/fs70/f/2012/042/5/7/dark_dirty_room_by_texeh-d4pdjlb.png[/img]
  13. Hello. i need help on making a party room on my server i got the tele working to get their but i need the chest to work and the drops and all that i got the party drop interface. if you could help me pleas pm me on RuneLocus or send me a email at [email][email protected][/email] saying you would like to help me and if you help me and all works il would offer admin and if you would like to become my scripter aka Coder il rank you to system Dev :) Thanks. Matt
  14. Hello i need help making a party room.. Thanks
  15. this is probably a dumb question but i cant find it when i look it up, but i was wondering what is the briefing room entrance object id and how do i change its location to were i want it?
  16. EmoKid

    Party room code

    Hey i have a 317 rsps and i need help coding the party room to were it drops balloons and you can pop them for items. if anybody can help me code, with teamview or send me tut link, or just code i can try my best getting it to work. just pm me or reply.. thx :3
×