HelpProper Realm Relay Help

Posts 1–12 of 12 · Page 1 of 1
Proper Realm Relay Help
I have updated Realmrelay and but I have a few problems.

So I updated the HELLOpacket with this code
[Java] package realmrelay.packets.client; import java****.DataInput; import java****. - Pastebin.comⓘ

Updated the AccountListPacket with this
[Java] AccountListPacket - Pastebin.comⓘ

Updated the RC4 keys in ROTMGrelay
key0 311F80691451C71D09A13A2A6E
key1 2C5583CAFB6818995CDD74B80

Updated RC4 keys in settings.properties

Added the external jar file in the lib folder

Updated packets.xml(using Jnoobs tool)

And still I get this error
Code:
22:07:58 Mapping: ACCEPTTRADE -> 81
22:07:58 Mapping: ACCOUNTLIST -> 27
22:07:58 Mapping: ALLYSHOOT -> 94
22:07:58 Mapping: AOEACK -> 40
22:07:58 Mapping: AOE -> 77
22:07:58 Mapping: BUY -> 51
22:07:58 Mapping: BUYRESULT -> 85
22:07:58 Mapping: CANCELTRADE -> 57
22:07:58 Mapping: CHANGEGUILDRANK -> 83
22:07:58 Mapping: CHANGETRADE -> 82
22:07:58 Mapping: CHECKCREDITS -> 13
22:07:58 Mapping: CHOOSENAME -> 4
22:07:58 Mapping: CLIENTSTAT -> 44
22:07:58 Mapping: CREATE_SUCCESS -> 84
22:07:58 Mapping: CREATEGUILD -> 25
22:07:58 Mapping: CREATEGUILDRESULT -> 28
22:07:58 Mapping: CREATE -> 41
22:07:58 Mapping: DAMAGE -> 19
22:07:58 Mapping: DEATH -> 56
22:07:58 Mapping: EDITACCOUNTLIST -> 64
22:07:58 Mapping: ENEMYHIT -> 15
22:07:58 Mapping: ESCAPE -> 9
22:07:58 Mapping: FAILURE -> 0
22:07:58 Mapping: FILE -> 80
22:07:58 Mapping: GLOBAL_NOTIFICATION -> 58
22:07:58 Mapping: GOTOACK -> 76
22:07:58 Mapping: GOTO -> 46
22:07:58 Mapping: GROUNDDAMAGE -> 30
22:07:58 Mapping: GUILDINVITE -> 45
22:07:58 Mapping: GUILDREMOVE -> 61
22:07:58 Mapping: HELLO -> 91
22:07:58 Mapping: INVDROP -> 74
22:07:58 Mapping: INVITEDTOGUILD -> 33
22:07:58 Mapping: INVRESULT -> 89
22:07:58 Mapping: INVSWAP -> 5
22:07:58 Mapping: JOINGUILD -> 78
22:07:58 Mapping: LOAD -> 63
22:07:58 Mapping: MAPINFO -> 7
22:07:58 Mapping: MOVE -> 92
22:07:58 Mapping: NAMERESULT -> 79
22:07:58 Mapping: NEW_TICK -> 34
22:07:58 Mapping: NOTIFICATION -> 36
22:07:58 Mapping: OTHERHIT -> 69
22:07:58 Mapping: PIC -> 1
22:07:58 Mapping: PING -> 90
22:07:58 Mapping: PLAYERHIT -> 86
22:07:58 Mapping: PLAYERSHOOT -> 11
22:07:58 Mapping: PLAYERTEXT -> 20
22:07:58 Mapping: PLAYSOUND -> 31
22:07:58 Mapping: PONG -> 50
22:07:58 Mapping: QUESTOBJID -> 6
22:07:58 Mapping: RECONNECT -> 24
22:07:58 Mapping: REQUESTTRADE -> 59
22:07:58 Mapping: RESKIN -> 10
22:07:58 Mapping: SETCONDITION -> 53
22:07:58 Mapping: SHOOT2 -> 37
22:07:58 Mapping: SHOOTACK -> 88
22:07:58 Mapping: SHOOT -> 93
22:07:58 Mapping: SHOW_EFFECT -> 75
22:07:58 Mapping: SQUAREHIT -> 14
22:07:58 Mapping: TELEPORT -> 60
22:07:58 Mapping: TEXT -> 38
22:07:58 Mapping: TRADEACCEPTED -> 22
22:07:58 Mapping: TRADECHANGED -> 68
22:07:58 Mapping: TRADEDONE -> 87
22:07:58 Mapping: TRADEREQUESTED -> 26
22:07:58 Mapping: TRADESTART -> 49
22:07:58 Mapping: UPDATEACK -> 17
22:07:58 Mapping: UPDATE -> 67
22:07:58 Mapping: USEITEM -> 21
22:07:58 Mapping: USEPORTAL -> 8
22:07:58 Not mapped: _-0H6 -> 55
22:07:58 Not mapped: _-0D7 -> 47
22:07:58 Not mapped: _-0YD -> 23
22:07:58 Not mapped: _-8Y -> 66
22:07:58 Not mapped: _-VA -> 62
22:07:58 Not mapped: _-JV -> 18
22:07:58 Not mapped: _-14A -> 39
22:07:58 Not mapped: _-1ML -> 65
22:07:58 Not mapped: _-1QS -> 48
22:07:58 Not mapped: ENTER_ARENA -> 42
22:07:58 Not mapped: _-1ID -> 16
22:07:58 Not mapped: _-0AT -> 12
22:07:58 Not mapped: _-SN -> 52
22:07:58 Not mapped: _-0DP -> 35
22:07:58 Not mapped: _-0AQ -> 3
22:07:58 Realm Relay listener started
22:08:04 Connected Socket[addr=/127.0.0.1,port=16526,localport=2050]
22:08:04 Waiting for HELLO from client...
java****.EOFException
22:08:04 Disconnected Socket[addr=/127.0.0.1,port=16526,localport=2050]
	at java****.DataInputStream.readFully(Unknown Source)
	at java****.DataInputStream.readUTF(Unknown Source)
	at java****.DataInputStream.readUTF(Unknown Source)
	at realmrelay.packets.client.HelloPacket.parseFromInput(HelloPacket.java:33)
	at realmrelay.packets.Packet.create(Packet.java:145)
	at realmrelay.User.process(User.java:127)
	at realmrelay****TMGRelay$2.run(ROTMGRelay.java:192)
	at java.lang.Thread.run(Unknown Source)
22:08:06 Connected Socket[addr=/127.0.0.1,port=16528,localport=2050]
22:08:06 Waiting for HELLO from client...
java****.EOFException
22:08:06 Disconnected Socket[addr=/127.0.0.1,port=16528,localport=2050]
Help is much appreciated
@ @JustAnoobROTMG
@ @IziLife
@ @cookiezeater
@ @Alde.
I have been struggling with this too and I tried using your RC4 keys but it throws "invalid hex string" error and when I looked at the code it says that means the key length isn't an even number...are you sure those are correct? How did you find them?

I also get an "ArrayIndexOutOfBoundsException" every time I start. Do you get this too or know how to fix it?
Quote Originally Posted by Pepsi Cola View Post
I have updated Realmrelay and but I have a few problems.

So I updated the HELLOpacket with this code
[Java] package realmrelay.packets.client; import java****.DataInput; import java****. - Pastebin.com

Updated the AccountListPacket with this
[Java] AccountListPacket - Pastebin.com

Updated the RC4 keys in ROTMGrelay
key0 311F80691451C71D09A13A2A6E
key1 2C5583CAFB6818995CDD74B80

Updated RC4 keys in settings.properties

Added the external jar file in the lib folder

Updated packets.xml(using Jnoobs tool)

And still I get this error
Code:
22:07:58 Mapping: ACCEPTTRADE -> 81
22:07:58 Mapping: ACCOUNTLIST -> 27
22:07:58 Mapping: ALLYSHOOT -> 94
22:07:58 Mapping: AOEACK -> 40
22:07:58 Mapping: AOE -> 77
22:07:58 Mapping: BUY -> 51
22:07:58 Mapping: BUYRESULT -> 85
22:07:58 Mapping: CANCELTRADE -> 57
22:07:58 Mapping: CHANGEGUILDRANK -> 83
22:07:58 Mapping: CHANGETRADE -> 82
22:07:58 Mapping: CHECKCREDITS -> 13
22:07:58 Mapping: CHOOSENAME -> 4
22:07:58 Mapping: CLIENTSTAT -> 44
22:07:58 Mapping: CREATE_SUCCESS -> 84
22:07:58 Mapping: CREATEGUILD -> 25
22:07:58 Mapping: CREATEGUILDRESULT -> 28
22:07:58 Mapping: CREATE -> 41
22:07:58 Mapping: DAMAGE -> 19
22:07:58 Mapping: DEATH -> 56
22:07:58 Mapping: EDITACCOUNTLIST -> 64
22:07:58 Mapping: ENEMYHIT -> 15
22:07:58 Mapping: ESCAPE -> 9
22:07:58 Mapping: FAILURE -> 0
22:07:58 Mapping: FILE -> 80
22:07:58 Mapping: GLOBAL_NOTIFICATION -> 58
22:07:58 Mapping: GOTOACK -> 76
22:07:58 Mapping: GOTO -> 46
22:07:58 Mapping: GROUNDDAMAGE -> 30
22:07:58 Mapping: GUILDINVITE -> 45
22:07:58 Mapping: GUILDREMOVE -> 61
22:07:58 Mapping: HELLO -> 91
22:07:58 Mapping: INVDROP -> 74
22:07:58 Mapping: INVITEDTOGUILD -> 33
22:07:58 Mapping: INVRESULT -> 89
22:07:58 Mapping: INVSWAP -> 5
22:07:58 Mapping: JOINGUILD -> 78
22:07:58 Mapping: LOAD -> 63
22:07:58 Mapping: MAPINFO -> 7
22:07:58 Mapping: MOVE -> 92
22:07:58 Mapping: NAMERESULT -> 79
22:07:58 Mapping: NEW_TICK -> 34
22:07:58 Mapping: NOTIFICATION -> 36
22:07:58 Mapping: OTHERHIT -> 69
22:07:58 Mapping: PIC -> 1
22:07:58 Mapping: PING -> 90
22:07:58 Mapping: PLAYERHIT -> 86
22:07:58 Mapping: PLAYERSHOOT -> 11
22:07:58 Mapping: PLAYERTEXT -> 20
22:07:58 Mapping: PLAYSOUND -> 31
22:07:58 Mapping: PONG -> 50
22:07:58 Mapping: QUESTOBJID -> 6
22:07:58 Mapping: RECONNECT -> 24
22:07:58 Mapping: REQUESTTRADE -> 59
22:07:58 Mapping: RESKIN -> 10
22:07:58 Mapping: SETCONDITION -> 53
22:07:58 Mapping: SHOOT2 -> 37
22:07:58 Mapping: SHOOTACK -> 88
22:07:58 Mapping: SHOOT -> 93
22:07:58 Mapping: SHOW_EFFECT -> 75
22:07:58 Mapping: SQUAREHIT -> 14
22:07:58 Mapping: TELEPORT -> 60
22:07:58 Mapping: TEXT -> 38
22:07:58 Mapping: TRADEACCEPTED -> 22
22:07:58 Mapping: TRADECHANGED -> 68
22:07:58 Mapping: TRADEDONE -> 87
22:07:58 Mapping: TRADEREQUESTED -> 26
22:07:58 Mapping: TRADESTART -> 49
22:07:58 Mapping: UPDATEACK -> 17
22:07:58 Mapping: UPDATE -> 67
22:07:58 Mapping: USEITEM -> 21
22:07:58 Mapping: USEPORTAL -> 8
22:07:58 Not mapped: _-0H6 -> 55
22:07:58 Not mapped: _-0D7 -> 47
22:07:58 Not mapped: _-0YD -> 23
22:07:58 Not mapped: _-8Y -> 66
22:07:58 Not mapped: _-VA -> 62
22:07:58 Not mapped: _-JV -> 18
22:07:58 Not mapped: _-14A -> 39
22:07:58 Not mapped: _-1ML -> 65
22:07:58 Not mapped: _-1QS -> 48
22:07:58 Not mapped: ENTER_ARENA -> 42
22:07:58 Not mapped: _-1ID -> 16
22:07:58 Not mapped: _-0AT -> 12
22:07:58 Not mapped: _-SN -> 52
22:07:58 Not mapped: _-0DP -> 35
22:07:58 Not mapped: _-0AQ -> 3
22:07:58 Realm Relay listener started
22:08:04 Connected Socket[addr=/127.0.0.1,port=16526,localport=2050]
22:08:04 Waiting for HELLO from client...
java****.EOFException
22:08:04 Disconnected Socket[addr=/127.0.0.1,port=16526,localport=2050]
	at java****.DataInputStream.readFully(Unknown Source)
	at java****.DataInputStream.readUTF(Unknown Source)
	at java****.DataInputStream.readUTF(Unknown Source)
	at realmrelay.packets.client.HelloPacket.parseFromInput(HelloPacket.java:33)
	at realmrelay.packets.Packet.create(Packet.java:145)
	at realmrelay.User.process(User.java:127)
	at realmrelay****TMGRelay$2.run(ROTMGRelay.java:192)
	at java.lang.Thread.run(Unknown Source)
22:08:06 Connected Socket[addr=/127.0.0.1,port=16528,localport=2050]
22:08:06 Waiting for HELLO from client...
java****.EOFException
22:08:06 Disconnected Socket[addr=/127.0.0.1,port=16528,localport=2050]
Help is much appreciated
@ @JustAnoobROTMG
@ @IziLife
@ @cookiezeater
@ @Alde.
Now THIS is a help request!
"Please Halp Im dumb. Feed me" <- typical post for RR help

Let me check your stuff you posted to see whats up

Packets: Correct
RC4: Correct

Im no expert on this because I dont keep RR up to date, byt it looks like its your HELLO packet to me:
Here is the Deobfuscated HELLO Class
http://pastebin.com/7v1fFtUa

Trait Slots only
Code:
  trait slot QName(PackageNamespace("", "#0"), "buildVersion_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "gameId_") type QName(PackageNamespace("", "#0"), "int") value Integer(0) end
  trait slot QName(PackageNamespace("", "#0"), "guid_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "password_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "secret_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "keyTime_") type QName(PackageNamespace("", "#0"), "int") value Integer(0) end
  trait slot QName(PackageNamespace("", "#0"), "key_") type QName(PackageNamespace("flash.utils"), "ByteArray") end
  trait slot QName(PackageNamespace("", "#0"), "_-Z2") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "_-LR") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-0JZ") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-1fu") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-mD") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-0mN") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
Hello packet is wrong, obviously. you just did an error somewhere
 
tewst
public class HelloPacket extends Packet {

public String buildVersion;
public int gameId;
public String guid;
public String password;
public String secret;
public int randomInt1;
public int randomInt2;
public int keyTime;

public byte[] key = new byte[0];
public byte[] obf0 = new byte[0];

public String obf1;
public String obf2;
public String obf3;
public String obf4;
public String obf5;

@
Override
public void parseFromInput(DataInput in ) throws IOException {

this.buildVersion = in.readUTF();
this.gameId = in.readInt();
this.guid = in.readUTF();
this.randomInt1 = in.readInt();
this.password = in.readUTF();
this.randomInt2 = in.readInt();
this.secret = in.readUTF();

this.keyTime = in.readInt();
this.key = new byte[in.readShort()];
in.readFully(this.key);
this.obf0 = new byte[in.readInt()];
in.readFully(this.obf0);

this.obf1 = in.readUTF();
this.obf2 = in.readUTF();
this.obf3 = in.readUTF();
this.obf4 = in.readUTF();
this.obf5 = in.readUTF();
}

@
Override
public void writeToOutput(DataOutput out) throws IOException {
out.writeUTF(this.buildVersion);
out.writeInt(this.gameId);
out.writeUTF(this.guid);
out.writeInt(this.randomInt1);
out.writeUTF(this.password);
out.writeInt(this.randomInt2);
out.writeUTF(this.secret);

out.writeInt(this.keyTime);
out.writeShort(this.key.length);
out.write(this.key);
out.writeInt(this.obf0.length);
out.write(this.obf0);

out.writeUTF(this.obf1);
out.writeUTF(this.obf2);
out.writeUTF(this.obf3);
out.writeUTF(this.obf4);
out.writeUTF(this.obf5);
}

}
Quote Originally Posted by maat7043 View Post
Now THIS is a help request!
"Please Halp Im dumb. Feed me" <- typical post for RR help

Let me check your stuff you posted to see whats up

Packets: Correct
RC4: Correct

Im no expert on this because I dont keep RR up to date, byt it looks like its your HELLO packet to me:
Here is the Deobfuscated HELLO Class
[ActionScript 3] HELLO Class - Pastebin.comⓘ

Trait Slots only
Code:
  trait slot QName(PackageNamespace("", "#0"), "buildVersion_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "gameId_") type QName(PackageNamespace("", "#0"), "int") value Integer(0) end
  trait slot QName(PackageNamespace("", "#0"), "guid_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "password_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "secret_") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "keyTime_") type QName(PackageNamespace("", "#0"), "int") value Integer(0) end
  trait slot QName(PackageNamespace("", "#0"), "key_") type QName(PackageNamespace("flash.utils"), "ByteArray") end
  trait slot QName(PackageNamespace("", "#0"), "_-Z2") type QName(PackageNamespace("", "#0"), "String") end
  trait slot QName(PackageNamespace("", "#0"), "_-LR") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-0JZ") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-1fu") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-mD") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
  trait slot QName(PackageNamespace("", "#0"), "_-0mN") type QName(PackageNamespace("", "#0"), "String") value Utf8("") end
Quote Originally Posted by cookiezeater View Post
Hello packet is wrong, obviously. you just did an error somewhere
 
tewst
public class HelloPacket extends Packet {

public String buildVersion;
public int gameId;
public String guid;
public String password;
public String secret;
public int randomInt1;
public int randomInt2;
public int keyTime;

public byte[] key = new byte[0];
public byte[] obf0 = new byte[0];

public String obf1;
public String obf2;
public String obf3;
public String obf4;
public String obf5;

@
Override
public void parseFromInput(DataInput in ) throws IOException {

this.buildVersion = in.readUTF();
this.gameId = in.readInt();
this.guid = in.readUTF();
this.randomInt1 = in.readInt();
this.password = in.readUTF();
this.randomInt2 = in.readInt();
this.secret = in.readUTF();

this.keyTime = in.readInt();
this.key = new byte[in.readShort()];
in.readFully(this.key);
this.obf0 = new byte[in.readInt()];
in.readFully(this.obf0);

this.obf1 = in.readUTF();
this.obf2 = in.readUTF();
this.obf3 = in.readUTF();
this.obf4 = in.readUTF();
this.obf5 = in.readUTF();
}

@
Override
public void writeToOutput(DataOutput out) throws IOException {
out.writeUTF(this.buildVersion);
out.writeInt(this.gameId);
out.writeUTF(this.guid);
out.writeInt(this.randomInt1);
out.writeUTF(this.password);
out.writeInt(this.randomInt2);
out.writeUTF(this.secret);

out.writeInt(this.keyTime);
out.writeShort(this.key.length);
out.write(this.key);
out.writeInt(this.obf0.length);
out.write(this.obf0);

out.writeUTF(this.obf1);
out.writeUTF(this.obf2);
out.writeUTF(this.obf3);
out.writeUTF(this.obf4);
out.writeUTF(this.obf5);
}

}
Thank You for the useful help, I just changed the Hellopacket and I doubled checked the RC4 keys are in the correct places, settings.properties and rotmgrelay are the only places it needs to be, right? I have no Idea why I'm getting an "invalid hex string". Well anyway, here is the error I am currently experiencing.
Code:
02:47:12 Mapping: ACCEPTTRADE -> 81
02:47:12 Mapping: ACCOUNTLIST -> 27
02:47:12 Mapping: ALLYSHOOT -> 94
02:47:12 Mapping: AOEACK -> 40
02:47:12 Mapping: AOE -> 77
02:47:12 Mapping: BUY -> 51
02:47:12 Mapping: BUYRESULT -> 85
02:47:12 Mapping: CANCELTRADE -> 57
02:47:12 Mapping: CHANGEGUILDRANK -> 83
02:47:12 Mapping: CHANGETRADE -> 82
02:47:12 Mapping: CHECKCREDITS -> 13
02:47:12 Mapping: CHOOSENAME -> 4
02:47:12 Mapping: CLIENTSTAT -> 44
02:47:12 Mapping: CREATE_SUCCESS -> 84
02:47:12 Mapping: CREATEGUILD -> 25
02:47:12 Mapping: CREATEGUILDRESULT -> 28
02:47:12 Mapping: CREATE -> 41
02:47:12 Mapping: DAMAGE -> 19
02:47:12 Mapping: DEATH -> 56
02:47:12 Mapping: EDITACCOUNTLIST -> 64
02:47:12 Mapping: ENEMYHIT -> 15
02:47:12 Mapping: ESCAPE -> 9
02:47:12 Mapping: FAILURE -> 0
02:47:12 Mapping: FILE -> 80
02:47:12 Mapping: GLOBAL_NOTIFICATION -> 58
02:47:12 Mapping: GOTOACK -> 76
02:47:12 Mapping: GOTO -> 46
02:47:12 Mapping: GROUNDDAMAGE -> 30
02:47:12 Mapping: GUILDINVITE -> 45
02:47:12 Mapping: GUILDREMOVE -> 61
02:47:12 Mapping: HELLO -> 91
02:47:12 Mapping: INVDROP -> 74
02:47:12 Mapping: INVITEDTOGUILD -> 33
02:47:12 Mapping: INVRESULT -> 89
02:47:12 Mapping: INVSWAP -> 5
02:47:12 Mapping: JOINGUILD -> 78
02:47:12 Mapping: LOAD -> 63
02:47:12 Mapping: MAPINFO -> 7
02:47:12 Mapping: MOVE -> 92
02:47:12 Mapping: NAMERESULT -> 79
02:47:12 Mapping: NEW_TICK -> 34
02:47:12 Mapping: NOTIFICATION -> 36
02:47:12 Mapping: OTHERHIT -> 69
02:47:12 Mapping: PIC -> 1
02:47:12 Mapping: PING -> 90
02:47:12 Mapping: PLAYERHIT -> 86
02:47:12 Mapping: PLAYERSHOOT -> 11
02:47:12 Mapping: PLAYERTEXT -> 20
02:47:12 Mapping: PLAYSOUND -> 31
02:47:12 Mapping: PONG -> 50
02:47:12 Mapping: QUESTOBJID -> 6
02:47:12 Mapping: RECONNECT -> 24
02:47:12 Mapping: REQUESTTRADE -> 59
02:47:12 Mapping: RESKIN -> 10
02:47:12 Mapping: SETCONDITION -> 53
02:47:12 Mapping: SHOOT2 -> 37
02:47:12 Mapping: SHOOTACK -> 88
02:47:12 Mapping: SHOOT -> 93
02:47:12 Mapping: SHOW_EFFECT -> 75
02:47:12 Mapping: SQUAREHIT -> 14
02:47:12 Mapping: TELEPORT -> 60
02:47:12 Mapping: TEXT -> 38
02:47:12 Mapping: TRADEACCEPTED -> 22
02:47:12 Mapping: TRADECHANGED -> 68
02:47:12 Mapping: TRADEDONE -> 87
02:47:12 Mapping: TRADEREQUESTED -> 26
02:47:12 Mapping: TRADESTART -> 49
02:47:12 Mapping: UPDATEACK -> 17
02:47:12 Mapping: UPDATE -> 67
02:47:12 Mapping: USEITEM -> 21
02:47:12 Mapping: USEPORTAL -> 8
02:47:12 Not mapped: _-0H6 -> 55
02:47:12 Not mapped: _-0D7 -> 47
02:47:12 Not mapped: _-0YD -> 23
02:47:12 Not mapped: _-8Y -> 66
02:47:12 Not mapped: _-VA -> 62
02:47:12 Not mapped: _-JV -> 18
02:47:12 Not mapped: _-14A -> 39
02:47:12 Not mapped: _-1ML -> 65
02:47:12 Not mapped: _-1QS -> 48
02:47:12 Not mapped: ENTER_ARENA -> 42
02:47:12 Not mapped: _-1ID -> 16
02:47:12 Not mapped: _-0AT -> 12
02:47:12 Not mapped: _-SN -> 52
02:47:12 Not mapped: _-0DP -> 35
02:47:12 Not mapped: _-0AQ -> 3
02:47:12 Realm Relay listener started
java.lang.IllegalArgumentException: invalid hex string
	at realmrelay.crypto.RC4.hexStringToBytes(RC4.java:33)
	at realmrelay.crypto.RC4.<init>(RC4.java:14)
	at realmrelay.User.<init>(User.java:38)
	at realmrelay****TMGRelay$1.socketAccepted(ROTMGRelay.java:95)
	at realmrelay.net.ListenSocket$1.run(ListenSocket.java:61)
	at java.lang.Thread.run(Unknown Source)

Code:
java****.EOFException
22:08:04 Disconnected Socket[addr=/127.0.0.1,port=16526,localport=2050]
	at java****.DataInputStream.readFully(Unknown Source)
	at java****.DataInputStream.readUTF(Unknown Source)
	at java****.DataInputStream.readUTF(Unknown Source)
	at realmrelay.packets.client.HelloPacket.parseFromInput(HelloPacket.java:33)
	at realmrelay.packets.Packet.create(Packet.java:145)
	at realmrelay.User.process(User.java:127)
	at realmrelay****TMGRelay$2.run(ROTMGRelay.java:192)
	at java.lang.Thread.run(Unknown Source)
RR told you where he died
RC4 error.... if packets are ok, its a decryption error.
Where did you get the keys?
Threre are fake keys and real keys in the swf btw , and they are VERY , VERY similar
Quote Originally Posted by Pepsi Cola View Post
I have updated Realmrelay and but I have a few problems.

So I updated the HELLOpacket with this code
[Java] package realmrelay.packets.client; import java****.DataInput; import java****. - Pastebin.com

Updated the AccountListPacket with this
[Java] AccountListPacket - Pastebin.com

Updated the RC4 keys in ROTMGrelay
key0 311F80691451C71D09A13A2A6E
key1 2C5583CAFB6818995CDD74B80

Updated RC4 keys in settings.properties

Added the external jar file in the lib folder

Updated packets.xml(using Jnoobs tool)

And still I get this error
Code:
22:07:58 Mapping: ACCEPTTRADE -> 81
22:07:58 Mapping: ACCOUNTLIST -> 27
22:07:58 Mapping: ALLYSHOOT -> 94
22:07:58 Mapping: AOEACK -> 40
22:07:58 Mapping: AOE -> 77
22:07:58 Mapping: BUY -> 51
22:07:58 Mapping: BUYRESULT -> 85
22:07:58 Mapping: CANCELTRADE -> 57
22:07:58 Mapping: CHANGEGUILDRANK -> 83
22:07:58 Mapping: CHANGETRADE -> 82
22:07:58 Mapping: CHECKCREDITS -> 13
22:07:58 Mapping: CHOOSENAME -> 4
22:07:58 Mapping: CLIENTSTAT -> 44
22:07:58 Mapping: CREATE_SUCCESS -> 84
22:07:58 Mapping: CREATEGUILD -> 25
22:07:58 Mapping: CREATEGUILDRESULT -> 28
22:07:58 Mapping: CREATE -> 41
22:07:58 Mapping: DAMAGE -> 19
22:07:58 Mapping: DEATH -> 56
22:07:58 Mapping: EDITACCOUNTLIST -> 64
22:07:58 Mapping: ENEMYHIT -> 15
22:07:58 Mapping: ESCAPE -> 9
22:07:58 Mapping: FAILURE -> 0
22:07:58 Mapping: FILE -> 80
22:07:58 Mapping: GLOBAL_NOTIFICATION -> 58
22:07:58 Mapping: GOTOACK -> 76
22:07:58 Mapping: GOTO -> 46
22:07:58 Mapping: GROUNDDAMAGE -> 30
22:07:58 Mapping: GUILDINVITE -> 45
22:07:58 Mapping: GUILDREMOVE -> 61
22:07:58 Mapping: HELLO -> 91
22:07:58 Mapping: INVDROP -> 74
22:07:58 Mapping: INVITEDTOGUILD -> 33
22:07:58 Mapping: INVRESULT -> 89
22:07:58 Mapping: INVSWAP -> 5
22:07:58 Mapping: JOINGUILD -> 78
22:07:58 Mapping: LOAD -> 63
22:07:58 Mapping: MAPINFO -> 7
22:07:58 Mapping: MOVE -> 92
22:07:58 Mapping: NAMERESULT -> 79
22:07:58 Mapping: NEW_TICK -> 34
22:07:58 Mapping: NOTIFICATION -> 36
22:07:58 Mapping: OTHERHIT -> 69
22:07:58 Mapping: PIC -> 1
22:07:58 Mapping: PING -> 90
22:07:58 Mapping: PLAYERHIT -> 86
22:07:58 Mapping: PLAYERSHOOT -> 11
22:07:58 Mapping: PLAYERTEXT -> 20
22:07:58 Mapping: PLAYSOUND -> 31
22:07:58 Mapping: PONG -> 50
22:07:58 Mapping: QUESTOBJID -> 6
22:07:58 Mapping: RECONNECT -> 24
22:07:58 Mapping: REQUESTTRADE -> 59
22:07:58 Mapping: RESKIN -> 10
22:07:58 Mapping: SETCONDITION -> 53
22:07:58 Mapping: SHOOT2 -> 37
22:07:58 Mapping: SHOOTACK -> 88
22:07:58 Mapping: SHOOT -> 93
22:07:58 Mapping: SHOW_EFFECT -> 75
22:07:58 Mapping: SQUAREHIT -> 14
22:07:58 Mapping: TELEPORT -> 60
22:07:58 Mapping: TEXT -> 38
22:07:58 Mapping: TRADEACCEPTED -> 22
22:07:58 Mapping: TRADECHANGED -> 68
22:07:58 Mapping: TRADEDONE -> 87
22:07:58 Mapping: TRADEREQUESTED -> 26
22:07:58 Mapping: TRADESTART -> 49
22:07:58 Mapping: UPDATEACK -> 17
22:07:58 Mapping: UPDATE -> 67
22:07:58 Mapping: USEITEM -> 21
22:07:58 Mapping: USEPORTAL -> 8
22:07:58 Not mapped: _-0H6 -> 55
22:07:58 Not mapped: _-0D7 -> 47
22:07:58 Not mapped: _-0YD -> 23
22:07:58 Not mapped: _-8Y -> 66
22:07:58 Not mapped: _-VA -> 62
22:07:58 Not mapped: _-JV -> 18
22:07:58 Not mapped: _-14A -> 39
22:07:58 Not mapped: _-1ML -> 65
22:07:58 Not mapped: _-1QS -> 48
22:07:58 Not mapped: ENTER_ARENA -> 42
22:07:58 Not mapped: _-1ID -> 16
22:07:58 Not mapped: _-0AT -> 12
22:07:58 Not mapped: _-SN -> 52
22:07:58 Not mapped: _-0DP -> 35
22:07:58 Not mapped: _-0AQ -> 3
22:07:58 Realm Relay listener started
22:08:04 Connected Socket[addr=/127.0.0.1,port=16526,localport=2050]
22:08:04 Waiting for HELLO from client...
java****.EOFException
22:08:04 Disconnected Socket[addr=/127.0.0.1,port=16526,localport=2050]
    at java****.DataInputStream.readFully(Unknown Source)
    at java****.DataInputStream.readUTF(Unknown Source)
    at java****.DataInputStream.readUTF(Unknown Source)
    at realmrelay.packets.client.HelloPacket.parseFromInput(HelloPacket.java:33)
    at realmrelay.packets.Packet.create(Packet.java:145)
    at realmrelay.User.process(User.java:127)
    at realmrelay****TMGRelay$2.run(ROTMGRelay.java:192)
    at java.lang.Thread.run(Unknown Source)
22:08:06 Connected Socket[addr=/127.0.0.1,port=16528,localport=2050]
22:08:06 Waiting for HELLO from client...
java****.EOFException
22:08:06 Disconnected Socket[addr=/127.0.0.1,port=16528,localport=2050]
Help is much appreciated
@ @JustAnoobROTMG
@ @IziLife
@ @cookiezeater
@ @ZBORNOX
key0 311F80691451C71D09A13A2A6E
key1 2C5583CAFB6818995CDD74B80

rc4key0 = "311f80691451c71d09a13a2a6e";
rc4key1 = "72c5583cafb6818995cdd74b80";


your key0 is correct, key1 is not
Quote Originally Posted by Knorrex View Post
key0 311F80691451C71D09A13A2A6E
key1 2C5583CAFB6818995CDD74B80

rc4key0 = "311f80691451c71d09a13a2a6e";
rc4key1 = "72c5583cafb6818995cdd74b80";


your key0 is correct, key1 is not
Good catch. I didnt even notice the small discrepancy
Quote Originally Posted by maat7043 View Post
Good catch. I didnt even notice the small discrepancy
Like i said, Kebem did that on purpose
This is awesome, thanks a ton everyone for providing so much in depth help! I have done everything said here and my RR starts up perfectly. The only issue I ran into was JNoob's packet parser didn't decrypt some of the packets so I had to go type the names in with the packet.xml that was posted above, not a big deal. The only issue I have now is that when I try to connect it hangs at the "waiting for Hello from client..." (RR side) and on the client it says "Socket-Server Security Error: Error 2048". I have looked online but I can't tell which fixes are relevant for connecting to proxies and a lot of them are for windows and I am currently using a mac. Does anyone know a fix for this?
add your folder to trusted locations under flash? idk
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?