Login Register
MoHH2 Legendz

Legends of Medal of honor:Heores 2.. Never forgotten RiP in piece


    You are not connected. Please login or register

    View previous topic View next topic Go down  Message [Page 1 of 1]

    Post: #1Fri Feb 24, 2012 1:58 am

    sdrawkcab

    sdrawkcab

    Senior Member


    how would i do this with tempAR code typ?

    ok lets say i have my cross hair cords and enemy player cords i want the code "enemy player suicide" to activate when both cords are equal (so when im pointing at the enemy). can some on explain how i would do this?


    Post: #2Fri Feb 24, 2012 2:05 am

    avatar

    Brian-1337-

    Senior Member


    sdrawkcab wrote:how would i do this with tempAR code typ?

    ok lets say i have my cross hair cords and enemy player cords i want the code "enemy player suicide" to activate when both cords are equal (so when im pointing at the enemy). can some on explain how i would do this?
    You don't need checking coords like that, you need to find the pointer for the aim(lock-on) in player.
    if I can only find my old database in mohh1 "Instant Kill (Aim)" I can give it as an example. help code typ 4249845411


    https://www.facebook.com/Mips.Brian1337

    Post: #3Fri Feb 24, 2012 2:11 am

    sdrawkcab

    sdrawkcab

    Senior Member


    oh so lets say lock when you locked on the value is "1" and when your not its "0" so it just joker the kill code with the lock on address and an on value of "1" ?


    Post: #4Fri Feb 24, 2012 2:32 am

    avatar

    Brian-1337-

    Senior Member


    sdrawkcab wrote:oh so lets say lock when you locked on the value is "1" and when your not its "0" so it just joker the kill code with the lock on address and an on value of "1" ?
    no, when you are aiming an enemy it will generate a pointer in a address, that address is the aim pointer. and if you are not aiming enemy the value will be zero, so you need checking if there's a pointer or not. also the pointer is the pointer of the enemy if will load where it is pointing at then you can change its health to make it suicide when you only aiming on it. 🐱

    Edit: Thanks to Google! and my old friend coder Mr TR33NINJA. yay
    here is the example.

    #Kill/Invisible Ray
    ;by FoodFx
    ;Original code by Brian_xXx
    0x00173794 0x0A200600
    0x00001800 0x27bdfff0
    0x00001804 0xafbf0000
    0x00001808 0x3c0808d4
    0x0000180c 0x810842b0
    0x00001810 0x24090040
    0x00001814 0x15090008
    0x0000181c 0x3c0809c3
    0x00001820 0x8d096dc0
    0x00001824 0x11200004
    0x0000182c 0x8d046dc0
    0x00001830 0x0e240ab7
    0x00001834 0x34050200
    0x00001838 0x8fbf0000
    0x0000183c 0x03e00008
    0x00001840 0x27bd0010
    0x005929a4 0x00000055

    #SUICIDE PLAYER (CROSSHAIR)
    ;Credits to Brian_xXx
    ;Dpad Down - Suicide Player
    0x001F0544 0x0a7b7c00
    0x016df000 0x27bdfff0
    0x016df004 0xafbf0000
    0x016df008 0x3c0808d4
    0x016df00c 0x810842b0
    0x016df010 0x24090040
    0x016df014 0x15090008
    0x016df01c 0x3c0809c3
    0x016df020 0x8d096dc0
    0x016df024 0x11200004
    0x016df02c 0x8d046dc0
    0x016df030 0x0e240af7
    0x016df034 0x34050200
    0x016df038 0x8fbf0000
    0x016df03c 0x03e00008
    0x016df040 0x27bd0010
    0x005929A4 0x00000055


    https://www.facebook.com/Mips.Brian1337

    Post: #5Fri Feb 24, 2012 9:34 pm

    sdrawkcab

    sdrawkcab

    Senior Member


    awesome! im working on it right now. question if you gave to pointer the value that it is when your aiming at some one would you be able to shoot them with out aim at them? also is there going to many pointers for each enemy your will there be just on pointer with different values. or just one pointer that changes between like 0 and 1. thanks rep +


    Post: #6Fri Feb 24, 2012 9:47 pm

    avatar

    Brian-1337-

    Senior Member


    sdrawkcab wrote:awesome! im working on it right now. question if you gave to pointer the value that it is when your aiming at some one would you be able to shoot them with out aim at them? also is there going to many pointers for each enemy your will there be just on pointer with different values. or just one pointer that changes between like 0 and 1. thanks rep +
    it is only one address but different pointers for the enemy.
    example:
    there is 3 players joined in the game.
    0x0056D340 0x08E91240 - Your player pointer
    0x0056D344 0x08E92240 - Player 1 pointer
    0x0056D348 0x08E93240 - player 2 pointer
    0x0056D34C 0x08E94240 - player 3 pointer
    0x013604C0 - aim pointer

    when you aim at player 1 the value of the aim pointer will be...
    0x013604C0 0x08E92240

    when you aim at player 3 the value of the aim pointer will be...
    0x013604C0 0x08E94240

    if you aim no players the value of the aim pointer will be...
    0x013604C0 0x00000000


    https://www.facebook.com/Mips.Brian1337

    Post: #7Fri Feb 24, 2012 10:52 pm

    sdrawkcab

    sdrawkcab

    Senior Member


    alright got it. thanks!


    Post: #8

    Sponsored content





    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum