Realm of the Mad God

From FCL Wiki

Jump to: navigation, search

Contents

Prehacks

RotMG by Cris

Links

Download RotMG by Cris

Youtube Preview

Features

Archer renamed to Link

Link = Fast arrows, high damage(Poor quality Bow only)

Knight, Paladin, Warrior, Priest = Fast projectiles, lots of projectiles, high damage(first weapon only)

Knight and Paladin unlocked from start


How to open swf files

Although you can open it in browsers it will usually just stretch it, the best way is to download a Flash projector.

http://www.adobe.com/support/flashplayer/downloads.html

>Download the Windows Flash Player 10.1 Projector (EXE, 5.30 MB)

How to Save

  • 1. Open OnlyforSaving.swf
  • 2. Make character, any class, doesn't matter... just get in game and after that leave. This testing client will save your character.
  • 3. Open CrisRMG.swf to play the public servers, the saved character from the testing one will show at all times. Delete it and make a new char with name and class.
  • 4. Everytime you close the swf it will save, however when you open it it won't show your character. Instead it will show the old character from the other swf.
  • 5. When you die you need to delete character and remake, otherwise if you still have a character alive then click the old character and it will go to your real one.

Hex Editing

Tutorial

Tutorial source by j4ke

I have been playing Realm of the Mad God off and on since its debut but never have come across anyone who actually could successfully cheat in the game until a few days ago. I couldn't pass on some hacking Realm of the Mad God fun so I searched the AS3 code with Sothink for anything that would be helpful in doing so. I found a couple locations in the AS3 code or raw data which would handle cheaters in game("handleCheater") with one being the actual function and other calling the function. If you try changing any values in game without first stopping the function the game deletes your character and kicks you.


I chose both the function and function call shown below to NOP(02) using the free hex editor called HxD. You could use Cheat Engine or Memory Hacking Software but I believe this program makes the process simple and quick. I tried the hex editor tool in MHS but it didn't work for me. You do not have to just rely on hex editing/replacing AoB's you find but can change any values you find using CE or MHS as long as you NOP the handleCheater function first. I found that for Google Chrome browser the first process listed is the one you would need and for FireFox browser you need to locate the plugin-container.exe process when using HxD.


com>company>assembleegameclient>game>GameSprite :

//66 18
_as3_getproperty _-82
//66 42
_ as3_getproperty player_
//46 26 00
_as3_callproperty toString(param count:0)
//4f d9 0a 02
_as3_callpropvoid failure(param count:2)
//47

and


com>company>assembleegameclient>object>Player :

//4f d3 18 00
_as3_callpropvoid handleCheater(param count:0)
//26
_as3_pushtrue
//48

I was fooling around with this function I found which obviously involves damage amount and shooting. I replaced the get damage_ property with a different one in the code. I wasn't sure what to expect but I ended up with completely disabling all enemies shooting projectiles.


com>company>assembleegameclient>net>_-Gs :

private function _-GL(param1:Shoot) : void
{
......
//66 94 05
_as3_getproperty damage_
//4f d4 0d 05
_as3_callpropvoid _-q(param count:5)
//d0
_as3_getlocal <0>
//66 1d

and chose the getproperty //66940c from GameObject to replace it.


I was using MHS/CE for searching my STR in game using long/4byte and changing the value for doing absurd damage. You would have to find the correct address every time you entered/exited a dungeon using this method so why not find a way to permanently set your attack with a value already used in the game by replacing some AoB's in memory. I did just that and it didn't take very long to do. I found that the game loads all your char attributes through a function after you selected a server and if you search through the code you'll find "HitPoints", "MaxHitPoints" or through the decrypted SWF you'll find "Attack", etc. You will find that "Attack" is associated with "_-Ka" throughout the whole code. I found a beneficial variable used in the same object that we can use instead of the "_-Ka". You'll notice it is used twice from the object below but we'll just replace both.


com>company>assembleegameclient>object>Player :

override public function toString() : String
{
........
var _loc_1:* = ...+ "" + _-Ka + "" +...

//11 72 00 00
_as3_iftrue offset: 114
//60 99 08
_as3_getlex _-Ka
//a0
_as3_add
//2c ab 05

and we'll replace with :

//60 86 0c
_as3_getlex _-6E (10000)
public static const _-6E:int = 10000;

The AoB's needed for cheating Realm of the Mad God are found below which I'll try and update once the game has been updated or you could find them yourself.

  • Disable anti-cheat in game - Must replace at title screen
Search for: 661866424626004fd90a0247
Replace with: 020202020202000202020202
Datatype: hex-values
  • Disable anti-cheat in game - Must replace when in game
Search for: 4fd318002648
Replace with: 020218000202
Datatype: hex-values
  • Disable enemy shooting/damage - Must replace at title screen
Search for: 6694054fd40d05d0661d
Replace with: 66940c4fd40d05d0661d
Datatype: hex-values
  • Change Attack Damage - Must replace at title screen
Search for: 123b0000609908244ba3
Replace with: 123b000060860c244ba3
Datatype: hex-values
  • Change Attack Damage - Must replace at title screen
Search for: 11720000609908a02cab05
Replace with: 1172000060860ca02cab05
Datatype: hex-values

Youtube Preview

Links

Official Site

Testing Client with more features and different server2

Public Servers

Testing Server

Game's Song

Griefing

Example
Unfortunately this is basically a co-op game in the sense that you can't steal kills. Otherwise that would be the easiest and best way, just stalk someone and prevent them from grinding. Well is the other way around, once they see you hack they will stalk you to steal every drop and exp you make through such hard work...

If you're using the prehack you could probably lag some people with the amount of fireballs being thrown, however thats not good enough. If you want to piss of everyone you should follow the tutorial for godmode or find another method. After that start luring mobs/gods(try staying still) until you have them all over you and the first person to teleport to you will instantly die. The delicious tears will depend on their level and the amount of time they spent on their character.

Personal tools