Arcade Prehacks

Results 1 to 4 of 4
  1. #1

    Join Date
    May 2008
    Posts
    5

    [updated!]Flash Hacker Tutorials - Currently 3 tutorials!

    So, since I have a new language you will need some tutorials!

    [color=#00FF00]Also, Greeny6000 (I think this is your foum but you are global mod not admin : /) Where can I make a Flash Hacker scripts thread? and an actual Flash Hacker thread, where i also can post the latest releases?[/color]


    [color=#FF0000]DOWNLOAD FLASH HACKER HERE! [/color]You need to register to download, as fast as i am on my own computer I will upload it here too

    Tutorial 1 explains how to load a .swf and how to set the scalemode and quality.
    Tutorial 2 Explains how to hack a game, based on tutorial one
    Tutorial 2.5 Goes through a small most boring ever flash game i coded, but actually tells you how to hack it!

    Always remember:
    Before going onto the next step, first test your script!
    End with the "end" tag.
    And use show("<window name>") or your window will not show up.

    Tutorial 1
    Requirements:
    .swf link


    Some basic things should always be in, those are
    Code:
    start("The trainer/script name")
    end
    Then get a game .swf link. and declare a variable. we will call the variable swf.

    Code:
    start("The trainer/script name")
    var swf
    end
    But if you do not declare a variable it holds a null value, So we need to give it a value.

    Code:
    start("The trainer/script name")
    var swf
    swf = "http://www.example.com/game.swf"
    end
    This showed how to declare variables and how to assign a value to them.

    Now, to load the game you need to declare a var with the value of "0", this will be the layer where the .swf link is loaded into.

    Code:
    start("The trainer/script name")
    var swf
    var layer
    layer = "0"
    swf = "http://www.example.com/game.swf"
    end
    Now all we need to do is use the swfurl(<layer>,<url>) command.
    If we would enter this into a script we would get:

    Code:
    start("The trainer/script name")
    var swf
    var layer
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    end
    Now the quality and the scalemode, declare two variables (use q for quality and s for scalemode) In this example we will use "1" as quality and "2" as scale mode

    Code:
    start("The trainer/script name")
    var swf
    var layer
    var q
    var s
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    end
    Now we have declared the variables we need to use the quality(<quality>) and scalemode(<mode>) functions.


    Code:
    start("The trainer/script name")
    var swf
    var layer
    var q
    var s
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    quality(q)
    scalemode(s)
    end
    And thats all to load a .swf link!


    ---------------------------------------------------------------------------------------------------------------------------


    Tutorial 2

    Requirements:
    .swf link
    variable(s)
    The script of Tutorial 1

    So, i will give you the script of Tutorial 1.

    Code:
    start("The trainer/script name")
    var swf
    var layer
    var q
    var s
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    quality(q)
    scalemode(s)
    end
    But we want to hack the game!

    yeh, i know thats why im here with my loveley tuts :S

    So we will start off by declaring some variables and assigning them values.
    Fires we declare a variable called "hackvariable", then we declare a variable called "hackvalue"

    Code:
    start("The trainer/script name")
    var swf
    var layer
    var q
    var s
    var hackvariable
    var hackvalue
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    quality(q)
    scalemode(s)
    end
    Now that we have done that, your variables come in! so if you for instance have a variable "_root.score" and you want your score to be "1337" you should give the previous declared variables a value.



    Code:
    start("The trainer/script name")
    var swf
    var layer
    var q
    var s
    var hackvariable
    var hackvalue
    hackvariable = "_root.score"
    hackvalue = "1337"
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    quality(q)
    scalemode(s)
    end
    And that's done!

    So now for the
    final part we need the variable<1-30>(<variable>,<value>) Since we used hackvariable as variable and hackvalue as value we need to make our script like this

    Code:
    start("The trainer/script name")
    var swf
    var layer
    var q
    var s
    var hackvariable
    var hackvalue
    hackvariable = "_root.score"
    hackvalue = "1337"
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    swfurl(layer,swf)
    quality(q)
    scalemode(s)
    variable1(hackvariable,hackvalue)
    end
    As an extra part you could add comments using #<comment>, for example:


    Code:
    start("The trainer/script name")
    #declaring variables
    var swf
    var layer
    var q
    var s
    var hackvariable
    var hackvalue
    #assigning values
    hackvariable = "_root.score"
    hackvalue = "1337"
    s = "2"
    q = "1"
    layer = "0"
    swf = "http://www.example.com/game.swf"
    #the script
    swfurl(layer,swf)
    quality(q)
    scalemode(s)
    variable1(hackvariable,hackvalue)
    end

    This was the second tutorial on Flash Hacker and you should now be able to hack flash games!


    -------------------------------------------------------------------------------------


    Tutorial 2.5

    Requirements:
    This .swf link http://www.swfpages.com/files/39464test.swf

    Notes:
    I made this a 2.5 because Tutorial 2 already covers most of this, the only diffrence is that this actually hacks a game. (Cool for begginer hackers.)


    We could just use the code of tutorial one, but that is kinda gay.
    So just declare the variables for the hack variable and value, quality, scalemode, the .swf layer(make the layer "0") and use start("") to load the screen. you should get something similar to this:

    Code:
    #Declaring variables
    var url
    var lay
    var hackvariable
    var hackvalue
    var q
    var a
    start("Tutorial 3")
    end
    Next: Assigning values to the variables, you should know this otherwise go and read through tutorial one and two again! If you looked at the Hints window in the game, you will notice that the variable is "_level0.Score". So just assign the "hackvariable" a value of "9999", this is gonna be your score. When you are done your script should look similar to this:

    Code:
    #Declaring variables
    var url
    var lay
    var hackvariable
    var hackvalue
    var q
    var a
    #Assigning values to the variables
    hackvariable = "_root.Score"
    hackvalue = "9999"
    lay = "0"
    url = "http://www.swfpages.com/files/39464test.swf"
    q = "1"
    a = "3"
    start("Tutorial 3")
    end

    Then we will load the .swf and set the quality and scalemode like in Tutorial 1. The script should look like this:

    Code:
    #Declaring variables
    var url
    var lay
    var hackvariable
    var hackvalue
    var q
    var a
    #Assigning values to the variables
    hackvariable = "_root.Score"
    hackvalue = "9999"
    lay = "0"
    url = "http://www.swfpages.com/files/39464test.swf"
    q = "1"
    a = "2"
    #The script
    swfurl(lay,url)
    quality(q)
    scalemode(a)
    start("Tutorial 3")
    end

    So now the last small part, the code which actually hacks the game. You will have to use the variable<1-30>(<variable>,<value>) function. so since you already declared the variable to hack and the value to hack plus assingning values to them it is a matter of only ONE line of code (plus one #info line). So just fill in variable1(hackvariable,hackvalue) in your script! This script will set the variable "_root.Score" to "9999" with a freezing rate of ten times per second! your final script should look somewhat like this:

    Code:
    #Declaring variables
    var url
    var lay
    var hackvariable
    var hackvalue
    var q
    var a
    #Assigning values to the variables
    hackvariable = "Score"
    hackvalue = "9999"
    lay = "0"
    url = "http://www.swfpages.com/files/39464test.swf"
    q = "1"
    a = "3"
    #The script
    swfurl(lay,url)
    quality(q)
    scalemode(a)
    start("Tutorial 3")
    variable1(hackvariable,hackvalue)
    end
    This is already the end of Tutorial 3, I hope it helped. And remember to report bugs in my scripts/tutorials here!

  2. #2

    Join Date
    May 2008
    Location
    Unknown
    Posts
    201

    Re: [updated!]Flash Hacker Tutorials - Currently 3 tutorials!

    Excellent tutorial, i will take a good look at it later today
    [color=#FF4000]“Your task is not to seek for love, but merely to seek and find all the barriers within yourself that you have built against it.”
    - Jalal Uddin Rumi
    [/color]

  3. #3

    Join Date
    May 2008
    Location
    hidden leaf village
    Posts
    389

    Re: [updated!]Flash Hacker Tutorials - Currently 3 tutorials!

    nice tutorial

  4. #4

    Join Date
    May 2008
    Posts
    5

    Re: [updated!]Flash Hacker Tutorials - Currently 3 tutorials!

    Thanks, it took me a while to write it

Posting Permissions

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