|
You last visited: Today at 11:32
Advertisement
Warrock - Code Snippets
Discussion on Warrock - Code Snippets within the WarRock forum part of the Shooter category.
08/15/2012, 19:56
|
#181
|
elite*gold: 0
Join Date: Jul 2012
Posts: 1,426
Received Thanks: 1,370
|
Quote:
Und wenn <float>
dann musst du nicht MemWrite verwenden sondern FailUpdate.
|
guter witz
hahahah also echt xD was fürn skills man sieht doch
junge wieso failUpdate? weil TradEMaRK sie so gennant hat
wenn du keine ahnung hast dann lass es ....
|
|
|
08/15/2012, 20:02
|
#182
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
Quote:
Originally Posted by Willi35
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
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
|
#183
|
elite*gold: 0
Join Date: Nov 2007
Posts: 24
Received Thanks: 1
|
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
|
#184
|
elite*gold: 9
Join Date: Oct 2010
Posts: 395
Received Thanks: 812
|
Quote:
Originally Posted by jeffrey1994
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
|
#185
|
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
|
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
|
#186
|
elite*gold: 0
Join Date: Nov 2007
Posts: 24
Received Thanks: 1
|
How do you make a pattern for ASM addy's?
|
|
|
08/16/2012, 16:45
|
#187
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
Quote:
Originally Posted by jeffrey1994
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
|
#188
|
elite*gold: 0
Join Date: Nov 2007
Posts: 24
Received Thanks: 1
|
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
|
#189
|
elite*gold: 0
Join Date: Jul 2011
Posts: 53
Received Thanks: 11
|
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
|
#190
|
elite*gold: 0
Join Date: Nov 2007
Posts: 24
Received Thanks: 1
|
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?
|
|
|
08/18/2012, 03:59
|
#191
|
elite*gold: 0
Join Date: Apr 2012
Posts: 594
Received Thanks: 810
|
Quote:
Originally Posted by jeffrey1994
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
|
#192
|
elite*gold: 0
Join Date: Feb 2012
Posts: 85
Received Thanks: 18
|
Hello I need that they help me
My this detected base
Someone can give me a new base
Images of my base
Scren:OLD
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
08/18/2012, 10:37
|
#193
|
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
|
Quote:
Originally Posted by alfmkwndk
Hello I need that they help me
My this detected base
Someone can give me a new base
Images of my base
Scren:OLD
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
Maybe use google and you can find anksels outdated base that you used befor.
or you can do it like this o.0
|
|
|
08/18/2012, 12:12
|
#194
|
elite*gold: 0
Join Date: Feb 2012
Posts: 85
Received Thanks: 18
|
Hello I need that they help me
My this detected base
Someone can give me a new base
|
|
|
08/18/2012, 13:55
|
#195
|
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
|
Quote:
Originally Posted by alfmkwndk
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....
|
|
|
Similar Threads
|
WarRock EU - Code Snippets
07/12/2012 - WarRock - 7490 Replies
Hi Leute,
in diesem Thread könnt ihr:
-> Nach Sourcecodes fragen(Beispiel unten)
-> Eure Sourcecodes posten(Wenn sie nicht von euch sind mit Credits!)
-> Fragen ob eure Source evtl. einen Fehler hat
-> Fragen was welcher Fehler bedeuted
-> Sourcecodes entnehmen(Bitte beim Release dann Credits angeben!)
|
All times are GMT +1. The time now is 11:33.
|
|