Results 1 to 13 of 13
  1. #1
    grandao's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Brazil
    Posts
    5
    Reputation
    10
    Thanks
    4

    Making your own god mode (Working 02/10/2012)

    Making your own god mode (Working 02/10/2012)

    It isn't Nico's god. It's just a simple god and doesn't work with some ranged Attacks.

    To make your god, you must hook IVEngineClient::ClientCmd function.
    When Vindctus call this function with a string like "force_damage_player(...)" you just return from your HookFunction without doing anything.



    Code:
    (...)
    
    DWORD OriFunc_ptr, *AddrToHook, PageProtection;
    
    AddrToHook = (unsigned int *)((*(unsigned int*) MyIVEngineClient_ptr) + 0x1C);
    OriFunc_ptr = *AddrToHook;
    
    VirtualProtect( (LPVOID) AddrToHook, 4, PAGE_EXECUTE_READWRITE, &PageProtection );
    
    *AddrToHook = (DWORD) MyHookFunction;
    
    (...)
    
    void __declspec(naked) MyHookFunction()
    {
    	_asm
    	{
    		push [esp+4]	// cmd
    		call TestDmg
    		cmp al, 1
    		jz  RETURN
    		pop eax
    		mov eax, OriFunc_ptr
    		jmp eax
    RETURN:
    		pop eax
    		retn 4
    		
    	}
    }
    
    
    
    bool __cdecl TestDmg( char *vinCmd )
    {
    	char tmp[128];
    	memset( tmp, 0, 128);
    	memcpy( tmp, cmd, strlen( cmd ));
    	tmp[19] = 0;
    	if( strcmp( "force_damage_player", tmp) == 0 )
    	{
    		return true;
    	}
    
    	return false;
    }

  2. #2
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,918
    Reputation
    1121
    Thanks
    8,617
    Nice idea tho.

  3. #3
    kakkola_ch's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    actually how do you compile it, what program do you use, if you can give more help i thank u ^^

  4. #4
    Noomy's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    0
    My Mood
    Stressed
    what difference does it make? use Notepad++ and M$ visual

  5. #5
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,918
    Reputation
    1121
    Thanks
    8,617
    Quote Originally Posted by kakkola_ch View Post
    actually how do you compile it, what program do you use, if you can give more help i thank u ^^
    Visual Studio. Learn C++ first.

  6. #6
    massacremam's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fsdfdfsdfds
    Posts
    2
    Reputation
    10
    Thanks
    0
    I use C# can you help me transcribe this thing?

  7. #7
    Sylphia's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Beijing
    Posts
    56
    Reputation
    10
    Thanks
    1,020
    My Mood
    Cheerful
    Quote Originally Posted by massacremam View Post
    I use C# can you help me transcribe this thing?
    Nope, C# cannot do this。
    Try learn C++ and asm yourself。

  8. #8
    reallybanana's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Nico View Post


    Visual Studio. Learn C++ first.
    When I have more time I would like to pick up C++ on my own. Any place where I should start? Looking at some source code here looks daunting.

  9. #9
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,918
    Reputation
    1121
    Thanks
    8,617
    Quote Originally Posted by reallybanana View Post
    When I have more time I would like to pick up C++ on my own. Any place where I should start? Looking at some source code here looks daunting.
    Well, I started using a book back then. But there are a lot of tutorials in the internet.

  10. The Following User Says Thank You to Nico For This Useful Post:

    reallybanana (02-18-2012)

  11. #10
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by reallybanana View Post
    When I have more time I would like to pick up C++ on my own. Any place where I should start? Looking at some source code here looks daunting.
    Well I just started c++ by following HD's tut and asking for help from nico and HD when I didn't understand things... Using MSDN and just testing things until I understood it, but I also have a background in programming in other languages.
    PLAYING RIFT!

  12. The Following User Says Thank You to DanK For This Useful Post:

    reallybanana (02-18-2012)

  13. #11
    reallybanana's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by DanK View Post


    Well I just started c++ by following HD's tut and asking for help from nico and HD when I didn't understand things... Using MSDN and just testing things until I understood it, but I also have a background in programming in other languages.
    I have very limited programming experience, namely in python (but mostly basic stuff). It doesn't help that I'm a busy grad student so picking up a programming language doesn't fit so easily into my schedule....

  14. #12
    TimEdits's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    What do i save it as, when i'm done ?

  15. #13
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,918
    Reputation
    1121
    Thanks
    8,617
    Quote Originally Posted by TimEdits View Post
    What do i save it as, when i'm done ?
    Doesn't work anymore. And your questions kinda shows that you might want to learn C++ first

Similar Threads

  1. [Outdated] Making your own console (Working 02/09/2012 NA Version)
    By grandao in forum Vindictus Tutorials
    Replies: 38
    Last Post: 03-11-2012, 05:19 PM
  2. [Tutorial] Making your own working spammer
    By Arthur Ace in forum CrossFire Tutorials
    Replies: 10
    Last Post: 04-22-2011, 07:18 AM
  3. Make Your own Cross hairs
    By llvengancell in forum WarRock - International Hacks
    Replies: 6
    Last Post: 05-28-2007, 12:12 AM
  4. Make your own Warrock Cross hairs!!
    By llvengancell in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-26-2007, 10:59 PM
  5. How to make your own radiostation?
    By nasir91 in forum General
    Replies: 3
    Last Post: 04-30-2007, 07:25 AM