User Tag List

Results 1 to 7 of 7

Thread: M16A4 Inf Ammo

  1. #1
    M16A4 Inf Ammo

    User Info Menu

    M16A4 Inf Ammo

    Alright. Heres a M16A4 Inf Ammo code.

    #M16A4 Inf. Ammo
    ;Credit KamaluNg
    ;Requires no reloading
    0xFFFFFFFF 0x01306124
    0x000010d0 0x00000000

    Question: This question is mainly for more experienced coders.

    Is there anyway to stop this code from freezing outside of the games mission? (Lobby, main page, start screen, etc)

    I already know its possible for my pointer to be pointing to a different area then my weapons ammo count. But this code works, im just not sure why it will freeze every time.
    "The Sky Is The Limit"
    Yet theres footprints on the moon
    "Practice Makes Perfect"
    Man is not perfect, So why practice

  2. #2
    M16A4 Inf Ammo

    User Info Menu

    Re: M16A4 Inf Ammo

    If it only freezes outside of the games mission, it means the pointer doesn't exist anymore, so you should make a routine, something like that :

    lui t0 , $09B0 <-- You load the first 4 digits of the pointer address in t0 (you have to add 0x0880, 0x130 + 0x880= 0x9B0)
    ori t0 , t0 , $6124 <-- You add to t0 the last 4 digits of the pointer address
    lw t0 , $0000(t0) <-- Now we load the content of the pointer address in t0
    beq t0 , zero , $ END <-- If the content is empty then pointer doesn't exist, else it exists
    nop <-- I always let a nop command after a condition
    sw zero , $10D0(t0) <-- The pointer exists so here is your code
    jr ra <=== END


    Hook: 0x00000098


    With the routine, the code will be turned on only when the pointer exists, else nothing is done, so no freezeeee.
    Last edited by Linblow; 02-27-2010 at 03:43 AM.

  3. #3
    M16A4 Inf Ammo

    User Info Menu

    Re: M16A4 Inf Ammo

    yea dma codes will alway freeze out side gameplay

  4. #4
    M16A4 Inf Ammo

    User Info Menu

    Re: M16A4 Inf Ammo

    Quote Originally Posted by ejm06 View Post
    yea dma codes will alway freeze out side gameplay
    no they wont wtf?
    PSN: xXChrisMackleXx

  5. #5
    M16A4 Inf Ammo

    User Info Menu

    Re: M16A4 Inf Ammo

    Quote Originally Posted by ejm06 View Post
    yea dma codes will alway freeze out side gameplay
    Yeah wtf are you talking about you fool. :D Don't embaress yourself if you don't know what you are talking about.
    ...dreadknome...

  6. #6
    M16A4 Inf Ammo

    User Info Menu

    Re: M16A4 Inf Ammo

    1/ ammo is more than 1 level of DMA

    2/ you need to turn these sort of codes off when not in game

    3/ You can write a sub and then if you beq when the pointer is zero they will not freeze

  7. #7
    M16A4 Inf Ammo

    User Info Menu

    Re: M16A4 Inf Ammo

    pm me for inf and rapid guns

    ----Added 16/4/2010 at 11:30 PM----
    this works. just Hz15

Tags for this Thread

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
  •