Jump to content

Search the Community

Showing results for tags 'huge'.



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

  1. Download the package here. Its a large package contained with lots of Avatars that you can use on your profile here, or any site. Enjoy.
  2. Does anyone know how to fix the item from showing up as something it isn't? case 7142: itemDef.name = "@[email protected] tentacle"; itemDef.description = "A weapon from the abyss, embedded in a slimy tentacle.".getBytes(); itemDef.modelID = 4185; itemDef.modelZoom = 913; itemDef.modelRotationY = 304; itemDef.modelRotationX = 148; itemDef.modelOffset1 = 0; itemDef.modelOffset2 = 3; itemDef.itemActions[1] = "Wield"; itemDef.anInt165 = 4186; itemDef.anInt200 = 4186; itemDef.itemActions[1] = "Wield"; itemDef.itemActions[3] = "Check"; itemDef.itemActions[4] = "Dissolve"; break; [ATTACH=CONFIG]10952[/ATTACH]
  3. There was a huge slip and slide in California, would you go down it? [IMG]http://i.imgur.com/gge7m2n.jpg[/IMG]
  4. Coordinate List Made by--- 20% me 80% The Other Guy LOCATIONS-------------------------------Xcord---Ycord A Abyss 3040 4844 Agility Arena - Karamja 2761 9557 Air Alter 2845 4832 Al kharid 3293 3174 Ape Atoll 2801 2704 Ape Atoll Dungeon 2805 9142 Ardougne 2662 3305 B Baby Blue Dragons 2898 9766 Bandit camp 3176 2987 Barbarian Agility Course 2541 3546 Barbarian Village 3082 3420 Bedabin Camp 3171 3026 Barrows chest 3551 9694 Barrows Top 3564 3288 Barrows Tunnel 3568 9695 Big Cave 2645 9900 Big Dwarfs 2776 10162 Big Dwarfs 2 2838 10126 Big Dwarfs 3 2923 10191 Big Waterfall 2534 3511 Black Demons 2860 9775 Black Dragons 2829 9826 Blue Dragons 2910 9801 Blurite 3007 9550 Boat Crash Island Place 2795 3321 Burthorpe 2926 3559 C Camelot 2757 3477 Camelot Castle 2758 3495 Camelot Flax 2744 3444 Canifis 3506 3496 Castlewars Bank 2441 3090 Castlewars Center 2400 3103 Castlewars dungeon 2399 9500 Castlewars holding blue 2380 9488 Castlewars holding red 2421 9523 Catherby 2813 3447 Catherby ship 2804 3420 center of duel arena 3360 3244 Center Of Maze 2912 4576 Chalice Of Eternity 2603 9910 Chaos Druids 2932 9848 Coal Trucks 2582 3481 Cool Place 2366 4968 Cool Wierd Cave 2576 9877 Crafting Guild 2933 3285 Crandor 2851 3238 Crystal Chest 2914 3450 D Daganoth Cave 2446 10147 Death Altar 2207 4836 Desert City 3291 2764 Desert Mining Camp 3286 3023 Desert Pyramid 3233 9315 Digsite 3354 3402 Distant Kingdom(alive) 2576 4655 Distant Kingdom(dead) 2803 4723 Draynor 3093 3244 Dramen Tree 2861 9736 Drill Deamon Camp 3157 4822 Druids Circle 2926 3482 Duel Arena 3345 3251 Dwarf meeting Area 2035 4529 Dwarfs 2035 4529 E Ectoplasm Floor 3681 9889 Edgeville 3093 3493 Ele Dungeon 2715 9889 Elf Camp 2197 3252 End Of Wild 3100 3957 Entrana 2834 3335 Essence mine 2911 4832 Exam Centre 3354 3344 F Falador 2965 3380 Falador Mining Guild 3038 9800 Fenkenstains Castle 3550 3548 Fight Arena 2585 3150 Fight Pits 2395 5154 Fishing Guild 2603 3414 Fishing Platform 2782 3273 Football Traning Area 3559 9895 G Games Room 2196 4961 Gnome Village 2521 3177 Goblin Cook Place 2981 9914 Goblin Village 2956 3506 Gold Mine Rock 2358 4959 Grand Tree 2480 3488 Grave Digger 1928 5002 Grave Island 3504 3575 Green Dragons 2979 3611 Gul'tanoth 2516 3044 H Ham Camp 3165 9629 Hangar 2390 9886 Hellhounds 2867 9844 Heroes Guild 2902 3510 Heroes Guild Dungeon 2916 9912 Hope Bridge 3021 5194 Huge Cave 3555 9947 I Ibans Trap Drop 2319 9804 Ice path 2856 3812 Ice Queen Lair 2867 9955 Initiate 2443 4956 Isafdar 2241 3238 J Juna The Snake 3251 9517 Jumping Course 3541 9891 Jumping Steps Agility 3539 9872 Jungle Demon 2657 4568 Jungle Deamon Area Bottom 2714 9183 Jungle Deamon Area Top 2703 9178 K Kalphite Lair 2716 9454 Karamja 2948 3147 karamja Agility 2761 9557 Karamja Dungeon 2843 9636 Karamja Lessers 2835 9562 KBD Cave 2717 9808 KBD Cave 2 2273 4695 Keldagrim 2937 9999 Kharazi 2822 2911 Kharazi Jungle Dungeon 2772 9341 King Lathas Training Area 2516 3369 L Legends Guild Dungeon 1 2727 9774 Legends Guild Dungeon 2 2375 4705 Lighttower 2519 4642 Lumbridge 3222 3218 M Mage Arena 3105 3930 Mage Arena Dungeon 2519 4719 Mage Arena Room 2545 4715 Mage Tower 3113 3170 Menaphos/Sophanem 3274 2784 Metal drags 2713 9564 Mining Guild 3016 3339 Miscellania 2512 3860 Mod Room 2650 9900 Monastery 3051 3490 Monkey Nuts 3022 5457 Morings Mine 2044 4649 Mort'ton 3489 3288 N Nowhere camp 3305 2789 P Party Room 2739 3472 Pest Control 2667 2594 Pest Control Bank 2658 2649 Phasmatys 3687 3502 Pollnivneach 3359 2910 Port Khazard 2665 3161 Port Phasmatys 3687 3502 Port Sarim 3023 3208 Prifddinas 2242 3278 Pyramid Plunder Room 3281 2765 Pyramid 3233 2902 R Range Guild 2658 3439 Rat Hole Wierd (show) 2966 9633 Rimmington 2957 3214 Relekka 2660 3660 Rouges Den 3044 4973 Rouges Maze 3050 5071 Ruins Of Uzer 3490 3090 S Seers 2708 3492 Seers Church 2695 3464 Seers Party Room 2736 3473 Shantays Pass 3304 3116 Shadow Warrior 2705 9758 Shilo Village 2827 2995 Skeletons 3288 3886 Slayer Tower 3429 3538 Swamp Dungeon 3168 9572 Stone Henge 2926 3482 Sub Mage 2538 4717 T Taverly Dungeon 2884 9798 Tears Of Guthix 3257 9517 The Ogre 2584 9737 Top Of Pyramid For DT 3232 2896 Tree Gnome Hanger 2390 9886 Tree Gnome Stronghold 2461 3443 Tree Gnome Village 2525 3167 Trollheim 2910 3612 Tzhaar 2480 5175 Under A Volcano 2863 9570 U Under Desert City 3298 9179 Under Draynor Manor 3177 9753 Under Edgeville 3132 9909 Under Gnomes Grand Tree 2470 9899 Underground Pass Level 1 2495 9715 Underground Pass Level 2 2337 9798 Under Passageway To Canfis 3424 9891 Under Pyramid 3233 9313 Under Water 2972 9507 Uzer 3490 3090 V Varrock 3210 3424 Varrock Cave 2385 4685 Varrock DUngeon 3232 9896 Varrock East Bank 3250 3423 Volcano 2861 3165 W Waterfall 2534 3511 Werewolf Agility 3549 9865 White Knight Tasks Area 2443 4956 White Wolf Mountain 2848 3498 White Wolf Mountain Cave 3048 9582 Wildy Pit (JAD) 3113 3685 Wilderness Agility Course 3003 3934 Y Yanille 2606 3093 Z Zipline Agility 3528 9871 [B][U][CENTER]SPECIAL[/CENTER][/U][/B] [U][CENTER]Alters[/CENTER][/U] Alter Area 2527 4547 Mind Alter 2796 4818 Earth Alter 2660 4839 Fire Alter 2584 4836 Water Alter 2713 4836 Nature Alter 2398 4841 Law Alter 2471 4838 Cosmic Alter 2162 4833 Chaos Alter 2269 4843 [U][CENTER]Random Events[/CENTER][/U] Evil Bobs Island 2525 4776 Freaky Forester 2596 4780 Frog Cave 2477 4768 Lost And Found 2338 4747 Prison Pete 2095 4428 Mime 2008 4762 [U][CENTER]Special[/CENTER][/U] Seperate Draynor 2118 4913 Christmas Workshop 2007 4431 Wierd Cave 2384 4721 Wierd Castle Scaperune 2092 4428 Wierd Desert 3044 4700 Wierd Grassland 2091 3210 Tutorial Island 3094 3107 Tutorial Combat 3110 9512 Tutorial Mining 3079 9505 Weird Island 2152 5095 RFD Dining Quaters 1860 5345 Awesome Sky 1894 5333 Odd Church 1971 5001 Gashole 2464 4782
  5. Hi. I'm new to coding. I have tried everything possible and can't figure any of it out. I know basics once a server is running fine, but can't seem to figure out why it isn't working. File don't open properly, they open in random symbols.. Compiler won't work.. I just don't know what to do. Could somebody please help me? I've done everything the tutorial says to do. Please message me if you can do this Via Teamviewer !! Greatly appreciated Stay blessed, Pur3 :) Update - I got onto the server.. None of the files will open so I can't make anybody mod,admin, change prices, change anything or code anything because they look like this (Êþº¾ 2 K … † ‡ † ˆ K ‰ K Š K ‹ K Œ K ? K Ž ÿÿ † ? ? ‘ ’ “ ’ ” ’ ? • – K )
  6. Hey guys, I am currently gather data off of the "Server-Help" and "Client-Help" boards from here, and deciding to make a huge tutorial program for all newbie/new-comers to download and learn all they need to know about 317 servers to get them started. I am not even 1% close to done, but I would like to see everyone's opinion of this program and see how people would react to this. I am also looking for suggestions to add for the tutorials menu from what I have so far. Thanks for anyone who does; here are two pictures of what basically what its going to be: Main-Menu (when the program is opened): [IMG]http://imageshack.com/a/img266/8907/enld.png[/IMG] And here are the current tutorials I will be coding in: (Please send in suggestions so I know what else would be useful) [IMG]http://imageshack.com/a/img856/4109/t1sx.png[/IMG] Like I said, I am no where near done. Not even 1% so this will not be out for a while, but I will keep you updated on what I have left and also how close I am to finished! Hope this will help out people, and please leave your feedback :)!! Update Status: [code]Finished Main Menu Finished Tutorials Page Design Finished "Downloading Java" tutorial[/code]
  7. Please note, some of these where made by me a while ago, and some conventions/code my not be as good as it is now. [SPOILER=Squeal Of Fortune tuts] [SIZE=5][B][COLOR="#FF0000"]“Handling SoF Spins Accurately”[/COLOR][/B][/SIZE] Utils.java [CODE]public static int calculatePercent(double a, double b, int trials) { double syntax = 100 * a / b; double ratio = syntax / trials; Math.floor(ratio); return (int) ratio; }[/CODE] [CODE]public static int getRandomCommon() { int ran = Utils.random(6); if(ran == 1) { return 0; } else if(ran == 2) { return 3; } else if(ran == 3) { return 5; } else if(ran == 4) { return 7; } else if(ran == 5) { return 9; } else if(ran == 6) { return 11; } else { return 1; } } public static int getRandomUncommon() { int ran = Utils.random(3); if(ran == 1) { return 0; } else if(ran == 2) { return 2; } else { return 10; } } public static int getRandomRare() { int ran = Utils.random(3); if(ran == 1) { return 4; } else if(ran == 2) { return 8; } else { return 12; } } private static int getSpinChances() { int common = Utils.random(10, 12); int uncommon = Utils.random(10, 20); int rare = Utils.random(0, 40); int superRare = Utils.random(0, 3333);// it would take 2000 spins ~ to get a super rare in RS if(common == 10 || common == 11) { return getRandomCommon(); } else if(common != 10 || common != 11 && uncommon == 11 || uncommon == 14) { return getRandomUncommon(); } else if(common != 10 || common != 11 && uncommon != 11 || uncommon != 14 && rare == 12% 100 || rare == (10)) { return getRandomRare(); } else if(common != 10 || common != 11 && uncommon != 11 || uncommon != 14 && rare != 12% 100 || rare != (10) && superRare == Utils.calculatePercent(1, .333, 2)) {//2 sof spins p/day return 6;//super rare } else { return getRandomCommon(); } } [/CODE] i did as much research as possible, so this is as accurate as I could get it [url=http://tinypic.com/player.php?v=vg4rnt&s=6]Video - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting[/url] [COLOR="#FF0000"][SIZE=5][B]Squeal of Fortune Claim Item[/B][/SIZE][/COLOR] Credits to [url]http://www.rune-server.org/runescape-development/rs-503-client-server/snippets/435687-squeal-fortune.html[/url] for configs [CODE]public static ItemsContainer<Item> items = new ItemsContainer<Item>(13, true);[/CODE] [CODE]public static int boxWon = -1;[/CODE] [CODE]public static void spin(Player player) { if(player.getSofSpins() < 1 || !player.canSpin()) { return; } int random = Utils.random(0, 13); player.getPackets().sendConfigByFile(10860, random); boxWon = random; player.getPackets().sendGlobalConfig(1781, 9); player.getPackets().sendGlobalConfig(1781, 1); }[/CODE] [CODE]public static Item getWonItem() { Item[] box = items.getItems(); return box[boxWon < 0 ? 12 : boxWon > 12 ? 12 : boxWon]; }[/CODE] [CODE]public static void claim(Player player) {// do W.E here when you claim your item player.getInventory().addItem(getWonItem()); items.clear(); boxWon = -1; player.setSofSpins(player.getSofSpins() - 1); if(player.getSofSpins() < 1) { player.setSquealSpinTime(1); } System.out.println(player.getDisplayName() + " : " + player.getSofSpins() + " : " + player.getSpinDelay()); }[/CODE] Happy leeching! [COLOR="#FF0000"][SIZE=5][B]A lot of SOF items[/B][/SIZE][/COLOR] [CODE]private static int[] SUPER_RARE_ITEM = { Utils.random(23679, 236700), Utils.random(23672, 23677), Utils.random(23713, 23817), }; private static int[] RARE_SLOT1 = { 23665, 23678, 23669 }, RARE_SLOT2 = { 23677, 23668, 23667, 23671, 23670 }, RARE_SLOT3 = { 23666, 23676, 23675, 23674, 23673, 23672 }; private static int[] UNCOMMON_SLOT1 = { 995, 23713, 23717, 23721, 23725, 5, 6, 333, 666 }, UNCOMMON_SLOT2 = {888, 222, 777, 23729, 23733, 23737, 23277, 23726 }, UNCOMMON_SLOT3 = { 999, 111, 123, 23730, 237340 }; private static int[] COMMON_SLOT1 = { Utils.random(113, 1403) }, COMMON_SLOT2 = { Utils.random(43, 48) }, COMMON_SLOT3 = { Utils.random(91, 452) }, COMMON_SLOT4 = { Utils.random(453, 751) }, COMMON_SLOT5 = { Utils.random(1413, 1664) }, COMMON_SLOT6 = { Utils.random(1761, 2364) };[/CODE] [COLOR="#FF0000"][SIZE=5][B]SOF Claim Item Message For A Rare Item[/B][/SIZE][/COLOR] I don't know if they still have this in runescape, but what dafuk evar. [CODE]/** * Returns the super rare item. * * @return */ public static Item getSuperRareItem() { return getItemInBox(7); }[/CODE] [CODE]public static Item getItemInBox(int slot) { Item[] box = items.getItems(); return ((boxWon <= 14 && boxWon >= 0) ? box[slot] : null); }[/CODE] in the Spin method [CODE]if (boxWon == 7) { World.sendWorldMessage( getWonItem().getId() == 995 ? "<col=ff0000><img=7>" + player.getDisplayName() + " has just won 200M GP from the Squeal Of Fortune!" : "<col=ff0000><img=7>" + player.getDisplayName() + " has just won a " + getSuperRareItem().getName() .toUpperCase() + "from the Squeal Of Fortune!", false);[/CODE] If you used my "Claim Item" snippet, this will work. Enjoy ;) [COLOR="#FF0000"][SIZE=5][B]SOF Spins Remaining Config[/B][/SIZE][/COLOR] [CODE]public void setSofSpins(int x) { SOFSpins = x; getPackets().sendConfigByFile(11026, x + 2); }[/CODE] Shows it on the tab interface, and the claim interface. Not the "Available spins" Box, though. I don't know why. Enjoy [COLOR="#FF0000"][SIZE=5][B]SOF Correct Message Configuration[/B][/SIZE][/COLOR] Logging in after 24 hours (when you get your spins back) [QUOTE]player.out("You have received your daily spins for the Squeal of Fortune");[/QUOTE] When you claim a prize that happens to be money [QUOTE]player.out("Your reward has been added to your money pouch.");[/QUOTE] When you claim a prize that is a lamp [QUOTE]player.out("Your prize has been placed in your inventory.");[/QUOTE] When you claim any other prize [QUOTE]player.out("Your prize has been placed in your bank.");[/QUOTE] When you close the "Yelps!" interface [QUOTE]player.out("You can access the Squeal of Fortune from the side pannel, and you can show the"); player.out("button again by logging out and back in.");[/QUOTE] When you don't have your spins yet [QUOTE]player.out("Your will receive your spins for the Squeal of Fortune in [time] hours or [time] minutes");[/QUOTE] If you use one of these, showing appreciation would be highly necessary.[/SPOILER] [SPOILER=Misc Stuff] [COLOR="#FF0000"][SIZE=5][B]Demon Teleport[/B][/SIZE][/COLOR] [CODE]package com.rs.game.player.actions; import com.rs.game.Animation; import com.rs.game.ForceMovement; import com.rs.game.Graphics; import com.rs.game.WorldTile; import com.rs.game.player.Player; import com.rs.game.player.content.Magic; import com.rs.game.tasks.WorldTask; import com.rs.game.tasks.WorldTasksManager; import com.rs.utils.Utils; public class NewTeleport extends Action { [MENTION=15855]Over[/MENTION]ride public boolean start(Player player) { return process(player); } [MENTION=15855]Over[/MENTION]ride public boolean process(Player player) { if (player.getAttackedByDelay() + 10000 > Utils.currentTimeMillis()) { player.getPackets() .sendGameMessage( "You can't home teleport until 10 seconds after the end of combat."); return false; } processWithDelay(player); return true; } private int currentTime; private WorldTile tile = HomeTeleport.tile; public NewTeleport(Player player) { start(player); } private final int HOME_ANIMATION = 16385, HOME_GRAPHIC = 3017; [MENTION=15855]Over[/MENTION]ride public int processWithDelay(final Player player) { if (player.hasSpaceForOversizedAction(true, "Your demon cannot be called in such a tight space!")) { WorldTasksManager.schedule(new WorldTask() { [MENTION=15855]Over[/MENTION]ride public void run() { if (currentTime == 0) { player.setNextAnimation(new Animation(17108)); player.setNextGraphics(new Graphics(3225)); } else if (currentTime == 18) { player.setNextWorldTile(tile.transform(0, 1, 0)); player.getControlerManager().magicTeleported( Magic.MAGIC_TELEPORT); if (player.getControlerManager().getControler() == null) Magic.teleControlersCheck(player, tile); player.setNextFaceWorldTile(new WorldTile(tile .getX(), tile.getY(), tile.getPlane())); player.setDirection(6); } else if (currentTime == 19) { player.setNextGraphics(new Graphics( HOME_GRAPHIC + 1)); player.setNextAnimation(new Animation( HOME_ANIMATION + 1)); } else if (currentTime == 23) { player.setNextWorldTile(tile); } else if (currentTime == 24) { player.setNextAnimation(new Animation(819)); player.setNextForceMovement(new ForceMovement(tile .transform(0, 1, 0), 0, tile, 1, ForceMovement.SOUTH)); } currentTime++; } }, 0, 1); } return 0; } [MENTION=15855]Over[/MENTION]ride public void stop(Player player) { player.setNextAnimation(new Animation(-1)); player.setNextGraphics(new Graphics(-1)); } } [/CODE] I know, it's sloppy. I did it in 5 seconds, deal with it. HomeTeleport.java [CODE]package com.rs.game.player.actions; import com.rs.game.Animation; import com.rs.game.ForceMovement; import com.rs.game.Graphics; import com.rs.game.WorldTile; import com.rs.game.player.Player; import com.rs.game.player.content.Magic; import com.rs.utils.Utils; public class HomeTeleport extends Action { private final int HOME_ANIMATION = 16385, HOME_GRAPHIC = 3017; public static final WorldTile LUMBRIDGE_LODE_STONE = new WorldTile(3233, 3221, 0), BURTHORPE_LODE_STONE = new WorldTile(2899, 3544, 0), LUNAR_ISLE_LODE_STONE = new WorldTile(2085, 3914, 0), BANDIT_CAMP_LODE_STONE = new WorldTile(3214, 2954, 0), TAVERLY_LODE_STONE = new WorldTile(2878, 3442, 0), ALKARID_LODE_STONE = new WorldTile(3297, 3184, 0), VARROCK_LODE_STONE = new WorldTile(3214, 3376, 0), EDGEVILLE_LODE_STONE = new WorldTile(3067, 3505, 0), FALADOR_LODE_STONE = new WorldTile(2967, 3403, 0), PORT_SARIM_LODE_STONE = new WorldTile(3011, 3215, 0), DRAYNOR_VILLAGE_LODE_STONE = new WorldTile(3105, 3298, 0), ARDOUGNE_LODE_STONE = new WorldTile(2634, 3348, 0), CATHERBAY_LODE_STONE = new WorldTile(2831, 3451, 0), YANILLE_LODE_STONE = new WorldTile(2529, 3094, 0), SEERS_VILLAGE_LODE_STONE = new WorldTile(2689, 3482, 0); private int currentTime; public static WorldTile tile; public HomeTeleport(WorldTile tile, Player player) { HomeTeleport.tile = tile; if(player.hasNewTele()) { player.getActionManager().setAction(new NewTeleport(player)); } } [MENTION=15855]Over[/MENTION]ride public boolean start(final Player player) { if (!player.getControlerManager().processMagicTelepor t(tile)) return false; return process(player); } [MENTION=15855]Over[/MENTION]ride public int processWithDelay(Player player) { if(!player.hasNewTele()) { if (currentTime++ == 0) { player.setNextAnimation(new Animation(HOME_ANIMATION)); player.setNextGraphics(new Graphics(HOME_GRAPHIC)); } else if (currentTime == 18) { player.setNextWorldTile(tile.transform(0, 1, 0)); player.getControlerManager().magicTeleported(Magic .MAGIC_TELEPORT); if (player.getControlerManager().getControler() == null) Magic.teleControlersCheck(player, tile); player.setNextFaceWorldTile(new WorldTile(tile.getX(), tile.getY(), tile.getPlane())); player.setDirection(6); } else if (currentTime == 19) { player.setNextGraphics(new Graphics(HOME_GRAPHIC + 1)); player.setNextAnimation(new Animation(HOME_ANIMATION + 1)); } else if (currentTime == 23) { player.setNextForceMovement(new ForceMovement(tile.transform(0, 1, 0), 0, tile, 1, ForceMovement.SOUTH)); player.setNextWorldTile(tile); player.setNextAnimation(new Animation(819)); } else if (currentTime == 24) return -1; } return 0; } [MENTION=15855]Over[/MENTION]ride public boolean process(Player player) { if (player.getAttackedByDelay() + 10000 > Utils.currentTimeMillis()) { player.getPackets() .sendGameMessage( "You can't home teleport until 10 seconds after the end of combat."); return false; } return true; } [MENTION=15855]Over[/MENTION]ride public void stop(Player player) { player.setNextAnimation(new Animation(-1)); player.setNextGraphics(new Graphics(-1)); } } [/CODE] player.java [CODE]public boolean hasSpaceForOversizedAction(boolean sendMessage, String messageToSend) { if (!World.canMoveNPC(getPlane(),getX(), getY(), 3)) { if (sendMessage) { out(messageToSend); } return false; } return true; }[/CODE] [CODE]private boolean hasNewTele = false; public boolean hasNewTele() { return hasNewTele; } public void setHasNewTele() { hasNewTele = true; unlockedDemon = true; } public boolean unlockedDemon = false; public boolean unlockedHorse = false; public boolean unlockedcopter = false;[/CODE] [COLOR="#FF0000"][SIZE=5][B]Custom Titles And Colors 718[/B][/SIZE][/COLOR] [CODE]/** * Custom title's */ private String i; private boolean hasCustomTitle; /** * Set's the title of a player using the parameters AcxxX * * Param AcxxX * - The String of the title */ public void setCustomTitle(String AcxxX) { this.i = getTitleColor() + "" + AcxxX + "</col>"; this.hasCustomTitle = true; } public String hex; public void setTitleColor(String color) { if (color.length() != 6) { out("<col=ff0000>The color of your title in HTML format has to be 6 characters long.", 0); return; } else if (color.contains("_")) { out("<col=ff0000>The color of your title in HTML format cannot contain spaces", 0); return; } else if (Utils.containsInvalidCharacter(color)) { out("<col=ff0000>The color of your title in HTML format MUST be in HTML format.", 0); return; } this.hex = "<col=" + color + ">"; } public String getTitleColor() { // Doesn't have a custom color return hex == null ? "<col=C12006>" : hex; } public String getCustomTitle() { return hasCustomTitle ? i : null; } public boolean hasCustomTitle() { return hasCustomTitle; } public void resetCustomTitle() { this.i = null; this.hasCustomTitle = false; }[/CODE] appearence.java [CODE]if(title != 0) { String titleName = title == 0x97e2aff && player.hasCustomTitle() ? player.getCustomTitle() + " " : ClientScriptMap.getMap(male ? 1093 : 3872).getStringValue(title); stream.writeGJString(titleName); }[/CODE] [COLOR="#FF0000"][SIZE=5][B]Toy Horsey[/B][/SIZE][/COLOR] [CODE]package com.rs.game.player.content; import com.rs.game.Animation; import com.rs.game.ForceTalk; import com.rs.game.player.Player; import com.rs.utils.Utils; /** * Slappin' dat marcupial. * [MENTION=52317]auth[/MENTION]or Taylor Moon<Axter> * */ public class ToyHorsey { public static String[] chats = {//Weird ikr? "Come on Dobbin, we can win the race!", "Hi-ho, Silver and away!", "Neaahhhyyy! " }; public static Animation anims[] = { new Animation(918), new Animation(919), new Animation(920), new Animation(921) }; /** * uses the horsey. * [MENTION=75098]Para[/MENTION]m player */ public static void useHorsey(Player player) { player.lock(); int random = Utils.random(3); int i = Utils.random(3); player.setNextForceTalk(new ForceTalk(chats[random])); player.setNextAnimation(anims[i]); player.unlock(); } } [/CODE] [COLOR="#FF0000"][SIZE=5][B]Hosting 2 world with 1 server[/B][/SIZE][/COLOR] For this you need 2 clients, 1 with the port of 43595. [CODE]private ServerChannelHandler() { channels = new DefaultChannelGroup(); bootstrap = new ServerBootstrap(new NioServerSocketChannelFactory( CoresManager.serverBossChannelExecutor, CoresManager.serverWorkerChannelExecutor, CoresManager.serverWorkersCount)); bootstrap.getPipeline().addLast("handler", this); bootstrap.setOption("reuseAddress", true); // reuses adress for bind bootstrap.setOption("child.tcpNoDelay", true); bootstrap.setOption("child.TcpAckFrequency", true); bootstrap.setOption("child.keepAlive", true); String world = JOptionPane.showInputDialog("Select a world to run"); int parsedWorld = Integer.parseInt(world); if(parsedWorld > 2 || parsedWorld < 0) { bootstrap.bind(new InetSocketAddress(43594)); JOptionPane.showMessageDialog(null, "The world you selected is invalid."); return; } if(parsedWorld == 1) { bootstrap.bind(new InetSocketAddress(43594)); System.out.println("Hosting on world 1."); return; } else if (parsedWorld == 2); bootstrap.bind(new InetSocketAddress(43595)); System.out.println("Hosting on world 2."); }[/CODE] Now you need to send some client packets in log in decoder to fix the bugs. Get crackin'. [COLOR="#FF0000"][SIZE=5][B]Player location Saving[/B][/SIZE][/COLOR] Not hard, but convenient. [CODE]/** * Location saving */ private WorldTile savedLocation;[/CODE] [CODE]/** * Saves a location. * @<a href="http://www.runelocus.com/forums/member.php?u=75098" target="_blank">Para</a>m trash - save the location, or make it null. */ public void saveLocation(boolean trash) { if (trash) savedLocation = null; else if (!trash) if (controlerManager.getControler() != null) { return; } savedLocation = new WorldTile(getX(), getY(), getPlane()); }[/CODE] [CODE]/** * Returns the players saved location. * * @return - savedLocatiom */ public WorldTile getSavedLocation() { return savedLocation; }[/CODE] [CODE]/** * Teleports a player to their saved location * * @<a href="http://www.runelocus.com/forums/member.php?u=75098" target="_blank">Para</a>m delayTime * - Time in which the player must be teleported * @<a href="http://www.runelocus.com/forums/member.php?u=75098" target="_blank">Para</a>m event * - what you want to player to preform before the delay time * runs out * @<a href="http://www.runelocus.com/forums/member.php?u=75098" target="_blank">Para</a>m timeEvent * - true if you want the event to run when the delaytime is * peaked */ public void sendToSavedLocation(final int delayTime, final Runnable event, final boolean timeEvent) { if (savedLocation == null) { return; } if (delayTime < 1) { try { lock(); setNextWorldTile(savedLocation); event.run(); unlock(); } catch (NullPointerException e) { unlock(); } } else if (delayTime > 0) { try { lock(); event.run(); WorldTasksManager.schedule(new WorldTask() { int delay; @<a href="http://www.runelocus.com/forums/member.php?u=15855" target="_blank">Over</a>ride public void run() { if (delay == delayTime) unlock(); setNextWorldTile(savedLocation); unlock(); stop(); delay++; } }, 0, 1); } catch (NullPointerException e) { unlock(); } } }[/CODE] I included a runnable event in there if you want to run something before or while the teleport takes place. enjoy. [COLOR="#FF0000"][SIZE=5][B]Fixing Trade Right Click Glitch 667[/B][/SIZE][/COLOR] [CODE]} else if (packetId == PLAYER_TRADE_OPTION_PACKET) { //if (!player.hasStarted() || !player.clientHasLoadedMapRegion() || player.isDead()) //return; int junk = stream.readShort(); int playerIndex = stream.readByte(); //if (playerIndex < 0 || playerIndex >= Settings.PLAYERS_LIMIT) { //return; //} final Player other = (Player) World.getPlayers().get(playerIndex); if (other.getTemporaryAttributtes().get("didRequestTrade") == Boolean.TRUE) { player.getPackets().sendGameMessage("Someone has already traded you! Click the purple text to accept the trade."); return; } //if (player.getStopDelay() > System.currentTimeMillis()) // return; // if (other == null || !other.hasStarted() || player.getIndex() == other.getIndex()) { // player.stopAll(false, false); // return; //} //player.stopAll(false, false); if (other.getTemporaryAttributtes().get("didRequestTrade") == Boolean.TRUE && (Integer) other.getTemporaryAttributtes().get("tradeWithIndex") == player.getIndex()) { Trade session = new Trade(player, other); player.setTradeSession(session); other.setTradeSession(session); other.setTradePartner(player); player.setTradePartner(other); session.start(); } else { player.getPackets().sendGameMessage("Sending trade request..."); other.getPackets().sendTradeRequestMessage(player) ; player.getTemporaryAttributtes().put("tradeWithIndex", other.getIndex()); player.getTemporaryAttributtes().put("didRequestTrade", Boolean.TRUE); } } else if (packetId == 46) { stream.readByte(); int index = stream.readShort(); Player other = World.getPlayers().get(index); if (other.getTemporaryAttributtes().get("didRequestTrade") == Boolean.TRUE && (Integer) other.getTemporaryAttributtes().get("tradeWithIndex") == player.getIndex()) { Trade session = new Trade(player, other); player.setTradeSession(session); other.setTradeSession(session); other.setTradePartner(player); player.setTradePartner(other); session.start(); } else { player.getPackets().sendGameMessage("Sending trade request..."); other.getPackets().sendTradeRequestMessage(player) ; player.getTemporaryAttributtes().put("tradeWithIndex", other.getIndex()); player.getTemporaryAttributtes().put("didRequestTrade", Boolean.TRUE); }[/CODE] It just doesn't let you trade a player that has ALREADY traded you, you have to click the purple text. Easy fix but it stops a lot of bugs ;) [SIZE=5][B]Developer Console Commands 718[/B][/SIZE] [CODE]/* Class419 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; public class Class419 { static char[] aCharArray5340 = { '\u20ac', '\0', '\u201a', '\u0192', '\u201e', '\u2026', '\u2020', '\u2021', '\u02c6', '\u2030', '\u0160', '\u2039', '\u0152', '\0', '\u017d', '\0', '\0', '\u2018', '\u2019', '\u201c', '\u201d', '\u2022', '\u2013', '\u2014', '\u02dc', '\u2122', '\u0161', '\u203a', '\u0153', '\0', '\u017e', '\u0178' }; static int anInt5341; Class419() throws Throwable { throw new Error(); } public static void method5602(int[] is, Object[] objects, int i, int i_0_, int i_1_) { try { if (i < i_0_) { int i_2_ = (i_0_ + i) / 2; int i_3_ = i; int i_4_ = is[i_2_]; is[i_2_] = is[i_0_]; is[i_0_] = i_4_; Object object = objects[i_2_]; objects[i_2_] = objects[i_0_]; objects[i_0_] = object; int i_5_ = 2147483647 == i_4_ ? 0 : 1; for (int i_6_ = i; i_6_ < i_0_; i_6_++) { if (is[i_6_] < (i_6_ & i_5_) + i_4_) { int i_7_ = is[i_6_]; is[i_6_] = is[i_3_]; is[i_3_] = i_7_; Object object_8_ = objects[i_6_]; objects[i_6_] = objects[i_3_]; objects[i_3_++] = object_8_; } } is[i_0_] = is[i_3_]; is[i_3_] = i_4_; objects[i_0_] = objects[i_3_]; objects[i_3_] = object; method5602(is, objects, i, i_3_ - 1, -641027314); method5602(is, objects, i_3_ + 1, i_0_, -641027314); } } catch (RuntimeException runtimeexception) { throw Class346.method4175(runtimeexception, new StringBuilder() .append("rj.x(").append(')').toString()); } } static boolean method5603(IComponentDefinition class105, int i) { try { Class298_Sub38 class298_sub38 = client.method2801(class105); if (class298_sub38.method3493((byte) 1) > 0) return true; if (class298_sub38.method3496(-1320707999)) return true; if (null != class105.aClass105_1233) return true; return false; } catch (RuntimeException runtimeexception) { throw Class346.method4175(runtimeexception, new StringBuilder() .append("rj.lo(").append(')').toString()); } } static final void method5604(Class403 class403, int i) { try { ((Class403) class403).anIntArray5244[((((Class403) class403).anInt5239 += -391880689) * 681479919 - 1)] = Class165.aClass319_6366 .method3878(1767596149) ? 1 : 0; ((Class403) class403).anIntArray5244[((((Class403) class403).anInt5239 += -391880689) * 681479919 - 1)] = Class165.aClass319_6366 .method3887(1474356836) ? 1 : 0; ((Class403) class403).anIntArray5244[((((Class403) class403).anInt5239 += -391880689) * 681479919 - 1)] = Class165.aClass319_6366 .method3880((byte) -46) ? 1 : 0; } catch (RuntimeException runtimeexception) { throw Class346.method4175(runtimeexception, new StringBuilder() .append("rj.vg(").append(')').toString()); } } public static void method5605(String string, boolean bool, boolean bool_9_, int i) { try { do { try { if (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help")) { Class255.method2435("commands - This command", 186560885); Class255.method2435("cls - Clear console", 1228482885); Class255 .method2435( "displayfps - Toggle FPS and other information", 553669962); Class255 .method2435( "renderer - Print graphics renderer information", 757390347); Class255.method2435( "heap - Print java memory information", 1394924823); Class255 .method2435( "getcamerapos - Print location and direction of camera for use in bug reports", 1131153902); } else if (string.equalsIgnoreCase("cls")) { Class8.anInt102 = 0; Class8.anInt103 = 0; } else if (string.equalsIgnoreCase("displayfps")) { client.aBoolean8667 = !client.aBoolean8667; if (client.aBoolean8667) Class255.method2435("FPS on", 899052076); else Class255.method2435("FPS off", 1184714257); } else if (string.equals("renderer")) { Class58 class58 = Class373.aClass_ra4071.method4987(); Class255 .method2435( new StringBuilder() .append("Toolkit ID: ") .append( Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub1 4_7571 .method5677(-481266690)) .toString(), 1038434697); Class255.method2435(new StringBuilder().append( "Vendor: ") .append(class58.anInt574 * 267107087) .toString(), 212944002); Class255.method2435(new StringBuilder() .append("Name: ").append(class58.aString582) .toString(), 723527437); Class255.method2435(new StringBuilder().append( "Version: ").append( class58.anInt581 * 1959468245).toString(), 1382813939); Class255.method2435(new StringBuilder().append( "Device: ").append(class58.aString577) .toString(), 536857078); Class255.method2435(new StringBuilder().append( "Driver Version: ").append( class58.aLong583 * 703334160035735425L) .toString(), 1218429557); } else if (string.equals("heap")) Class255.method2435(new StringBuilder() .append("Heap: ").append( Class291.maximumMemory * 1126040225) .append("MB").toString(), 170718628); else { if (!string.equalsIgnoreCase("getcamerapos")) break; Class341 class341 = client.aClass283_8716 .method2628(681479919); Class255 .method2435( new StringBuilder() .append("Pos: ") .append( Class287.myPlayer.plane) .append(",") .append( ((-1740717447 * Class367.anInt4000 >> 9) + class341.gameSceneBaseX * -1760580017) >> 6) .append(",") .append( ((Class146.anInt1575 * -299812095 >> 9) + 283514611 * class341.gameSceneBaseY) >> 6) .append(",") .append( (-1760580017 * class341.gameSceneBaseX + (-1740717447 * Class367.anInt4000 >> 9)) & 0x3f) .append(",") .append( (class341.gameSceneBaseY * 283514611 + (-299812095 * Class146.anInt1575 >> 9)) & 0x3f) .append(" Height: ") .append( (Class356 .method4271( Class367.anInt4000 * -1740717447, Class146.anInt1575 * -299812095, (Class287.myPlayer.plane), -1453034846)) - Class110.anInt6403 * 1449634147) .toString(), 306448697); Class255 .method2435( new StringBuilder() .append("Look: ") .append( Class287.myPlayer.plane) .append(",") .append( (-1125224763 * Class_xa.anInt6292 + class341.gameSceneBaseX * -1760580017) >> 6) .append(",") .append( (283514611 * class341.gameSceneBaseY + IPAddress.anInt5959 * -1758389953) >> 6) .append(",") .append( (class341.gameSceneBaseX * -1760580017 + -1125224763 * Class_xa.anInt6292) & 0x3f) .append(",") .append( (283514611 * class341.gameSceneBaseY + -1758389953 * IPAddress.anInt5959) & 0x3f) .append(" Height: ") .append( (Class356 .method4271( Class_xa.anInt6292 * -1125224763, -1758389953 * IPAddress.anInt5959, (Class287.myPlayer.plane), -860898067)) - 771695069 * Class18.anInt255) .toString(), 1171744016); } } catch (Exception exception) { Class255.method2435(Tradution.aClass470_5782.metho d6049( Class321.aClass429_3357, -875414210), 247216384); } return; } while (false); if (Class242.aClass401_2708 != Class401.aClass401_6557 || 1806357379 * client.playerRights >= 2) { try { if (string.equalsIgnoreCase("wm1")) { Class357.method4276(1, -1, -1, false, 1791719030); if (Class190.method1859((byte) -15) == 1) Class255.method2435("Success", 1472876448); else Class255.method2435("Failure", 1016209121); return; } if (string.equalsIgnoreCase("wm2")) { Class357.method4276(2, -1, -1, false, -674111799); if (Class190.method1859((byte) -79) == 2) Class255.method2435("Success", 1308535348); else Class255.method2435("Failure", 863221927); return; } if (Class452.aBoolean5642 && string.equalsIgnoreCase("wm3")) { Class357.method4276(3, 1024, 768, false, 1894568246); if (Class190.method1859((byte) -25) == 3) Class255.method2435("Success", 2072006321); else Class255.method2435("Failure", 1988552564); return; } if (string.equalsIgnoreCase("tk0")) { Class370.method4578(0, false, 622850291); if (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7571 .method5677(-1547826526) == 0) { Class255.method2435("Success", 267543271); Class422_Sub25.aClass298_Sub48_8425 .method3540( (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7570), 0, -458723189); Class3.method300(656179282); client.aBoolean8666 = false; } else Class255.method2435("Failure", 268000194); return; } if (string.equalsIgnoreCase("tk1")) { Class370.method4578(1, false, 622850291); if (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7571 .method5677(-957568446) == 1) { Class255.method2435("Success", 1271200712); Class422_Sub25.aClass298_Sub48_8425 .method3540( (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7570), 1, -72348841); Class3.method300(656179282); client.aBoolean8666 = false; } else Class255.method2435("Failure", 1851865795); return; } if (string.equalsIgnoreCase("tk2")) { Class370.method4578(2, false, 622850291); if (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7571 .method5677(-565622932) == 2) { Class255.method2435("Success", 1728166997); Class422_Sub25.aClass298_Sub48_8425 .method3540( (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7570), 2, 345084383); Class3.method300(656179282); client.aBoolean8666 = false; } else Class255.method2435("Failure", 807691994); return; } if (string.equalsIgnoreCase("tk3")) { Class370.method4578(3, false, 622850291); if (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7571 .method5677(-1899485997) == 3) { Class255.method2435("Success", 2073339182); Class422_Sub25.aClass298_Sub48_8425 .method3540( (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7570), 3, 1121469356); Class3.method300(656179282); client.aBoolean8666 = false; } else Class255.method2435("Failure", 1035326643); return; } if (string.equalsIgnoreCase("tk5")) { Class370.method4578(5, false, 622850291); if (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7571 .method5677(-996545824) == 5) { Class255.method2435("Success", 892097548); Class422_Sub25.aClass298_Sub48_8425 .method3540( (Class422_Sub25.aClass298_Sub48_8425.aClass422_Sub 14_7570), 5, -1087457820); Class3.method300(656179282); client.aBoolean8666 = false; } else Class255.method2435("Failure", 1743942992); return; } if (string.equalsIgnoreCase("clientdrop")) { if (0 == client.anInt8752 * -1233866115) SubIncommingPacket.method1923(554378996); else if (17 == -1233866115 * client.anInt8752) client.aClass25_8711.aBoolean347 = true; return; } if (string.equalsIgnoreCase("breakcon")) { Class25[] class25s = client.aClass25Array8679; for (int i_10_ = 0; i_10_ < class25s.length; i_10_++) { Class25 class25 = class25s[i_10_]; if (class25.method387(537308016) != null) class25.method387(537308016).method3867( (byte) 100); } Class248.aClass247_2752.method2353((short) 2067); return; } if (string.startsWith("getclientvarpbit")) { int i_11_ = Integer.parseInt(string.substring(17)); Class255.method2435(new StringBuilder().append( "varpbit=").append( Class128.aClass148_6331.method250(i_11_, (byte) 49)).toString(), 812809440); return; } if (string.startsWith("getclientvarp")) { int i_12_ = Integer.parseInt(string.substring(14)); Class255.method2435(new StringBuilder().append("varp=") .append( Class128.aClass148_6331.method252( i_12_, (byte) 25)).toString(), 1156644577); return; } if (string.startsWith("directlogin")) { String[] strings = (Class365_Sub1_Sub3_Sub1.method4508( string.substring(12), ' ', 1545850593)); if (2 == strings.length) Class63.method741(strings[0], strings[1], 2101690439); return; } if (string.startsWith("snlogin ")) { String[] strings = (Class365_Sub1_Sub3_Sub1.method4508( string.substring(8), ' ', 259158417)); int i_13_ = Integer.parseInt(strings[0]); Class124.method1385(i_13_, (byte) -22); return; } if (string.startsWith("setoutput ")) { File file = new File(string.substring(10)); if (file.exists()) { file = new File(new StringBuilder().append( string.substring(10)).append(".").append( Class122.method1319((byte) 1)).append( ".log").toString()); if (file.exists()) { Class255.method2435("file already exists!", 1609687254); return; } } if (null != Class78.aFileOutputStream731) { Class78.aFileOutputStream731.close(); Class78.aFileOutputStream731 = null; } try { Class78.aFileOutputStream731 = new FileOutputStream( file); } catch (FileNotFoundException filenotfoundexception) { Class255.method2435(new StringBuilder().append( "Could not create ").append(file.getName()) .toString(), 2057720306); } catch (SecurityException securityexception) { Class255.method2435(new StringBuilder().append( "Cannot write to ").append(file.getName()) .toString(), 651886745); } return; } if (string.equals("closeoutput")) { if (Class78.aFileOutputStream731 != null) Class78.aFileOutputStream731.close(); Class78.aFileOutputStream731 = null; return; } if (string.startsWith("runscript ")) { File file = new File(string.substring(10)); if (!file.exists()) { Class255.method2435("No such file", 1833830484); return; } byte[] is = Class362.method4311(file, -1944658057); if (null == is) { Class255.method2435("Failed to read file", 1208919662); return; } String[] strings = (Class365_Sub1_Sub3_Sub1.method4508( (Class123.method1378(Class146.method1598(is, 1704231187), '\r', "", (short) 316)), '\n', 714918179)); Class55.method606(strings, 408166320); } if (client.anInt8752 * -1233866115 == 0) { Class298_Sub36 class298_sub36 = Class18.method359( OutcommingPacket.COMMANDS_PACKET, (client.aClass25_8711.aClass449_330), (byte) 6); class298_sub36.aClass298_Sub53_Sub2_7396.writeByte ( string.length() + 3); class298_sub36.aClass298_Sub53_Sub2_7396.writeByte ( bool ? 1 : 0); class298_sub36.aClass298_Sub53_Sub2_7396.writeByte ( bool_9_ ? 1 : 0); class298_sub36.aClass298_Sub53_Sub2_7396.writeStri ng( string, 2127017558); client.aClass25_8711.method390(class298_sub36, (byte) -55); } } catch (Exception exception) { Class255.method2435(Tradution.aClass470_5782.metho d6049( Class321.aClass429_3357, -875414210), 417864665); return; } } if (client.anInt8752 * -1233866115 != 0) Class255.method2435(new StringBuilder().append( Tradution.aClass470_5805.method6049( Class321.aClass429_3357, -875414210)).append( string).toString(), 276776266); } catch (RuntimeException runtimeexception) { throw Class346.method4175(runtimeexception, new StringBuilder() .append("rj.t(").append(')').toString()); } } } [/CODE] Directlogin - username pass runscrpit - fileid etc etc [COLOR="#FF0000"][SIZE=5][B]Clan Citadel Tier Map Base Coords[/B][/SIZE][/COLOR] [CODE]public int[] ObeliskMap = {646, 505}; public int[] TreeMap = {650, 505}; public int[] TheatreMap = {616, 501}; public int[] MiningMap = {622, 505}; public int[] ResourceMap = {662, 505}; public int[] LoomMap = {666, 505};[/CODE] Since I don't know how to copy 2 maps and overlay them, i'll just give you guys them to see if you can do it. [CODE]public Tier(int teir) { switch(teir) { case 0: //Normal break; case 1: RegionBuilder.copyAllPlanesMap(ObeliskMap[0], ObeliskMap[1], Citadel.mapBaseCoords[0], Citadel.mapBaseCoords[1], 3); break;[/CODE] Just doesn't work that way though ;/ [/SPOILER] [SPOILER=Reporting] [COLOR="#FF0000"][SIZE=5][B]Report Datase[/B][/SIZE][/COLOR] Blackmark.java [CODE]package com.rs.game.Punishment; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import com.rs.Settings; import com.rs.game.player.Player; import com.rs.utils.Utils; /** * * [MENTION=52317]auth[/MENTION]or Taylor<Axter> * */ public class Blackmark { /** * Cunstructor ads a blackmark to a players 'record' * [MENTION=75098]Para[/MENTION]m player * [MENTION=75098]Para[/MENTION]m reset */ public Blackmark(final Player player, final boolean reset) { if (reset) { player.BlackMarks = 0; player.out("<col=ff0000>Your black marks have been reset.", 0); return; } player.BlackMarks +=1; if (needMute(player)) { player.setMuted(Utils.currentTimeMillis() + (player.getRights() >= 1 ? (48 * 60 * 60 * 1000) : (1 * 60 * 60 * 1000))); player.out("<col=ff0000>You have been muted due to to many reports. If you feel this is a mistake,", 0); player.out("<col=ff0000>please visit " + Settings.WEBSITE_LINK + "", 0); } else if (needIPMute(player)) { player.setMuted(Utils.currentTimeMillis() + (player.getRights() >= 1 ? (48 * 60 * 60 * 1000) : (1 * 60 * 60 * 1000))); } else if (needBan(player)) { try { new Blackmark(player, false); BufferedWriter bf = new BufferedWriter(new FileWriter( "Needed Banned/" + player.getDisplayName() + " Ban.txt", true)); bf.append("=================================================="); bf.newLine(); bf.write("Current BlackMarks: "+ player.getBlackMarks() + ""); bf.newLine(); bf.write("Offence: " + player.offence + ""); bf.newLine(); bf.write("Rank: " + player.getRank() + ""); bf.newLine(); bf.write("Type: Ban"); bf.newLine(); bf.write("Status: " + player.getReportLevel(player.getBlackMarks(), player) + ""); bf.newLine(); bf.append("=================================================="); bf.newLine(); bf.flush(); bf.close(); } catch (IOException ignored) { } } else if (needIPBan(player)) { try { new Blackmark(player, false); BufferedWriter bf = new BufferedWriter(new FileWriter( "Needed Banned/" + player.getDisplayName() + " Ban.txt", true)); bf.append("=================================================="); bf.newLine(); bf.write("Current BlackMarks: "+ player.getBlackMarks() + ""); bf.newLine(); bf.write("Offence: " + player.offence + ""); bf.newLine(); bf.write("Rank: " + player.getRank() + ""); bf.newLine(); bf.write("Type: IP Ban"); bf.newLine(); bf.write("Status: " + player.getReportLevel(player.getBlackMarks(), player) + ""); bf.newLine(); bf.append("=================================================="); bf.newLine(); bf.flush(); bf.close(); } catch (IOException ignored) { } } } /** * Determines if he or she needs to be muted * [MENTION=75098]Para[/MENTION]m player * @return */ public boolean needMute(Player player) { if(player.getOffence().equals("chat") && player.getBlackMarks() == 5) { return true; } return false; } /** * Determines if he or she needs to be muted * [MENTION=75098]Para[/MENTION]m player * @return */ public boolean needIPMute(Player player) { if(player.getOffence().equals("chat") && player.getBlackMarks() == 10) { return true; } return false; } /** * Determines if he or she needs to be banned * [MENTION=75098]Para[/MENTION]m player * @return */ public boolean needBan(Player player) { if(player.getOffence().equals("non-chat") && player.getBlackMarks() == 5) { return true; } return false; } /** * Determines if he or she needs to be banned * [MENTION=75098]Para[/MENTION]m player * @return */ public boolean needIPBan(Player player) { if(player.getOffence().equals("non-chat") && player.getBlackMarks() == 10) { return true; } return false; } } [/CODE] Report.java [CODE]package com.rs.game.Punishment; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.util.Calendar; import com.rs.game.player.Player; /** * * [MENTION=52317]auth[/MENTION]or Taylor<Axter> * */ public class Report { /** * Sends a report out to a folder named "Report Database". * The report will contain the following information: * * Current BlackMarks: (players blackmarks) * Offence: (The offence) 2 options, "chat" or "non-chat". no others will work. * Status: (players current status) Example: Green Zone * * [MENTION=75098]Para[/MENTION]m player * [MENTION=75098]Para[/MENTION]m offence */ public Report(Player player, String offence) { try { new Blackmark(player, false); player.offence = offence; BufferedWriter bf = new BufferedWriter(new FileWriter( "Report Database/" + player.getDisplayName() + " Offences.txt", true)); bf.append("=================================================="); bf.newLine(); bf.write("Current BlackMarks: "+ player.getBlackMarks() + ""); bf.newLine(); bf.write("Offence: " + offence + ""); bf.newLine(); //bf.write("Other details: " + details + ""); //bf.newLine(); bf.write("Status: " + player.getReportLevel(player.getBlackMarks(), player) + ""); bf.newLine(); bf.append("=================================================="); bf.newLine(); bf.flush(); bf.close(); } catch (IOException ignored) { } } } [/CODE] [CODE]/** * Report system * * @return */ public int getBlackMarks() { return BlackMarks; } private int BlackMarks; private String offence; public String getOffence() { if (offence == null) { return "none"; } return offence; } public String getReportLevel(int BlackMarks, Player player) { switch (BlackMarks) { case 0: return "Safe (0 black marks)"; case 1: return "Green Zone"; case 2: return "Yellow Zone"; case 3: return "ORANGE ZONE"; case 4: return "RED ZONE"; case 5: return "" + player.getOffence().equals("chat") != null ? "Muted(chance to recover)" : "Banned(chance to recover)"; case 6: return "EXTREME RED ZONE"; case 7: return "EXTREME RED ZONE (Requires $5)"; case 8: return "EXTREME RED ZONE (Requires $10)"; case 9: return "EXTREME RED ZONE (Requires $15)"; case 10: return "(Requires $25)"; case 11: return "(Requires $30)"; case 12: return "(Requires $40)"; case 13: return "permanently " + "" + player.getOffence().equals("chat") != null ? "Muted" : "Banned"; } return "permanently " + "" + player.getOffence().equals("chat") != null ? "Muted" : "Banned"; } [/CODE] if the offence = chat, its mute. if the offence = other, it's banned. If there are any problems, let me know. And by problems i mean PROBLEMS, BUGS not "How do i send a report". Enjoy [/SPOILER] [SPOILER=Creating A Dynamic Region] C[COLOR="#FF0000"][SIZE=5][B]Creating a dynamic region for Matrix Fameworks[/B][/SIZE][/COLOR] step one, make sure you have this in you class [CODE]public void StartGame() { p.setInfiniteStopDelay(); CoresManager.slowExecutor.execute(new Runnable() { [MENTION=15855]Over[/MENTION]ride public void run() { try { boolean needDestroy = mapBaseCoords != null; final int[] oldMapBaseCoords = mapBaseCoords; mapBaseCoords = RegionBuilder.findEmptyMap(8, 8); [COLOR="#FF0000"]RegionBuilder.copyAllPlanesMap(0, 0, mapBaseCoords[0], mapBaseCoords[1], 8);[/COLOR] [COLOR="#FF0000"]PlacePlayerInGame();[/COLOR] if (needDestroy) { WorldTasksManager.schedule(new WorldTask() { [MENTION=15855]Over[/MENTION]ride public void run() { CoresManager.slowExecutor .execute(new Runnable() { [MENTION=15855]Over[/MENTION]ride public void run() { try { RegionBuilder .destroyMap( oldMapBaseCoords[0], oldMapBaseCoords[1], 8, 8); } catch (Exception e) { e.printStackTrace(); } catch (Error e) { e.printStackTrace(); } } }); } }); } } catch (Exception e) { e.printStackTrace(); } catch (Error e) { e.printStackTrace(); } } }); }[/CODE] [COLOR="#FF0000"]RegionBuilder.copyAllPlanesMap(0, 0, mapBaseCoords[0], mapBaseCoords[1], 8);[/COLOR] this will copy the selected region you want to be moved to an empty map, the (0, 0, will be the id's, regionID x and RegionID Y. [COLOR="#FF0000"]PlacePlayerInGame();[/COLOR], this is how your going to get your subject in the region that was created on the map. [CODE]private void PlacePlayerInGame() { p.resetStopDelay(); p.setNextWorldTile(new WorldTile(getBaseX() + 3, getBaseY() + 3, 0)); }[/CODE] You can start a controller if you have one, you can also play music.. etc Now lets find a region to move. [IMG]http://i49.tinypic.com/33nw7eh.png[/IMG] Im going to use Fight caves as an example, iv'e labled the x, and y in green. the top left corner is x, and the bottom right corner is y. [CODE][COLOR="#FF0000"]RegionBuilder.copyAllPlanesMap(0, 0, mapBaseCoords[0], mapBaseCoords[1], 8);[/COLOR][/CODE] we are going to insert the ids in there. the ids happen to be [COLOR="#FF0000"]296, 632[/COLOR] so we're going to put that in there. [CODE][COLOR="#FF0000"]RegionBuilder.copyAllPlanesMap(296, 632, mapBaseCoords[0], mapBaseCoords[1], 8);[/COLOR][/CODE] Now lets add a method for leaving the area. [CODE]public void DestroyRegion(final boolean logout, int mode) { WorldTile tile = new WorldTile(0, 0, 0); if (logout) p.setLocation(tile); else { p.getControlerManager().removeControlerWithoutChec k(); p.setInfiniteStopDelay(); p.setNextWorldTile(tile); NpcsToKill = 0; NpcsKilled = 0; CurrentWave = 0; } WorldTasksManager.schedule(new WorldTask() { [MENTION=15855]Over[/MENTION]ride public void run() { CoresManager.slowExecutor.execute(new Runnable() { [MENTION=15855]Over[/MENTION]ride public void run() { try { RegionBuilder.destroyMap(mapBaseCoords[0], mapBaseCoords[1], 8, 8); if (!logout) { mapBaseCoords = null; p.resetStopDelay(); } } catch (Exception e) { e.printStackTrace(); } catch (Error e) { e.printStackTrace(); } } }); } }, 1); } }[/CODE] [CODE][COLOR="#FF0000"]WorldTile tile = new WorldTile(0, 0, 0); if (logout) p.setLocation(tile);[/COLOR][/CODE] this means if you log out it will put you in the x and y locations you chose. Now you also need to put this in the class somewhere :3 [CODE]} public int getBaseX() { return mapBaseCoords[0] << 3; } public int getBaseY() { return mapBaseCoords[1] << 3; }[/CODE] [COLOR="#FF0000"]I had some trouble figuring this out so i decided to explian it a little bit. Thanks bye :)[/COLOR] [/SPOILER] Have fun :)
  8. Hey guys i need help really badly. I'm new to coding private server and always wanted to make one. 1st problem: I got this source and it has a bug where whenever you create a new account your account will have all your stats 99 even though you still level 3.i cant find a way to fix this if someone can help me that would be appreciated. There not actually 99 it justy says there 99 [ATTACH=CONFIG]8828[/ATTACH][ATTACH=CONFIG]8829[/ATTACH] 2nd problem: How do i change my log off text? where is says when you have finished playing.......[ATTACH=CONFIG]8830[/ATTACH] Link to my client: [url]https://dl.dropboxusercontent.com/u/69012047/Client.rar[/url] I hope someone can help me with these 2 problems.
  9. I have just noticed that Runescape will be redoing the way their combat works, they will also have an action bar. (WoW wannabe's, still?) Here's the video, explaining their update, skip to 1:40 . [video=youtube;_XYqFEPpzW0]http://www.youtube.com/watch?v=_XYqFEPpzW0[/video]
  10. Krazybotz

    Huge Error

    If anybody can help me with this one of skype/teamviewer/msn that'd be great. Okay, so I was trying to edit my "News" where it pops up every 5 minutes or so. All Changed was the spell of something. And I compile and end up getting 100 errors. So then I deleted the "News" section, and ended up getting 10 errors. I read the error again and it said something about a missing ; so I put it where it said and then ended up with 100 errors, I said F this I'm going to ask for help. I've looked through ALL the errors. Trying to fix the problem, and nothing seems to work, and I REALLY don't want to fuck up my server anymore. Skype: Krazy.botz MSN: [email][email protected][/email] [IMG]http://i48.tinypic.com/wv8mdl.png[/IMG]
  11. well I havent had this problem but when I got on this morning it worked but then dced a few times. it let me log back in, but the last time I tried to log in it just freezes, this is what it looks like... can anyone plzz help me? [IMG]http://i42.tinypic.com/ei9s8m.png[/IMG]
  12. Okay, I jar my client, and it works for me, and a few others, I made a webclient, same result, now it wont work for them and somewhat for others. I need someone to take my client, Jar it, create a webclient page, and return it to me. I am not incapable of doing this, but I seem to not have the appropriate JDK to jar the client to where everyone is able to use it, if you help me and it works 100% I am willing to pay $15.. This client issue has been like this for three days now, and upon my server's opening to public around friday night, I want the client to work. Remember, it's $15 if everyone gets the same result that it works 100% on both the Jarred Desktop Client, and the Webclient. Thanks! Message me on Skype only please.
  13. Sure, I know I am late. It's a week since but who cares. Found this quite something, ahha. Anyway you can skip to 2:50 or so if you wanna see just the Surprise Proposals. When seeing it I waited for someone to say no. xD [CENTER][video=youtube;wFZ8MDPVwcI]http://www.youtube.com/watch?v=wFZ8MDPVwcI[/video][/CENTER]
  14. Ok. I'm useing Eudora-World client, and Here is the run code I'm useing. @echo off Title Client cd ./Class/ "C:\Program Files\Java\jdk1.7.0_03\bin\javac.exe" pause AND! here is the error that comes up: Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A ; separated list of directories, JAR archives, and ZIP archives to search for class files. -D<name>=<value> set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:<value> require the specified version to run -showversion print product version and continue -jre-restrict-search | -no-jre-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] enable assertions with specified granularity -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] disable assertions with specified granularity -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:<libname>[=<options>] load native agent library <libname>, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:<pathname>[=<options>] load native agent library by full pathname -javaagent:<jarpath>[=<options>] load Java programming language agent, see java.lang.instrument -splash:<imagepath> show splash screen with specified image See [url]http://www.oracle.com/technetwork/java/javase/documentation/index.html[/url] for m ore details. Press any key to continue . . .
  15. Hello i was wondering somone if they are good at making webclients i have a 5 somthing server and i need a webclient could anyone help me .plz and i need know what is a good free website.i can make one out of Skype: shaunrocks86 Hotmail:[email protected]
×