Arcade Prehacks

Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1

    Join Date
    Nov 2010
    Posts
    40

    How to understand the SWF text codes?

    I was recently trying to hack the trophies and colors in Fancy Pants Adventure 2 just for a test hack ( you know, experience) and I couldn't seem to understand the text (i.e push 1, "Gold"). If anyone could explain this coding and could help me understand it then it would be helpful to new hackers who need help (such as myself, only joined yesterday) and hackers to come. Thanks in advance.

    -WaltronX

  2. #2
    Senior Member spiderkid12's Avatar
    Join Date
    Jun 2010
    Posts
    1,857

    Re: How to understand the SWF text codes?

    Ok when you open the text file thats all the coding for the game. Like for example:

    pants;; color=red status=locked

    I just made that up but thats coding for the game.

  3. #3

    Join Date
    Nov 2010
    Posts
    40

    Re: How to understand the SWF text codes?

    I understand what you mean, but those are the simple types. There are ones that are confusing. Can you tell my some of the codes for the pants colors?

  4. #4
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: How to understand the SWF text codes?

    If you see this in a text file:

    push 'Trophy2', 'red'

    That means Trophy2 will be red. If you change 'red' to 'blue':

    push 'Trophy2', 'blue'

    Meaning Trophy2 will be blue.
    I've been here before.

  5. #5
    dberube4's Avatar
    Join Date
    Oct 2009
    Location
    In my dream....
    Posts
    637

    Re: How to understand the SWF text codes?

    Ahh push code.

    A small Example:



    This code makes you start a fight in "element the game" against a level 3 opponent.

    on overDownToOverUp
    constants 'retele', 'addele', 'lostelectrum', 'level', '_root', 'tutortext', 'Not enough Electrum', 'tutor', 'gotoAndPlay'
    [color=#FF0000] push 0.0, 'retele'
    callFunction
    push 10
    lessThan
    not
    not
    branchIfTrue label1[/color]
    [color=#004080] push -10, 1, 'addele' [/color]
    callFunction
    pop
    push 'lostelectrum', 10
    setVariable
    push 'level', 3
    setVariable
    gotoLabel 'game'
    play
    branch label2
    [color=#00FF00] label1:
    push '_root'
    getVariable
    push 'tutortext', 'Not enough Electrum' [Message IF YOU NEED MORE MONEY]
    setMember
    push 2, 1, '_root'
    getVariable
    push 'tutor'
    getMember
    push 'gotoAndPlay'
    callMethod
    pop[/color]
    label2:
    end
    end // of defineButton 1678


    In red: If you have less than 10 electron (push 10, less than , not) you go to the label 1 ( branchIfTrue label1 (In green))

    In blue: push -10, 1, 'addele' : (will add -10 electrum to your account) so if you change -10 by 9999999 you will gain 999999 electrum if you challenge a level 3.
    Addele is a function because "callFunction" is under.

    "push 'lostelectrum', 10" and "push 'level', 3" (level and lostelectrum) are variables because "setvariable" is under.

  6. #6

    Join Date
    Nov 2010
    Posts
    40

    Re: How to understand the SWF text codes?

    Im beginning to understand. Could you show me another example in a Fancy Pants type game?

  7. #7
    dberube4's Avatar
    Join Date
    Oct 2009
    Location
    In my dream....
    Posts
    637

    Re: How to understand the SWF text codes?

    Quote Originally Posted by WaltronX
    Im beginning to understand. Could you show me another example in a Fancy Pants type game?
    Edit!

    Example in fancy pants 1:

    label2:
    push 'onEnterFrame'
    function2 () (r:1='_root')
    push 'CharAngel'
    getVariable
    push '_y', 'CharAngel'
    getVariable
    push '_y'
    getMember
    decrement
    setMember
    push 'i', 'i'
    getVariable
    decrement
    setVariable
    push 'i'
    getVariable
    push 0.0
    equals
    not
    branchIfTrue label5
    [color=#FF0000]push r:_root, 'Lives'
    getMember
    push 0.0
    equals
    not
    branchIfTrue label3[/color]
    push r:_root, 'Setup'
    function2 () (r:1='_root')
    push r:_root, 'Lives', 3
    setMember
    end // of function


    In red : If the variable "life" = 0 then you die so if you change [color=#FF0000]0.0[/color] by [color=#FF0000]9[/color] (because you start with 3 lives) you will only die if you have 9 lives.

  8. #8

    Join Date
    Nov 2010
    Posts
    40

    Re: How to understand the SWF text codes?

    Oh perfect! One more thing, how to hack trophies/ammo/guns/unlockables in games?

  9. #9
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: How to understand the SWF text codes?

    Just read a tutorial. We don't do private lessons.
    I've been here before.

  10. #10

    Join Date
    Nov 2010
    Posts
    40

    Re: How to understand the SWF text codes?

    I have read it since the first day I got here, just one thing: the tutorial doesn't explain this type of stuff! It only explains that simple gold/lives/health hack.

Page 1 of 3 123 LastLast

Posting Permissions

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