Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 12:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



WarRock EU - Code Snippets

Discussion on WarRock EU - Code Snippets within the WarRock forum part of the Shooter category.

View Poll Results: Wie findet ihr diesen Thread
Klasse! 78 60.94%
Geht so 17 13.28%
Sinnlos, braucht keiner 33 25.78%
Voters: 128. You may not vote on this poll

Closed Thread
 
Old 04/08/2011, 18:14   #3061
 
elite*gold: 9
Join Date: Feb 2011
Posts: 625
Received Thanks: 1,153
Quote:
Originally Posted by lujaluja View Post
Hey ich hab nen Code der nich Funktionieren will:


hast du skype dann helfe ich dir ?


oder so


{
*(long*)(dwPtr + OFS_SLOT5) = 1;
}
Cri2me09 is offline  
Thanks
1 User
Old 04/08/2011, 18:17   #3062
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by lujaluja View Post
Hey ich hab nen Code der nich Funktionieren will:
global define:

// defines pointer on class server, as DWORD
unsigned long* ptr_cserver = (unsigned long*)ADR_SERVERPOINTER;

then check in your hack routine the following:

*ptr_cserver ?
for( unsigned long ofs = ADR_SLOT5; ofs < ADR_SLOT5 + 4; ofs++ )
*(int*)(*ptr_cserver+ofs) = 0
: /*do nothing*/;


e/ you may ask why i am using a method using the conditional else, it's because im having a global define for pausing the routines. at the place i wrote /*do nothing*/ im having a jumpmark.
e2/ @cri2me... it doesnt matter if ure using long or int... there is no difference between as sizeof(int) is the same as sizeof(long). both sets 4 Bytes in RAM to zero.
Raz9r is offline  
Thanks
1 User
Old 04/08/2011, 19:01   #3063
 
lujaluja's Avatar
 
elite*gold: 10
Join Date: Dec 2010
Posts: 561
Received Thanks: 98
Quote:
Originally Posted by Cri2me09 View Post
hast du skype dann helfe ich dir ?


oder so


{
*(long*)(dwPtr + OFS_SLOT5) = 1;
}
1.
Ja ich hab die skype addy mit pn geschickt!


2.
Okay...
bei mir ist der fehler:
Quote:
1> main.cpp
1>c:\users\luca\desktop\fastallnfd-lujaluja\fastallnfd-lujaluja\main.cpp(146): error C2447: '{': Funktionsheader fehlt - Parameterliste im alten Stil?
lujaluja is offline  
Thanks
1 User
Old 04/08/2011, 19:13   #3064
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
oh mah *** learn c++...

C2447 means you are too dumb too define a function lol.
Raz9r is offline  
Old 04/08/2011, 19:55   #3065

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by desastermaster7 View Post
oh mah *** learn c++...

C2447 means you are too dumb too define a function lol.
C&P halt

@Fragesteller:

versuchsmal mit

void funktion()
*dein C&P text*
xxfabbelxx is offline  
Old 04/08/2011, 22:08   #3066
 
elite*gold: 0
Join Date: Feb 2011
Posts: 44
Received Thanks: 17
Code:
void *DetourCreateE9(BYTE *org, const BYTE *det, int len)
{
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwBack;
if(len != 0 && len < 5)
return 0;
if(!len)
{
int tmpLen = 0;
BYTE *pCurOp = org;
while(tmpLen < 5) {
int i = oplen(pCurOp);
if(i == 0 || i == -1)
return 0;
tmpLen += i;
pCurOp += i;
}
if(tmpLen < 5)
return 0;
len = tmpLen;
}
VirtualProtect(org, len, PAGE_READWRITE, &dwBack);
memcpy(jmp, org, len);
jmp += len;

jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(org+len - jmp) - 5;

org[0] = 0xE9;
*(DWORD*)(org+1) = (DWORD)(det - org) - 5;

for(int i=5; i < len; i++)
org[i] = 0x90;

VirtualProtect(org, len, dwBack, &dwBack);
Sleep(2);
return (jmp-len);
}
Ist die Detour echt noch aktuell ??? o.O
_CyberStyle_ is offline  
Old 04/08/2011, 22:31   #3067
 
elite*gold: 0
Join Date: Apr 2011
Posts: 44
Received Thanks: 76
Quote:
Originally Posted by _CyberStyle_ View Post
Code:
void *DetourCreateE9(BYTE *org, const BYTE *det, int len)
{
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwBack;
if(len != 0 && len < 5)
return 0;
if(!len)
{
int tmpLen = 0;
BYTE *pCurOp = org;
while(tmpLen < 5) {
int i = oplen(pCurOp);
if(i == 0 || i == -1)
return 0;
tmpLen += i;
pCurOp += i;
}
if(tmpLen < 5)
return 0;
len = tmpLen;
}
VirtualProtect(org, len, PAGE_READWRITE, &dwBack);
memcpy(jmp, org, len);
jmp += len;

jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(org+len - jmp) - 5;

org[0] = 0xE9;
*(DWORD*)(org+1) = (DWORD)(det - org) - 5;

for(int i=5; i < len; i++)
org[i] = 0x90;

VirtualProtect(org, len, dwBack, &dwBack);
Sleep(2);
return (jmp-len);
}
Ist die Detour echt noch aktuell ??? o.O
Das ist ne allgemeine E9 Detour,die für viele Games genutzt wird...
Sie ist aktuell!
xSioux is offline  
Old 04/08/2011, 23:15   #3068
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
E9 with d3d9.dll hooking is detected in WarRock. You cannot get it fud but with using a midfunc which is quite hard to do.
Raz9r is offline  
Old 04/09/2011, 08:42   #3069
 
elite*gold: 0
Join Date: Apr 2011
Posts: 9
Received Thanks: 3
Kann mir jemand eine funzende und aktuelle Detour geben?
Tiq3reye™ is offline  
Old 04/09/2011, 09:05   #3070
 
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
Quote:
Originally Posted by desastermaster7 View Post
E9 with d3d9.dll hooking is detected in WarRock. You cannot get it fud but with using a midfunc which is quite hard to do.
mhm, there are also E9 detours which works for the Present and reset without any detection.
Yazzn˜ is offline  
Old 04/09/2011, 09:42   #3071
 
•~•Pr0Sk1ll•~•'s Avatar
 
elite*gold: 1
Join Date: Nov 2008
Posts: 576
Received Thanks: 166
1.@r a z e r & fabbel als ob euch noch nie ein Fehler passiert ist und ihr
ihn übersehen habt Eragon ist KEIN C&P!
@Eragon wennde lösung noch net hast
Code:
void AllSlot ()//bei dir war hier n semikolon
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{ 
*(int*)(dwPlayerPtr + OFS_SLOT5)= 1;
*(int*)(dwPlayerPtr + OFS_SLOT6)= 1;
*(int*)(dwPlayerPtr + OFS_SLOT7)= 1;
*(int*)(dwPlayerPtr + OFS_SLOT8)= 1;
}
}
•~•Pr0Sk1ll•~• is offline  
Old 04/09/2011, 10:07   #3072
 
elite*gold: 0
Join Date: Apr 2011
Posts: 9
Received Thanks: 3
Kann mir jemand jetzt eine funzende und aktuelle Detour geben? Will nicht tausend Jahre warten
Tiq3reye™ is offline  
Old 04/09/2011, 10:18   #3073
 
elite*gold: 0
Join Date: Apr 2011
Posts: 44
Received Thanks: 76
Quote:
Originally Posted by Tiq3reye™ View Post
Kann mir jemand jetzt eine funzende und aktuelle Detour geben? Will nicht tausend Jahre warten
Erste Seite ist eine...
xSioux is offline  
Old 04/09/2011, 11:01   #3074
 
elite*gold: 0
Join Date: Apr 2011
Posts: 9
Received Thanks: 3
Ja aber die geht nicht.
Tiq3reye™ is offline  
Old 04/09/2011, 11:36   #3075
 
elite*gold: 0
Join Date: Mar 2011
Posts: 263
Received Thanks: 291
Tiq wennde deine google skills an.

Mit Tricks kannst du alles Hooken mit jeder detour
CyberRazzor is offline  
Closed Thread


Similar Threads Similar Threads
WTB Flyff Source code snippets
04/01/2012 - Flyff Trading - 0 Replies
Hellow I posted this because I wanted to buy a fix scroll of unbinding.Which removes soul-link of an item.If you have its code snippets PM me.Don't sell me a code which is release because all of them are not working.I wanted to buy a fix one and a non-buggy code Payment:via Paypal
[Autoit] Youtube Code Snippets
07/29/2011 - AutoIt - 5 Replies
Tag Zusammen. Wie wohl die meisten von euch mitbekommen haben, bieten derzeit sehr viele User hier sogenannte Youtube Services an, bei denen man Abos, Likes, Dislikes etc. kaufen kann. Doch wer wirklich Erfolg haben will, braucht natürlich viele Abonnenten und Likes, was per Hand Tage dauern würde. Deshalb werden hier in letzter Zeit immer mehr Youtube Bots verkauft. Was, wie ich finde, ein ziemliche Abzocke ist, da das meist nur sehr schlechte Bots sind, die lediglich den Internet...
Some Code-Snippets[PSERVER]
07/15/2011 - Kal Hacks, Bots, Cheats & Exploits - 17 Replies
This is the code of the hack which Fremo released.. I got new methods so I dont need this anymore & maybe it'll help some people... G31 Adult Skill if(comboBox4->Text=="Panther'crit'") { KC->Chat(255," Panther Skill ON"); KC->Threads=1; KC->lasttime = timeGetTime()-15000; } else if(comboBox4->Text=="Tiger'otp'")
[Release] Code Snippets Manager
01/21/2011 - Coding Releases - 0 Replies
Code Snippets Manager http://upit.cc/images/1d47d78e.jpg Hab mich heute mal rangesetzt, und einen kleinen Manager für Code-Snippets(Code-Fetzen) gecodet, da ich alles sortiert in einer Anwendung wollte. Da es sicherlich jemand nützlich finden wird, lad ich es hier mal hoch.



All times are GMT +1. The time now is 12:36.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.