Lots of hacking tuts. We use the game realm of the mad god as a victim, and a few others.
Monday, May 7, 2012
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
Subscribe to:
Post Comments (Atom)
Every time I try to search it says; "Cannot Find the string "Crossbow""
ReplyDeletei found staff of destruction , then i change it's att , spd ,freq , but nothing happens : ....(
ReplyDelete