[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prince of Persia cheating, Continued



BLuRry <brendan.robert@gmail.com> wrote:
> I got the one-click kill feature working 100% effectively now.  The trick
> was to update ShadLife ($6f).  Sometimes, the old method (changing
> ChgOppStr at $d2 to a negative number) still fires off and instead of
> immediately dropping dead, the hit is registered and you see the cool
> "POW" special effect appear before the corpse falls down.  Considering
> this occurs after clicking on the guy, it's a pretty tactile sensation when it happens.
> 
> Still looking at how doors open up.  I basically understand the code --
> there are animation buffers that track all the sequences going on.  Doors
> and gates are considered transitional objects and are tracked in the
> TRLOC, TRSCRN and TRDIREC arrays found from $B600 to $B640 in AUX.  So I
> think, if I read it correctly, is I just have to increment the "numtrans"
> variable (I think it's $96 in the aux zero page, but I'm still trying to
> track it down) and then set the appropriate values for TRLOC (will be
> 0-29 depending on what is clicked on), TRSCRN (the current screen, that's
> an easy one!), and TRDIREC (Direction  1 == open)
> 
> The only downside is that if there is any code updating these variables
> at the same time it could cause a really horrible race condition. 
> Hopefully that won't be the case though.

Hmmm. I would have expected that your recent experience with threads would
have convinced you that Murphy loves non-determinism and has no respect for
hope. ;-)

> On Thursday, April 26, 2012 5:47:37 PM UTC-5, BLuRry wrote:
>> Have source code, will hack.  :-)
>> 
>> Now that JACE is stable (e.g. doesn't crash when playing games that use
>> AUXMEM), I decided to take the new cheat feature to the next level. 
>> Remember in PoP there is a friendly little mouse that helps you.  Now
>> you can use your mouse to help you throughout the whole game.  I present to you:
>> 
>> MOUSE CHEATS!
>> 
>> Mouse cheat #1: The killer left-click
>> Basically if you left-click on an opponent (most likely a LOT) it will
>> kill him on the spot.  For whatever reason, it's not 100% reliable so
>> you have to click frantically.  In a way, it kind of adds to the game
>> that this doesn't work right.  Coming soon: Gate openers
>> 
>> Mouse cheat #2: Let's do the time warp again
>> If you right-click, it will change your coordinates to that spot (well,
>> really it will alias the Y coordinate to something that won't cause you
>> to fall).  This lets you jump around on the screen.  Gate closed? 
>> Scared you can't make that jump?  No problem!
>> 
>> This might sound totally absurd, but I can promise you that yes I
>> actually have the code working and, holy crap, is it hilarious!!
>> 
>> -B


-- 
-michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon