Yantra: A Story of Revenge - Key hack help
Okay, so I've followed Martin's tutorial so far, it's the key hack tutorial and I think I've done everything correctly but the loader doesn't load the SWF file.
Yes, I have the paths correctly.
Get the .fla file here or here (permalink) and then the SWF file here:
http://www.thisarcade.com/games/files/v ... arcade.swf (Right-Click-->Save link as..)
Then rename the game SWF to yantra.swf and move it into the same folder with the loader. You can try it, but I can tell you that you'll see nothing but a white screen.
Does someone want to help?
.fla file:
Code:
loadMovieNum("yantra.swf", 0);
//loadMovieNum("http://www.arcadeprehacks.com/unhacked_swf/yantra-loader.swf", 0);
/////////// START KEY LISTENER CODE BLOCK //////////////////
// Set the keys you want to listen for here.
// Get key codes here http://people.uncw.edu/tompkinsj/112...t/keyCodes.htm
keylistener = new Object();
keylistener.onKeyDown = function() {
if (Key.getCode() == 57) // Key number 9
{
_level10.health = 9999999999;
}
if (Key.getCode() == 56) //Key number 8
{
_level10.skillpoints = 99999999999;
}
}
Key.addListener(keylistener);
/////////// END KEY LISTENER CODE BLOCK //////////////////
Re: Yantra: A Story of Revenge
All questions or bugs related to the prehack-tutorial tutorial post them in the sticky in Tutorials.
Anyway I'll try to help you out.
Rename the original SWF file to "a.swf",something simple. Make sure they're in the same folder with no other files in there.
Clean your temporary files and maybe cookies if you open the loader with a web-browser.
Re: Yantra: A Story of Revenge - Key hack help
Hmm, I can't get it to work.
Does it matter if the game SWF and the loader SWF is a different Flash version?
Oh, and if I "publish" it as a HTML file, it works without a problem!
Re: Yantra: A Story of Revenge - Key hack help
Quote:
Originally Posted by Joonaqwe
Does it matter if the game SWF and the loader SWF is a different Flash version?
Oh, and if I "publish" it as a HTML file, it works without a problem!
I don't think so,it should work fine anyway.
Oh,so you got the game hacked,make sure you test out the key hacks before you upload it! :Wink:
Re: Yantra: A Story of Revenge - Key hack help
But the game doesn't load as a SWF, only when the loader is a HTML-file.
Re: Yantra: A Story of Revenge - Key hack help
It's alright,submit it and I'll take a look myself
Re: Yantra: A Story of Revenge - Key hack help
Sigh, now I did something and it doesn't work :cry:
Anyways, could you take a look? Uploaded.
Re: Yantra: A Story of Revenge - Key hack help
Yeah,sorry,the won't load now at all. Can I have the variables,I will code the loader myself and send it to you back so you'll see what you did wrong :ok:
Re: Yantra: A Story of Revenge - Key hack help
Umm, the variables are in the first post.
But I'm not sure about the hacks, the Variable Engine crashes every time I open the SWF, keeps on giving me some Floating Variable errors....
That's why I needed to check the variables from Flasm.
Re: Yantra: A Story of Revenge - Key hack help
Well checking from Flasm won't work,I mean it doesn't go that way.
Try using this scanner instead,the interface is a bit different but you'll have better preview on all variables.
http://www.mediafire.com/?jmgmnd2aydd