Updating MarinePower's

Posts 115 of 365 · Page 1 of 25
Updating MarinePower's
I realize this has been discussed all over the Realm of the Mad God community on various sites. MarinePower's proxy has gone outdated, and he's not planning on updating it [as said in the main update screen when you start the client]. Although I'm not that good at Java, I know the basics, and I'm quite interested in taking the project on and working with others on getting it working again! I believe Marinepower's proxy was one of the best out there for Realm of the Mad God and some of its features were extremely helpful (I.E. "Loot Bag!" Quest notifications). Together, we might be able to recode it and bring it back for recent updates!

Some of the code for this proxy is very hard to understand. Of course, it was coded by someone else, so this is understandable.

I know I'm not the only one interested, so I decided to do a bit of research to start the project off.
Marinepower's is based on the Oryx-hates-emulation project on GitHub written by FuryHunter. It has been taken down, but when decompiling a recent version of the proxy [v. 1.08], I found that oryx-hates-emuation was built into the jar file. I was also able to find a very old version of Furyhunter's oryx-hates-emulation file on *******. I'll provide that here in an attachment. If we can't use oryx-hates-emulation, I was also able to find an older proxy here on MPGH. It might be outdated, however. User flyrocket, here on the forums said that the packet headers changed, making the proxy not work. If we can fix these we should be able to get it working

The hack/proxy is also using the JDOM libraries. You'll have to add these to your source as well.

Add any comments you have here on how we can continue with updating this.

Current Projects:
-Decompiling the source and recompiling it into an Eclipse Project [Source] folder. -- DONE
-Add new headers to the source -- DONE
-Find out what's wrong with the proxy (not writing data) -- NOT DONE :C



Virus scans:

Oryx Hates Java -
Furyhunter-oryx-hates-java-f8fd606xxx.zip - Jotti's malware scanJotti
https://www.virustotal.com/file/7eef...is/1346698144/VirusTotal
Other Proxy -
https://www.virustotal.com/file/e26f...is/1346698302/VirusTotal
rotmgproxy_u_mpgh.net.zip - Jotti's malware scanJotti
Furyhunter-oryx-hates-java-f8fd606xxx_mpgh.net.zip412 KB · 441 downloads Scanning…
rotmgproxy_u_mpgh.net_mpgh.net.zip15 KB · 331 downloads Scanning…
Good idea, but this will be very hard. Also, i think you guys should make a CLIENT, not a proxy, as there is a lot of people that have no idea of how to install a proxy.

If you manage to make a client, you would only need to update the loot bags thing, because everything else is already under control
Possibly a runnable jar file that is a client. Definitely will have to be java though... Although I've heard some of these features do require a java proxy.
I've been working on this also (although with another source based on furyhunters).
Using this as a base to learn java since I am not fluent. So far I have gotten it to connect by updating all the packet headers and updating some packets.
Quote Originally Posted by flyrocket View Post
I've been working on this also (although with another source based on furyhunters).
Using this as a base to learn java since I am not fluent. So far I have gotten it to connect by updating all the packet headers and updating some packets.
Oh cool. Anything working so far, and if so, would you be able to post source?

In addition, I'm currently also working on a client version. If we can't get the proxy to update, a .jar client might work.
Good post. I don't know java so it might be a bit difficult for me to help, but I'll try in any way I can.
At the moment, I am just trying to figure out why I randomly get out of memory errors when it is reading the packet.

But implementing autoloot, hp & loot remaining notifications, auto nexus, and even auto spell would be easy.

Anyhow, here are the updated headers for you:
Code:
	public final static int FAILURE = 0; 
	public final static int CANCELTRADE = 1; 
	public final static int USEPORTAL = 3; 
	public final static int INVRESULT = 4; 
	public final static int JOINGUILD = 5; 
	public final static int PING = 6; 
	public final static int MOVE = 7; 
	public final static int GUILDINVITE = 8; 
	public final static int GLOBAL_NOTIFICATION = 9;
	public final static int SETCONDITION = 10; 
	public final static int UPDATEACK = 11; 
	public final static int TRADEDONE = 12; 
	public final static int SHOOT = 13; 
	public final static int GOTOACK = 14; 
	public final static int CREATEGUILD = 15; 
	public final static int PONG = 16; 
	public final static int HELLO = 17; 
	public final static int TRADEACCEPTED = 18; 
	public final static int SHOOTMULTI = 19; 
	public final static int NAMERESULT = 20; 
	public final static int REQUESTTRADE = 21; 
	public final static int SHOOTACK = 22; 
	public final static int TRADECHANGED = 23; 
	public final static int PLAYERHIT = 24; 
	public final static int TEXT = 25; 
	public final static int UPDATE = 26; 
	public final static int BUYRESULT = 27; 
	public final static int PIC = 28; 
	public final static int USEITEM = 30; 
	public final static int CREATE_SUCCESS = 31; 
	public final static int CHOOSENAME = 33; 
	public final static int QUESTOBJID = 34; 
	public final static int INVDROP = 35; 
	public final static int CREATE = 36; 
	public final static int CHANGETRADE = 37; 
	public final static int PLAYERSHOOT = 38; 
	public final static int RECONNECT = 39; 
	public final static int CHANGEGUILDRANK = 40; 
	public final static int DEATH = 41; 
	public final static int ESCAPE = 42; 
	public final static int PLAYSOUND = 44; 
	public final static int LOAD = 45; 
	public final static int ACCOUNTLIST = 46; 
	public final static int DAMAGE = 47; 
	public final static int CHECKCREDITS = 48; 
	public final static int TELEPORT = 49; 
	public final static int BUY = 50; 
	public final static int SQUAREHIT = 51; 
	public final static int GOTO = 52; 
	public final static int EDITACCOUNTLIST = 53; 
	public final static int CLIENTSTAT_FILE = 55; 
	public final static int SHOW_EFFECT = 56; 
	public final static int ACCEPTTRADE = 57; 
	public final static int CREATEGUILDRESULT = 58; 
	public final static int AOEACK = 59; 
	public final static int MAPINFO = 60; 
	public final static int TRADEREQUESTED = 61; 
	public final static int NEW_TICK = 62; 
	public final static int NOTIFICATION = 63; 
	public final static int GROUNDDAMAGE = 64; 
	public final static int INVSWAP = 65; 
	public final static int OTHERHIT = 66; 
	public final static int TRADESTART = 67; 
	public final static int AOE = 68; 
	public final static int PLAYERTEXT = 69; 
	public final static int ALLYSHOOT = 74; 
	public final static int CLIENTSTAT = 75; 
	public final static int ENEMYHIT = 76; 
	public final static int INVITEDTOGUILD = 77; 
	public final static int GUILDREMOVE = 78;
Once again, total noob to java but... Got a link for the proxy you're using? Seems oryxhatesjava has quite a bit of errors.

Also, what we can do with this is add Nilly's full featured client in the ZIP upon release, so that users may use both the proxy and the custom client at the same time.

EDIT: I also can't find where he put all his int definitions.
OMG !!!!! YEah the best hack is back wooooooooot!!!! nice job!!!!!
Quote Originally Posted by pings View Post
OMG !!!!! YEah the best hack is back wooooooooot!!!! nice job!!!!!
you sound like an idio.... next time read before you post
Quote Originally Posted by flyrocket View Post
At the moment, I am just trying to figure out why I randomly get out of memory errors when it is reading the packet.

But implementing autoloot, hp & loot remaining notifications, auto nexus, and even auto spell would be easy.

Anyhow, here are the updated headers for you:
Thanks! Updated the headers! Only issue we've got now is that we're missing two headers. Enemyshoot and file. Let me know if you can find 'em.

Once we find these headers, we might be able to use the old source to create the new version of Marinepower's. With the proxy done, it's nothing to worry about.
@pings We're not done yet, got a bit to go. So, we can't upload anything yet, we haven't gotten certain features fixed. These two packet ID's are very important.
Quote Originally Posted by sdfds View Post
Thanks! Updated the headers! Only issue we've got now is that we're missing two headers. Enemyshoot and file. Let me know if you can find 'em.

Once we find these headers, we might be able to use the old source to create the new version of Marinepower's. With the proxy done, it's nothing to worry about.
@pings We're not done yet, got a bit to go. So, we can't upload anything yet, we haven't gotten certain features fixed. These two packet ID's are very important.
okay need to wait :O
it is good and thank you and good luck with the project! you need to succeed :P
CLIENTSTAT_FILE = FILE
SHOOTMULTI = ENEMYSHOOT
Okay, added all ints and the proxy is now updated. Time to fix marinepower's.

---------- Post added at 05:31 PM ---------- Previous post was at 03:59 PM ----------

Stack trace says it's having trouble finding the Build Version. Not sure where the build version string is defined.

The issue is located at Line 93 of HelloPacket.java, where the build version is supposed to be displayed. Must be an old build version string or something messing this up.

---------- Post added at 05:49 PM ---------- Previous post was at 05:31 PM ----------

Line that is making the proxy not work:


this.buildVersion = read.readUTF();

Right above it, the string buildVersion is defined as:

public String buildVersion;

Well crap There's one thing wrong with the buildversion string and I need to find that now :O

---------- Post added at 05:58 PM ---------- Previous post was at 05:49 PM ----------

Once I can get the Proxy finished, Marinepower's will be very close to being finished. However, this error is the one preventing it from starting.
I really would like to help update this myself, but I decompiled it and every class file doesent have a good name (A-Z), therefore it will be hard to call from each other, and to know which is which.
Posts 115 of 365 · Page 1 of 25
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?