Jump to content
Sign in to follow this  
Visible

Ieldor Framework Packets (530 not 317)

Should I post more?  

1 member has voted

  1. 1. Should I post more?



Recommended Posts

Please NOTE that the revision prefix is totally wrong. There wasn't an 530 prefix, so I selected 317. Please refer to the frameworks below to 530+, thanks.

I've created this and wanted to share it with everyone at RuneLocus.
[SIZE=5]All you need to do is use the following code:[/SIZE]

[CODE]
/**
* Sets a config on an interface.
*
* [MENTION=75098]Para[/MENTION]m interfaceId
* The interface id.
* [MENTION=75098]Para[/MENTION]m childId
* The child id.
* [MENTION=75098]Para[/MENTION]m hidden
* The hidden flag.
* [MENTION=184045]return[/MENTION] The action sender instance, for chaining.
*/

/**
* Framework created by: Visible lolking
* Please do not leech or release it as your work.
*/

public ActionSender sendBlankRunScript(int id) {
player.getChannel().write(
new PacketBuf(115, PacketType.SHORT).putShort(0)
.putJagString("").putInt(id).toPacket());
return this;
}

public ActionSender testRunScript(int id2, int id, Object[] params,
String types) {
if (params.length != types.length()) {
throw new IllegalArgumentException(
"params size should be the same as types length");
}
PacketBuf buf = new PacketBuf(115, PacketType.SHORT);
buf.putShort(interfaceCount++);
buf.putJagString(types);
int idx = 0;
for (int i = types.length() - 1; i >= 0; i--) {
if (types.charAt(i) == 's') {
buf.putJagString((String) params[idx]);
} else {
buf.putInt((Integer) params[idx]);
}
idx++;
}
buf.putInt(id);
player.getChannel().write(buf.toPacket());
return this;
}

/**
* Sends an access mask to the client.
*
* [MENTION=75098]Para[/MENTION]m set
* The set.
* [MENTION=75098]Para[/MENTION]m interfaceId
* The interface id.
* [MENTION=75098]Para[/MENTION]m offset
* The offset.
* [MENTION=75098]Para[/MENTION]m length
* The length.
* [MENTION=184045]return[/MENTION] The action sender instance, for chaining.
*/
public ActionSender sendAccessMask(int set, int interfaceId, int offset,
int length) {
PacketBuf buf = new PacketBuf(165);
buf.putLEShort(interfaceCount++);
buf.putLEShort(length);
buf.putInt(interfaceId);
buf.putShortA(offset);
buf.putInt1(set);
player.getChannel().write(buf.toPacket());
return this;
}

public void hideShow(int interfaceId, int childId, boolean hidden) {
PacketBuf buf = new PacketBuf(21, PacketType.SHORT);
buf.putByteC((byte) (hidden ? 1 : 0)).putShort(interfaceCount++)
.putLEInt(interfaceId << 16 | childId);
player.getChannel().write(buf.toPacket());
}

[/CODE]

Please [SIZE=5]DO NOT[/SIZE] [COLOR="#FF0000"]release this as your work[/COLOR] or post it [COLOR="#FF0000"]without credits[/COLOR]. Anyhow, thank you for using it. Good luck.

Cheers, lolking. Edited by Visible

Share this post


Link to post
Share on other sites
You are really stupid... This isnt your you found it on [url]http://rune\|)[email protected]/forum/index.php?/topic/167-ieldor-framework-530-packets/#entry711[/url]


another thing is i bet you don't even know what Ieldor is


let alone know what these ever are,. Edited by Bezza

Share this post


Link to post
Share on other sites
this is the outgoing packets and not even documented or anything just someones actionsender ripped. you are fucking dumb

Share this post


Link to post
Share on other sites
Sign in to follow this  

×