Warrock - Code Snippets

08/15/2012 19:56 ~ExoduS~*#181
Quote:
Und wenn <float>
dann musst du nicht MemWrite verwenden sondern FailUpdate.
guter witz :facepalm:

hahahah also echt xD was fürn skills man sieht doch :)

junge wieso failUpdate? weil TradEMaRK sie so gennant hat :facepalm:

wenn du keine ahnung hast dann lass es .... :rtfm:
08/15/2012 20:02 Raz9r#182
Quote:
Originally Posted by Willi35 View Post
Da ich objektorientiert Arbeite benutze ich nicht eine höhres Warnlevel und sehe mich nicht dazu gezwungen Sie initialisieren mit NULL. Wenn man auf nativ programmiert sollte man das Warnlevel erhöhen, damit vermeidet man unsälige Fehler.
Ich arbeite immer nativ, da Gamehacking eine Kunst ist, bei der man nativen Code manipuliert.

Quote:
Originally Posted by Willi35 View Post
Dein Code ist zwar schön anzu sehen, aber leider bevorzuge ich die Funktionen, die am "schnellsten" "Arbeiten" und somit memcpy. Natürlich ist dein Source Code voll kommen richtig und bitte nicht als Kritik sehen.
__movsb ist wesentlich effizienter als memcpy. Alternativ kann man auch mithilfen von statischen Assertionen __movsw und __movsd einbauen - diesen Code behalte ich aber für mich.
Du kannst dir ja einmal den Code hinter memcpy und den hinter der intrinischen Funktion __movsb anschauen und wirst feststellen, dass memcpy zwar sicherer ist, aber auf keinen Fall schneller.
08/15/2012 22:32 jeffrey1994#183
Someone willing to help me adding Save, Load and Reset options for my menu?

also Weapongravity like this aint working, I assume value is 0?
Code:
		switch(CH_WG)
		{
			case 1: 
				MemWrite<int>((void*)ADR_WEAPONGRAVITY, 0);
		}
08/15/2012 23:00 Willi35#184
Quote:
Originally Posted by jeffrey1994 View Post
Someone willing to help me adding Save, Load and Reset options for my menu?

also Weapongravity like this aint working, I assume value is 0?
Code:
		switch(CH_WG)
		{
			case 1: 
				MemWrite<int>((void*)ADR_WEAPONGRAVITY, 0);
		}
Dear Mr. jeffrey1994,

i would inform your Source is not correct. You forget "In the End of "case" the "break". If you want "disable" your Function, then set the Value to zero. Because you check if the Value 1, then your Function get "activated".

I apologize for my bad English.
08/16/2012 10:11 CyberVeezy :)#185

Undetected WarRock HackShield Bypass ( 16.08.2012 )
Code:
BOOL MemoryEdit (VOID *lpMem,VOID *lpSrc,DWORD len)//
{
    DWORD lpflOldProtect, flNewProtect = PAGE_READWRITE;
    unsigned char * pDst = (unsigned char *)lpMem,
    *pSrc = (unsigned char *)lpSrc;
    if (VirtualProtect(lpMem,len,flNewProtect,&lpflOldProtect))
    {
    while(len-- > 0) *pDst++ = *pSrc++;
    return (0);
    }  
    return (1);
}

HRESULT __fastcall Warrock_Bypass()
{
    DWORD dwEhSvc;
    do
    {
        dwEhSvc = (DWORD)GetModuleHandleA("EHSVC.DLL");
        Sleep(150);
    }
    while (!dwEhSvc);

        MemoryEdit((LPVOID)(dwEhSvc+0x007C139),(LPVOID)"\xC3",1);//HSCallBack1
        MemoryEdit((LPVOID)(dwEhSvc+0x000A048),(LPVOID)"\x74",1);//HSCallBack2
        MemoryEdit((LPVOID)(dwEhSvc+0x9A520),(LPVOID)"\x03\xD2",2);//HSNanoScan1
        MemoryEdit((LPVOID)(dwEhSvc+0x97F6F),(LPVOID)"\xB0\x00\x00\x00\x00",5);//HSNanoScan2
    
        return true;
}
Credits: SilentChris, xStraquaz
Als "Anti Copy and Paste" habe ich einen kleinen Fehler reingemacht.
08/16/2012 15:48 jeffrey1994#186
How do you make a pattern for ASM addy's?
08/16/2012 16:45 Raz9r#187
Quote:
Originally Posted by jeffrey1994 View Post
How do you make a pattern for ASM addy's?
There neither are things called "assembly addresses" nor different ways of making a pattern for any address at all.
What you call an assembly address just is an address pointint to some executable opcode, which may be changed as easily as modifying the opcode value after dereferencing the addressed pointer.
08/17/2012 23:19 jeffrey1994#188
My ESP crashes when I turn it on:
Code:
	if (CH_D3DESPName)
	{
		char chName[100];
		sprintf_s(chName," Name:   [%s] ",GetGlobalInfo(MaxPlayer)->Name);
		DrawTextESP((INT)EspView.x,(INT)EspView.y,ORANGE, chName, pFont2);
		EspView.y += 12;
	}
08/17/2012 23:45 scraprecon#189
If you're menu shows ( draws properly etc. ) then it's most likely your structs. I've never coded esp but since its crashing ONLY when you turn on ESP then it's probably your structure ( s ). could be the function but probably the structs :) Test different structures to see
08/17/2012 23:52 jeffrey1994#190
I use the one's that were last posted on 1 August I dont know if these are uptodate:
Code:
struct CPlayerInfo
{
BYTE _00[0x6D8];//0x00
CHAR IPAddress[16];//0x6D8
BYTE _01[0x54];//0x6E8
INT Port;//0x73C
BYTE _02[0x284];//0x740
CHAR Name[16];//0x9C4
BYTE _03[0x11C0];//0x9D4
INT Health;//0x1B94
INT MaxHealth;//0x1B98
BYTE _04[0x94];//0x1B9C
INT Ready;//0x1C30
BYTE _05[0xAC];//0x1C34
BYTE Team;//0x1CE0
};
I am now this far anyone familiar with this problem?
[Only registered and activated users can see links. Click Here To Register...]
08/18/2012 03:59 GigaByte™#191
Quote:
Originally Posted by jeffrey1994 View Post
I use the one's that were last posted on 1 August I dont know if these are uptodate:
Code:
struct CPlayerInfo
{
BYTE _00[0x6D8];//0x00
CHAR IPAddress[16];//0x6D8
BYTE _01[0x54];//0x6E8
INT Port;//0x73C
BYTE _02[0x284];//0x740
CHAR Name[16];//0x9C4
BYTE _03[0x11C0];//0x9D4
INT Health;//0x1B94
INT MaxHealth;//0x1B98
BYTE _04[0x94];//0x1B9C
INT Ready;//0x1C30
BYTE _05[0xAC];//0x1C34
BYTE Team;//0x1CE0
};
I am now this far anyone familiar with this problem?
Well ESP uses CPlayer for the positioning, is it Updated? CBase updated?
08/18/2012 04:02 alfmkwndk#192
Hello I need that they help me
My this detected base
Someone can give me a new base

Images of my base

Scren:OLD

[Only registered and activated users can see links. Click Here To Register...]

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[Only registered and activated users can see links. Click Here To Register...]

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[Only registered and activated users can see links. Click Here To Register...]
08/18/2012 10:37 Angel-Piece#193
Quote:
Originally Posted by alfmkwndk View Post
Hello I need that they help me
My this detected base
Someone can give me a new base

Images of my base

Scren:OLD

[Only registered and activated users can see links. Click Here To Register...]

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[Only registered and activated users can see links. Click Here To Register...]

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]


Maybe use google and you can find anksels outdated base that you used befor.

or you can do it like this o.0

[Only registered and activated users can see links. Click Here To Register...]
08/18/2012 12:12 alfmkwndk#194
Hello I need that they help me
My this detected base
Someone can give me a new base
08/18/2012 13:55 Angel-Piece#195
Quote:
Originally Posted by alfmkwndk View Post
Hello I need that they help me
My this detected base
Someone can give me a new base
sry if i have not properly expressed.

A base cann't outdated only the thinks you added like addys, bypass etc, remove this all and you have an undetected base

remove all except your Menu, reset, dip, present(+ all what you need to hook it) and when you say you don't know how or you can't pls lern c++ lol

but i think you woudn't do this because you don't know how to code....