21.0.1 Packets

Posts 1–15 of 17 · Page 1 of 2
21.0.1 Packets
Heres the new packet ids for anyone who needs them. Thanks Jnoob for your packet parser.

Code:
<?xml version="1.0"?>
<!-- Generated using Jnoob's Packets File parser. -->
<Packets>
	<Packet id="FAILURE" type="0"/>
	<Packet id="CREATE_SUCCESS" type="53"/>
	<Packet id="CREATE" type="86"/>
	<Packet id="PLAYERSHOOT" type="56"/>
	<Packet id="MOVE" type="34"/>
	<Packet id="PLAYERTEXT" type="9"/>
	<Packet id="TEXT" type="60"/>
	<Packet id="SHOOT2" type="80"/>
	<Packet id="DAMAGE" type="74"/>
	<Packet id="UPDATE" type="5"/>
	<Packet id="UPDATEACK" type="42"/>
	<Packet id="NOTIFICATION" type="38"/>
	<Packet id="NEW_TICK" type="92"/>
	<Packet id="INVSWAP" type="66"/>
	<Packet id="USEITEM" type="67"/>
	<Packet id="SHOW_EFFECT" type="59"/>
	<Packet id="HELLO" type="88"/>
	<Packet id="GOTO" type="87"/>
	<Packet id="INVDROP" type="57"/>
	<Packet id="INVRESULT" type="8"/>
	<Packet id="RECONNECT" type="25"/>
	<Packet id="PING" type="44"/>
	<Packet id="PONG" type="1"/>
	<Packet id="MAPINFO" type="75"/>
	<Packet id="LOAD" type="17"/>
	<Packet id="PIC" type="91"/>
	<Packet id="SETCONDITION" type="61"/>
	<Packet id="TELEPORT" type="68"/>
	<Packet id="USEPORTAL" type="55"/>
	<Packet id="DEATH" type="11"/>
	<Packet id="BUY" type="24"/>
	<Packet id="BUYRESULT" type="13"/>
	<Packet id="AOE" type="33"/>
	<Packet id="GROUNDDAMAGE" type="28"/>
	<Packet id="PLAYERHIT" type="81"/>
	<Packet id="ENEMYHIT" type="14"/>
	<Packet id="AOEACK" type="63"/>
	<Packet id="SHOOTACK" type="47"/>
	<Packet id="OTHERHIT" type="79"/>
	<Packet id="SQUAREHIT" type="77"/>
	<Packet id="GOTOACK" type="78"/>
	<Packet id="EDITACCOUNTLIST" type="90"/>
	<Packet id="ACCOUNTLIST" type="82"/>
	<Packet id="QUESTOBJID" type="30"/>
	<Packet id="CHOOSENAME" type="4"/>
	<Packet id="NAMERESULT" type="58"/>
	<Packet id="CREATEGUILD" type="23"/>
	<Packet id="CREATEGUILDRESULT" type="36"/>
	<Packet id="GUILDREMOVE" type="84"/>
	<Packet id="GUILDINVITE" type="40"/>
	<Packet id="ALLYSHOOT" type="7"/>
	<Packet id="SHOOT" type="6"/>
	<Packet id="REQUESTTRADE" type="22"/>
	<Packet id="TRADEREQUESTED" type="21"/>
	<Packet id="TRADESTART" type="83"/>
	<Packet id="CHANGETRADE" type="41"/>
	<Packet id="TRADECHANGED" type="64"/>
	<Packet id="ACCEPTTRADE" type="62"/>
	<Packet id="CANCELTRADE" type="51"/>
	<Packet id="TRADEDONE" type="49"/>
	<Packet id="TRADEACCEPTED" type="94"/>
	<Packet id="CLIENTSTAT" type="65"/>
	<Packet id="CHECKCREDITS" type="85"/>
	<Packet id="ESCAPE" type="31"/>
	<Packet id="FILE" type="37"/>
	<Packet id="INVITEDTOGUILD" type="45"/>
	<Packet id="JOINGUILD" type="26"/>
	<Packet id="CHANGEGUILDRANK" type="69"/>
	<Packet id="PLAYSOUND" type="10"/>
	<Packet id="GLOBAL_NOTIFICATION" type="27"/>
	<Packet id="RESKIN" type="50"/>
	<Packet id="_-1o-" type="48"/>
	<Packet id="_-H" type="93"/>
	<Packet id="_-1qM" type="52"/>
	<Packet id="_-14q" type="12"/>
	<Packet id="_-yS" type="15"/>
	<Packet id="_-1oV" type="19"/>
	<Packet id="_-06E" type="3"/>
	<Packet id="_-1O6" type="76"/>
	<Packet id="ENTER_ARENA" type="35"/>
	<Packet id="_-YE" type="46"/>
	<Packet id="_-Q8" type="18"/>
	<Packet id="_-Tu" type="89"/>
	<Packet id="_-1A8" type="16"/>
	<Packet id="_-5K" type="39"/>
	<Packet id="_-qv" type="20"/>
</Packets>
Quote Originally Posted by Dananaphoney99 View Post
Where do I put these packets?
Realm relay requires updated packets, but they modify the hello packet.
Where is this "file" located inside of the .swf?
It varies but you have to decompile the client first try looking into Rabcdasm
Ok, I have found the file you indicated ... but do not know how to open it to modify and add new information.

I need some program to do this?
Quote Originally Posted by emericks View Post
Ok, I have found the file you indicated ... but do not know how to open it to modify and add new information.

I need some program to do this?
I used Justanoobrotmg's packet parser for retreiving and extracting the packets. The main thing that needs new packes is realm relay. Im not sure why you want to modify the swf game's packet file. There are lots of tutorials on mpgh about rabcdasm and editing swfs look into those I am not really sure what you are trying to do.
You can tell how I get to this file?
Where is this "file" located inside of the .swf?
hi, the cmd gives me this: fatal error. the markup in the document following the root element must be well-formed. i guess i messed something up in hello.packet im not sure. any help would be great
I need help. Even after updating the packets.xml, I still get Waiting for HELLO from client...
Same problem here, Waiting for HELLO from client
Quote Originally Posted by Hurcan View Post
hi, the cmd gives me this: fatal error. the markup in the document following the root element must be well-formed. i guess i messed something up in hello.packet im not sure. any help would be great
It gives fatal error for me also but I can still use realm relay like I did before
Quote Originally Posted by gainb View Post
Waiting for HELLO from client...
bump. Help please
hello changed. Updating id with my tool is not enough to make rr works
21.0.1 HelloPacket.java

***** line means
import java(dot)io(dot)*;

Code:
package realmrelay.packets.client;

import java****.*;
import realmrelay.packets.Packet;

public class HelloPacket extends Packet
{

    public HelloPacket()
    {
        key = new byte[0];
        obf0 = new byte[0];
        string = new byte[0];
    }

    public void parseFromInput(DataInput in)
        throws IOException
    {
        buildVersion = in.readUTF();
        gameId = in.readInt();
        guid = in.readUTF();
        password = in.readUTF();
        randomInt1 = in.readInt();
        secret = in.readUTF();
        keyTime = in.readInt();
        key = new byte[in.readShort()];
        in.readFully(key);
        obf0 = new byte[in.readInt()];
        in.readFully(obf0);
        obf1 = in.readUTF();
        obf2 = in.readUTF();
        obf3 = in.readUTF();
        obf4 = in.readUTF();
        obf5 = in.readUTF();
    }

    public void writeToOutput(DataOutput out)
        throws IOException
    {
        out.writeUTF(buildVersion);
        out.writeInt(gameId);
        out.writeUTF(guid);
        out.writeUTF(password);
        out.writeInt(randomInt1);
        out.writeUTF(secret);
        out.writeInt(keyTime);
        out.writeShort(key.length);
        out.write(key);
        out.writeInt(obf0.length);
        out.write(obf0);
        out.writeUTF(obf1);
        out.writeUTF(obf2);
        out.writeUTF(obf3);
        out.writeUTF(obf4);
        out.writeUTF(obf5);
    }

    public String buildVersion;
    public int gameId;
    public String guid;
    public String password;
    public String secret;
    public int randomInt1;
    public int keyTime;
    public byte key[];
    public byte obf0[];
    public byte string[];
    public String obf1;
    public String obf2;
    public String obf3;
    public String obf4;
    public String obf5;
}
i should probably just post the .class so people can replace it in izi's RR and we can shut up.
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

Need help?