I am going to leave the steps that I took to get to this point here to help anyone else. For anyone that would like to help me, skip to the edit at the bottom.
I am currently trying to follow the process that the user Pepsi Cola went through in this thread: https://www.mpgh.net/forum/showthread.php?t=837542
but I am running into the "waiting for hello packet" error which he had solved by someone posting the answer, which doesn't help much because it is outdated now. I would like to figure out how to do this myself and if I can get this working hopefully post a detailed tutorial for others.
First off I'll explain what I have done so far. I'll post links so that if this get's solved others can follow my steps and they may be useful for solving the problem:
I have downloaded Realm Relay from ****** and loaded it into eclipse.
https://******.com/DeVoidCoder/Realm-Relay
I then decompiled the client and got the RC4 keys from there.
After that updated the HelloPacket with this pastebin:Code:key1=311f80691451c71d09a13a2a6e key0=72c5583cafb6818995cdd74b80
https://pastebin.com/V2u4adgd
And updated the AccountListPacket with this pastebin:
https://pastebin.com/vBgvswYU
I then get this in the console:
So I believe the problem is that my HelloPacket/AccountList class is out of date but I can't seem to figure out how to update it. I have been searching the forums and found this thread where someone was updating the files but I cannot for the life of me find out where he managed to get all these nice java files from the decompiled client:Code:05:36:47 Mapping: ACCEPTTRADE -> 45 05:36:47 Mapping: ACCOUNTLIST -> 1 05:36:47 Mapping: ALLYSHOOT -> 97 05:36:47 Mapping: AOEACK -> 69 05:36:47 Mapping: AOE -> 33 05:36:47 Mapping: BUY -> 60 05:36:47 Mapping: BUYRESULT -> 4 05:36:47 Mapping: CANCELTRADE -> 78 05:36:47 Mapping: CHANGEGUILDRANK -> 31 05:36:47 Mapping: CHANGETRADE -> 76 05:36:47 Mapping: CHECKCREDITS -> 6 05:36:47 Mapping: CHOOSENAME -> 44 05:36:47 Mapping: CLIENTSTAT -> 91 05:36:47 Mapping: CREATE_SUCCESS -> 27 05:36:47 Mapping: CREATEGUILD -> 80 05:36:47 Mapping: CREATEGUILDRESULT -> 13 05:36:47 Mapping: CREATE -> 35 05:36:47 Mapping: DAMAGE -> 59 05:36:47 Mapping: DEATH -> 62 05:36:47 Mapping: EDITACCOUNTLIST -> 18 05:36:47 Mapping: ENEMYHIT -> 22 05:36:47 Mapping: ESCAPE -> 65 05:36:47 Mapping: FAILURE -> 0 05:36:47 Mapping: FILE -> 68 05:36:47 Mapping: GLOBAL_NOTIFICATION -> 30 05:36:47 Mapping: GOTOACK -> 47 05:36:47 Mapping: GOTO -> 51 05:36:47 Mapping: GROUNDDAMAGE -> 75 05:36:47 Mapping: GUILDINVITE -> 66 05:36:47 Mapping: GUILDREMOVE -> 3 05:36:47 Mapping: HELLO -> 53 05:36:47 Mapping: INVDROP -> 5 05:36:47 Mapping: INVITEDTOGUILD -> 55 05:36:47 Mapping: INVRESULT -> 25 05:36:47 Mapping: INVSWAP -> 37 05:36:47 Mapping: JOINGUILD -> 98 05:36:47 Mapping: LOAD -> 58 05:36:47 Mapping: MAPINFO -> 41 05:36:47 Mapping: MOVE -> 92 05:36:47 Mapping: NAMERESULT -> 12 05:36:47 Mapping: NEW_TICK -> 56 05:36:47 Mapping: NOTIFICATION -> 40 05:36:47 Mapping: OTHERHIT -> 26 05:36:47 Mapping: PIC -> 87 05:36:47 Mapping: PING -> 74 05:36:47 Mapping: PLAYERHIT -> 20 05:36:47 Mapping: PLAYERSHOOT -> 84 05:36:47 Mapping: PLAYERTEXT -> 42 05:36:47 Mapping: PLAYSOUND -> 7 05:36:47 Mapping: PONG -> 95 05:36:47 Mapping: QUESTOBJID -> 14 05:36:47 Mapping: RECONNECT -> 36 05:36:47 Mapping: REQUESTTRADE -> 28 05:36:47 Mapping: RESKIN -> 85 05:36:47 Mapping: SETCONDITION -> 96 05:36:47 Mapping: SHOOT2 -> 79 05:36:47 Mapping: SHOOTACK -> 57 05:36:47 Mapping: SHOOT -> 90 05:36:47 Mapping: SHOW_EFFECT -> 21 05:36:47 Mapping: SQUAREHIT -> 77 05:36:47 Mapping: TELEPORT -> 11 05:36:47 Mapping: TEXT -> 89 05:36:47 Mapping: TRADEACCEPTED -> 49 05:36:47 Mapping: TRADECHANGED -> 94 05:36:47 Mapping: TRADEDONE -> 34 05:36:47 Mapping: TRADEREQUESTED -> 88 05:36:47 Mapping: TRADESTART -> 52 05:36:47 Mapping: UPDATEACK -> 93 05:36:47 Mapping: UPDATE -> 83 05:36:47 Mapping: USEITEM -> 10 05:36:47 Mapping: USEPORTAL -> 16 05:36:47 Not mapped: _-0Z0 -> 19 05:36:47 Not mapped: _-01K -> 82 05:36:47 Not mapped: _-EK -> 8 05:36:47 Not mapped: _-SA -> 17 05:36:47 Not mapped: _-1HD -> 24 05:36:47 Not mapped: _-1UV -> 48 05:36:47 Not mapped: _-16N -> 86 05:36:47 Not mapped: _-0LF -> 46 05:36:47 Not mapped: _-YR -> 38 05:36:47 Not mapped: _-0VN -> 50 05:36:47 Not mapped: _-0OA -> 39 05:36:47 Not mapped: _-FC -> 9 05:36:47 Not mapped: _-R2 -> 15 05:36:47 Not mapped: _-O3 -> 61 05:36:47 Not mapped: _-XX -> 81 05:36:47 Not mapped: ENTER_ARENA -> 67 05:36:47 Not mapped: _-1IJ -> 23 05:36:47 Not mapped: _-A1 -> 63 05:36:47 Not mapped: _-HU -> 64 05:36:47 Realm Relay listener started 05:37:06 Connected Socket[addr=/127.0.0.1,port=65012,localport=2050] 05:37:06 Waiting for HELLO from client... 05:37:16 Disconnected Socket[addr=/127.0.0.1,port=65012,localport=2050]
https://www.mpgh.net/forum/showthread.php?t=830866
All the files I see are very cryptic and not nearly as informative as the ones he is apparently looking at. Is there some decryption step I am missing?
I have spent so much time on this, any time would be greatly appreciated!
Edit: Just found out about AS3 Sorcerer that will let me view the decrypted files! I found the packet classes but how do I update the java classes from the ones found in the client? I can't post the class I found in AS3 because I'm only using the trial...