Monday, May 7, 2012

Flasm

Flasm is useful for making pre-hacks.
Video is below. I'm sick and couldn't make the tutorial so just use this one.

http://www.youtube.com/watch?v=eGf_mO_5sDo
We won't be using flasm but if you would like to try it go ahead

Using HxD For Rotmg God Mode

Lesson 3-1:Using HxD For Rotmg God Mode

What you need to know before moving on.
*How to select process in HxD
*How to change values
*How to save the changes.
*Anything else important in this lesson.



Tutorial
In this tutorial we will be finding the god mode Aobs, and changing them, then saving them, and lastly testing it.
So let's begin.

First, open rotmg in Firefox, and HxD. Now make sure your in the game menu of rotmg. Now go to HxD and at the top left, there is a picture of a little bar like thing. Click it and select process plugin container.

Next, at the top click search, then click find. (Or hotkey Ctrl + F)

Third, in the search box change the following:Datatype: Hex Values, search direction: all. Now in the box type the aob for god mode we will be using the updated 122 version. So enter your aob, then click ok.

Now, if you can't find it, then either your aob is outdated, or your in wrong process sometimes there can be 2 plugin containers. Now if you did find it you should see it highlighted on the left with all the codes, and text showing what it is on the right.

Now simply change the Aobs to your desire, just select and type. In this case we change 4f ce 2f 02 to 4f 02 02 02. Now at the top go to file save, then go back to the game and test it out!

That's about it, any questions post here.

Intro To HxD

Lesson 3-0:Introduction To HxD

Basic Info
There isn't much to HxD... It's a hex editor, which means you use it to edit hex values and things. (Duh) Because there isn't much to teach about HxD the lesson will be short.

Just know HxD is a hex editor, and you have HxD, then you can move on.

Item Mod (Rotmg)


Lesson 2-5:Item Mod

So remember the item mod? Well I'm just going to teach you some stuff about it. So let's begin!

First, open the decompiler, and the game. Now set everything up. (Click ActionScript at top, then click raw data, and ignore case by search. Then on right, check the box by the game name, and click the +, so everything is selected)

Next, in the search box type: Crossbow then click search all as...
Now in the info box click the top one. You should see something like this:

<Object type=""0xa1b"" id=""Crossbow"">
<Class>Equipment</Class>
<Item/>
<Texture><File>lofiObj5</File><Index>0x52</Index></Texture>
<SlotType>3</SlotType>
<Tier>2</Tier>
<Description>A bow mounted on a stock that shoots with amazing speed and accuracy.</Description>
<RateOfFire>1</RateOfFire>
<Sound>weapon/crossbow</Sound>
<Projectile>
<ObjectId>Crossbow Bolt</ObjectId>
<Speed>200</Speed>
<MinDamage>20</MinDamage>
<MaxDamage>50</MaxDamage>
<LifetimeMS>375</LifetimeMS>
<MultiHit/>
</Projectile>
<BagType>0</BagType>
<OldSound>arrowShoot</OldSound>
</Object>

That is the item data, for the weapon: crossbow.
Now you probably wondering what is the red 0xa1b.
Well it is the item id, but if you check the thread with item ids it's normal numbers! 
So what is this? It is a hex value. It can be converted to normal numbers which were posted on the thread.

The easiest way to do this is, go to http://www.binaryhexconverter.com/hex-to...-converter

Then just enter 0xa1b in the hex box, and click convert. The result is 2587.
If you check the thread that is correct!
That's about it, but if you are interested in item data you can try hacking it?


Some things you can try:
Change the min damage to the max. so ex:20 change it to 50.
Change what projectile it shoots.
Change the sound.
Change the lifetime of projectile.
Etc etc

I recommend using HxD, if you don't know how to use it continue on with lessons! You might also be able to use cheat engine! Or whatever you like to use. Good Luck

Semi-GodMode

Lesson 2-4:The God Mode Aob's

Things to know before going on to the next lesson
*How to find aob's
*How to find the god mode aob
*How to use them



Tutorial
Congratz on making it this far. Today you will learn what the god mode really is....And how to update it yourself. But remember not to share this.
Don't worry if you understood everything up until now then this will be easy.


First, make sure you already have the decompiler loaded, and all the settings set. (RawData, ignore case, game is loaded etc..)

Next, on the right where the list is, click the + and check the box next to the game name. Now all folders should be selected. Now at the top left in the search box, type playerhit then click search all as, to the right of it.

Now, in the info box at the bottom a list should appear.
You should see a section called class name, and content.
Look for the class name that saids projectile, click it.

Lastly, once you click it code should appear.

//4f cc 2f 02 
_as3_callpropvoid playerHit(param count:2)

This means it is using the playerhit function when you get hit by a projectile. The 4f cc 2f 02 is the aob. All we got to do is disable it, so replace it with: 4f 02 02 02 the 02 means nothing, it just disables/breaks the code.

I believe that's all. When you are ready continue to the next lesson.
-