So i've been hacking several flash games lately.
I decompile them, find the variables such as "_level0.mcGame.mcHud.mcTxtScore.txtScore".
I use c# to create the trainer, changing variables works so far however i tried to hack Avatar Arena lately, looked like a simple game to hack for me however im stuck!
I can decompile it so that isnt the problem, however i can't find good variables.
I see stuff like "Variable _global.LifeBar = [function 'LifeBar']".
And when i search further about "Life" i found the following:
"oPlayer:[object #62] {
mcRef:[movieclip:_level0.mcGame.mcBg.mcPlayer],
sName:"oPlayer",
nPosX:-128,
nPosY:266,
bPausable:true,
...blablabla...
<b>nMaxlife:100</b>,
...blablamorestuff...
"
How do i change nMaxlife now?
Because when i want to change "_level0.mcGame.mcHud.mcTxtScore.txtScore" i simply type in the following:
axShockwaveFlash.SetVariable("_level0.mcGame.mcHud.mcTxtScore.txtScore", "1337");
Where '1337' is the value, so my score would be 1337.
I've tested it and i see my score changing to 1337 so it works i guess.
But my problem is about nMaxlife, i really tried to search along the web but i'm giving up now so i've come here to ask help.
So in short now:
How do i change 'nMaxlife:100' to example 'nMaxlife:999' in C#?
Really thanks in advance!