Results 1 to 8 of 8
  1. #1
    Coder
    LOL
    RyderZombie's Avatar
    Join Date
    Sep 2010
    Location
    On the Ground
    Posts
    131
    Points
    333
         User Info     Contact     Gamer ID
    Join Date
    Sep 2010
    Location
    On the Ground
    Posts
    131
    Points
    333

    Default help with command

    Yesterday i asked for help with the add command got it but then im not sure i under stood it correct Can someone help me with this when i turn the code on it freezes so can someone tell me what i did wrong and help me correct this



    #EBP SHOOTS 20 V3
    ;BillCurly335
    0x08A27C30 0xAC820064
    0x08A27C28 0x24020014
    0x08A27C2C 0xAC820054

    #3 EBP SHOOTS 20
    ;BillCurly335
    ;RyderZombie
    0x0000CC14 0x0a200c00-hook
    0x00003000 0x3c0808a2-lui t0 $08A2
    0x00003004 0x3c09ac82--lui t1 $AC82
    0x00003008 0x25290064--addiu t1 t1 $0064
    0x0000300c 0x01295020-add t2 t1 t1
    0x00003010 0x3c0b2402-lui t3 $2402
    0x00003014 0x256b0014-addiu t3 t3 $0014
    0x00003018 0x016b6020-add t4 t3 t3
    0x0000301c 0x3c0dac82-lui t5 $AC82
    0x00003020 0x25ad0054-addiu t5 t5 $0054
    0x00003024 0x01ad7020-add t6 t5 t5
    0x00003028 0xad0a7c30-sw t2 $7C30(t0)
    0x0000302c 0xad0c7c28-sw t4 $7c28(t0)
    0x00003030 0xad0e7c2c-sw t6 $7c2c(t0)
    0x00003034 0x03e00008-jr ra

    So i though maybe ill try it with a small one line code so i did it works but when i respawn it freezes

    #Anti No Body
    ;RyderZombie
    0x08988124 0x03E00008

    #Anti No Body
    ;RyderZombie
    ;No Body=no CFG
    0x0000CC14 0x0a200c00-hook
    0x00003000 0x3c080898-lui t0 $0898
    0x00003004 0x3c0903e0-lui t1 $03e0
    0x00003008 0x25290008-ori t1 t1 $0008
    0x0000300c 0x01295020-add t2 t1 t1
    0x00003010 0xad0a8124-sw t2 $8124(t0)
    0x00003014 0x03e00008-jr ra

    0 Not allowed! Not allowed!

  2. #2
    ($user_isGay == TRUE)? giveAids() : break; aids's Avatar

    Badge

    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
         User Info     Contact     Gamer ID
    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
    Gamer IDs

    PSN ID: TheOriginalVirus

    Contact info:

    Youtube Channel: http://www.youtube.com/riottape Kik Username: aids gtalk account: codeleakers.com@gmail.com

    Default

    Quote Originally Posted by RyderZombie View Post
    Yesterday i asked for help with the add command got it but then im not sure i under stood it correct Can someone help me with this when i turn the code on it freezes so can someone tell me what i did wrong and help me correct this



    #EBP SHOOTS 20 V3
    ;BillCurly335
    0x08A27C30 0xAC820064
    0x08A27C28 0x24020014
    0x08A27C2C 0xAC820054

    #3 EBP SHOOTS 20
    ;BillCurly335
    ;RyderZombie
    0x0000CC14 0x0a200c00-hook
    0x00003000 0x3c0808a2-lui t0 $08A2
    0x00003004 0x3c09ac82--lui t1 $AC82
    0x00003008 0x25290064--addiu t1 t1 $0064
    0x0000300c 0x01295020-add t2 t1 t1
    0x00003010 0x3c0b2402-lui t3 $2402
    0x00003014 0x256b0014-addiu t3 t3 $0014
    0x00003018 0x016b6020-add t4 t3 t3
    0x0000301c 0x3c0dac82-lui t5 $AC82
    0x00003020 0x25ad0054-addiu t5 t5 $0054
    0x00003024 0x01ad7020-add t6 t5 t5
    0x00003028 0xad0a7c30-sw t2 $7C30(t0)
    0x0000302c 0xad0c7c28-sw t4 $7c28(t0)
    0x00003030 0xad0e7c2c-sw t6 $7c2c(t0)
    0x00003034 0x03e00008-jr ra

    So i though maybe ill try it with a small one line code so i did it works but when i respawn it freezes

    #Anti No Body
    ;RyderZombie
    0x08988124 0x03E00008

    #Anti No Body
    ;RyderZombie
    ;No Body=no CFG
    0x0000CC14 0x0a200c00-hook
    0x00003000 0x3c080898-lui t0 $0898
    0x00003004 0x3c0903e0-lui t1 $03e0
    0x00003008 0x25290008-ori t1 t1 $0008
    0x0000300c 0x01295020-add t2 t1 t1
    0x00003010 0xad0a8124-sw t2 $8124(t0)
    0x00003014 0x03e00008-jr ra
    Ok there's a lot going on here try to follow me.

    You don't need the add at all. When in doube, get a sheet of paper and add the registers manually. In my experiance ori works best when dealing with 0s, so I would use an addui instead of the ori. In any case you're wantint to put 03e00008 in t1. Then in the next line, you're telling the mips to add t1 to t1 and store it in t2 which gives you 0x07c00010 in t2. You don't even need the add at all.

    Lose the add entirely, and rreplace the ori with addui until you fully understand what's going on with the ori statement.

    Sorry for the typos and misspellings I'm on my phone and it sucks to go back and correct.

    If I can try to help with the mips here's how I would do it

    Lui t0, $0899 (rmember to add 1 if adding a "neg" number)
    Addiu t0, t0, $8124
    Lui t1, $03e0
    Addui t1, t1, $0008
    Sw t1, $0000(t0)
    Jr ra

    Don't forget about the neg number rule, anything over 7fff mips consides a neg number and will subract one from the value you're adding to.

    I'm sure there's other ways to write that line, but any programmer will tell you KISS - keep it simple stupid.


    Sent from the AidsPhone12000
    (CL is tapatalk enabled. Get it free here.)

    0 Not allowed! Not allowed!
    BTC: 1AidsG8MHF4cEN6KpY1mhJPBhXtms65GVE

  3. #3
    ($user_isGay == TRUE)? giveAids() : break; aids's Avatar

    Badge

    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
         User Info     Contact     Gamer ID
    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
    Gamer IDs

    PSN ID: TheOriginalVirus

    Contact info:

    Youtube Channel: http://www.youtube.com/riottape Kik Username: aids gtalk account: codeleakers.com@gmail.com

    Default

    Sorry I was using your last code, the one liner, as an example, I should have clarified that.

    Sent from the AidsPhone12000
    (CL is tapatalk enabled. Get it free here.)

    0 Not allowed! Not allowed!
    BTC: 1AidsG8MHF4cEN6KpY1mhJPBhXtms65GVE

  4. #4
    Coder
    LOL
    RyderZombie's Avatar
    Join Date
    Sep 2010
    Location
    On the Ground
    Posts
    131
    Points
    333
         User Info     Contact     Gamer ID
    Join Date
    Sep 2010
    Location
    On the Ground
    Posts
    131
    Points
    333

    Default

    But what if i wanted to use it how would i write it

    0 Not allowed! Not allowed!

  5. #5
    ($user_isGay == TRUE)? giveAids() : break; aids's Avatar

    Badge

    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
         User Info     Contact     Gamer ID
    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
    Gamer IDs

    PSN ID: TheOriginalVirus

    Contact info:

    Youtube Channel: http://www.youtube.com/riottape Kik Username: aids gtalk account: codeleakers.com@gmail.com

    Default

    You're not getting it, there not really any circumstance where you want to add 2 registers together.

    There's no need for you to use this command. If you need the syntax of it, there's only 100000000 websites with tha usage on there. Obsiously u don't get it as someone with advanced mips knowledge is helping you, but instead of listening you're obsessed with using a stupid add command.

    ADD RX, rX1 + rX2

    The result of adding registers x1 and x2 is stores in register RX.

    If you can't get something so simple, there's no need for u to ever use this command. In all the subs I've ever written, I've never used ONE add. I told u what to use instead, but apparantly you don't want to learn. I'm done helping you.

    Sent from the AidsPhone12000
    (CL is tapatalk enabled. Get it free here.)

    0 Not allowed! Not allowed!
    BTC: 1AidsG8MHF4cEN6KpY1mhJPBhXtms65GVE

  6. #6
    Tipped OuT
    Guest

    Default

    Quote Originally Posted by aids View Post
    You're not getting it, there not really any circumstance where you want to add 2 registers together.

    There's no need for you to use this command. If you need the syntax of it, there's only 100000000 websites with tha usage on there. Obsiously u don't get it as someone with advanced mips knowledge is helping you, but instead of listening you're obsessed with using a stupid add command.

    ADD RX, rX1 + rX2

    The result of adding registers x1 and x2 is stores in register RX.

    If you can't get something so simple, there's no need for u to ever use this command. In all the subs I've ever written, I've never used ONE add. I told u what to use instead, but apparantly you don't want to learn. I'm done helping you.

    Sent from the AidsPhone12000
    (CL is tapatalk enabled. Get it free here.)
    Listen to aids, he knows his shit.

    0 Not allowed! Not allowed!

  7. #7
    Coder
    LOL
    RyderZombie's Avatar
    Join Date
    Sep 2010
    Location
    On the Ground
    Posts
    131
    Points
    333
         User Info     Contact     Gamer ID
    Join Date
    Sep 2010
    Location
    On the Ground
    Posts
    131
    Points
    333

    Default

    Il learn some way but done with this some one close thread

    0 Not allowed! Not allowed!
    Last edited by RyderZombie; 04-06-2011 at 12:05 PM.

  8. #8
    ($user_isGay == TRUE)? giveAids() : break; aids's Avatar

    Badge

    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
         User Info     Contact     Gamer ID
    Join Date
    Jul 2008
    Location
    /dev/null
    Posts
    20,361
    Points
    27,190
    Gamer IDs

    PSN ID: TheOriginalVirus

    Contact info:

    Youtube Channel: http://www.youtube.com/riottape Kik Username: aids gtalk account: codeleakers.com@gmail.com

    Default

    its like asking how to make a plane fly with no wings......and someone telling you the only way to make it fly is with wings, and then you insist on making a plane fly with no wings.

    in programming, things are done for a reason. just cuz you have a hardon for this stupid add command dont mean u ever have to use it.

    if you want to make shitty subs that never work keep using it. if you want to make subs that work, then follow my advice.

    i even wrote out how your sub should look like, and you didnt even acknowledge it.

    enjoy your shitty add command.

    0 Not allowed! Not allowed!
    BTC: 1AidsG8MHF4cEN6KpY1mhJPBhXtms65GVE

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 04:02 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.