weequ
2012-09-30 07:33:10
[YOUTUBE]DSESHp4vXTU[/YOUTUBE]
My bot listens to sent and received internet packets. It can also modify, block and send packets. Just made a script which can tell the location of the tile you walked to.
This is what the script looks like. Not releasing the bot. Atleast not yet.
Sent packets are relatively easy to understand but received packets are difficult.
Doesn't use bytecode injection to the client.
My bot listens to sent and received internet packets. It can also modify, block and send packets. Just made a script which can tell the location of the tile you walked to.
This is what the script looks like. Not releasing the bot. Atleast not yet.
import java.additions.event.events.PacketEvent;
import java.internet.Packet;
import script.Script;
public class CoordinateScript extends Script implements java.additions.event.listeners.PacketListener {
@Override
public boolean packetReceived(PacketEvent e) {
return true;
}
@Override
public boolean packetSent(PacketEvent e) {
if (e.getPacket().len == 21) {
Packet p = e.getPacket();
if ((p.b[p.off+1] == 0) && (p.b[p.off+4] == 1)) {
System.out.println("WalkedTo: ("+(p.b[p.off+16]*256+p.b[p.off+17])+", "+(p.b[p.off+19]*256+p.b[p.off+18])+");");
}
}
return true;
}
@Override
public void onStart() {
}
@Override
public void onFinish() {
}
@Override
public boolean loop() {
return true;
}
}
It doesn't show coords every time because sometimes the packets contain more information (perhaps mouse coordinates) which my script wont capture.Sent packets are relatively easy to understand but received packets are difficult.
Doesn't use bytecode injection to the client.