View Single Post
Old 01-08-2001, 01:49 AM   #1
BellTower
Guest
 

Posts: n/a
Default

I've seen many complain about not having enough money and I absolutely hate all the clicking involved to make money with those damn guild arrows. So here goes...

Grab a hex editor, open the ROSTER.DAT file with it, find the name of the character you wish to give all the money to, go down the screen until you see the Bag of Gold item, in the four bytes right in front of the Bag of Gold item enter FF FF 7F FF. This should give you 2,147,483,647 gold. More than enough I think for anyone's needs.

*begin technical stuff*
I believe they used signed longs (been too long since I've dealt with C++ so it could be something else but I'm sure its signed whatever it is) which means that the first bit determines whether the number is positive or negative (1 is negative, 0 is positive). That is why you must put a 7 (its the highest hexidecimal number possible whose binary representation doesn't begin with a one) instead of an F.
*end technical stuff*

Also, I was bored a few days ago and figured out where much of the important info for the characters is at in the ROSTER.DAT file. I wanted to figure it out since I hadn't seen any character editors on any of the sites I'd been to. I never did find where the character's image or skill levels were stored...though I did find where the mana totals and spells were stored along with race, current class, sex, ability scores, hit points, experience, and the bit mapping for all the traits. I found two undocumented and probably unimplemented traits: Blood Realm and Faery Wings. It took me about an hour of entering and exiting the game to figure out where they all were...yes, I was VERY bored.

A word of warning. Maxing out your gold this way may cause the game to crash if you add even one gold to it. At best, it'll probably cause the number to become negative...at worst, it could crash the game. I didn't bother to see what happens though. I highly recommend using FF FF 3F FF instead. It'll give you 1,073,741,823 gold which should still be plenty. And, as always, back up the ROSTER.DAT file before you start any kind of editing just incase.

Happy Gaming!

BellTower
  Reply With Quote