Arcade Prehacks

Results 1 to 9 of 9

Thread: AS3 Infinite

  1. #1
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    AS3 Infinite

    How can I make something infinite in an AS3 game?
    I've been here before.

  2. #2
    Super Moderator ZuckeR's Avatar
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    1,775

    Re: AS3 Infinite

    Yep, you just need to use the right "Number".

    Code:
    var negative:Number = Number.NEGATIVE_INFINITY;
    var positive:Number = Number.POSITIVE_INFINITY;
    If you want to use this as a hack it needs to be in the game somewhere to use it. On the other side you can also use NaN which should be 0x28 if i am right.

  3. #3
    Senior Member
    Join Date
    May 2010
    Location
    Pen Island
    Posts
    3,838

    Re: AS3 Infinite

    Quote Originally Posted by Sublimity
    How can I make something infinite in an AS3 game?
    Did I tell you this already?


    Code:
    //28
    as3_pushnan
    Why make a topic if I've already told you?

  4. #4
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: AS3 Infinite

    Ok, that's hard for me to understand.

    Let me give a more detailed explanation.

    I'm hacking the game Climate Revenge.
    I need the Rain and the Wind to be infinite. Whenever I change it to something above 100, it shows up as -...

    If I change

    Code:
    24 64
    to

    Code:
    24 96
    It shows up as -100 (It calculates the difference between the entered amount, which is 24 96 in this case, and 24 FF)

    Do you know how I can hack this?



    EDIT:

    Oh rofl, I didn't see your post.
    I know you told me that, but I forgot it. And, the game is a bit weird to hack, so I thought it might be better to ask for help here.
    I've been here before.

  5. #5
    Senior Member
    Join Date
    May 2010
    Location
    Pen Island
    Posts
    3,838

    Re: AS3 Infinite

    Wait,why would you need something to infinite,when you can just have a lot of it?

    Here:

    Lots of rain and wind:

    5e ae 02 24 64 68 ae 02 5e 9c 02 24 64 68 9c 02 =>
    5e ae 02 2d 08 68 ae 02 5e 9c 02 2d 08 68 9c 02

    Have fun.

  6. #6
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: AS3 Infinite

    Well, that's the problem.

    I tried that a few times (yes, I found it myself :P), but everytime I get a blue screen.
    I've been here before.

  7. #7
    Super Moderator ZuckeR's Avatar
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    1,775

    Re: AS3 Infinite

    Quote Originally Posted by Sublimity
    Code:
    24 96
    It shows up as -100 (It calculates the difference between the entered amount, which is 24 96 in this case, and 24 FF)
    Thats how it is supposed to be. The bytes are signed which means they go from 0 (0x00) to 127 (0x7f) and then -128 (0x80) to -1 (0xff).

    Also change the values that decrease the amount of rain and wind so it never decreases at all like i did. Can be found in classes.city and make sure you change both times rain, wind get decreased. Don't know what the original was but here is to what i changed it.
    Code:
    stormRain = stormRain - 0;
    stormWind = stormWind - 0;
    
    Both of these can be found twice in the game once for the normal decrease over time and one for the special decrease zones.

  8. #8
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: AS3 Infinite

    Ok, I did that, but it messes up the game. The game doesn't work properly anymore.

    I'll try to change subtract to add.

    Yes! It works!

    Thanks ZuckeR and rofl!


    Request lock
    I've been here before.

  9. #9
    Senior Member
    Join Date
    Jul 2009
    Posts
    8,079

    Re: AS3 Infinite

    Lock granted.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •