VB.NET : Learn to Fly- Hacked source code

Discussion in 'Code Snippets and Tutorials' started by Fexxel, May 26, 2009.

  1. Fexxel

    Fexxel Level IV

    Joined:
    Jan 28, 2009
    Messages:
    959
    Likes Received:
    26
    Before I post this, you should know this is THE most simple snip you'll ever see. (Or at least, I hope so)
    Code (Text):
    1.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.         Call AxShockwaveFlash1.SetVariable("cash", TextBox1.Text)
    3.     End Sub
    4.  
    5.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    6.         AxShockwaveFlash1.Play()
    7.     End Sub
    Description part: (Fun)
    Call AxShockWaveFlash1 - The object I'm adressing
    .SetVariable("cash", textbox1.text) - Set the variable in the object I adressed "cash" to the text in textbox1
    ---
    AxShockwaveFlash1.Play() - If not already loaded, it loads the game.

    When I said simple I meant it.
     
  2. zav75

    zav75 Level I

    Joined:
    Feb 28, 2007
    Messages:
    76
    Likes Received:
    6
    Location:
    Canada, Province of Québec
    Sorry I'm out of context could you explain what you intend to do with this ? I guesse it's linked to flash since you used a AxShockwaveFlash object.
     
  3. Fexxel

    Fexxel Level IV

    Joined:
    Jan 28, 2009
    Messages:
    959
    Likes Received:
    26
    Um. TO hack the game. So... To have fun is what I intend to do with the hack? And yes, it is flash. AxShockwaveFlash is the default name.
    Sorry, I don't really understand your post.
     
  4. Andromeda

    Andromeda Level I

    Joined:
    Aug 19, 2009
    Messages:
    44
    Likes Received:
    4
    This modifies a specified "cash" property within the current Flash object.