Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Cheating the Demon  (Read 522 times)

AlanL

  • Bay Watcher
    • View Profile
Cheating the Demon
« on: July 21, 2007, 03:11:00 pm »

I wanted to mine as much adamantine as I wanted without getting too-deeped until i honestly wanted to end my fortress. So, I started up Artmoney as soon as i started mining the stuff, and noticed that there are two counters for the amount of adamantium mined...

I have no idea why there are two or what each one does specifically, but they both count the total number of adamantium squares mined.

The first counter is located near the beginning of the memory, it seems like it might always end up at address 00A82EC8.

The second counter moves quite a bit, but tends to be much further down the memory, either in the upper 06******'s, or in the 07******'s. Does anyone know more about this?

Edit: It seems now I have 5 counters... the last counter has ended and has 2 new early counters and 2 new midrange counters, there are still 2 groups of counters..... either this means that I've discovered more 'safeguards' against this kind of cheating, or that i messed up and the demon is on the way. Some of these new counters don't directly correspond to the number of squares mined, they just tick one higher every time a new one is.

[ July 21, 2007: Message edited by: AlanL ]

Logged

Veroule

  • Bay Watcher
    • View Profile
Re: Cheating the Demon
« Reply #1 on: July 21, 2007, 10:14:00 pm »

The ones in the 06 and 07 range are likely seasonaly counters for the history information.  Those ranges are part of the dynamically assigned memory heap.  Things in the 00A range are global constants and that range is addressed by the information in the PE headers will be constant.  I can't tell you which ones are actually used for deciding whether to trigger the Too Deep without digging through the program.  I wouldn't feel right doing that for such a reason.
Logged
"Please, spare us additional torture; and just euthanise yourselves."
Delivered by Tim Curry of Clue as a parody of the lead ass from American Idol in the show Psych.

AlanL

  • Bay Watcher
    • View Profile
Re: Cheating the Demon
« Reply #2 on: July 21, 2007, 11:38:00 pm »

I see. Thanks for the reply  :) . Since that's the case, I would assume that the global constant would probably be the deciding counter. Probably the best way to test would be to start a fortress, mine 100 squares of adamantine, and save, setting one clock to zero, and waiting two seasons. If it gets too-deeped, it's the wrong counter. Potentially, both counters will need to be set, when I first saw it I felt that it might be a redundancy to keep glitches, bugs (, and cheaters?) from delaying the demon.

[ July 22, 2007: Message edited by: AlanL ]

Logged