Quote:
Originally Posted by nardy0145
Hello!
I have a question.
I know, that C++ can call ingame functions through pushing register to it.
|
While Packets are always the better / easier way ( basicly once you
have the Packetfunctions / Proxy you can do a lot without
having tons of Functions ), Typedefs are much better than pushes etc.
Here's an example of my old Hack:
Code:
typedef void ( __thiscall* CNetwork_GoZone )( void *ecx, int zone, int extra, int npc );
CNetwork_GoZone oGoZone = 0;
oGoZone = (CNetwork_GoZone)GetProcAddress( huInst, "?GoZone@CNetworkLibrary@@QAEXHHH@Z");
// after that just call it wit hthe right parameters
oGoZone( params...);
Of course GetProcAddress wont work anymore now a days
as far as i know but that just means you either use findpattern
to find your Function or put the Address directly.
You can of course do the same with SendToServerNew function.
Of course this requires you to also develope a Packetsniffer
to know what OP Codes what Packets have and how to build
the Packets to do the Actions you actually want to do ( or have the LC
Sourcecode ).