Thread: Hyperion Method Conversion

Results 1 to 9 of 9
  1. #1 Hyperion Method Conversion 
    Registered Member
    Join Date
    Feb 2013
    Age
    23
    Posts
    206
    Thanks given
    15
    Thanks received
    64
    Rep Power
    32
    Can someone convert this so I'm able to use it with Hyperion please?

    Code:
    	public void sendFrame70(int componentId, int x, int y) {
    			if(c.getOutStream() != null && c != null) {
    				c.getOutStream().createFrame(70);
    				c.getOutStream().writeWord(x);
    				c.getOutStream().writeWordBigEndian(y);
    				c.getOutStream().writeWordBigEndian(componentId);
    				c.flushOutStream();
    		}
    	}
    It's for moving things around on an interface, like the ranging minigame.
    Reply With Quote  
     

  2. #2  
    Member Hyperion Method Conversion Market Banned

    James™'s Avatar
    Join Date
    Nov 2007
    Age
    29
    Posts
    2,467
    Thanks given
    280
    Thanks received
    298
    Rep Power
    497
    Ill do it
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2010
    Posts
    339
    Thanks given
    84
    Thanks received
    122
    Rep Power
    182
    Code:
    public ActionSender sendInterfaceOffset(int interfaceId, int x, int y) {
    	player.write(new PacketBuilder(70).putShort(x).putLEShort(y).putLEShort(interfaceId).toPacket());
    	return this;
    }
    Reply With Quote  
     

  4. #4  
    Member Hyperion Method Conversion Market Banned

    James™'s Avatar
    Join Date
    Nov 2007
    Age
    29
    Posts
    2,467
    Thanks given
    280
    Thanks received
    298
    Rep Power
    497
    Code:
    	public ActionSender packet70(int componentId, int x, int y) {
    		PacketBuilder bldr = new PacketBuilder(70);
    		bldr.putShort(componentId);
    		bldr.putLEShort(x);
    		bldr.putLEShort(y);
    		player.write(bldr.toPacket());
    		return this;
    	}
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2012
    Posts
    406
    Thanks given
    68
    Thanks received
    43
    Rep Power
    20
    Quote Originally Posted by Wu Tang View Post
    It's 65 isn't it?
    Wat are u on about? Its 70
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2013
    Age
    23
    Posts
    206
    Thanks given
    15
    Thanks received
    64
    Rep Power
    32
    I think I have the wrong packet, which one is it to move functions on an interface? It's for 474.
    Reply With Quote  
     

  7. #7  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Quote Originally Posted by Genisis View Post
    I think I have the wrong packet, which one is it to move functions on an interface? It's for 474.
    Must be one of the red ones under "Packetnumbers Server to Client" at the bottom of the 4th post: http://www.rune-server.org/runescape...-protocol.html

    The censored word in the link says: ana lysis.
    I'm sorry I can't help you with that yet. But if you insist I'll pick up my old client and continue my investigation of the packets (I'm the original poster).
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2013
    Age
    23
    Posts
    206
    Thanks given
    15
    Thanks received
    64
    Rep Power
    32
    Quote Originally Posted by TheChosenOne View Post
    Must be one of the red ones under "Packetnumbers Server to Client" at the bottom of the 4th post: http://www.rune-server.org/runescape...-protocol.html

    The censored word in the link says: ana lysis.
    I'm sorry I can't help you with that yet. But if you insist I'll pick up my old client and continue my investigation of the packets (I'm the original poster).

    Yes please, do. I use your thread as a packet reference. I really need this function though so I can add the ranging mini game.
    Reply With Quote  
     

  9. #9  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Name: OffsetInterfaceItem
    Number: 76
    Purpose: Offsets child interfaces on the parent’s interface.
    Data Sent: parentId, childId, xOffset, yOffset
    How to send:
    Code:
     bldr.putLEShort(xOffset);
    bldr.putLEInt(parentId << 16 | childId);
    bldr.putShortA(yOffset);
    Remarks: The offset is in relation to the child’s original position on the parent.
    -------------------------------------------------------------------

    Since the "How to send" code is based on Hyperion: there you have the conversion.
    It's packet 76, don't forget to chance that as well.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Hyperion Method
    By Dr Noob PhD in forum Help
    Replies: 1
    Last Post: 06-03-2012, 10:23 AM
  2. [hyperion] PacketBuilder conversions
    By rmb7 in forum Help
    Replies: 3
    Last Post: 09-12-2010, 09:37 PM
  3. [Hyperion] Packet Conversion
    By Zonchord in forum Help
    Replies: 32
    Last Post: 07-14-2010, 08:49 PM
  4. need hyperion methods translated to shard.
    By killamess in forum Help
    Replies: 1
    Last Post: 06-14-2010, 07:31 AM
  5. [Hyperion] Method needed for grounditem
    By 2O15 in forum Requests
    Replies: 2
    Last Post: 02-25-2010, 03:58 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •