Jump to content

Im Chaz

  • Content count

  • Joined

  • Last visited

About Im Chaz

  • Rank
    Iron Member
  • Birthday 03/01/1997
  1. Could I have my name changed to just Chaz. I'm not sure if I made the account with that name a long time ago and forgot the password because I can't seem to find the account named Chaz for some odd reason. Not quite sure if this is the section for this type of threads.
  2. Nice, I guess. I won't be using it though.
  3. [quote name='Tylerr']No it doesn't. If you copied the one from feather all your doing is making the player do an emote and then turning on regular resting. But hey, I was just giving you feedback.[/QUOTE] I'd like you to take mitchell's reply with ease. This helps us and will help me perfect the resting.
  4. You should just include media in your main post. I'd rather see some images rather than read something and start clicking links. Although judging by how often the updates occur I'll say good luck.
  5. [quote name='raymon513']i cant Compiler can anyone past the thing to Compiler here[/QUOTE] It probably won't have a compiler because most people just use an IDE to code. OT: Thanks.
  6. I'm going to have to go with RS3. 718-742 are pretty main stream at the moment and only include the same thing over and over.
  7. Depending on the experience of the person. Honestly, higher revisions seem a bit harder then lower revisions seeing as how some things change over time.
  8. [quote name='Tylerr']I'm pretty sure that isn't the correct musician resting. [img]http://static4.wikia.nocookie.net/__cb20131205031308/runescape/images/1/10/Rest_button_with_musicians.png[/img] would be the correct one while resting listening to a musician. Also you need to make it go faster by 2.8 points per second. I think that's correct.[/QUOTE] Oh, thanks.
  9. [quote name='iHK47']I don't see why you couldn't give me a hand, then. It's just an examining box. A basic feature, you know? I don't want your code copy and pasted or anything. Just a nudge in the direction of getting the box to appear over an object.[/QUOTE] Well, this may help you, but you will still need to get the main method done which is the sendObjectInterface method. [code] public void sendObjectMessage(int border, int color, WorldObject object, String message) { sendGlobalString(306, message); sendGameMessage(message); sendGlobalString(306, message); sendGlobalConfig(1699, color); sendGlobalConfig(1700, border); sendGlobalConfig(1695, 1); sendObjectInterface(object, true, 746, 1, 1177); } [/code] If you still have problems just add me on skype, chaz.kohatsu i'll try to give you more information.
  10. It's most likely due to incorrect 'op codes'; at least that's what I think. A really simple fix would be just to make a check within the class that handles the spawning of your NPC's and just make it deny the spawning of NPC's with the name "null" for instance. In the NPCSpawns class search for this method: [code] public static final void loadNPCSpawns(int regionId) { File file = new File("data/npcs/packedSpawns/" + regionId + ".ns"); if (!file.exists()) return; try { RandomAccessFile in = new RandomAccessFile(file, "r"); FileChannel channel = in.getChannel(); ByteBuffer buffer = channel.map(MapMode.READ_ONLY, 0, channel.size()); while (buffer.hasRemaining()) { int npcId = buffer.getShort() & 0xffff; int plane = buffer.get() & 0xff; int x = buffer.getShort() & 0xffff; int y = buffer.getShort() & 0xffff; boolean hashExtraInformation = buffer.get() == 1; int mapAreaNameHash = -1; boolean canBeAttackFromOutOfArea = true; NPCDefinitions def = NPCDefinitions.getNPCDefinitions(npcId); if (hashExtraInformation) { mapAreaNameHash = buffer.getInt(); canBeAttackFromOutOfArea = buffer.get() == 1; } World.spawnNPC(npcId, new WorldTile(x, y, plane), mapAreaNameHash, canBeAttackFromOutOfArea); } channel.close(); in.close(); } catch (Throwable e) { Console.handle(e); } } [/code] Right above the: [code] World.spawnNPC(npcId, new WorldTile(x, y, plane), mapAreaNameHash, canBeAttackFromOutOfArea); [/code] Add this: [code] if (NPCDefinitions.getNPCDefinitions(npcId).name != "null") [/code] Should fix your problem.
  11. No we're not, there's actually quite I few I believe.
  12. It's not an interface but more of a packet. I'd give it to you but it's currently being used on a project that I'm working on.
  13. Oh, no, your revision supports this. It was a bit small, and it wasn't letting me click it; but do you mean [URL="http://www.runelocus.com/forums/showthread.php?96930-(742)-Virent-Powered-by-the-community/page3&p=767194&viewfull=1#post767194"]this[/URL]?