Jump to content


  • Content count

  • Joined

  • Last visited

  1. [quote name='Stacx']What would I need the cache for...? Anyways, try these. [code]c,objectId = client.getInStream().readUnsignedWordA(); c.objectY = client.getInStream().readUnsignedWordA(); c.objectX = client.getInStream().readUnsignedWord();[/code][/QUOTE] Ahhh that does the job. You're awesome man. If you have time, could you explain to me how you've found this please? I'm eager to learn! Thanks a lot!
  2. [quote name='Stacx']If I had your client I could take a look and find them for you, upload the source files for me.[/QUOTE] [MENTION=444]Stacx[/MENTION] I'm using the Process PK client. Here are the client files: [url]https://dl.dropboxusercontent.com/u/56656213/Client.zip[/url] If you also need the cache, you can easily find it on another runescape private server forum. Thanks
  3. Looking great, I'm downloading right now
  4. Hey all I'm working on some basic construction and player owned houses. For this to work, I need to handle the Fourth Click Object packet namely packetId 228. I'm having issues reading the packet. I'm not that familiar with stream reading so any help like telling me where to look in the client or a tutorial on the matter would be fine. This is what I have atm: Added #228 to the oc and added this : [CODE] case FOURTH_CLICK: c.objectX = c.getInStream().readSignedWordBigEndian(); c.objectY = c.getInStream().readUnsignedWord(); c.objectId = c.getInStream().readUnsignedWordBigEndianA(); Misc.println("Fourth Click: objectId: "+c.objectId+" ObjectX: "+c.objectX+ " objectY: "+c.objectY+" Xoff: "+ (c.getX() - c.objectX)+" Yoff: "+ (c.getY() - c.objectY)); break;[/CODE] My output when clicking an object with coordinates X: 3, Y:51 : [CODE]objectId: 896 ObjectX: -32452 objectY: 179 Xoff: 32454 Yoff: -129 [/CODE] I searched & asked pretty much everywhere but couldn't find an answer. I think other people would like to know this aswell Thanks in advance! Brad