Jump to content

Search the Community

Showing results for tags 'stand'.



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

  1. Information Hello everyone, I'm here to share a Armour Repair Stand with you, you can easily add more amour to be repaired. The reason: I decided share this because most of the Server does not have a Armour Repair Stand, so you can not get your broken item repaired. Guide First, open your source and then find a folder called: 'Dialogues'. Create a new Java file called 'Repair'. [CODE] package com.rs.game.player.dialogues; import com.rs.game.player.content.RepairItems; public class Repair extends Dialogue { private int itemId; [MENTION=15855]Over[/MENTION]ride public void start() { itemId = (Integer) parameters[1]; sendOptionsDialogue("What would you like to do?", "Repair my item!", "How much would it cost?","Nevermind.."); } [MENTION=15855]Over[/MENTION]ride public void run(int interfaceId, int componentId) { int amount = player.getInventory().getItems().getNumberOf(itemId); if (stage == -1) { if (componentId == OPTION_1) { if (amount == 1) { RepairItems.Repair(player,itemId,1); return; } sendOptionsDialogue("What would you like to do?", "Repair one item.","Repair X of your items", "Repair all items."); stage = 2; } else if (componentId == OPTION_2) { RepairItems.CheckPrice(player,itemId,amount); } else { end(); } } else if (stage == 2) { if (componentId == OPTION_1) { RepairItems.Repair(player,itemId,1); } else if (componentId == OPTION_2) { player.getTemporaryAttributtes().put("Repair", Integer.valueOf(0)); player.getTemporaryAttributtes().put("Ritem", itemId); player.getPackets().sendRunScript(108, new Object[] { "You have "+amount+" items that need to be repaired, How many would you like to repair?" }); end(); } else { RepairItems.Repair(player,itemId,amount); } } } [MENTION=15855]Over[/MENTION]ride public void finish() { } } [/CODE] After you have added the go to DiallogueHandler.Java and add this: [CODE] handledDialogues.put("Repair", (Class<Dialogue>) Class.forName(Repair.class.getCanonicalName())); [/CODE] Ok after you have done it, you should find a folder named: 'Content. Then you need to add a java file called 'RepairItems'. And then add: [CODE] package com.rs.game.player.content; import java.util.HashMap; import java.util.Map; import java.text.DecimalFormat; import com.rs.game.item.Item; import com.rs.game.player.Player; public class RepairItems { public enum BrokenItems { GUTHANS_HELM(4908, 4724, 100000), GUTHANS_PLATEBODY(4920, 4738, 100000), GUTHANS_PLATESKIRT(4926, 4730, 100000), GUTHANS_WARSPEAR(4914, 4726, 100000), AHRIMS_HOOD(4860, 4708, 100000), AHRIMS_STAFF(4866, 4710, 100000), AHRIMS_ROBE_TOP(4872, 4712, 100000), AHRIMS_ROBE_SKIRT(4878, 4714, 100000), DHAROKS_HELM(4884, 4716, 100000), DHAROKS_GREATAXE(4890, 4718, 100000), DHAROKS_PLATEBODY(4896, 4720, 100000), DHAROKS_PLATELEGS(4902, 4722, 100000), KARILS_COIF(4932, 4732, 100000), KARILS_CROSSBOW(4938, 4734, 100000), KARILS_TOP(4944, 4736, 100000), KARILS_SKIRT(4950, 4738, 100000), TORAGS_HELM(4956, 4745, 100000), TORAGS_HAMMER(4962, 4747, 100000), TORAGS_PLATEBODY(4968, 4749, 100000), TORAGS_PLATELEGS(4974, 4751, 100000), VERACS_HELM(4980, 4753, 100000), VERACS_FLAIL(4968, 4755, 100000), VERACS_BRASSARD(4992, 4757, 100000), VERACS_PLATESKIRT(4998, 4759, 100000), TORVA_HELM(20138, 20135, 2000000), TORVA_PLATE(20142, 20139, 2000000), TORVA_LEGS(20146, 20143, 2000000), TORVA_GLOVES(24979, 24977, 2000000), TORVA_BOOTS(24985, 24983, 2000000), PERNIX_COWL(20150, 20147, 1500000), PERNIX_BODY(20154, 20151, 1500000), PERNIX_CHAPS(20158, 20155, 1500000), PERNIX_GLOVES(24976, 24974, 1500000), PERNIX_BOOTS(24991, 24989, 1500000), ZARYTE_BOW(20174, 20171, 2000000), VIRTUS_MASK(20162, 20159, 1000000), VIRTUS_TOP(20166, 20163, 1000000), VIRTUS_LEGS(20170, 20167, 1000000), VIRTUS_GLOVES(24982, 24980, 1000000), VIRTUS_BOOTS(24988, 24986, 1000000); private int id; private int id2; private int Price; private static Map<Integer, BrokenItems> BROKENITEMS = new HashMap<Integer, BrokenItems>(); static { for (BrokenItems brokenitems : BrokenItems.values()) { BROKENITEMS.put(brokenitems.getId(), brokenitems); } } public static BrokenItems forId(int id) { return BROKENITEMS.get(id); } private BrokenItems(int id, int id2, int Price) { this.id = id; this.id2 = id2; this.Price = Price; } public int getId() { return id; } public int getId2() { return id2; } public int getPrice() { return Price; } } public static void Repair(Player player,int itemId,int amount) { final BrokenItems brokenitems = BrokenItems.forId(itemId); Item item = new Item(brokenitems.getId(), 1); int price = brokenitems.getPrice(); if (amount == 1) { if (player.getInventory().containsItem(995, price)) { player.getInventory().deleteItem(itemId, 1); player.getInventory().deleteItem(995, price); player.getInventory().addItem(brokenitems.getId2(), 1); player.getDialogueManager().startDialogue("SimpleMessage","You have repaired your item("+item.getName()+") for "+getFormattedNumber(price)+" coins."); return; } else { player.getDialogueManager().startDialogue("SimpleMessage","You dont have enough money to repair this item."+"You need "+getFormattedNumber(price)+" coins."); return; } } else { if (player.getInventory().containsItem(995, price * amount)) { player.getInventory().deleteItem(itemId, amount); player.getInventory().deleteItem(995, price * amount); player.getInventory().addItem(brokenitems.getId2(), amount); player.getDialogueManager().startDialogue("SimpleMessage","You have repaired your items("+amount+" X "+item.getName()+") for "+getFormattedNumber(price * amount)+" coins."); return; } else { player.getDialogueManager().startDialogue("SimpleMessage","You dont have enough money to repair these items."+"You need "+getFormattedNumber(price * amount)+" coins."); return; } } } public static void CheckPrice(Player player,int itemId, int amount) { final BrokenItems brokenitems = BrokenItems.forId(itemId); int price = brokenitems.getPrice(); player.getDialogueManager().startDialogue("SimpleNPCMessage",945, "These items will cost you " +getFormattedNumber(price * amount)+" coins."); return; } private static String getFormattedNumber(int amount) { return new DecimalFormat("#,###,##0").format(amount).toString(); } } [/CODE] Ok so to get the Armour Repair Stand to work you need to add this method in the folder named: 'ObjectHandler'. Search for: [CODE]'handleItemOnObject'. [/CODE] Add this below. [CODE] } else if (object.getId() == 13715) { if (BrokenItems.forId(itemId) == null) { player.getDialogueManager().startDialogue("SimpleMessage","You can't repair this item."); return; } player.getDialogueManager().startDialogue("Repair", 945, itemId); return; [/CODE] Picture By using your broken item on the 'Armour Repair', will you get your armour repaired. [IMG]http://i59.tinypic.com/2r70a6d.png[/IMG] [I]Enjoy it.[/I]
  2. It seems that there is a steady incline of trolls that appear all over the internet these days(which is no surprise, as more and more people become connected with social hubs on the internet), which is a problem a lot of people face when accessing these hubs. So the question I'd like to put out to all of you is: What is your stand on trolls? What do you do if you encounter one? Do you regularly indulge in such a manner,and, for what self reward do YOU gain from it? For me, I just try to ignore the bait put in front of me, as it's not worth the time or effort to even bother with. But I'm quite curious to see others opinions on the matter. I find trolls in general being inefficient with their time, and thus it does irritate me when i find one due to that fact.
  3. I have been trying to make NPCs stand still, but I can't really figure it out. Any clue?
  4. How do I fix this? When I log on my server and attack stuff, my character stand still but damage is still being dealt. I would like to make it so they hit properly lol.. Thanks in advance Edit: Also when i kill a goblin beneath a tree, the items apear on top of the tree! lol
  5. [center][img]http://img15.hostingpics.net/pics/410458logo.png[/img] [FONT=Book Antiqua][SIZE=3]Forums : [url=www.tls668.createaforum.com]Click here.[/url] JAR Download : [url=http://tls668.createaforum.com/client-download/]Click here.[/url] Hey everybody ! Let me introduce myself : I am Smiley. I am the owner of The Last Stand 562 loading 668. The Last Stand is a BRAND NEW server, released really recently. It had few players, and the server is amazing. Let me show you why : [B]- New Home. - New VPS. - New Teleports. - New Achievements. - Ideal training rate. - MoneyMaking methods currently developped. - Godwars Points System (shop being coded). - Loyalty Points System (shop being coded). - Donator and Extreme Donator zones. - Custom Player Titles, basing on achievements or donation. - Active developping. - 24/7 Uptime. - Much more ! Come and see by yourself.[/B] Here are some pictures I took today : [/FONT][/SIZE] [img]http://www.runelocus.com/images/server_uploads/26590_28515.png[/img] [img]http://www.runelocus.com/images/server_uploads/26590_28519.png[/img] [img]http://www.runelocus.com/images/server_uploads/26590_28517.png[/img] [img]http://www.runelocus.com/images/server_uploads/26590_28518.png[/img] [img]http://www.runelocus.com/images/server_uploads/26590_28516.png[/img] What are you waiting for ? Join today ! :) ~Smiley.[/center]
  6. IDK If anyone has them or knows how to get but here they are: Standing - 18019 Walking - 18020 Running - 18021 Hope this helps those who need it still.
  7. [CENTER][IMG]http://www.rune-server.org/nophp/signaturepics/sigpic152816_2.gif[/img][/CENTER] [B][I][SIZE="2"][CENTER][COLOR="Orange"]Welcome To Project Inception V2. This time were coming back with content that'll hopefully please our players with a blast of fun and challenge, this time we are following what we know best with a sonic boom of features that will make the Project Inception realm even better. The enhancements that will be done with this server will transform the server into something different. What happend with V1? V1 was a buggy era of Project Inception however V2 will have ALL the contents from V1 but improved and or fixed.[/COLOR][/CENTER][/SIZE][/I][/B] [CENTER][IMG]http://i46.tinypic.com/nx80go.png[/IMG] [COLOR="Orange"][SIZE="3"][B][I]Boss Contents[/I][/B][/SIZE][/COLOR][/CENTER] [Spoiler=Boss Content] [COLOR="Red"][B][I]Boss Raiding (Boss Raiding will be done by enhancing boss difficulty which will force players to have a team to go against the strongest bosses in Project Inception) Boss Regenerating HP (This causes bosses to come back at a stronger rate and makes the player hurry to get the kill before any boss restores it's HP) Enhanced Boss Point System (Along with the reward of a drop, players will receive a better system of Boss points which will be used to redeem items in the boss shop.) Boss Shop (A Shop where players redeem there Boss points)[/I][/B][/COLOR] [/Spoiler] [CENTER][IMG]http://i50.tinypic.com/19ntee.png[/IMG] [COLOR="Orange"][SIZE="3"][B][I]Custom Dungeoneering[/I][/B][/SIZE][/COLOR][/CENTER] [Spoiler=Custom Dungeoneering] Credits To Faris For Base Extra Info: May Dump Real Maps & Use Real Dungeoneering NPC's Soon As Of Now I'll Be Using InsidiaX's. [COLOR="Red"][B][I]Add Dungeoneering Base (Used By InsidiaX) Add Dungeoneering Shop (Used To Redeem Dungeoneering Tokens) Fix Teleports Once Finished With Floor Add Dialogue & Hints (To Help Player Find His/Her Way) Add New Bosses & Upgrade Difficulty After Each Floor (To Make Chaotics Worthy)[/I][/B][/COLOR][/SPOILER] [CENTER][IMG]http://img38.imageshack.us/img38/7214/skullx.png[/IMG][/CENTER] [COLOR="Orange"][SIZE="3"][B][I][CENTER]PVP[/CENTER][/I][/B][/SIZE][/COLOR] [SPOILER=PVP] [COLOR="Red"][B][I]Enhanced KillStreak System (With the improvement of the KillStreak system players will now dominate one-another to hopefully have enough Kill streak points to redeem an Artifact) Artifacts (Artifacts are redeemed via Kill Streak points, once cracked open Players get a random chance of getting any PVP weapon from Bronze To Dragon and Vesta To Zuriel) PVP Chest (PVP Chest Is Given Accessibility To Those Who Have Met The Requirements Of Atleast 50 Kills This Is Where Heavy Arensal Weapons Are Handeled, Once Opened Resets All Kills So It's A Risk Of Matter Whether You Hope To See What You Like In That PVP Chest) Bobs Island Survival (Bob's Island PVP Is A New FunPK Zone That Allows Players To Fight To The Death, However You Are Not Aloud To Take Any Gear Including: Armour, Weapons, Food etc. Bobs Island Survival Is A Game Of Death. Players Receive A Bronze Scimitar And A Limited Amount Of Food, Once Player 1 Kills Player 2 They Receive An Extra 2 Manta's And An Iron Scimitar, After Each Kill You Receive New Weapons Up To Dragon Which Will Help You Kill Many Players However Once At Rank Dragon You Don't Receive Anymore Food. And You'll Have To Fight To The Death, Once Dead You Lose Your Dragon And Restart At Bronze, However If You Kill A Player After Dragon You Get Teleported Home With A Certain Amount Of GP.[/I][/B][/COLOR][/spoiler] [CENTER][IMG]http://i49.tinypic.com/j90uwo.png[/IMG][/CENTER] [COLOR="Orange"][SIZE="3"][B][I][CENTER]Maps[/CENTER][/I][/B][/SIZE][/COLOR] [Spoiler=Maps] [COLOR="Red"][B][I] Fix Kalphite Queen Map (A Huge Black Space Atm) Fix Barrows Map (A Huge Black Space Atm) [/Spoiler][/I][/B][/COLOR] [CENTER][IMG]http://i45.tinypic.com/21cruhe.png[/IMG][/CENTER] [COLOR="Orange"][SIZE="3"][B][I][CENTER]Skilling[/CENTER][/I][/B][/SIZE][/COLOR] [Spoiler=Skilling] [COLOR="Red"][B][I] Add Better Mining Features (Better Timers, Uncommon Pickaxes (Sacred Clay Pickaxe, Inferno Adze, Dragon Pickaxe), Empty Rocks, Prospecting) Add Better Hunter Features (New NPC's To Catch, All Impling Loots With Real Runescape Rates And Loot, Better Chances Of Failing Or Success Depending On Hunter LVL) Skilling Point System (Whenever Reached A 99, You receive A Skilling Point. Skilling Points Are Special Points To Redeem Premium Gear At The Skill Point Shop.) Advanced 99 Rewards (Once Reached 99 You Receive A Reward That Pertains To That Certain Skill.) [/Spoiler][/I][/B][/COLOR] [CENTER][IMG]http://i49.tinypic.com/bhccjm.png[/IMG][/CENTER] [COLOR="Orange"][SIZE="3"][B][I][CENTER]Quests[/CENTER][/I][/B][/SIZE][/COLOR] [Spoiler=Quests] [COLOR="Red"][B][I] Katana Quest (Many years ago... A legendary hero equipped a infamous Katana it's power was far powerful that anyone has ever seen in the Project Inception realm, However as the hero retired he made sure that the Katana would never be found... Shattered in many pieces around the world. You as a player must fight bosses, monsters and find digsites where certain pieces of Katana are placed. Once acquired report back to the hero for a reward to keep the Katana and fight a long a hero's legacy.) Uninvited Quest (In The Project Inception World Evil wizards that stole The Stone of Power from the wizards tower, In this quest you will have to solve riddles and fight monsters in order to retrieve The Stone of Power.) The Occult Quest (Hidden under the masses of books, are the secrets undiscovered from many, many years, the Occult. The Occult were a secret group of people looking to control Project Inception with sorcery and powerful beasts. It is said that a few still live today, waiting for when the peoples of ProjectInception are most vulnerable. It is then, they will strike. There has already been talk that they have already summoned and conjured several beasts that are awaiting that day to strike. Your job: Find out the secrets. During the quest, you will be traveling across ProjectInception finding out information from people, finding what you can find these secrets, and even facing a powerful beast that guards these secrets. The Occult are still out there. I can still feel their presence and I can feel the evil that is spewing the beasts they are keeping hidden until that time comes. You, you are the one who has been chosen to find out what they are planning, when they are planning the attack, and to stop them before its too late. Information: This will be a part of a series of quests about the Occult. This quest mainly deals with finding out the secrets. There are two other parts where you are gathering an army and getting ready to prepare, and then the final battle. All 3 parts will be of Medium - Extreme difficulty. They will be abnormally long. They will also not all release at the same time due to the development time of them. The rewards will be good increasing with each part. The storyline is eleborate in which each part will release new secrets of the Occult, what they actually plan to do, and when you battle them for a last time [/Spoiler][/I][/B][/COLOR] [CENTER]Credits: Raw Envy For Starting Source All Content Of V1 Can Be Found Here: [URL="http://www.runelocus.com/forums/showthread.php?66755-Project-Inception-Lost-In-Equality-(Revival)"]Project Inception V1[/URL][/CENTER]
  8. I have tryed everything I can think of, I'm using a 712 source and I'm using npcspawning.java and I've tryed putting the codes to true, true. False,false False, true and true, false. Nothing wants to work. All my npcs just keep moving, I can't make a shop zone with moving npcs. Heres my npc spawning file Please help :( [CODE]package com.rs.utils; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.HashMap; import java.util.Map; import com.rs.game.World; import com.rs.game.WorldObject; import com.rs.game.WorldTile; import com.rs.game.npc.NPC; public class NPCSpawning { /** * Contains the custom npc spawning */ public static void spawnNPCS() { /** * NPCS */; //World.spawnNPC(3373, new WorldTile(3087, 3507, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4175, 5709, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4187, 5709, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4186, 5721, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4170, 5724, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4213, 5712, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4205, 5719, 0), -1, false, true); World.spawnNPC(14301, new WorldTile(4180, 5713, 0), -1, false, true); World.spawnNPC(530, new WorldTile(2718, 4898, 0), -1, false, true); World.spawnNPC(11674, new WorldTile(4090, 4909, 0), -1, false, true); World.spawnNPC(6070, new WorldTile(4095, 4909, 0), -1, false, true); World.spawnNPC(554, new WorldTile(4100, 4909, 0), -1, false, true); World.spawnNPC(552, new WorldTile(4100, 4914, 0), -1, false, true); World.spawnNPC(551, new WorldTile(4095, 4914, 0), -1, false, true); World.spawnNPC(534, new WorldTile(4090, 4914, 0), -1, false, true); World.spawnNPC(524, new WorldTile(4089, 4917, 0), -1, false, true); World.spawnNPC(1699, new WorldTile(4095, 4917, 0), -1, false, true); World.spawnNPC(11678, new WorldTile(4100, 4917, 0), -1, false, true); /** * Object custom add */ World.spawnObject(new WorldObject(2465, 10, 0, 3090, 3499, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4094, 4902, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4095, 4902, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4096, 4902, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4091, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4092, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4093, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4099, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4098, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4097, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4096, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4095, 4893, 0), true); World.spawnObject(new WorldObject(52397, 10, 0, 4094, 4893, 0), true); World.spawnObject(new WorldObject(2478, 10, 0, 4111, 4903, 0), true); World.spawnObject(new WorldObject(47120, 10, 0, 4091, 4894, 0), true); } /** * The NPC classes. */ private static final Map<Integer, Class<?>> CUSTOM_NPCS = new HashMap<Integer, Class<?>>(); public static void npcSpawn() { int size = 0; boolean ignore = false; try { for (String string : FileUtilities .readFile("data/npcspawns.txt")) { if (string.startsWith("//") || string.equals("")) { continue; } if (string.contains("/*")) { ignore = true; continue; } if (ignore) { if (string.contains("*/")) { ignore = false; } continue; } String[] spawn = string.split(" "); @SuppressWarnings("unused") int id = Integer.parseInt(spawn[0]), x = Integer .parseInt(spawn[1]), y = Integer.parseInt(spawn[2]), z = Integer .parseInt(spawn[3]), faceDir = Integer .parseInt(spawn[4]); NPC npc = null; Class<?> npcHandler = CUSTOM_NPCS.get(id); if (npcHandler == null) { npc = new NPC(id, new WorldTile(x, y, z), -1, true, false); } else { npc = (NPC) npcHandler.getConstructor(int.class) .newInstance(id); } if (npc != null) { WorldTile spawnLoc = new WorldTile(x, y, z); npc.setLocation(spawnLoc); World.spawnNPC(npc.getId(), spawnLoc, -1, true, false); size++; } } } catch (NumberFormatException e1) { e1.printStackTrace(); } catch (IllegalArgumentException e1) { e1.printStackTrace(); } catch (SecurityException e1) { e1.printStackTrace(); } catch (IOException e1) { e1.printStackTrace(); } catch (InstantiationException e1) { e1.printStackTrace(); } catch (IllegalAccessException e1) { e1.printStackTrace(); } catch (InvocationTargetException e1) { e1.printStackTrace(); } catch (NoSuchMethodException e1) { e1.printStackTrace(); } System.err.println("Loaded " + size + " custom npc spawns!"); } }[/CODE]
  9. How could i make it so it will run with an emote choosen walk and stand with the emote i want
  10. Need npc's walk + stand anims if anybody can dump it it would be great!
  11. The titles says it all Please!
×