How can I make something infinite in an AS3 game?
How can I make something infinite in an AS3 game?
I've been here before.
Yep, you just need to use the right "Number".
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.Code:var negative:Number = Number.NEGATIVE_INFINITY; var positive:Number = Number.POSITIVE_INFINITY;
Did I tell you this already?Originally Posted by Sublimity
Why make a topic if I've already told you?Code://28 as3_pushnan
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
toCode:24 64
It shows up as -100 (It calculates the difference between the entered amount, which is 24 96 in this case, and 24 FF)Code:24 96
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.
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.
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.
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).Originally Posted by Sublimity
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.
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.
Lock granted.