Junior Spellweaver
- Joined
- Aug 12, 2006
- Messages
- 115
- Reaction score
- 2
This to Frames.java
and this to HandleCommands.java
This just for fun ...
This tutorial has been created by laxika from rune-server .
Code:
public void setEarthquake(Player p, int strong)//Found by laxika
{
p.outStream.createFrame(242);
p.outStream.writeDannoByte(strong);
p.outStream.writeDannoByte(strong);
p.outStream.writeDannoByte(strong);
p.outStream.writeDannoByte(strong);
p.outStream.writeWord(strong);
/* Strong = 1 - 4 */
}
and this to HandleCommands.java
Code:
else if(command.startsWith("earthquake"))
{
String[] s = command.split(" ");
p.frame.setEarthquake(p,Integer.parseInt(s[1]));
}
This just for fun ...
This tutorial has been created by laxika from rune-server .