Jump to content

Other

All snippets without a respective section goes here

  1. Started by Adam,

    A lot of servers are starting to use OSRS spawn dumps + have their own custom NPC spawns/instances, issue is most 317 clients are still only allowing 16k or 32k npcs, this is how to increase it too 65k(what OSRS currently uses) Client side: Change npc array size npcs = new Npc[65536]; Find the following still in Client.java = new Npc(); Above it change the while() loop/break + the first bit read to match while (stream.bitsRemaining(i) >= 28) { int k = stream.readBits(16); if (k == 65535) { break; } if (npcs[k] == null) { npcs[k] = new Npc(); } Server Side Again cha…

    • 0

      Reputation Points

    • 0 replies
    • 344 views
    • 1 follower
  2. Started by Tutus Frutus,

    No media, live version @Innova (not sure if they even changed this) Maps made by its.teewhy, all paid for... I hold every single right to these. John (current owner of Innova) scammed me in our old partnership as he saw $$$.. Therefor these no longer have use. https://www.dropbox.com/s/34tg7954hg94bn0/Innova Donator Zones.rar?dl=0

    • 0

      Reputation Points

    • 25 replies
    • 3.7k views
  3. Started by trees,

    A better guide for runesuite This will add anti-aliasing feature to any 317 client, the naming may be different, thats up to you to sort. Step 1: Mouse Click Area Fix Search for 'l == 519' in client.java int y; int x; if (!this.menuOpen) { x = this.saveClickX - 4; y = this.saveClickY - 4; } else { x = j - 4; y = k - 4; } if (Configuration.anti_aliasing == true) { x <<= 1; y <<= 1; } this.worldController.method312(y, x); Step 2: Anti Aliasing Rendering 1/2 (example image 1) (example image 2) Search for 'method146'; Directly under 'int [] offsets = null'; Add the following int[] offsets = null; i…

    • 0

      Reputation Points

    • 9 replies
    • 1.7k views
  4. Started by Pax,

    This is a program that backups up the listed folders, I've made some example below in the String array, over how you'd list the folders, very simple to use, there is no task schedule (data consuming), but upon initiating it, it'll determine wherever or not the zip of the date has been created. import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public class BackupManager { /** * @author: Pax M */ /** * The directories that are being zipped */ private static Stri…

    • 0

      Reputation Points

    • 6 replies
    • 2.2k views
  5. Started by trees,

    I have not tested this yet. feel free to leave some notes if using. Step 1: WorldController (or Scene) Tiles; Add the following... private final int TILE_DRAW_DISTANCE = 300; Search for the following, where its defined. aBooleanArrayArrayArrayArray491 Adjust it to the following aBooleanArrayArrayArrayArray491 = new boolean[8][32][(TILE_DRAW_DISTANCE * 2) + 1][(TILE_DRAW_DISTANCE * 2) + 1]; Search for the following, where its defined. aflag[][][][] Adjust it to the following aflag[][][][] = new boolean[9][32][(TILE_DRAW_DISTANCE * 2) + 3][(TILE_DRAW_DISTANCE * 2) + 3]; Finally, the op stated to find all the "25" in WorldCon…

    • 0

      Reputation Points

    • 11 replies
    • 2.5k views
  6. Started by GodJesseJames,

    Hello i will be sharing how to update the client to load 211+ maps everything your going to be editing is in ObjectManager. underlays and underlays got changed from a byte to a short. you will see something like this aByteArrayArrayArray142[l][k9][i8] & 0xf for this underlays[l][x][z] & 0xff same thing for overlays the & 0xff needs to be & 0x3FFF Make sure you do both overlays and underlays you will see something like this private void method181(int i, int j, Buffer stream, int k, int l, int i1, int k1) { try { if (k >= 0 && k < 104 && i >…

    • 0

      Reputation Points

    • 1 reply
    • 601 views
  7. Started by Pax,

    May be used for reading certain forums within IPB, or other web/software. import java.net.URL; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; public class RSSFeed { /** * @author: Pax M */ /** * The URL that we want to read from */ public static String URL = "http://weather.yahooapis.com/forecastrss?w=12718298&u=c"; /** * Read the RSS * * @param read element * @param read tagName * @return element * @return tagName */ public static String read(String element, String tagName) { try { Docume…

    • 0

      Reputation Points

    • 4 replies
    • 1.6k views
  8. Started by Madara,

    Search for this: Code: if (type == 2) { mouseWheelDown = true; mouseWheelX = i; mouseWheelY = j; return; } replace the if statement with: Code: if (SwingUtilities.isMiddleMouseButton(e)) { Then search for: Code: if (mouseevent.isMetaDown()) { clickMode1 = 2; clickMode2 = 2; } Replace the first if statement with: Code: if(SwingUtilities.isRightMouseButton(e)) { Then also in the following else block: Code: } else { clickMode1 = 1; clickMode2 = 1; } replace the else line with: Code: } else if(SwingUtilities.isLeftMouseButton(e)){

    • 1

      Reputation Points

    • 4 replies
    • 1.5k views
  9. Started by trees,

    Have not tested. OP notes (Madara) 'this is just a base, modify the size of the item container and the item lists yourself' Skillguide Interace: public static void skillGuide(GameFont[] tda) { Widget mainScroll = addTabInterface(36100); Widget list = addTabInterface(36350); Widget side = addTabInterface(36150); int pos = 36151; int y = 0; side.height = 75; side.width = 260; list.height = 237; list.width = 284; list.scrollMax = 1750; addSprite(36101, 496); addSprite(36351, 497); addSprite(36352, 498); addButton(36104, 36100, 24, 24, 501, 501, 36105, "Close"); addHoveredButton_sprite_loader(36105, 502, 24, 24, 36106); addHov…

    • 0

      Reputation Points

    • 7 replies
    • 1.6k views
  10. You know those pesky little rocks and bushes that you'd like to add around for some more aesthetic appeal? But there is an issue ...you aren't quite sure as to how to obtain the idea of the object, being that you cannot right-click and examine in debug-mode. Well, here you go! Hope this helps. case "objdebug": System.out.println("Standing on " + World.getObject(player)); Region r = World.getRegion(player.getRegionY() | (player.getRegionX() << 8)); if (r == null) { player.getPackets().sendGameMessage("Region is null!"); return true; } List<WorldObject> objects = r.getObjects(); if (objects == null) { player.ge…

    • 0

      Reputation Points

    • 2 replies
    • 1.2k views
  11. This is for the Underwall Tunnel at the Grand Exchange. In your ObjectHandler, you will want to place these two methods (preferably under HandleOption5, somewhere): public static void climbTunnel(final Player player, final boolean goingIn) { if (player.getBoneDelay() > Utils.currentTimeMillis()) return; player.addBoneDelay(150); if (!goingIn) { player.addWalkSteps(3144, 3514, 0, false); player.setNextWorldTile(new WorldTile(3143, 3514, 0)); player.setNextAnimation(new Animation(2589)); } else { player.addWalkSteps(3138, 3516, 0, false); player.setNextWorldTile(new WorldTile(3139, 3516, 0)); player.setNextAnimation(new Animation(25…

    • 0

      Reputation Points

    • 5 replies
    • 1.4k views
  12. Started by Sanity,

    Hello guys, its been a while since i posted my last snippet. So i decided to make one. This one is an improved dialogue system. I was looking at the dialogue system (after not having used it for a while) and decided it needed a change. It is not smaller, more compact and easier to use. It still needs work but its like 95%.Difficultly: 2 / 10 - C+P. extending classes.First of all if you do not have the class Node. Make a class called nodes in the models package. You can just leave it blank for now or add a method to check which type of node it is.With this class that you have now made go into the following classes and extend Node.Item.javaEntity.javaIt would have looked li…

    • 0

      Reputation Points

    • 5 replies
    • 1.8k views
    • 0

      Reputation Points

    • 4 replies
    • 2.5k views
  13. Started by Mrcastiel,

    • 0

      Reputation Points

    • 10 replies
    • 2.8k views
  14. First you'll need to declare your packets+size inside WPD: private final static int ITEM_ON_FLOOR_EXAMINE = 102; Then add this under processPackets method: } else if (packetId == ITEM_ON_FLOOR_EXAMINE) { int y = stream.readUnsignedShort(); //CLIENT SENDS THEM BACKWARDS ON PURPOSE int x = stream.readUnsignedShortLE(); int id = stream.readUnsignedShort(); boolean forceRun = stream.readUnsigned128Byte() == 1; player.getPackets().sendItemMessage(0, 15263739, id, x, y, ItemExamines.getExamine(new Item(id))); // ChatboxMessage Inside WPE: public void sendItemMessage(int border, int co…

    • 0

      Reputation Points

    • 2 replies
    • 991 views