Jump to content

Search the Community

Showing results for tags 'general'.



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

  1. I am New to this forum .Please kindly let me to know what is use of this forum and how can i make use to get knowledge and sharing information about what i know?
  2. Hey guys, I'm currently trying to remake this: [url]http://www.runelocus.com/forums/showthread.php?101722-Zombies-Minigame-Showoff-KID-TESTED-MOTHER-APPROVED[/url] As I think it's pretty cool, and it gives me something to aim for and a certain goal/final product. I've made a good amount of classes for this to keep everything generally neat. Here are my classes (that I've made progress on): Zombie Waves: [url]http://pastebin.com/HWkinSRa[/url] Zombie Spawn: [url]http://pastebin.com/MESYJs3J[/url] Zombie Main (I intend to have random getters etc. here, I don't know if this is a good idea or not): [url]http://pastebin.com/ppxp8ei1[/url] What I need help with, besides general improvement ideas: Hey guys, I'm currently trying to remake this: [url]http://www.runelocus.com/forums/showthread.php?101722-Zombies-Minigame-Showoff-KID-TESTED-MOTHER-APPROVED[/url] As I think it's pretty cool, and it gives me something to aim for and a certain goal/final product. I've made a good amount of classes for this to keep everything generally neat. Here are my classes (that I've made progress on): Zombie Waves: [url]http://pastebin.com/HWkinSRa[/url] Zombie Spawn: [url]http://pastebin.com/MESYJs3J[/url] Zombie Main (I intend to have random getters etc. here, I don't know if this is a good idea or not): [url]http://pastebin.com/ppxp8ei1[/url] What I need help with, besides general improvement ideas: I'm trying to grab Waves inside of ZombieWaves, in my ZombieMain, so can I attach the amount of zombies to spawn, to the amount of zombies in ZombieSpawn, basically I'm kind of confused on how to make a getter for an enum and certain parts of it. Thanks in advance, Falcon
  3. I don't have a real question, it's more out of curiosity, but my question is this: Why do some servers mess up when the server is imported into Eclipse? I've seen many RsPs (mainly 718+) released that tell the user to specifically not use Eclipse, or else the project will mess up and files will be deleted etc., why does this happen? If you're new to programmming, please don't think "oh eclipse must be awful, thus another reason to not use it.". Also, a new question that has to do with a 317 server (I labelled the help thread 718 because originally it was just the Eclipse question) :P [CODE] public void delete(Clan clan) { if (clan == null) { return; } File file = new File("Data/clan/" + clan.getFounder() + ".cla"); if (file.delete()) { Client player = (Client) PlayerHandler.getPlayer(clan.getFounder()); if (player != null) { player.sendMessage("Your clan has been deleted."); } clans.remove(clan); } } [/CODE] Works good, but when the clan is null(nothing), and I try to delete it, I get a null pointer. <_> [CODE] [10/29/14 11:58 AM]: java.lang.NullPointerException [10/29/14 11:58 AM]: at net.packets.impl.InterfaceAction.processPacket(InterfaceAction.java:19) [10/29/14 11:58 AM]: at net.packets.PacketHandler.processPacket(PacketHandler.java:188) [10/29/14 11:58 AM]: at org.luzox.game.players.Client.processQueuedPackets(Client.java:1683) [10/29/14 11:58 AM]: at org.luzox.game.players.PlayerHandler.process(PlayerHandler.java:210) [10/29/14 11:58 AM]: at org.luzox.game.Server$1.execute(Server.java:149) [10/29/14 11:58 AM]: at org.luzox.event.Task.tick(Task.java:118) [10/29/14 11:58 AM]: at org.luzox.event.TaskScheduler.run(TaskScheduler.java:104) [10/29/14 11:58 AM]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [10/29/14 11:58 AM]: at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [10/29/14 11:58 AM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [10/29/14 11:58 AM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [10/29/14 11:58 AM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [10/29/14 11:58 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [10/29/14 11:58 AM]: at java.lang.Thread.run(Unknown Source) [/CODE]
  4. [B]Hello everyone[/B], first of all this is my first post but ive been hanging around for a little while mostly checking out all the awesome downloads that you people release and I thought that you might indulge helping me with a couple things, Thanks in advance and no hard feelings if you dont want to help me out, I understand typing out explanations can be a bit tedius to say the least So let me get started I downloaded this "blank" 317 server and client intending to start fresh and mess around learning the basics and eventually design my own server. Anyways ive run into some problems so if anyone could link me to a tutorial or give me some advice on any of these areas or really anything that you think someone new to this community and this stuff should know please let me know. so without furthur ado Things that I need help with [LIST] [*]spawning and placing npc's [*]npc dialouge [*]npc drops [*]npc movment [*]the addition of commands (tele etc) [*]any help on creating original areas to somehow add to the game [*] [/LIST] Thanks a bunch if you help me out :)
  5. DustinC

    General Forum

    Hey there Runelocus! It's been awhile since I've visited this community. I use to be involved in the community when I was younger, which was YEARS ago. [B]OT: [/B] I've started a forum recently. It's not confined by one subject and it's pretty much a board where you can discuss any topic. That'll help you understand what kind of forum it is. The goal of the forum is to have a place where you can discuss anything in a easy and clean environment. Meaning; the website is easy to navigate and has a clean look to it. I've put a good amount of work into this already. The forum is about two weeks old, maybe more. The forum software I'm using is IPB(Nothing nulled, I own my own license). I have much experience with forums, especially IPB. The purpose of this thread is to look for people who would be interested in helping along with this project. I'm looking for people who have skills to benefit my forum. As of today there are 3 main people working of this forum, including myself. I consider my partners to be equal and respect their ideas and decisions. We have a system set up for how we do things and get them done. I'm not going to limit this project to 3 people because I'm planning to see this forum grow very large. [B]More information on what I'm looking for:[/B] I'm looking for people who are experienced with web development, SEO, forum moderation, security, and all the mechanics behind a forum. I also value people who give great ideas very much. Almost left out; We are in need of members who can post quality content. If you find you are experienced in any of these areas, just reply, or give me a PM. I'd like you to know now that I'm not looking for children to help with this forum. I'm looking for older people who are mature. Also, don't be one of those people who are like "OMG, give me admin pls, oh ooooh can I be mod?" I will not take you seriously. Don't expect me to hand you a crown and give you power. If you are what I'm looking for, we will discuss further on your future with the forum. [B]URL:[/B] I am not going to post my boards URL here because I am not looking to advertise on this forum. If you would like to know the boards URL, along with further information, send me a PM. Thanks!
  6. Well, I can buy items from my general store, but it won't buy my items. already tried the 1 1 1 2 2 1 things
  7. Karriah

    General Drug Thread

    What's your DOC? I can guess that most of you have tried marijuana, but that's probably it for a lot. Do any of you use anything hard? I use methamphetamines (I don't shoot it up), but I've done a lot of other drugs too. What about you guys? Thread* Fuck
  8. Hey, on my new source I have a problem where the items I sell to the general store disappear instead of being placed in the store's inventory. On my old source items would go into the shop when sold. I tried replacing the shop handler.java and got an error at the server start. Even if the items that the general store has in stock are bought, and sold back, the stock does not go back up. Also, if the shop.java value for the shop is "1 1", all items are bought by the store for 0 coins. If the shop value is "1 0" then it functions as a normal store. This may be because of the interference of the PK points system that was present before. If someone could help me figure out a way to make general stores add items to their shop when sold that'd be awesome! I don't know which file controls that, but could someone give me a replacement file if they know which one it is? Thank you!
  9. [IMG]http://i46.tinypic.com/a3ff9e.png[/IMG] I'm going to finally attempt to make a complete , finished piece of work instead of a sketch, spent about an hour on the chest so far and only just started the head (don't look at it yet, haha) Some suggestions/ideas on background etc would be nice to hear, i know what i'm going to do with the armor/head but i'm not sure for the background- colors; something warm or should i go for cold colors? It's currently in greyscale but i'm adding colors soon.
  10. So I was reworking my duel arena, got to the point to where it was working fully, then ran into this runtime error: I'm aware that this says it cannot cast DuelControler to controler [CODE]java.lang.ClassCastException: com.rs.game.minigames.duel.DuelControler cannot be cast to com.rs.game.minigames.duel.DuelArena at com.rs.game.minigames.duel.DuelArena.closeDuelInteraction(DuelArena.java:107) at com.rs.game.minigames.duel.DuelArena$1.run(DuelArena.java:58) at com.rs.game.player.Player.closeInterfaces(Player.java:746) at com.rs.game.player.Player.stopAll(Player.java:706) at com.rs.game.player.Player.stopAll(Player.java:699) at com.rs.game.player.Player.stopAll(Player.java:695) at com.rs.game.player.Player.stopAll(Player.java:691) at com.rs.game.player.Player.realFinish(Player.java:1320) at com.rs.game.World$13.run(World.java:1008) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)[/CODE] Lines where the problem exists: [CODE]Controler controler = oldTarget.getControlerManager().getControler(); DuelArena targetConfiguration = (DuelArena) controler;[/CODE] Whats the best way to solve this runtime error. I'm kinda at a stump here can anyone explain whats best for me to do?
  11. rraayy

    General Questions

    Hey, i just started a 714 for my local network. I found out how to change shops and change NPC drops. Now i got some questions about: [Items] - How can i change the stats of a item? - How can i change the price of items? Not in shops.jave becuase its buggy! When i set price to 20K i can buy it for 20K but when i opened the shop it says 100K..... but i can still buy it for 20K - How can i spawn items on the floor default? [NPC] - How can i spawn npc not in that .java file because i didn't found a unpacked.txt I have a map with packedSpawns but the unpackedSpawnsList.txt is empty... can i get them back? If any one could help me with this...
  12. What is up RL? Well before starting my topic on what services I am offering I should probably list a bit about myself in-case anyone wanted to know before choosing me for their development team. My name is Steven Marshall, I am 21 years of age, and currently Completing my education at The University of Alberta. I live in Canada, but come from New York city, NY USA. I am currently taking classes in Computer sciences (Hardware, Specification's, Technology, Computer languages, etc.) As well as going for my Major in History, this will be my 3rd year in University. I enjoy a vast variety of computer games such as Runescape, RSPS, WoW, WoW Ps, and thought it would be a good idea that I try to get involved in a Staff/Development team. I have previous Moderator as well as Administrator experience, and at one point owned a smaller server of 300 (25 on daily). My skills, and Qualification's are as follows: ~6+ year's in Web Development (PHP, MySQL, HTML, XHTML, Python, Perl) ~5+ year's Runescape/Runescape private server Experience ~A little under 1 year of Java (Beginner) ~Advanced English, and some French. I am able to handle Stressful situation's with ease, and can easily Diffuse a Tempered situation. In all situation's given I keep calm, and look at all points of view/opinion's before making a decision. If you are interested in my services I would love the Opportunity to speak with you more about my Qualification's, and answer/deal with any question's/concern's. My skype: Schitzomniac Pm me for my MSN Thanks ~Illoquence
  13. General Store buys items at 0GP. Don't tell me to search... I already did... I am trying to improve my coding so help me out or give a tip or something.
  14. Mr Torva

    PI General Store

    Why would i be able to sell items to the General Store that he sells, but it will not allow me to buy anything from him? I've gone over the shop at least 25 times and i cannot figure out why its doing this. [code]shop = 1 @[email protected]_Shop 2 2 1540 100 1733 100 590 100 2347 100 1755 100 946 100 952 100[/code]
  15. rraayy

    General Questions

    Hi, One year ago i had a 317 server just for my local network. But now i want a HD server. I use now rscalifornia 714. Or does someone else have a better server to start with? In my 317 server i had soms .txt files for Shops, Npc, Players, Items etc. But now i have a datamap with: characters-> .p file? How to open this and how can i change the stats or rights=4 etc.? items-> .ib, .e and .s file? How to open this and how i can change item stats, price's enc.? npcs-> .nb, ncd, .d file? How to open this and how i can spawn NPC with coords? I cant find shops... This is a diffrent structere than a 317 server... I need to know te basic files. Can some one help me with this? Because i love to program in Java. Are there also any tools? Like. Cache editor or models? Thanks
  16. Somehow I can't load any webclient of any server, it's strange and sometimes I have problems loading download able clients too. Never had this problem in the past. Here is a picture of trying to load a webclient (ps other webbrowsers don't work) [IMG]https://dl.dropbox.com/u/82883021/13-06-2012%2020-22-52.png[/IMG] I tried re-installing java, my browser (chrome) and trying another browser (firefox), but now I'm not sure what to try now.. any help please. Thanks.
  17. Knowknayme

    General Help

    I'm looking for someone who could sit down with me for a couple minutes over skype and help me through a few basic things Thanks in advance! Noname
  18. InsanityPk

    General Store

    Hi everyone, I'm trying to add a general store to my server. I want to be able to sell and buy items from it... I followed this tutorial: [url]http://www.runelocus.com/forums/showthread.php?25810-562-General-Store-562[/url] But when I compiled and ran my server, I tried to sell an item to the General Store.... It said: "Sorry but you can't sell this item!" Here is my shophandler.java: [CODE]package com.rs2hd.content; import com.rs2hd.content.minigames.FightPits; import com.rs2hd.model.*; import com.rs2hd.GameEngine; import com.rs2hd.net.Packet; /** * Created by IntelliJ IDEA. * User: Serenty * Date: 3-march-2009 * Project: Boneyard * Time: 19:51:15 */ public class ShopHandler { public int maxItems = 40; public int[] pitsI = {18349, 18351, 18353, 4447}; public int[] items = new int[maxItems]; public int[] itemsN = new int[maxItems]; public int[] maxItemAmount = new int[maxItems]; public boolean generalStore = true; public long lastRestock = System.currentTimeMillis(); int shopid = 0; public boolean mainstock = true; /***************************************************************************************************************/ /* DO NOT TOUCH THIS! */ /***************************************************************************************************************/ public ShopHandler() { for (int i = 0; i < 40; i++) { items[i] = -1; } maxItemAmount = itemsN; } public void process(Player p) { if (System.currentTimeMillis() - lastRestock >= 60000) { clearSlots(p); for (int i = 0; i < items.length; i++) { if (itemsN[i] < maxItemAmount[i]) itemsN[i]++; } lastRestock = System.currentTimeMillis(); } } public void sell(Player p, int item, int amnt){ boolean shopShouldBuy = generalStore || isItemOnShop(item); if (!shopShouldBuy) { p.sm("You cannot sell this item to this shop."); return; } if (item == 995) { p.sm("You can't sell coins to a shop"); return; } int free = findFreeSlot(); if (!isItemOnShop(item) && generalStore) { if (free == -1) { p.sm("This shop is full."); return; } items[free] = item; itemsN[free] = 0; } int slot = findItemSlot(item); if(amnt<=p.getInventory().numberOf(item)) { if (itemStacks(item)) { items[slot] = item; itemsN[slot] += amnt; p.getInventory().deleteItem(item, amnt); p.getInventory().addItem(995,amnt*GameEngine.prices.getMinimumPrice(item)); } else { items[slot] = item; for (int notused = amnt; notused > 0; notused--) { p.getInventory().deleteItem(item, 1); p.getInventory().addItem(995, GameEngine.prices.getMinimumPrice(item)); itemsN[slot]++; } } } sendShopItems(p); sendPlayerInventory(p); } public static int donateValue(Player player, int itemId) { switch(itemId) { case 15441: //example to test return 4; case 15442: return 4; case 15443: return 4; case 15444: return 4; case 15701: return 4; case 15702: return 4; case 15703: return 4; case 15704: return 4; case 16689: return 4; case 16711: return 4; case 17259: return 4; case 17361: return 4; case 16359: return 2; case 13738: return 2; case 13744: return 2; case 13740: return 4; case 13742: return 4; } return -1; } public static int PkShop(Player player, int itemId) { switch(itemId) { case 11235: //example to test return 125; case 11724: return 200; case 11694: return 100; case 4151: return 15; case 13899: return 50; case 6570: return 150; case 11283: return 120; case 11726: return 200; case 11728: return 100; case 14484: return 150; } return -1; } public static int DonatorShop(Player player, int itemId) { switch(itemId) { case 16755: return 3; case 17237: return 3; case 16865: return 3; case 17017: return 3; case 17171: return 3; case 16931: return 3; case 17061: return 3; case 17193: return 3; case 17339: return 3; case 17215: return 3; case 17317: return 3; case 16711: return 3; case 17259: return 3; case 16689: return 3; case 16667: return 3; case 16293: return 3; case 16359: return 3; } return -1; } public static int VoteShop(Player player, int itemId) { switch(itemId) { case 1037: return 350; case 1038: return 350; case 1040: return 350; case 1042: return 350; case 1044: return 350; case 1046: return 350; case 1048: return 350; case 1050: return 350; case 1961: return 250; case 1419: return 300; case 1053: return 250; case 1055: return 250; case 1057: return 300; case 15332: return 1; case 7462: return 5; case 4812: return 1; case 20929: return 300; } return -1; } public static int Pitscost(Player player, int itemId) { switch(itemId) { case 18357: case 18349: case 18351: case 18353: case 18359: case 18355: case 18361: case 18363: case 18369: case 17273: case 15403: } return -1; } private void buystock(Player p, int item, int amnt) { if(true) { if(p.shopid == 24) { if(p.DonatorPoints >= donateValue(p, item)) { p.DonatorPoints -= donateValue(p, item); p.getInventory().addItem(item, 1); } else { p.getActionSender().sendMessage("You need Donator Points to buy this."); } return; } if(p.shopid == 29) { if(p.PkPoints >= PkShop(p, item)) { p.PkPoints -= PkShop(p, item); p.getInventory().addItem(item, 1); } else { p.sm("Not enough PKpoints to buy that many."); } return; } if(p.shopid == 30) { if(p.votes >= VoteShop(p, item)) { p.votes -= VoteShop(p, item); p.getInventory().addItem(item, 1); } else { p.sm("Not enough vote points to buy that many."); } return; } if(p.shopid == 33) { if(p.DonatorPoints >= DonatorShop(p, item)) { p.DonatorPoints -= DonatorShop(p, item); p.getInventory().addItem(item, 1); } else { p.sm("Not enough donator points to buy that many."); } return; } if(p.shopid == 32) { if (p.getInventory().contains(8851, 200)){ p.getInventory().deleteItem(8851, 200); p.getInventory().addItem(item, 1); } else { p.getActionSender().sendMessage("Not enough pk points to buy that many."); } return; } if (p.getInventory().getFreeSlots() < 0) { p.sm("Not enough space on inventory"); return; } if (p.getInventory().numberOf(995) < (amnt * GameEngine.prices.getMaximumPrice(item))) { p.sm("Not enough coins to buy that many."); return; } boolean b = p.getInventory().addItem(item, amnt); if (p.getInventory().getFreeSlots() < 0) { p.sm("Not enough space on inventory"); return; } long value = amnt * GameEngine.prices.getMaximumPrice(item); if (p.getInventory().numberOf(995) < value) { p.sm("Not enough coins to buy that many."); return; } if(b) p.getInventory().deleteItem(995, (int) value); return; } /*clearSlots(p); int slot = findItemSlot(item); if (slot == -1) { return; } if (itemsN[slot] < amnt) amnt = itemsN[slot]; if (amnt == 0) { items[slot] = -1; p.sm("That item's stock has run out."); return; } if (itemStacks(item)) { // item stackable, easier... if (p.getInventory().getFreeSlots() < 0) { p.sm("Not enough space on inventory"); return; } if (p.getInventory().numberOf(995) < (amnt * GameEngine.prices.getMaximumPrice(item))) { p.sm("Not enough coins to buy that many."); return; } p.getInventory().deleteItem(995, amnt * GameEngine.prices.getMaximumPrice(item)); p.getInventory().addItem(item, amnt); itemsN[slot] -= amnt; } else { // item not stackable for (int i = amnt; i > 0; i--) { int price = GameEngine.prices.getMaximumPrice(item); clearSlots(p); if (p.getInventory().numberOf(995) < price) { p.sm("Not enough coins to buy that many."); break; } if (itemsN[slot] < 1) { clearSlots(p); p.sm("The shop has run out of stock from this item!"); break; } if(p.getInventory().hasRoomFor(items[slot], amnt)) { itemsN[slot]--; p.getInventory().deleteItem(995, price); p.getInventory().addItem(item, 1); clearSlots(p); } else { p.sm("Not enough space on inventory."); break; } } } sendShopItems(p); sendPlayerInventory(p); clearSlots(p);*/ } public int findItemSlot(int item) { for (int i = 0; i < items.length; i++) if (item == items[i]) return i; return -1; } public int findFreeSlot() { for (int i = 0; i < items.length; i++) if (items[i] == -1) return i; return -1; } public void clearSlots(Player p) { for (int i = 0; i < items.length; i++) if (items[i] < 1) { items[i] = -1; } else { } } public void sendShopItems(Player p) { p.getActionSender().sendItems( -1, 63746, 556,items, itemsN); } public boolean isItemOnShop(int item) { return findItemSlot(item) != -1; } public void sendPlayerInventory(Player p) { p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer()); } public boolean itemStacks(int item) { ItemDefinition def = ItemDefinition.forId(item); return def.isStackable(); } public void handleoption(Player p, int interfaceId, int buttonId, int buttonId2, int packetId) { switch (interfaceId) { case 620: switch(buttonId) { case 18: p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseInventoryInterface(); break; default: int itemid = returnItemId(p.shopid, buttonId2); switch (packetId) { case 216: /* Value. */ if(p.shopid == 23) { p.sm("This item costs 140 tokkul."); } else if(p.shopid == 24) { p.sm("The number next to the item is how many points it is"); }else p.sm("This item costs " + GameEngine.prices.getMaximumPrice(itemid) + " coins."); break; case 19: /* Buy 1. */ buystock(p, itemid, 1); break; case 193: /* Buy 5. */ buystock(p, itemid, 5); break; case 76: /* Buy 10. full inventory*/ buystock(p, itemid, 10); break; case 173: /* Buy 50. gives 500 gotta add*/ buystock(p, itemid, 500); break; case 3: /*Examine. */ ItemDefinition def = ItemDefinition.forId(itemid); p.sm(""+def.getExamine()); break; } } break; case 621: if (buttonId == 0) { Item def = p.getInventory().getContainer().get(buttonId2); int itemid = def.getId(); switch (packetId) { case 216: /*Value.*/ p.sm( "This item is worth " + GameEngine.prices.getMinimumPrice(itemid) + " coins."); break; case 19: /* * Buy 1. */ sell(p, itemid, 1); break; case 193: /* * Buy 5. */ sell(p, itemid, 5); break; case 76: /* * Buy 10. */ sell(p, itemid, 10); break; case 173: /* * Buy 50. */ sell(p, itemid, 50); break; case 3: /* * Examine. */ p.sm(""+def.getDefinition().getExamine()); break; } } break; } } public void shopopen(Player p, int shopId) { p.getActionSender().sendConfig(199, -1); p.getActionSender().sendConfig2(118, 17); p.getActionSender().sendInterface(620, true); p.getActionSender().sendInventoryInterface(621); p.getActionSender().sendTab(146, 449); p.shopid = shopId; Object[] sellOptions = new Object[]{"Sell 500", "Sell 10", "Sell 1", "Value", -1, 1, 7, 4, 93, 40697856}; Object[] invparams = new Object[]{"", "", "", "", "Sell 50", "Sell 10", "Sell 5", "Sell 1", "Value", -1, 0, 7, 4, 93, 40697856}; //Object[] shopsampleparams = new Object[]{"", "", "", "", "Buy 50", "Buy 10", "Buy 5", "Buy 1", "Value", -1, 0, 4, 10, 7, 40632346}; Object[] shopparams = new Object[]{"", "", "", "", "Buy 500", "Buy 10", "Buy 5", "Buy 1", "Value", -1, 0, 4, 10, 556, 40632345}; p.getActionSender().sendRunScript(149, sellOptions, "IviiiIsssss"); p.getActionSender().sendRunScript( 150, invparams, "IviiiIsssssssss"); //player.getPackets().sendRunScript( 150, shopsampleparams, "IviiiIsssssssss"); p.getActionSender().sendRunScript( 150, shopparams, "IviiiIsssssssss"); p.getActionSender().sendAccessMask(1278, 621, 0, 0, 28); p.getActionSender().sendAccessMask(1278, 620, 25, 0, 40); p.getActionSender().sendAccessMask(1278, 620, 26, 0, 40); } /***************************************************************************************************************/ /* ONLY EDIT THIS! */ /***************************************************************************************************************/ public int returnItemId(int shopid, int buttonId2) { switch (shopid) { case 100: switch (buttonId2) { case 0:return 590; case 1:return 1933; case 2:return 946; case 3:return 1925; case 4:return -1; case 5:return -1; case 6:return -1; case 7:return -1; case 8:return -1; case 9:return -1; case 10:return -1; case 11:return -1; case 12:return -1; case 13:return -1; case 14:return -1; case 15:return -1; case 16:return -1; case 17:return -1; case 18:return -1; case 19:return -1; case 20:return -1; case 21:return -1; case 22:return -1; case 23:return -1; case 24:return -1; case 25:return -1; case 26:return -1; case 27:return -1; case 28:return -1; case 29:return -1; case 30:return -1; case 31:return -1; case 32:return -1; case 33:return -1; case 34:return -1; case 35:return -1; case 36:return -1; case 37:return -1; case 38:return -1; case 39:return -1; } break; case 2: switch (buttonId2) { case 0:return 1755; case 1:return 590; case 2:return 5605; case 3:return 1925; case 4:return -1; case 5:return -1; case 6:return -1; case 7:return -1; case 8:return -1; case 9:return -1; case 10:return -1; case 11:return -1; case 12:return -1; case 13:return -1; case 14:return -1; case 15:return -1; case 16:return -1; case 17:return -1; case 18:return -1; case 19:return -1; case 20:return -1; case 21:return -1; case 22:return -1; case 23:return -1; case 24:return -1; case 25:return -1; case 26:return -1; case 27:return -1; case 28:return -1; case 29:return -1; case 30:return -1; case 31:return -1; case 32:return -1; case 33:return -1; case 34:return -1; case 35:return -1; case 36:return -1; case 37:return -1; case 38:return -1; case 39:return -1; } break; case 3: switch (buttonId2) { case 0:return 590; case 1:return 1933; case 2:return 946; case 3:return 1925; case 4:return -1; case 5:return -1; case 6:return -1; case 7:return -1; case 8:return -1; case 9:return -1; case 10:return -1; case 11:return -1; case 12:return -1; case 13:return -1; case 14:return -1; case 15:return -1; case 16:return -1; case 17:return -1; case 18:return -1; case 19:return -1; case 20:return -1; case 21:return -1; case 22:return -1; case 23:return -1; case 24:return -1; case 25:return -1; case 26:return -1; case 27:return -1; case 28:return -1; case 29:return -1; case 30:return -1; case 31:return -1; case 32:return -1; case 33:return -1; case 34:return -1; case 35:return -1; case 36:return -1; case 37:return -1; case 38:return -1; case 39:return -1; } break; case 4://pvpshop switch (buttonId2) { case 0:return 4151; case 1:return 10828; case 2:return 11730; case 3:return 4087; case 4:return 1079; case 5:return 1093; case 6:return 1113; case 7:return 1127; case 8:return 1147; case 9:return 1163; case 10:return 1201; case 11:return 1067; case 12:return 1081; case 13:return 1101; case 14:return 1115; case 15:return 1137; case 16:return 1153; case 17:return 1191; case 18:return 1323; case 19:return 11732; case 20:return 6737; case 21:return 9183; case 22:return 4587; case 23:return 6585; case 24:return 15272; case 25:return 5698; case 26:return 6528; case 27:return 7459; case 28:return 7460; case 29:return 7461; case 30:return 5667; case 31:return 5574; case 32:return 5575; case 33:return 5576; case 34:return 4155; } break; case 5: //dwarf pickaxe shop switch (buttonId2) { case 0:return 6739; case 1:return 1355; case 2:return 1353; case 3:return 1361; case 4:return 1359; case 5:return 1349; case 6:return 590; case 7:return 526; case 8:return 532; case 9:return 1265; case 10:return 1267; case 11:return 1269; case 12:return 1271; case 13:return 1273; case 14:return 1275; case 15:return 1755; case 16:return 1625; case 17:return 1627; case 18:return 1629; case 19:return 1623; case 20:return 1621; case 21:return 1619; case 22:return 1617; case 23:return 1631; case 24:return 2347; case 25:return 311; case 26:return 303; case 27:return 301; case 28:return 305; case 29:return 307; case 30:return 313; case 31:return 15263; } break; case 6: switch (buttonId2) {//summoning shop case 0:return 12155; case 1:return 12183; case 2:return 12158; case 3:return 12159; case 4:return 12160; case 5:return 12161; case 6:return 12162; case 7:return 12163; case 8:return 12164; case 9:return 12165; case 10:return 12166; case 11:return 12167; case 12:return 12168; case 13:return 1119; case 14:return 2859; case 15:return 2138; case 16:return 6291; case 17:return 3363; case 18:return 2134; case 19:return 6032; case 20:return 9976; case 21:return 3325; case 22:return 12156; case 23:return 6010; case 24:return 12134; case 25:return 6319; case 26:return 2351; case 27:return 2353; case 28:return 2359; case 29:return 2361; case 30:return 2363; case 31:return 3138; case 32:return 1635; case 33:return 2132; case 34:return 9978; case 35:return 1444; case 36:return 7939; case 37:return 1438; } break; case 7: switch (buttonId2) {//Range shop case 0:return 887; case 1:return 878; case 2:return 881; case 3:return 8882; case 4:return 9140; case 5:return 9141; case 6:return 9142; case 7:return 9144; case 8:return 9242; case 9:return 9243; case 10:return 9244; case 11:return 9245; case 12:return 13280; case 13:return 886; case 14:return 837; case 15:return 839; case 16:return 843; case 17:return 845; case 18:return 849; case 19:return 853; case 20:return 857; case 21:return 861; case 22:return 1065; case 23:return 1135; case 24:return 1099; case 25:return 2487; case 26:return 2489; case 27:return 2491; case 28:return 2493; case 29:return 2495; case 30:return 2497; case 31:return 2499; case 32:return 2501; case 33:return 2503; case 34:return 11235; case 35:return 11212; case 36:return 884; case 37:return 888; case 38:return 890; case 39:return 892; } break; case 8: switch (buttonId2) {//skillcapes case 0:return 9747; case 1:return 9748; case 2:return 9749; case 3:return 9750; case 4:return 9751; case 5:return 9752; case 6:return 9753; case 7:return 9754; case 8:return 9755; case 9:return 9756; case 10:return 9757; case 11:return 9758; case 12:return 9759; case 13:return 9760; case 14:return 9761; case 15:return 9781; case 16:return 9763; case 17:return 9764; case 18:return 9765; case 19:return 9766; case 20:return 9767; case 21:return 9768; case 22:return 9769; case 23:return 9770; case 24:return 9771; case 25:return 9772; case 26:return 9773; case 27:return 9774; case 28:return 9778; case 29:return 9787; case 30:return 9808; case 31:return 9793; case 32:return 9799; case 33:return 9805; case 34:return 9949; case 35:return 9790; case 36:return 12170; case 37:return 9784; case 38:return 9796; case 39:return 9802; } break; case 9: //Herbolore switch (buttonId2) { case 0:return 227; case 1:return 249; case 2:return 251; case 3:return 253; case 4:return 255; case 5:return 257; case 6:return 259; case 7:return 261; case 8:return 263; case 9:return 265; case 10:return 267; case 11:return 269; case 12:return 221; case 13:return 235; case 14:return 225; case 15:return 223; case 16:return 231; case 17:return 241; case 18:return 245; case 19:return 247; case 20:return 2349; case 21:return 2351; case 22:return 2353; case 23:return 2359; case 24:return 2361; case 25:return 2363; case 26:return 1777; case 27:return 946; case 28:return 1436; case 29:return 259; case 30:return 263; case 31:return 265; case 32:return 261; case 33:return 731; case 34:return 9775; } break; case 10: //fishing switch (buttonId2) { case 0:return 311; //harpoon case 1:return 303; //small net case 2:return 301; //cage case 3:return 305; //small net case 4:return 2347; //smithing hammer } break; case 11: //pure switch (buttonId2) { } break; case 12: switch (buttonId2) {//summoning pouches shop case 0:return 12047; case 1:return 12043; case 2:return 12059; case 3:return 12019; case 4:return 12049; case 5:return 12067; case 6:return 12063; case 7:return 12091; case 8:return 12800; case 9:return 12053; case 10:return 12065; case 11:return 12021; case 12:return 12818; case 13:return 12780; case 14:return 12814; case 15:return 12087; case 16:return 12071; case 17:return 12776; case 18:return 12073; case 19:return 12075; case 20:return 12077; case 21:return 12079; case 22:return 12081; case 23:return 12083; case 24:return 12039; case 25:return 12786; case 26:return 12089; case 27:return 12796; case 28:return 12822; case 29:return 12093; case 30:return 12790; case 31:return 12029; } break; case 13: switch (buttonId2) {//food shop case 0:return 775; case 1:return 317; case 2:return 321; case 3:return 331; case 4:return 335; case 5:return 349; case 6:return 359; case 7:return 363; case 8:return 377; case 9:return 371; case 10:return 383; case 11:return 395; case 12:return 389; } break; case 14: switch (buttonId2) {//farm shop case 0:return 5318; case 1:return 5341; case 2:return 5331; case 3:return 5343; case 4:return 952; case 5:return 9810; case 6:return 9811; } break; case 15: switch (buttonId2) {//rune ess case 0:return 9766; case 1:return 9767; case 2:return 1436; case 3:return 7936; } break; case 16: switch (buttonId2) {//woodcutting axe shop case 0:return 1351; case 1:return 1349; case 2:return 1353; case 3:return 1355; case 4:return 1357; case 5:return 1359; case 6:return 6739; case 7:return 9807; case 8:return 9808; case 9:return 9809; } break; case 17: switch (buttonId2) {//castlewars case 0:return 4055; } break; case 18: switch (buttonId2) {//fletching shop case 0:return 9784; case 1:return 9785; case 2:return 9796; case 3:return 9797; case 4:return 2353; case 5:return 9141; case 6:return 45; case 7:return 9187; case 8:return 9189; case 9:return 9190; case 10:return 9191; case 11:return 9192; case 12:return 9193; case 13:return 9194; case 14:return 879; case 15:return 9335; case 16:return 9337; case 17:return 9338; case 18:return 9339; case 19:return 9340; case 20:return 9341; case 21:return 9342; } break; case 19: switch (buttonId2) {//construction shop case 0:return 9789; case 1:return 9790; case 2:return 9791; case 3:return 8310; case 4:return 8313; case 5:return 8118; case 6:return 8050; case 7:return 1539; case 8:return 960; case 9:return 8778; case 10:return 8780; case 11:return 8782; } case 21: switch (buttonId2) {//donator shop //dont add any items in here,this is look not buy } case 22: switch (buttonId2) {//magic shop case 0:return 554; case 1:return 555; case 2:return 556; case 3:return 557; case 4:return 558; case 5:return 559; case 6:return 560; case 7:return 561; case 8:return 562; case 9:return 563; case 10:return 564; case 11:return 565; case 12:return 9075; case 13:return 566; case 14:return 1381; case 15:return 1383; case 16:return 1385; case 17:return 1387; } break; case 25: switch (buttonId2) {//donator shop case 0:return 12476; case 1:return 12474; case 2:return 12472; case 3:return 12470; case 4:return 13335; case 5:return 12747; case 6:return 12749; case 7:return 12751; case 8:return 12753; case 9:return 7582; case 10:return 7583; case 11:return 12185; case 12:return 12186; case 13:return 12187; case 14:return 14627; case 15:return 14626; case 16:return 14651; case 17:return 14652; } break; case 27: switch (buttonId2) {//Food & potion shop case 0:return 318; case 1:return 336; case 2:return 360; case 3:return 372; case 4:return 378; case 5:return 384; case 6:return 390; case 7:return 396; case 8:return 316; case 9:return 334; case 10:return 366; case 11:return 374; case 12:return 380; case 13:return 386; case 14:return 392; case 15:return 396; case 16:return 140; case 17:return 146; case 18:return 158; case 19:return 164; case 20:return 170; case 21:return 3043; } break; case 29: switch (buttonId2) {//pk point shop case 0:return 11235; case 1:return 11724; case 2:return 11694; case 3:return 4151; case 4:return 13899; case 5:return 6570; case 6:return 11283; case 7:return 11726; case 8:return 11728; case 9:return 14484; } break; case 30: switch (buttonId2) {//Vote shop case 0:return 1037; case 1:return 1038; case 2:return 1040; case 3:return 1042; case 4:return 1044; case 5:return 1046; case 6:return 1048; case 7:return 1050; case 8:return 1961; case 9:return 1419; case 10:return 1053; case 11:return 1055; case 12:return 1057; case 13:return 15332; case 14:return 7462; case 15:return 4812; case 16:return 20929; } break; case 31: switch (buttonId2) {//Armour sets shop case 0:return 11814; case 1:return 11816; case 2:return 11818; case 3:return 11820; case 4:return 11822; case 5:return 11824; case 6:return 11826; case 7:return 11828; case 8:return 11830; case 9:return 11832; case 10:return 11834; case 11:return 11836; case 12:return 11838; case 13:return 11840; case 14:return 11864; case 15:return 11866; case 16:return 11868; case 17:return 11870; case 18:return 11926; case 19:return 11928; case 20:return 11930; case 21:return 11932; case 22:return 11934; case 23:return 11936; case 24:return 11938; case 25:return 11940; case 26:return 1755; } break; case 32: switch (buttonId2) {//Fight pits shop case 0:return 18349; case 1:return 18351; case 2:return 18353; case 3:return 4447; } break; case 33: switch (buttonId2) {//Donator shop case 0:return 16755; case 1:return 17237; case 2:return 16865; case 3:return 17017; case 4:return 17171; case 5:return 16931; case 6:return 17061; case 7:return 17193; case 8:return 17339; case 9:return 17215; case 10:return 17317; case 11:return 16711; case 12:return 17259; case 13:return 16689; case 14:return 16667; case 15:return 16293; case 16:return 16359; } break; case 34: switch (buttonId2) {//Hunter shop case 0:return 11259; } break; case 35: switch (buttonId2) {//Slayer shop case 0:return 4155; } break; case 36: switch (buttonId2) {//General Store case 0:return 1755; case 1:return 590; case 2:return 5605; case 4:return -1; case 5:return -1; case 6:return -1; case 7:return -1; case 8:return -1; case 9:return -1; case 10:return -1; case 11:return -1; case 12:return -1; case 13:return -1; case 14:return -1; case 15:return -1; case 16:return -1; case 17:return -1; case 18:return -1; case 19:return -1; case 20:return -1; case 21:return -1; case 22:return -1; case 23:return -1; case 24:return -1; case 25:return -1; case 26:return -1; case 27:return -1; case 28:return -1; case 29:return -1; case 30:return -1; case 31:return -1; case 32:return -1; case 33:return -1; case 34:return -1; case 35:return -1; case 36:return -1; case 37:return -1; case 38:return -1; case 39:return -1; } break; case 37: switch (buttonId2) {//Secret Morph Store case 0:return 6583; case 1:return 4021; case 2:return 11789; case 3:return 15673; case 4:return 552; case 5:return 19747; case 6:return 4566; case 7:return 4677; } break; case 23: return GameEngine.shops.DungeoneeringShop[buttonId2]; case 24: return GameEngine.shops.Donate[buttonId2]; } return -1; } public void openshop(Player p, int shopid) { switch (shopid) { case 100: //isGeneral = true; p.getActionSender().sendString("General Store", 620, 22); shopopen(p, 100); generalStore = true; items = GameEngine.shops.Generalshoplumb; itemsN = GameEngine.shops.GeneralshoplumbN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer()); p.getActionSender().sendItems( -1, 63746, 556,items, itemsN); case 2: shopopen(p, 2); //generalStore = true; items = GameEngine.shops.Generalshopfalador; itemsN = GameEngine.shops.GeneralshopfaladorN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer()); p.getActionSender().sendItems( -1 ,63746, 556, items, itemsN); break; case 3: shopopen(p, 3); //thats case 3 //generalStore = true; items = GameEngine.shops.Generalshopvarrock; itemsN = GameEngine.shops.GeneralshopvarrockN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer()); p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 4: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - PvP shop", 620, 22); shopopen(p, 4); items = GameEngine.shops.Pvp; itemsN = GameEngine.shops.PvpN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 5: // Shop Case //generalStore = false; p.getActionSender().sendString("Insanity 659 - Skilling shop", 620, 22); shopopen(p, 5); items = GameEngine.shops.Shop2; itemsN = GameEngine.shops.Shop2N; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 6: //generalStore = true; p.getActionSender().sendString("Insanity 659 - Summoning shop", 620, 22); shopopen(p, 6); items = GameEngine.shops.Summoningshop; itemsN = GameEngine.shops.SummoningshopN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer()); p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 7: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Ranger shop", 620, 22); shopopen(p, 7); items = GameEngine.shops.Range; itemsN = GameEngine.shops.RangeN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 8: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Skillcape shop", 620, 22); shopopen(p, 8); items = GameEngine.shops.Skillcapes; itemsN = GameEngine.shops.SkillcapesN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 9: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Herblore shop", 620, 22); shopopen(p, 9); items = GameEngine.shops.herbolore; itemsN = GameEngine.shops.herboloreN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 10: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Fishing shop", 620, 22); shopopen(p, 10); items = GameEngine.shops.fishing; itemsN = GameEngine.shops.fishingN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 11: // Shop Case //isGeneral = false; p.getActionSender().sendString("<col=ff0000>This shop is currently under developement.", 620, 22); shopopen(p, 11); items = GameEngine.shops.pure; itemsN = GameEngine.shops.pureN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 12: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Summoning pouches shop", 620, 22); shopopen(p, 12); items = GameEngine.shops.Summoningpouches; itemsN = GameEngine.shops.SummoningpouchesN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 13: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Food shop", 620, 22); shopopen(p, 13); items = GameEngine.shops.Food; itemsN = GameEngine.shops.FoodN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 14: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Farming shop", 620, 22); shopopen(p, 14); items = GameEngine.shops.Farm; itemsN = GameEngine.shops.FarmN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 15: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Rune essence shop", 620, 22); shopopen(p, 15); items = GameEngine.shops.Rune; itemsN = GameEngine.shops.RuneN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 16: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Woodcutting shop", 620, 22); shopopen(p, 16); items = GameEngine.shops.Wood; itemsN = GameEngine.shops.WoodN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 17: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Castle wars shop", 620, 22); shopopen(p, 17); items = GameEngine.shops.Castle; itemsN = GameEngine.shops.CastleN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 18: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Fletching shop", 620, 22); shopopen(p, 18); items = GameEngine.shops.Fletch; itemsN = GameEngine.shops.FletchN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 19: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Construction shop", 620, 22); shopopen(p, 19); items = GameEngine.shops.Con; itemsN = GameEngine.shops.ConN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 22: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Magic shop", 620, 22); shopopen(p, 22); items = GameEngine.shops.Runes; itemsN = GameEngine.shops.RunesN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 25: // Shop Case p.getActionSender().sendString("Insanity 659 - Donator shop", 620, 22); shopopen(p, 25); items = GameEngine.shops.DonatorShop; itemsN = GameEngine.shops.DonatorShopN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 27: p.getActionSender().sendString("Insanity 659 - Food & potion shop", 620, 22); shopopen(p,27); items = GameEngine.shops.RawFishStore; itemsN = GameEngine.shops.RawFishStoreN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 29: // Shop Case //isGeneral = false; p.getActionSender().sendString("Insanity 659 - Pk point shop, you currently have "+p.PkPoints+" pk points", 620, 22); shopopen(p, 29); items = GameEngine.shops.PkPointsShop; itemsN = GameEngine.shops.PkPointsShopN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 30: // Shop Case p.getActionSender().sendString("Insanity 659 - Vote point shop, you currently have "+p.votes+" vote points", 620, 22); shopopen(p, 30); items = GameEngine.shops.VoteShop; itemsN = GameEngine.shops.VoteShopN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 31: // Armour sets shop p.getActionSender().sendString("Insanity 659 - Armour sets shop", 620, 22); shopopen(p,31); items = GameEngine.shops.Armour; itemsN = GameEngine.shops.ArmourN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 32: // Fight pits shop p.getActionSender().sendString("Insanity 659 - Fight pits shop", 620, 22); shopopen(p,32); items = pitsI; itemsN = GameEngine.shops.VoteShopN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 33: // Donator shop p.getActionSender().sendString("Insanity 659 - Donator points shop, you currently have "+p.DonatorPoints+" donator points", 620, 22); shopopen(p,33); items = GameEngine.shops.DonatorPoints; itemsN = GameEngine.shops.DonatorPointsN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 34: // hunter shop p.getActionSender().sendString("Insanity 659 - Fight pits shop", 620, 22); shopopen(p,34); items = GameEngine.shops.Hunt; itemsN = GameEngine.shops.HuntN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 35: // slayer shop p.getActionSender().sendString("Insanity 659 - Slayer shop", 620, 22); shopopen(p,35); items = GameEngine.shops.Slayer; itemsN = GameEngine.shops.SlayerN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 36: // General Store //isGeneral = true; generalStore = true; p.getActionSender().sendString("Insanity 659 - General Store", 620, 22); shopopen(p, 36); items = GameEngine.shops.GenStore; itemsN = GameEngine.shops.GenStoreN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; case 37: // Secret p.getActionSender().sendString("Insanity 659 - Secret Morph Shop", 620, 22); shopopen(p, 37); items = GameEngine.shops.Secret; itemsN = GameEngine.shops.SecretN; p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());//Shop Inventory p.getActionSender().sendItems( -1, 63746, 556, items, itemsN); break; } } }[/CODE] And here is my Shops.java: [CODE]package com.rs2hd.content; /** * Created by IntelliJ IDEA. * User: Sere but dragnkk converted to rs2hd and gotta remake for 562 * Date: 6-mrt-2009 * Time: 10:33:19 */ public class Shops { public int maxItems = 40; /*init shops */ public int[] Generalshoplumb = {590, 1933, 946, 1925, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};//items id public int[] GeneralshoplumbN = {10000, 10000, 10000, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};//item amount public int[] Generalshopvarrock = {1755, 590, 5605, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; public int[] GeneralshopvarrockN = {100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; public int[] Generalshopfalador = {1755, 590, 5605, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; public int[] GeneralshopfaladorN = {100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; public int[] Pvp = {4151, 10828, 11730, 4087, 1079, 1093, 1113, 1127, 1147, 1163, 1201, 1067, 1081, 1101, 1115, 1137, 1153, 1191, 1323, 11732, 6737, 9183, 4587, 6585, 15272, 5698, 6528, 7459, 7460, 7461, 5667, 5574, 5575, 5576, 4155}; public int[] PvpN = {10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000}; public int[] Shop2 = {6739, 1355, 1353, 1361, 1359, 1349, 590, 526, 532, 1265, 1267, 1269, 1271, 1273, 1275, 1755, 1625, 1627, 1629, 1623, 1621, 1619, 1617, 1631, 2347, 311, 303, 301, 305, 307, 313, 15263}; // the items public int[] Shop2N = {100000000, 3000, 2500, 2000, 1500, 1000, 500, 100, 100, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 3000, 100000, 100000, 100000, 100000, 100000, 1000000, 1000000, 1000000, 1000000, 1000000, 1000000, 1000000, 10000000, 10000000}; public int[] Summoningshop = {12155, 12183, 12158, 12159, 12160, 12161, 12162, 12163, 12164, 12165, 12166, 12167, 12168, 1119, 2859, 2138, 6291, 3363, 2134, 6032, 9976, 3325, 12156, 6010, 12134, 6319, 2351, 2353, 2359, 2361, 2363, 3138, 1635, 2132, 9978, 1444, 7939, 1438}; public int[] SummoningshopN = {100000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000, 10000000}; public int[] Range = {887, 878, 881, 8882, 9140, 9141, 9142, 9144, 9242, 9243, 9244, 9245, 13280, 886, 837, 839, 843, 845, 849, 853, 857, 861, 1065, 1135, 1099, 2487, 2489, 2491, 2493, 2495, 2497, 2499, 2501, 2503, 11235, 11212, 884, 888, 890, 892}; public int[] RangeN ={100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000}; public int[] Skillcapes = {9748, 9750, 9754, 9755, 9756, 9757, 9758, 9759, 9760, 9761, 9781, 9763, 9764, 9765, 9766, 9767, 9768, 9769, 9770, 9771, 9772, 9773, 9774, 9778, 9787, 9808,9793, 9799, 9805, 9949, 9790, 12170, 9784, 9796, 9802}; public int[] SkillcapesN = {100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 10000000, 10000000, 10000000, 10000000, 10000000}; public int[] herbolore = {227, 249, 251, 253, 255, 257, 259, 261, 263, 265, 267, 269, 221, 235, 225, 223, 231, 241, 245, 247, 2349, 2351, 2353, 2359, 2361, 2363, 1777, 946, 1436, 259, 263, 265, 261, 731, 9775}; public int[] herboloreN = {100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000,100000000 ,100000000,100000000,100000000,100000000 ,100000000,100000000,100000000}; public int[] fishing = {311, 303, 301, 305, 2347}; public int[] fishingN = {100000000, 100000000, 100000000, 100000000, 100000000}; public int[] pure = {}; public int[] pureN = {100000000, 100000000, 100000000, 100000000, 100000000, 100000000, 100000000, 100000000, 100000000, 100000000, 100000000, 100000000 ,100000000}; public int[] Summoningpouches = {12047, 12043, 12059, 12019, 12049, 12067, 12063, 12091, 12800, 12053, 12065, 12021, 12818, 12780, 12814, 12087, 12071, 12776, 12073, 12075, 12077, 12079, 12081, 12083, 12039, 12786, 12089, 12796, 12822, 12093, 12790, 12029}; public int[] SummoningpouchesN = {10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000}; public int[] Food = {775, 317, 321, 331, 335, 349, 359, 363, 377, 371, 383, 395, 389}; public int[] FoodN = {10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000}; public int[] Farm = {5318, 5341, 5331, 5343, 952, 9810, 9811}; public int[] FarmN = {5000, 5000, 5000, 5000, 5000, 5000, 5000}; public int[] Rune = {9766, 9767, 1436, 7936}; public int[] RuneN = {100000000, 100000000, 100000000, 100000000}; public int[] Wood = {1351, 1349, 1353, 1355, 1357, 1359, 6739, 9807, 9808, 9809}; public int[] WoodN = {100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000}; public int[] Castle = {4055}; public int[] CastleN = {100}; public int[] Fletch = {9784, 9785, 9796, 9797, 2353, 9141, 45, 9187, 9189, 9190, 9191, 9192, 9193, 9194, 879, 9335, 9337, 9338, 9339, 9340, 9341, 9342}; public int[] FletchN = {100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000}; public int[] Con = {9789, 9790, 9791, 8310, 8313, 8118, 8050, 1539, 960, 8778, 8780, 8782}; public int[] ConN = {100000, 100000, 100000, 1, 1, 1, 1, 100000, 100000, 100000, 100000, 100000}; public int[] Donate = {16755, 17237, 16865, 17017, 17171, 16931, 17061, 17193, 17339, 17215, 17317, 16711, 17259, 16689, 16667, 16293, 16359}; public int[] DonateN = {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}; public int[] Runes = {554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 9075, 566, 1381, 1383, 1385, 1387}; public int[] RunesN = {100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 10000, 10000, 10000, 10000}; public int[] DungeoneeringShop = {18357, 18349, 18351, 18353, 18359, 18355, 18361, 18363,18369,17273,15403}; public int[] DungeoneeringShopN = {10000, 10000, 10000,10000,10000, 10000, 10000, 10000,10000,10000,10000}; public int[] DonatorShop = {12476,12474,12472,12470,13335,12747,12749,12751,12753,7582,7583,12185,12186,12187,14627,14626,14651,14652}; public int[] DonatorShopN = {1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000}; public int[] RawFishStore = {318,336,360,372,378,384,390,396,316,334,366,374,380,386,392,396,140,146,158,164,170,3043}; public int[] RawFishStoreN = {100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000}; public int[] PkPointsShop = {11235,11724,11694,4151,13899,6570,11283,11726,11728,14484}; public int[] PkPointsShopN = {1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000}; public int[] VoteShop = {1037, 1038, 1040, 1042, 1044, 1046, 1048, 1050, 1961, 1419, 1053, 1055, 1057, 15332,7462,4812,20929}; public int[] VoteShopN = {1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000}; public int[] DonatorPoints = {16755, 17237, 16865, 17017, 17171, 16931, 17061, 17193, 17339, 17215, 17317, 16711, 17259, 16689, 16667, 16293, 16359}; public int[] DonatorPointsN = {1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000}; public int[] Armour = {11814,11816,11818,11820,11822,11824,11826,11828,11830,11832,11834,11836,11838,11840,11864,11866,11868,11870,11926,11928,11930,11932,11934,11936,11938,11940,1755}; public int[] ArmourN = {1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000,1000000}; public int[] Hunt = {11259}; public int[] HuntN = {1000000}; public int[] Slayer = {4155}; public int[] SlayerN = {1000000}; public int[] GenStore = {1755, 590, 5605, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; public int[] GenStoreN = {1000000, 1000000, 1000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; public int[] Secret = {6583, 4021, 11789, 15673, 552, 19747, 4566, 4677}; public int[] SecretN = {1000000, 1000000, 1000000, 1000000, 1000000, 1000000, 1000000, 1000000}; public Shops() { //System.out.println("Loaded all Insanity 659 shops."); } }[/CODE] And lastly here is my SummonPacketHandler.java: [CODE]package com.rs2hd.packethandler; import com.rs2hd.GameEngine; import com.rs2hd.content.skills.thief.pickpocket; import com.rs2hd.content.exchange.GrandExchange; import com.rs2hd.model.NPC; import com.rs2hd.model.Player; import com.rs2hd.model.World; import com.rs2hd.net.Packet; import com.rs2hd.util.Misc; import com.rs2hd.net.ActionSender; /** * Handles any commands sent to the client. * @author Graham & Apache Ah64 * */ public class SummonPacketHandler implements PacketHandler { @Override public void handlePacket(Player p, Packet packet) { int NpcId = packet.readShortA(); packet.readByte(); final NPC n = World.getWorld().getNpcs().get(NpcId); if(n == null) { return; } int distance = Misc.getDistance(p.getLocation().getX(), p.getLocation().getY(), n.getLocation().getX(), n.getLocation().getY()); if(distance <= 1 && p.getLocation().getZ() == n.getLocation().getZ()) { switch(n.getId()) { case 1: case 2: case 3: case 4: case 5: case 6: pickpocket.PickPocket(p,n,1); break; case 21: pickpocket.PickPocket(p,n,2); break; case 6531: GrandExchange.openGE(p); break; case 494: if (p.BankPIN == true) { p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getBankPIN1(); } if (p.BankPIN == false) { p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getBank().openBank(); } case 7605: if (p.BankPIN == true) { p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getBankPIN1(); } if (p.BankPIN == false) { p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getBank().openBank(); } break; case 9710: case 322: if(p.getInventory().getFreeSlots() == 0 && p.getLocation().getX() == 2925 && p.getLocation().getY() == 3180){ p.sm("Your inventory is too full to carry any more fish!"); return; } else if (p.getSkills().getLevelForXp(10) < 50){ p.sm("You need level 76 Fishing to fish here."); return; } p.turnTemporarilyTo(n); p.fishingDelay7 = 4 + Misc.random(5);//emote 618 harpoon if(p.getInventory().getFreeSlots() == 0 && p.getLocation().getX() == 2921 && p.getLocation().getY() == 3177){ p.sm("Your inventory is too full to carry any more fish!"); return; } else if (p.getSkills().getLevelForXp(10) < 76){ p.sm("You need level 76 Fishing to fish here."); return; } p.turnTemporarilyTo(n); p.fishingDelay6 = 4 + Misc.random(5);//emote 618 harpoon break; case 320: if(p.getInventory().getFreeSlots() == 0){ p.sm("Your inventory is too full to carry any more fish!"); return; } else if (p.getSkills().getLevelForXp(10) < 10){ p.sm("You need level 10 Fishing to fish here."); return; } p.turnTemporarilyTo(n); p.fishingDelay4 = 4 + Misc.random(5);//emote 623 rod break; case 599: p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(599, 241, 2); p.getActionSender().sendString("Make Over Mage", 241, 3); p.getActionSender().sendString("Well Hello "+p.getDisplayName()+", would you like to change your clothes?", 241, 4); p.ProjectDungeonFestTutor = 10001; break; case 3504: if(!n.isIsFamiliar()) { p.sm("This isnt your familiar."); return; } if(n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(3504, 241, 2); p.getActionSender().sendString("Hellcat", 241, 3); p.getActionSender().sendString("Moew, meow meow", 241, 4); p.ProjectDungeonFestTutor = 212; } break; case 3505: if(!n.isIsFamiliar()) { p.sm("This isnt your familiar."); return; } if(n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(3504, 241, 2); p.getActionSender().sendString("Hell-kitten", 241, 3); p.getActionSender().sendString("Moew, meow meow", 241, 4); p.ProjectDungeonFestTutor = 213; } break; case 6954: if(!n.isIsFamiliar()) { p.sm("This isnt your familiar."); return; } if(n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6954, 241, 2); p.getActionSender().sendString("Zamorak hawk", 241, 3); p.getActionSender().sendString("Hey, I'm a Zamorak Hawk...", 241, 4); p.ProjectDungeonFestTutor = 214; } break; case 6957: if(!n.isIsFamiliar()) { p.sm("This isnt your familiar."); return; } if (Misc.random(6) == 1 && n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6957, 241, 2); p.getActionSender().sendString("Saradomin raptor", 241, 3); p.getActionSender().sendString("Welcome in the world of stoned birds!", 241, 4); p.ProjectDungeonFestTutor = 5; } if (Misc.random(6) == 2 && n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6957, 241, 2); p.getActionSender().sendString("Saradomin raptor", 241, 3); p.getActionSender().sendString("Hey man!", 241, 4); p.ProjectDungeonFestTutor = 5; } if (Misc.random(6) == 3 && n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6957, 241, 2); p.getActionSender().sendString("Saradomin raptor", 241, 3); p.getActionSender().sendString("Wow this is fun!", 241, 4); p.ProjectDungeonFestTutor = 5; } if (Misc.random(6) == 4 && n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6957, 241, 2); p.getActionSender().sendString("Saradomin raptor", 241, 3); p.getActionSender().sendString("Hey I'm feeling dizzy.", 241, 4); p.ProjectDungeonFestTutor = 5; } if (Misc.random(6) == 5 && n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6957, 241, 2); p.getActionSender().sendString("Saradomin raptor", 241, 3); p.getActionSender().sendString("Uhmm I'm your pet could we walk me?", 241, 4); p.ProjectDungeonFestTutor = 5; } if (Misc.random(6) == 6 && n.isIsFamiliar()) { p.turnTemporarilyTo(n); n.turnTemporarilyTo(p); p.getActionSender().sendChatboxInterface(241); p.getActionSender().animateInterface(9827, 241, 2); p.getActionSender().sendNPCOnInterface(6957, 241, 2); p.getActionSender().sendString("Saradomin raptor", 241, 3); p.getActionSender().sendString("Yeah uhm, I've ran out of things to say.", 241, 4); p.ProjectDungeonFestTutor = 5; return; } break; /* *Shops Start */ case 520: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 4); break; case 561: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 5); break; case 6970: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 6); break; case 550: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 7); break; case 545: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 8); break; case 546: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 9); break; case 519: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 11); break; case 521: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 27); break; case 530: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 12); break; case 2579: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 13); break; case 3299: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 14); break; case 553: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 15); break; case 531: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 16); break; case 1526: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 17); break; case 575: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 18); break; case 563: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 19); break; case 541: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 22); break; case 2622: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getActionSender().sendMessage("<col=FF0000>You currently have "+p.PkPoints+" pk points."); GameEngine.shopHandler.openshop(p, 29); break; case 2623: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getActionSender().sendMessage("<col=FF0000>You currently have "+p.votes+" vote points."); GameEngine.shopHandler.openshop(p, 30); break; case 522: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 31); break; case 5112: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 34); break; case 8275: p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 35); break; case 534://secret morph shop if(p.getUsername().equals("joe") || p.getUsername().equals("josh") || p.getUsername().equals("carlton") || p.getUsername().equals("nick") || p.getUsername().equals("mod_josh") || p.getUsername().equals("mod_joe") || p.getUsername().equals("justin")) { p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 37); } else { p.sm("You don't have permission to access this shop"); } break; case 523:// general shop p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 36); break; case 659: if(p.donator == 0) { p.sm("You need to be a donator to access this pro shop, want to see what's in it? Then donate!"); return; } p.getActionSender().sendMessage("<col=FF0000>Restart your client if you can't see any items in the shop."); p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); GameEngine.shopHandler.openshop(p, 25); break; /* *Shopending */ case 6815: case 6816: if (p.Summoning == false) { p.getActionSender().sendMessage("You dont have a familiar."); return; } if(n.pfollow != p.getIndex()) { p.getActionSender().sendMessage("This isnt your familiar."); return; } case 6873: case 6874: if (p.Summoning == false) { p.getActionSender().sendMessage("You dont have a familiar."); return; } if(n.pfollow != p.getIndex()) { p.getActionSender().sendMessage("This isnt your familiar."); return; } p.getActionSender().sendCloseInterface(); p.getActionSender().sendCloseChatboxInterface(); p.getFamiliarInventory().openFamiliarInventory(); break; default: //p.sm("npc not added: "+n.getId()); } } } } [/CODE] If anything is wrong, please let me know. I really need to fix this :s. Thanks!
  19. Here is my code for my general store: [code]shop = 1 @[email protected]_Store 2 2 1540 100 1733 100 590 100 2347 100 1755 100 946 100 952 100[/code] It allows me to sell items to him that he sells, but will not sell me items? What is wrong with this stupid shop?
  20. [CENTER] [url=http://www.gamesynner.com][img]http://www.runespark.net/images/logo.png[/img][/url] [SIZE=5]Link to the Forums - *[/SIZE] First of all thank you for taking a look at this project which I have bestowed upon myself, I'd also like to mention that it is not JUST me doing it, but I have the help and support of a few others whom are involved in some way shape or form to help make all of it possible. I will supply the appropriate credits through the presentation as well are at the end. GameSynner is aimed to be a central community [B]hub[/B] for Gamers of all types. It is meant to serve as a general location for games such as RuneScape, World of Warcraft, Call of Duty, BattleField, Mari0, Happy Wheels, and other games that we've learned to love and enjoy over the years, as well as new ones awaiting release. [img]http://www.runespark.net/images/advertisement/introduction.png[/img] GameSynner is going to be a project for quite a few people as it will test our ability to maintain a forum as well as a test to the Coding Abilities in the Languages of Java, Css StyleSheets, PHP Forum Development, HTML Webpages, MySQL databasing, and the ultimate challenge of playing all of the games submitted and showcased on the Forums. [img]http://www.runespark.net/images/advertisement/exclusives.png[/img] Ofter you register on GameSynner you open a variety of new options to showcasing your Console, PC, or smart phone gaming! You can link your account with your Xbox Gamertag, PSN, Stream ID, YouTube account, and more! There is a General YouTube Gallery in which you may submit your videos for everyone else to view. Or you can simply copy the URL of the YouTube video and post it right on the forums, there is no embedding required, it does it all for you! SMF Modifications can be found directly on the Mod Site but with our current behind the scenes SMF help we can create extras to the Forums which are not publically available, the forums are already a huge interest to a few dozen people, we want to expand! [img]http://www.runespark.net/images/advertisement/servers.png[/img] As a General Gaming Forums, we need people to have a reason to stay. We have designated a specific group of people to individually manage and create servers of many varieties in order to create a larger interest to all, applications for such positions are available right on the Forums but requires a 50 post count or greater to see. [SIZE=4] RuneScape Private Server - [U]Name: RuneSpark474[/U] - Managed by: [url=http://www.runelocus.com/forums/member.php?5765-titandino]Titandino[/url] - Hosted by: * MineCraft Private Server - [U]Name: GameSynner MC[/U] - Managed by: Matt (Not on Runelocus) - Hosted by: * World of WarCraft Private Server - [U]Name: GameSynner[/U] - Managed by: [U]Undetermined[/U] - Hosted by: * [/SIZE] [img]http://www.runespark.net/images/advertisement/awards.png[/img] For participating both on and off the Forums you will receive Medals and Prefix Icons. There are many different medals to earn but the two most significant will be posted below. [b][u]RuneScape[/u][/b] [img]http://www.runespark.net/images/medals/medal1.png[/img] [b]Player vs Player Medal[/b] Record and Showcase atleast 3 kills in the wilderness (RuneScape) without restocking for food. - 1 Clip unedited. ----------------------------------------------------------------------------- [b][u]Call of Duty (Series)[/u][/b] [img]http://www.runespark.net/images/medals/medal2.png[/img] [b]Top Rank Medal[/b] Have top Prestige Ranks in: - Call of Duty 4: Modern Warfare (Prestige 10) - Call of Duty 5: World at War (Prestige 10) - Call of Duty 6: Modern Warfare 2 (Prestige 10) - Call of Duty 7: Black Ops (Prestige 15) - Call of Duty 8: Modern Warfare 3 (Prestige 15 - Console)[Prestige 20 - PC] [img]http://www.runespark.net/images/advertisement/affiliates.png[/img] Because we are a General Gaming Forum, we encourage everyone to make lots of effort when they create their game, website, forum, or any other online content because it is supposed to be well thought-out and enjoyable for a majority of users. We have since begun an Affiliation Program to help both GameSynner and the affiliate benefit. We currently have an Affiliation with: [url=http://www.runespark.net][img]http://www.runespark.net/logo.png[/img][/url] The Official Image hosting website for GameSynner. [url=http://www.framedx.org][img]http://www.runespark.net/images/framedx/logo.png[/img][/url] FramedX - Affiliate as of March 2012 [B]EDIT: Will be Adding Images Shortly. Need to Photoshop them and make some .gif images.[/B] [/CENTER]
  21. Edit - see the gamesynner | general gaming forum thread
  22. Is it a act of malicious behavior? To be honest in my opinion I see no problem with it... I mean so what if you get a movie, game or music free [U][I][B]WE[/B][/I][/U] like your Music, Game or Movie so We want to download it. Yes they lose profit but really.. They don't lose too much so why be so butt hurt about it.
  23. Okay guys, I've played lots of new servers and I know my stuff. If you want to make your server successful, you'll have to have: -At least $150 to spend for your first month and $40+ every other month. -Lots of dedication and time to develop it. -A team of very good staff who play at least 2-3 hours a day and who help out players at all times. -A decent forum which is made with either v-bulliten or SMF. A few guidelines to follow: -Make sure your staff are from different timezones so that there are staff online most of the time. -Don't pick too many staff. Usually 3-4 moderators and 2 administrators is good on a server with 30+ online at a time. -Good graphic designers always help. -Never give away more than 10m to any one player, and if you've just started out don't give away anything unless it's from voting. If you give away items for voting I'd suggest no more than 5m cash. -For theiving make the highest stall maximum 20k a click, and put a form of anti auto clicking like a random question or make it so that sometimes they lose a bit of health. -Make drop rates very low. -Try to keep your forum active; this makes it more popular. [U]Starting out:[/U] To start out, make a forum, a server, and add your site to a few toplists. Then buy a domain name for your site (usually costs $5-$10) and buy a VPS that can hold around 30 players (usually costs around $40/month). Make a webclient for your server, but make sure you have a download for your server too. With the other $100 you should buy advertisement on smaller toplists and maybe google (costs $5 for 14 days then $59 a month). If you have in the region of $500 you could buy advertisements on Runelocus or other big toplists. :D Anyway, I guarentee that you'll be getting lots of players coming in. The next step you need to do is to get your players to vote. An easy way to do this is to a make a voting system that can give you money or maybe points. On a vote4points you can make it like 5 points a vote and items cost a various amount of points, but anyway, find a way to get players to vote. If you get to around 30-40th place on the bigger toplists you can get around 500 redirects to your site a month. [U]Advertisement:[/U] Don't forget, you will still get players donating money to you. I'd recommend that 90% of donations should be invested back into the server on things like VPS and advertisement. This way you'll get more players coming into the server, donating more to you. A few good things to advertise on: Runelocus: I don't know the exact price but I expect it to be $600+ for a banner advertisement. Other Big Toplists: Around $500+ for a banner advertisement I think. Google: $59/month. Voting: Free. Spam other servers which aren't on the Runelocus toplist (risk of you orthe server being DDoSed) with a VPN so you can get back onto them and keep spamming them: $40 for a decent VPN but free to spam. If you spam servers which are on the toplist there is a risk of being banned from the Runelocus toplist. Big Gaming Sites: Not sure on the price but it'd be a lot. [U]Conclusion:[/U] You'll need a lot of money, but makin a server can be prophitable. Even if you want to make one for fun it still can cost but you could get your money from donations. You need to be dedicated to it and find a good set of staff, fix bugs and spend a lot of time on helping players. Hope your servers become successful, but still I'm sure many people won't have the money to start off. Hopefully this guide will help some people though. No more tiny empty servers? :p
  24. @edit: Nevermind! Sorry for making this thread. Problem solved.
  25. Recently lots of members have been posting Runescape related threads in General - General Discussion instead of Real Runescape - General Discussion. Maybe change it so that General Discussion says. [CODE]Do you have a nice story to share with the community? Post anything general in this board. However, be aware that this is not for private server-related discussion or Runescape related.[/CODE] If there going to post in the Runelocus-General Discussion what is the point of Real Runescape - General Discussion.
×