360haven works best with JavaScript enabled
Kingdoms of Amalur +2 unfinished trainer source
Loading
Register
Page 1 of 4 1234 LastLast
Results 1 to 8 of 31
  1. #1
    Haven Donator
    kingadent is offline
    Join Date : Oct 2011
    Location : Bahrain
    Posts : 49
    Array

    Kingdoms of Amalur +2 unfinished trainer source

    I quit trainers, got boring, only did it to learn stuff anyway.

    Here's my first cave's source, it's for Kingdoms of Amalur, right now it's just OneHitKill and InfHealth, both work perfect though.

    I'm using a different engine, as you can see, you get the concept though.

    Code:
    #include "common.h"
    
    bool OneHitKo = false;
    bool HooksSet = false;
    bool InfHealth = false;
    
    
    VOID __declspec(naked) CheckHP(VOID)
    {
        DWORD Ptr1; 
    
    
        __asm
        {
            mr Ptr1,r6
        }
    
    
        __asm{
    
    
        }
    
    
        DWORD Ptr2;
    
    
        __asm
        {
            mr Ptr2,r9
        }
    
    
    if( InfHealth == TRUE && Ptr1 != 0x00)
    {
    
    
        int XValue = 999;
        __asm
        {
    
    
            stw XValue,48h(r31)
    
    
        }
    
    
    }else{
        if( InfHealth == FALSE )
        {
    
    
            __asm{
                stw r11,48h(r31)
            }
    
    
        }
    
    
    }
    
    
    if( OneHitKo == TRUE && Ptr2 == 0x0000000000B60B60 )
        {
            int ZValue = 0;
            __asm
            {
                stw ZValue,48h(r31)
                
    
    
            }
    
    
        }else{
            if( OneHitKo == FALSE )
            {
                __asm{
                    stw r11,48h(r31)
                }
            }
    
    
    
    
        }
    
    
    
    
        __asm{
                
                lis r11,0x8253
                ori r11,r11,0x0E64 
                mtctr r11
                bctr      
        }
    }
    VOID SetHooks()
    {
    
    
    
    
         DWORD IHealth[4];
         patchInJump( (PDWORD)IHealth, (DWORD)CheckHP, FALSE );
         
            DoCave(0x82530E4C, &IHealth[0], 4);
            DoCave(0x82530E50, &IHealth[1], 4);
            DoCave(0x82530E54, &IHealth[2], 4);
            DoCave(0x82530E58, &IHealth[3], 4);
    
    
            HooksSet = true;
    }
    
    
    VOID ShowTrainerMain()
    {
            
                Prompt = XShowMessageBoxUI(0, L"Kingdoms of Amalur", L"View Codes: DPAD-DOWN(x4)\r\nCreated by Kingadent\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_PASSCODEMODE, &g_mb_result, &g_xol);
                
                    if( HooksSet == false )
                    {
                        SetHooks();
                    }
    
    
    
    
    }
    
    
    
    
    VOID TrainerLoaded()
    {
        
        Prompt = XShowMessageBoxUI(0, L"Kingdoms of Amalur", L"Trainer Loaded!\r\nYou may now start your game\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
    
    
    }
    
    
    VOID ProcessButtonPress( MESSAGEBOX_RESULT g_mb_result )
    {
        
        if( g_mb_result.rgwPasscode[0] == DPAD_DOWN && g_mb_result.rgwPasscode[1] == DPAD_DOWN && g_mb_result.rgwPasscode[2] == DPAD_DOWN && g_mb_result.rgwPasscode[3] == DPAD_DOWN )
        {
            Sleep(500);
            XShowMessageBoxUI(0, L"Viewing All Codes", L"Inf Health Y(x4)\r\nEasy Kills DPAD-UP(x4)", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
    
    
            memset( &g_mb_result.rgwPasscode[0], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[1], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[2], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[3], 0x00, 0x02 );
            Prompt = 0x9999;
    
    
        }
    
    
        if( g_mb_result.rgwPasscode[0] == Y_BUTTON && g_mb_result.rgwPasscode[1] == Y_BUTTON && g_mb_result.rgwPasscode[2] == Y_BUTTON && g_mb_result.rgwPasscode[3] == Y_BUTTON )
        {
            Sleep(500);
            
            if( InfHealth == TRUE )
            {
                XShowMessageBoxUI(0, L"Cheat Disabled Successfully", L"Inf Health - Disabled\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                InfHealth = FALSE;
                PulseController();
            }else{
                XShowMessageBoxUI(0, L"Cheat Enabled Successfully", L"Inf Health - Enabled\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                InfHealth = TRUE;
                PulseController();
            }
            memset( &g_mb_result.rgwPasscode[0], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[1], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[2], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[3], 0x00, 0x02 );
            Prompt = 0x9999;
    
    
        }    
    
    
        if( g_mb_result.rgwPasscode[0] == DPAD_UP && g_mb_result.rgwPasscode[1] == DPAD_UP && g_mb_result.rgwPasscode[2] == DPAD_UP && g_mb_result.rgwPasscode[3] == DPAD_UP )
        {
            Sleep(500);
            
            if( OneHitKo == TRUE )
            {
                XShowMessageBoxUI(0, L"Cheat Disabled Successfully", L"Easy AI Kills - Disabled\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                OneHitKo = FALSE;
                PulseController();
            }else{
                XShowMessageBoxUI(0, L"Cheat Enabled Successfully", L"Easy AI Kills - Enabled\r\nDescription: **MAY BE BUGGY**.", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                OneHitKo = TRUE;
                PulseController();
            }
    
    
            memset( &g_mb_result.rgwPasscode[0], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[1], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[2], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[3], 0x00, 0x02 );
            Prompt = 0x9999;
        }
        
    }


    I wanna thank Renegade, my mentor, for being a dick when i asked for help, to get me to figure them out myself, that really helped you magnificent bastard.
    And i want to thank GoldZ, even though he is now a rival, he was a friend sometime in the past.


  2. The Following 13 Users Say Thank You to kingadent For This Useful Post:

    + Show/Hide list of the thanked


  3. #2
    Extorris
    Renegade is offline
    Join Date : Nov 2010
    Location : United Kingdom
    Posts : 2,626
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    Quote Originally Posted by kingadent View Post
    I quit trainers, got boring, only did it to learn stuff anyway.

    Here's my first cave's source, it's for Kingdoms of Amalur, right now it's just OneHitKill and InfHealth, both work perfect though.

    I'm using a different engine, as you can see, you get the concept though.

    Code:
    #include "common.h"
    
    bool OneHitKo = false;
    bool HooksSet = false;
    bool InfHealth = false;
    
    
    VOID __declspec(naked) CheckHP(VOID)
    {
        DWORD Ptr1; 
    
    
        __asm
        {
            mr Ptr1,r6
        }
    
    
        __asm{
    
    
        }
    
    
        DWORD Ptr2;
    
    
        __asm
        {
            mr Ptr2,r9
        }
    
    
    if( InfHealth == TRUE && Ptr1 != 0x00)
    {
    
    
        int XValue = 999;
        __asm
        {
    
    
            stw XValue,48h(r31)
    
    
        }
    
    
    }else{
        if( InfHealth == FALSE )
        {
    
    
            __asm{
                stw r11,48h(r31)
            }
    
    
        }
    
    
    }
    
    
    if( OneHitKo == TRUE && Ptr2 == 0x0000000000B60B60 )
        {
            int ZValue = 0;
            __asm
            {
                stw ZValue,48h(r31)
                
    
    
            }
    
    
        }else{
            if( OneHitKo == FALSE )
            {
                __asm{
                    stw r11,48h(r31)
                }
            }
    
    
    
    
        }
    
    
    
    
        __asm{
                
                lis r11,0x8253
                ori r11,r11,0x0E64 
                mtctr r11
                bctr      
        }
    }
    VOID SetHooks()
    {
    
    
    
    
         DWORD IHealth[4];
         patchInJump( (PDWORD)IHealth, (DWORD)CheckHP, FALSE );
         
            DoCave(0x82530E4C, &IHealth[0], 4);
            DoCave(0x82530E50, &IHealth[1], 4);
            DoCave(0x82530E54, &IHealth[2], 4);
            DoCave(0x82530E58, &IHealth[3], 4);
    
    
            HooksSet = true;
    }
    
    
    VOID ShowTrainerMain()
    {
            
                Prompt = XShowMessageBoxUI(0, L"Kingdoms of Amalur", L"View Codes: DPAD-DOWN(x4)\r\nCreated by Kingadent\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_PASSCODEMODE, &g_mb_result, &g_xol);
                
                    if( HooksSet == false )
                    {
                        SetHooks();
                    }
    
    
    
    
    }
    
    
    
    
    VOID TrainerLoaded()
    {
        
        Prompt = XShowMessageBoxUI(0, L"Kingdoms of Amalur", L"Trainer Loaded!\r\nYou may now start your game\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
    
    
    }
    
    
    VOID ProcessButtonPress( MESSAGEBOX_RESULT g_mb_result )
    {
        
        if( g_mb_result.rgwPasscode[0] == DPAD_DOWN && g_mb_result.rgwPasscode[1] == DPAD_DOWN && g_mb_result.rgwPasscode[2] == DPAD_DOWN && g_mb_result.rgwPasscode[3] == DPAD_DOWN )
        {
            Sleep(500);
            XShowMessageBoxUI(0, L"Viewing All Codes", L"Inf Health Y(x4)\r\nEasy Kills DPAD-UP(x4)", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
    
    
            memset( &g_mb_result.rgwPasscode[0], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[1], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[2], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[3], 0x00, 0x02 );
            Prompt = 0x9999;
    
    
        }
    
    
        if( g_mb_result.rgwPasscode[0] == Y_BUTTON && g_mb_result.rgwPasscode[1] == Y_BUTTON && g_mb_result.rgwPasscode[2] == Y_BUTTON && g_mb_result.rgwPasscode[3] == Y_BUTTON )
        {
            Sleep(500);
            
            if( InfHealth == TRUE )
            {
                XShowMessageBoxUI(0, L"Cheat Disabled Successfully", L"Inf Health - Disabled\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                InfHealth = FALSE;
                PulseController();
            }else{
                XShowMessageBoxUI(0, L"Cheat Enabled Successfully", L"Inf Health - Enabled\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                InfHealth = TRUE;
                PulseController();
            }
            memset( &g_mb_result.rgwPasscode[0], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[1], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[2], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[3], 0x00, 0x02 );
            Prompt = 0x9999;
    
    
        }    
    
    
        if( g_mb_result.rgwPasscode[0] == DPAD_UP && g_mb_result.rgwPasscode[1] == DPAD_UP && g_mb_result.rgwPasscode[2] == DPAD_UP && g_mb_result.rgwPasscode[3] == DPAD_UP )
        {
            Sleep(500);
            
            if( OneHitKo == TRUE )
            {
                XShowMessageBoxUI(0, L"Cheat Disabled Successfully", L"Easy AI Kills - Disabled\r\n", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                OneHitKo = FALSE;
                PulseController();
            }else{
                XShowMessageBoxUI(0, L"Cheat Enabled Successfully", L"Easy AI Kills - Enabled\r\nDescription: **MAY BE BUGGY**.", ARRAYSIZE(g_strButtons), g_strButtons, 0, XMB_NOICON, &g_mb_result, &g_xol);
                OneHitKo = TRUE;
                PulseController();
            }
    
    
            memset( &g_mb_result.rgwPasscode[0], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[1], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[2], 0x00, 0x02 );
            memset( &g_mb_result.rgwPasscode[3], 0x00, 0x02 );
            Prompt = 0x9999;
        }
        
    }


    I wanna thank Renegade, my mentor, for being a dick when i asked for help, to get me to figure them out myself, that really helped you magnificent bastard.
    And i want to thank GoldZ, even though he is now a rival, he was a friend sometime in the past.
    It's not that I didn't help. I just didn't wanna give you straight answers. You don't learn that way. Hence why I had to make you do your homework. But it seems my egg has become a chicken. Well down my Padawan.
    Downloads : 65 || Uploads : 0 || Rep Power : 8110 || Posts : 2,626 || Thanks : 181 || Thanked 2,896 Times in 827 Posts




    Renegade's Services: All services require you to pay the Postage and Packaging any method you prefer. Shipping within the UK only unless special circumstances.

    Xbox 360:

    DVD Drive Flashing - £10 (depending on console type, you may need to purchase a new PCB for Slim Consoles) - Includes backup of your drive files and DVD key on a CD-ROM
    DVD Key Retrieval - £10 - Does not include the DVD Drive being flashed.
    JTAG Installations - £15 - Complete installation of the JTAG exploit - Original NAND Backups and starter software on a CD-ROM- Extra £5 for FSD/Homebrew/Games Setup!
    Reset Glitch Hack (RGH) Installations - £20 + Money for the Glitch Chip of your choice - Dual/Triple-NAND addons are £5 more and you also provide the money for the Dual/Triple Chip
    xKey/Wasabi Installations - £70-80 (Including the device + DVD retrieval)
    RRoD Reflow Service - £20
    RRoD Reballing Service - £40-60 price varies depending on the chip. It may have to be refitted with a new GPU or CPU chip

    Nintendo Wii Softmodding - £15 including SD card pre-loaded with apps and NAND Backup.

    Nintendo DS/DSL/DSi Flashcart Installation - £15 including Flashcard

    Playstation 3: Softmodding + Backuploader/Homebrew set up - £15 - Must be on firmware 3.55 or below.

    For more information or if you are interested. PM me or contact me on Skype: ProjectRGX or AIM: Renegade1990


  4. #3
    Haven Donator
    kingadent is offline
    Join Date : Oct 2011
    Location : Bahrain
    Posts : 49
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    Which came first the chicken or the egg?

    In all seriousness, thanks, i mean it, and if anyone still doubts my coding and trainer making skills, step up and PM me.

  5. #4
    Extorris
    Renegade is offline
    Join Date : Nov 2010
    Location : United Kingdom
    Posts : 2,626
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    Quote Originally Posted by kingadent View Post
    Which came first the chicken or the egg?

    In all seriousness, thanks, i mean it, and if anyone still doubts my coding and trainer making skills, step up and PM me.
    It's debatable but personally. I think Science created the chicken first.

    No problem man. Just glad I was a mentor to you :)
    Downloads : 65 || Uploads : 0 || Rep Power : 8110 || Posts : 2,626 || Thanks : 181 || Thanked 2,896 Times in 827 Posts




    Renegade's Services: All services require you to pay the Postage and Packaging any method you prefer. Shipping within the UK only unless special circumstances.

    Xbox 360:

    DVD Drive Flashing - £10 (depending on console type, you may need to purchase a new PCB for Slim Consoles) - Includes backup of your drive files and DVD key on a CD-ROM
    DVD Key Retrieval - £10 - Does not include the DVD Drive being flashed.
    JTAG Installations - £15 - Complete installation of the JTAG exploit - Original NAND Backups and starter software on a CD-ROM- Extra £5 for FSD/Homebrew/Games Setup!
    Reset Glitch Hack (RGH) Installations - £20 + Money for the Glitch Chip of your choice - Dual/Triple-NAND addons are £5 more and you also provide the money for the Dual/Triple Chip
    xKey/Wasabi Installations - £70-80 (Including the device + DVD retrieval)
    RRoD Reflow Service - £20
    RRoD Reballing Service - £40-60 price varies depending on the chip. It may have to be refitted with a new GPU or CPU chip

    Nintendo Wii Softmodding - £15 including SD card pre-loaded with apps and NAND Backup.

    Nintendo DS/DSL/DSi Flashcart Installation - £15 including Flashcard

    Playstation 3: Softmodding + Backuploader/Homebrew set up - £15 - Must be on firmware 3.55 or below.

    For more information or if you are interested. PM me or contact me on Skype: ProjectRGX or AIM: Renegade1990


  6. #5
    Traine Dev

    macelosnp is offline
    Join Date : Oct 2011
    Location : Basil
    Posts : 231
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    Quote Originally Posted by kingadent View Post
    Which came first the chicken or the egg?
    LOL

    Awesome work
    thank you very much for share

  7. #6
    Haven Donator
    kingadent is offline
    Join Date : Oct 2011
    Location : Bahrain
    Posts : 49
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    Thanks marcelo, i do try, i had trouble learning when nobody would help, nobody to hold my hand to learn and all that, i don't want anyone dealing with that again, so this is my gift so to speak, to the scene, a lot of people know how to cave, but they keep it to themselves.

  8. #7
    Traine Dev

    macelosnp is offline
    Join Date : Oct 2011
    Location : Basil
    Posts : 231
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    Quote Originally Posted by kingadent View Post
    Thanks marcelo, i do try, i had trouble learning when nobody would help, nobody to hold my hand to learn and all that, i don't want anyone dealing with that again, so this is my gift so to speak, to the scene, a lot of people know how to cave, but they keep it to themselves.
    yes, these people do not teach because they do not want competitors

  9. #8
    Blast From The Past
    GoldZ is offline
    Join Date : Nov 2012
    Posts : 3
    Array

    Re: Kingdoms of Amalur +2 unfinished trainer source

    good job fella :) , and macelosnp, its not about competition, i just believe people should learn themselves by research. i was never taught caves, i just carried on learning and picked it up. none of it is hard, and anyone with enough patience and will can do it no problem :)

    you will never learn properly with someone hand feeding you :)

 

 
Page 1 of 4 1234 LastLast

Similar Threads

  1. Kingdoms of Amalur 360 save to PC?
    By Dt0var3623 in forum Xbox 360 Modding Discussion
    Replies: 0
    Last Post: 02-12-2012, 07:28 PM
  2. Kingdoms Of Amalur Reckoning modding
    By john10077 in forum Xbox 360 Modding Discussion
    Replies: 12
    Last Post: 02-02-2012, 09:10 AM
  3. [RELEASE? Kinda?] Sky Rage Editor v0.2 Unfinished w/ Source.
    By xI cHOcOLaTe in forum Xbox 360 Modding Programs
    Replies: 34
    Last Post: 10-16-2011, 04:04 AM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Posting Permissions

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

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

★★★★★¯\_(ツ)_/¯