[RELEASE][SRC] Java ROTMG classes for Server, Client, Proxy and Base

Posts 1630 of 60 · Page 2 of 4
Not letting me compile it
The client looks like eclipse project, or maybe workspace folder? Anyone mind pointing me to the right direction?
Wow, this can potentially be abused. Thanks! ;P
Updated to 123.3.0
changes since last release_mpgh.net.zip contains only the classes changed

Edit: Accidentally forgot to change the version number for the client in client.base.GameClient, just replace 123.0.0 with 123.3.0, also can't seem to edit the op anymore :s.

all (contains eclipse project).zip - Jotti's malware scan
changes since last release.zip - Jotti's malware scan
rotmgbase.zip - Jotti's malware scan
rotmgclient.zip - Jotti's malware scan
https://www.virustotal.com/file/fb41...is/1339573572/
https://www.virustotal.com/file/43f7...is/1339573581/
https://www.virustotal.com/file/ea21...is/1339573585/
https://www.virustotal.com/file/d6d0...is/1339573590/

Server and proxy are unchanged.
https://www.virustotal.com/file/e26f...is/1339115739/
rotmgproxy_u_mpgh.net.zip - Jotti's malware scan
https://www.virustotal.com/file/aeda...is/1339115832/
rotmgserver_u_mpgh.net.zip - Jotti's malware scan
rotmgserver_u_mpgh.net.zip68 KB · 34 downloads Scanning…
rotmgproxy_u_mpgh.net.zip15 KB · 29 downloads Scanning…
rotmgclient_mpgh.net.zip11 KB · 40 downloads Scanning…
rotmgbase_mpgh.net.zip56 KB · 29 downloads Scanning…
changes since last release_mpgh.net.zip47 KB · 42 downloads Scanning…
all (contains eclipse project)_mpgh.net.zip258 KB · 202 downloads Scanning…
Thanks for the update! Was trying to use the old version and got some "Reload your browser to update client" messages.

Since they are still being approved, what were the changes? A lot?
There wasn't many changes, packet numbers stayed the same, most of the contents of packets stayed the same except for a few. The hello packet gained 4 extra parameters (String pk, String Tq, String H, String playPlatform), the AOE packet gained an extra 2 parameters (int effect_, float duration_). That's pretty much it.
Genius
Quote Originally Posted by Ikulip View Post
There wasn't many changes, packet numbers stayed the same, most of the contents of packets stayed the same except for a few. The hello packet gained 4 extra parameters (String pk, String Tq, String H, String playPlatform), the AOE packet gained an extra 2 parameters (int effect_, float duration_). That's pretty much it.
Thanks, took me a few mins to figure it out but works like a charm. Pure genius this is.

Cheers

---------- Post added at 05:18 PM ---------- Previous post was at 05:07 PM ----------

Btw the version changed again, i just changed the version number in the hellopacket functions, havent run into trouble yet.
DOES IT WORK FOR 123.3?

---------- Post added at 06:58 PM ---------- Previous post was at 06:40 PM ----------

how to use it?

---------- Post added at 06:59 PM ---------- Previous post was at 06:58 PM ----------

how to use it?
The program works great for me untill i try to leave nexus and enter one of the realms. When i left nexus and entered one of the realms the multibox clients wouldnt follow me.

I looked in the log and noticed they failed when they received the reconnect packet. Using the proxy and trying to join one of the realms results in the exact same error.

Code:
next: 23.22.140.81
Exception in thread "Thread-7" java.lang.OutOfMemoryError: Java heap space
	at Forwarder.run(Forwarder.java:93)
which corresponds to this part of the code:

Code:
int packetId = in.readByte();
byte[] buf = new byte[packetLength - 5]; <-- line 93
in.readFully(buf);
First i increased the max heap size of the java vm to 500 mb, but that didnt solve anything. After that , checking packetlength shows a packet that is 1014001516 bytes long. Any ideas as how to solve this?
Hmm. For me, I'm having troubles getting them to even show up in the realm. I changed the IP to the realm IP I want them to join and the last thing I see in the log is CREATE Wizard. Since the character whose credentials I'm using doesn't have a character created, this should work, at least I would assume so.

I changed the version too, since I can't seem to download the new files. I suppose that could also be the issue, is that I don't have the updated classes...

I may be using this wrong. Once I get this figured out, I plan on doing some fun things in the Nexus.

Thank you for releasing this, btw.

EDIT: Got it working now. Mostly. Got some tinkering to do.
Thank you so much for sharing this, it is absolutely amazing!
However, when running client.base.LoadMany my code will fail when client.base.GameConnection.connect is called. I am unable to even establish a connection, resulting in the error "Failed to connect to 184.169.211.37 : Connection timed out: connect".
I am using ip - 184.169.211.37, port - 2050 (as is default in the source for USEAST3), are these parameters correct?

I would REALLY like to be able to contact you directly but i can't PM you due to my post count being below 10. Could i be cheeky and ask you to PM me your email?
If you open up https://realmofthemadgod.appspot.com/char/list?guid={accountemailhere}&password={accountpass here] with any random account you can view the ips of different nexus', the actual IP for USEast3 is 50.19.47.160 which is commented out right next to it. I also can't PM you as I'm under 10 posts myself.
Quote Originally Posted by Ikulip View Post
If you open up https://realmofthemadgod.appspot.com/char/list?guid={accountemailhere}&password={accountpass here] with any random account you can view the ips of different nexus', the actual IP for USEast3 is 50.19.47.160 which is commented out right next to it. I also can't PM you as I'm under 10 posts myself.
Do you have any idea for the problem i mentioned ikulip?
It sounds like the client is attempting to read malformed data, maybe the RC4 cipher isn't being reset (this really shouldn't be happening though), though it could be caused by other things. Overall it seems really strange, have you modified the source at all? The proxy works fine for me with no changes.
Thanks. It helps out people who can help themselves. I've found a few things that are bit weird, but if I play around with it for a little bit it should be fine. Great work if its all you.
Posts 1630 of 60 · Page 2 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?