Some hacks brought to you by ISXAOC menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Pickled's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2008
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some hacks brought to you by ISXAOC

    Ok starting with an easy one - NoFall,

    How do we locate this each patch?

    Well if you wan't the simplest way to do it in 2 bytes, search for "Vehicle Falling" from within the client using OllyDBG or your favorite debugger.

    You land around here:
    Code:
    005F5C4E    68 40BB3301     PUSH AgeOfCon.0133BB40                   ; ASCII "Vehicle/Falling"
    And simply modify the "damage modifier" to 0.0f by pushing FLDZ on the stack
    instead of what would normally be a "multiplier" for the fall damage..
    Code:
    Original: 
    005F5CC3    D945 FC         FLD DWORD PTR SS:[EBP-4]
    
    To:
    005F5CC3    D9EE  90        FLDZ
    
    ....
    BYTE patch[2] {0xee,0x90};
    This has the net effect of doing 0*damage on fall - try it!

    Strangely enough you can actually apply this principle to a lot of the games client side checks for damage, because they all use a simple modifier to check the damage done.

    Or for the more advanced reverser, lets look at how we can Resurrect on our own corpse when we die with FULL health, mana, stamina (incoming nerf after I post this) 6):

    The game itself uses some components to handle your "character actions" which, to cut a long story short can be mapped using C/C++ hook.

    The object is shown below which i've 'conveniently' reversed for you

    If you wan't to understand how the code below works I suggest you learn some assembly language and how object code can be mapped to a 'higher level' language such as C/C++.

    It all stems from the engine handler @ 0x005C8850 as you will see from my code at the bottom which I slowly studied to build up the virtual table for one of it's "interfaces"

    The final result call (see below of how this constructed to make the final call from your hook):
    Code:
    //The overall engine which powers many of AOC components
    _N3Engine* pN3 = GetN3Engine();
    
    //This will respawn you on top of your corpse
    //because we have not provided an Graveyard Id location
    //the game is forced to resurrect you at your corpse! 
    
    
    //virtual void RespawnMe(DWORD GyInstanceId);
    pN3->GetCharAgent(0,0)->RespawnMe(0);
    Code:
    class _N3Engine
    {
    public:
    
    	_N3CharAgent* GetCharAgent(int,int);
    	
                    //Cheap way of quickly doing the lookup - use inheritance if you are anal about it :)
    	_N3CharIHandler* GetCharIHandler()
    	{
    		_N3CharIHandler* p = (_N3CharIHandler*)((DWORD)((pLookup->lookup2+4)+(DWORD)(this)));
    		return p;
    	}
    
    
    	_N3EngineLookup* pLookup; 
    
    	virtual void vf00();
                     ......
    
    };
    Code:
    //The engine uses a lookup table for various actions to perform
    //We will look up the "Interface" for all the client actions...
    
    class _N3EngineLookup
    {
    public:
    	DWORD unk;
    	DWORD lookup1;
    	DWORD lookup2; //Interface"CharAgent"
    };
    Code:
    //Generate the correct virtual table offset distances
    //If you are lazy you could simply write a macro to do this
    //See very bottom of an example of a virtual call emulation macro
    
    class _N3CharAgent
    {
    public:
    	virtual void vf00();
    	virtual void vf04();
    	virtual void vf08();
    	virtual void vf0c();
    	virtual void vf10();
    	virtual void vf14();
    	virtual void vf18();
    	virtual void vf1c();
    	virtual void vf20();
    	virtual void vf24();
    	virtual void vf28();
    	virtual void vf2c();
    	virtual void vf30();
    	virtual void vf34();
    	virtual void vf38();
    	virtual void vf3c();
    	virtual void vf40();
    	virtual void vf44();
    	virtual void vf48();
    	virtual void vf4c();
    	virtual void vf50();
    	virtual void vf54();
    	virtual void vf58();
    	virtual void vf5c();
    	virtual void vf60();
    	virtual void vf64();
    	virtual void vf68();
    	virtual void vf6c();
    	virtual void vf70();
    	virtual void vf74();
    	virtual void RespawnMe(DWORD);
    ...
    };
    Code:
    //Macro to emulate the games function call
    
    #ifndef FUNCTION_AT_ADDRESS
    #define FUNCTION_AT_ADDRESS(function,offset) __declspec(naked) function
    {
    	__asm{mov eax,offset};
    	__asm{jmp eax};
    }
    #endif
    Code:
    //As of aoc 13/09/08
    FUNCTION_AT_ADDRESS(_N3Engine* __cdecl GetN3Engine(void), 0x005C8850);
    Code:
    //A less intuitive approach to looking up your virtual table
    
    #ifndef FUNCTION_AT_VIRTUAL_ADDRESS
    #define FUNCTION_AT_VIRTUAL_ADDRESS(function,virtualoffset) __declspec(naked) function
    {
    	__asm{mov eax, [ecx]};
    	__asm{lea eax, [eax+virtualoffset]};
    	__asm{mov eax, [eax]};
    	__asm{jmp eax};
    }
    #endif

    If you were using my ISXAOC extension, you could ignore all this and simply do:

    Hack:SuperRez heh
    ISXAOC WIKI: Hack DataType

    This should make sense to some seasoned coders with some knowledge of asm...

    Next Guide, how to locate all the entities in the game ...

    More guides to come.. enjoy!


    -----

    www.mmo-xray.com • View topic - Some screenies! (isxaoc bot)
    ISXAOC WIKI: Welcome to the ISXAOC Wiki
    Last edited by Pickled; 09-13-2008 at 06:23 AM.

    Some hacks brought to you by ISXAOC
  2. #2
    mosimo's Avatar Member
    Reputation
    2
    Join Date
    Jul 2008
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work. Looking forward to seeing the next guide of yours. More interested in making my own programs than using other peoples. So far all I've managed is a radar for players/ncps around me and basic stuff like that.
    Currently I'm looking at where exactly that ranger flag is for showing players on the ingame map and how to perform actions ingame like pressing buttons, sending chat etc without using sendkey() something.
    (+rep btw )

  3. #3
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm would that NoFallDamage work with WoW?
    +Rep 3x for this... Rezzing yourself = awesome

  4. #4
    Jar-Kar's Avatar Member
    Reputation
    5
    Join Date
    Jul 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ha if u wanna do this go to AoCdebugg 2.1 here
    http://www.mmowned.com/forums/age-co...ug-v2-1-a.html
    cuz Sychotix is the MAN!!!

  5. #5
    Pickled's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2008
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very good, of course - he dosen't actually provide any source.

    My goal is to give some insight as to "how".

  6. #6
    mosimo's Avatar Member
    Reputation
    2
    Join Date
    Jul 2008
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Pickled View Post
    Very good, of course - he dosen't actually provide any source.

    My goal is to give some insight as to "how".
    The learning part is what I'm after. I'm not interested in the actually doing of stuff... Just how it's done. I'm playing AoC a lot atm so I might as well code some stuff to go with it.

  7. #7
    Phattwoohie's Avatar Contributor
    Reputation
    87
    Join Date
    May 2008
    Posts
    134
    Thanks G/R
    0/0
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You guys make me want to play this game I keep hearing about. Im bored of WoW

  8. #8
    kiriyama666's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where do i get your extension? i tried on your wiki and there's no place to get it..i have innerspace..and am new to using it...plz help?

  9. #9
    Pickled's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2008
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please follow the guide here:

    www.mmo-xray.com • View topic - How to set up a Subscription with ISXAOC

    In short you need to register and setup a subscription ( free 5 day trial ).

    Then run the installer, found on the forums.

    If you need more help please post on www.mmo-xray.com or send me a pm.

  10. #10
    Sychotix's Avatar Moderator Authenticator enabled
    Reputation
    1421
    Join Date
    Apr 2006
    Posts
    3,942
    Thanks G/R
    285/572
    Trade Feedback
    1 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cursed View Post
    Hmm would that NoFallDamage work with WoW?
    phail -.- the addresses are completely different for two different games

  11. #11
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sychotix View Post
    phail -.- the addresses are completely different for two different games
    NAWT REALLY?! YOU HAVE TO BE KIDDIN'!!!!

    No really, Im not that stupid-.-
    I mean the method itself! (And NO I wouldn't search for 'vehicle falling')
    ARGH!

  12. #12
    raindog's Avatar Active Member
    Reputation
    68
    Join Date
    Dec 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey pickle, What do you do programatically set a target? I havn't managed to suceed in doing that.

  13. #13
    Pickled's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2008
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Raindog: Dynel::TargetByGUID(....)
    0x00686380

    ----------

    NoFall
    0x004FD4CB { D9 EE 90 90 }
    (fldz) (extra nop as of new exe)

    ---------

    As of latest patch.
    Last edited by Pickled; 10-02-2008 at 05:00 PM.

  14. #14
    mosimo's Avatar Member
    Reputation
    2
    Join Date
    Jul 2008
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you going to post any more tutorials about anything Pickled? Like finding the entities of the game. I am fine building the game objects up once I have the mem locations but it's getting them in the first place I struggle. Can find the last pointer but not the ones that point to it so any help is appreciated

  15. #15
    Pickled's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2008
    Posts
    78
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Let's consider the "logic" of the last offset I posted you can find the entire entity list from that alone :jawdrop:

    TargetByGUID(...)

    Assuming you know assembly which is the first hurdle before even bothering to "find" stuff, you can trace inside this function to find out how to get the list of entities.

    -- Stop here if you are not clued up on assembly. AOC is HIGHLY Object orientated you will NOT find basic structures in here from simply looking at data.

    You need to follow code logic to visualise the objects, some good books to read: Reversing: Secrets of Reversing, Hacker Dissasembling (Kaspersky) and many others... --

    Why?

    If we are targetting by GUID, then how does the target function "find the entity by GUID"? Think about it, it's not all magic that happens in there, it's simplistic logic.

    Well... it will take the GUID and presumably uses a function to iterate through all the entities to find a "matching GUID", yes?

    What happens if we study the games logic to look up all entities?

    Yes thats right, we can map out the code/data to do the same thing!

    Tracing is the secret, having "offsets" is no use if you want to "learn".

    [start Dynel::TargetByGUID]
    [..Do things.. verifiy we already have this target? (remember that Dynel::TargetByGUID is an object method relative to Player]
    [cmp eax, this->TargetGUID.Id]
    [no target? then continue else end]
    [Dynel = GetDynelGUID(fromTargetGUID params)] ?? Getting hotter?
    [SetTheLovelyTargettingRingGFX, SetYourUITargetDetails based on this Dynel]
    [end]

    For your information Funcom specifically relate to Dynels as "Dynamic Elements".


    I highly recommend understanding "calling conventions" so can identify objects in asm (although this is very complex for AOC as it uses optimizations which obscure the standards.. )

    :fatty:
    Last edited by Pickled; 10-03-2008 at 07:24 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. How to put some extra "Bait" on you WotLK fishing site!
    By Bane. in forum WoW Scam Prevention
    Replies: 8
    Last Post: 10-02-2007, 03:15 PM
  2. I made some animated avatars for you all.
    By D3m0n1ca in forum Art & Graphic Design
    Replies: 20
    Last Post: 09-12-2007, 03:13 PM
  3. Some hacks
    By Ackito in forum World of Warcraft Bots and Programs
    Replies: 3
    Last Post: 12-14-2006, 11:10 PM
  4. Do Not Use Hacks Right Now You Will Get Banned/suspended
    By Tayo in forum World of Warcraft Bots and Programs
    Replies: 20
    Last Post: 09-21-2006, 10:11 PM
  5. realy need some major help, can you help me
    By Bludypeople in forum World of Warcraft General
    Replies: 14
    Last Post: 07-15-2006, 10:54 AM
All times are GMT -5. The time now is 09:06 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search