Register for your free account! | Forgot your password?

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

  • 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 11/05/2011, 15:50   #5731
 
elite*gold: 0
Join Date: Oct 2011
Posts: 23
Received Thanks: 1
@Angel

Dude... Please Please post it again... there were many sources meen..
and please with updated addys, then you are the best.
Wamba123123 is offline  
Old 11/05/2011, 17:12   #5732
 
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
Quote:
Originally Posted by Wamba123123 View Post
@Angel

Dude... Please Please post it again... there were many sources meen..
and please with updated addys, then you are the best.
this is the source thread not the addys thread ^^ for addys look at the other thread
Angel-Piece is offline  
Old 11/05/2011, 17:27   #5733
 
elite*gold: 1
Join Date: Nov 2011
Posts: 437
Received Thanks: 421
Kurze Frage ^^ :
Was kann man alles mit Structs machen ?
Bitte keine Antworten wie "Du hast doch keine" usw.
Ich bin ein Neuling Coder ohne vielen Erfahrungen ^^

Danke
Venom' is offline  
Thanks
1 User
Old 11/05/2011, 17:39   #5734
 
elite*gold: 0
Join Date: Oct 2011
Posts: 233
Received Thanks: 80
Quote:
Originally Posted by Venom' View Post
Kurze Frage ^^ :
Was kann man alles mit Structs machen ?
Bitte keine Antworten wie "Du hast doch keine" usw.
Ich bin ein Neuling Coder ohne vielen Erfahrungen ^^

Danke
Mit Structs?
vieles xD
Aber was meinste damit
SubZerom|_ is offline  
Old 11/05/2011, 18:53   #5735
 
elite*gold: 0
Join Date: Oct 2011
Posts: 23
Received Thanks: 1
Quote:
Originally Posted by Angel-Piece View Post
this is the source thread not the addys thread ^^ for addys look at the other thread
I know, but can you post your Source again with the needed (updated) addys?

Please... Thanks-
Wamba123123 is offline  
Old 11/05/2011, 20:56   #5736
 
elite*gold: 0
Join Date: Oct 2011
Posts: 93
Received Thanks: 17
[ASM] Auto Medic



Code:
if(CH_AutoMedik == 0){ASMMemcpy((void*)ADR_AutoMedic1,(void*)"\x75\x15",2);} // OFF

if(CH_AutoMedik == 0){ASMMemcpy((void*)ADR_AutoMedic2,(void*)"\x0F\x8A\xAD\x00\x00\x00",6);}

if(CH_AutoMedik == 1){ASMMemcpy((void*)ADR_AutoMedic1,(void*)"\xEB",1);} // ON

if(CH_AutoMedik == 1){ASMMemcpy((void*)ADR_AutoMedic2,(void*)"\x90\x90\x90\x90\x90\x90",6);}
ASMMemcpy :

Code:
//------------------- Write ------------------------------

//WriteAsm

BOOL ASMMemcpy (VOID *lpMem,VOID *lpSrc,DWORD len) // Thanks to croner for VirtualProtectEx

{

    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);

}
ADDYS:

Code:
static const DWORD ADR_AutoMedic1 = 0x004C9023;

static const DWORD ADR_AutoMedic2 = 0x004C9063;
or:

Code:
ADR_AutoMedic1 = 0x004C9023;

ADR_AutoMedic2 = 0x004C9063;
General Thanks to Gonzo , Croner & UPK


I hope you can take something with that.
.Sidewalk is offline  
Thanks
1 User
Old 11/05/2011, 21:50   #5737
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
Quote:
Originally Posted by _TradEmArk_ ™ View Post
Wenn ich jetzt ein Trollface posten würde würden alle wieder Rum Heulen da du Anfänger bist.


Die Detour funktioniert noch.. ist aber etwas Schwer in den Hook zu machen also für Anfänger.
Code:
VOID WINAPI DirectX9Main()
{
	DWORD dwD3D9;
	do
	{
		dwD3D9 = (DWORD)GetModuleHandleA("D3D9.DLL");
	}
	while(!dwD3D9);
	pDrawIndexedPrimitive = (oDrawIndexedPrimitive)Detour->WriteDetourJMP(DETOUR_TYPE_JMP_JMP_SHORT,(DWORD)DrawIndexedPrimitiveMain,(DWORD)VTable->ID(82));
	pPresent = (oPresent)Detour->WriteDetourXXX(DETOUR_TYPE_E9,(DWORD)PresentMain,(DWORD)VTable->ID(17),5);
	pReset = (oReset)Detour->WriteDetourXXX(DETOUR_TYPE_E9,(DWORD)ResetMain,(DWORD)VTable->ID(16),5);
}
was ist jetzt daran schwer?

Quote:
Originally Posted by SubZerom|_ View Post
HAHAHAHAHAHAHAHAHA
OMG FAIL



"Fremdprogramm" Kick
Was ist das?
Habe noch nie gesehen xD
Wenn du an der Base die du benutzt, paar sachen veränderst kannst du crashes auch vermeiden
Und was sollte jetzt daran fail sein?
CyberVeezy :) is offline  
Old 11/05/2011, 21:59   #5738
 
elite*gold: 0
Join Date: Oct 2011
Posts: 233
Received Thanks: 80
Quote:
Originally Posted by CyberVeezy :) View Post
Code:
VOID WINAPI DirectX9Main()
{
	DWORD dwD3D9;
	do
	{
		dwD3D9 = (DWORD)GetModuleHandleA("D3D9.DLL");
	}
	while(!dwD3D9);
	pDrawIndexedPrimitive = (oDrawIndexedPrimitive)Detour->WriteDetourJMP(DETOUR_TYPE_JMP_JMP_SHORT,(DWORD)DrawIndexedPrimitiveMain,(DWORD)VTable->ID(82));
	pPresent = (oPresent)Detour->WriteDetourXXX(DETOUR_TYPE_E9,(DWORD)PresentMain,(DWORD)VTable->ID(17),5);
	pReset = (oReset)Detour->WriteDetourXXX(DETOUR_TYPE_E9,(DWORD)ResetMain,(DWORD)VTable->ID(16),5);
}
was ist jetzt daran schwer?



Und was sollte jetzt daran fail sein?
1. Wenn man leecht ist es einfach.

2. Weil du für so etwas nach Credits flamest...

e:/
Für alle die auf son geflamme kein bock haben hier:

SubZerom|_ is offline  
Old 11/05/2011, 22:01   #5739
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
Quote:
Originally Posted by SubZerom|_ View Post
1. Wenn man leecht ist es einfach.

2. Weil du für so etwas nach Credits flamest...

e:/
Für alle die auf son geflamme kein bock haben hier:

1. Ich habe es wirklich selber gefunden.
2. Da es meine Methode ist sollte man auch richtig Credits adden.
CyberVeezy :) is offline  
Old 11/05/2011, 22:06   #5740
 
elite*gold: 0
Join Date: Sep 2011
Posts: 326
Received Thanks: 760
Ja die richtigen Credits kriegen wenn dann die Themida Ersteller!

Typisch C&Per echt bitter heutzutage
SK1LL0R.. is offline  
Thanks
2 Users
Old 11/05/2011, 23:13   #5741
 
elite*gold: 10
Join Date: Mar 2010
Posts: 703
Received Thanks: 938
Quote:
Originally Posted by .Sidewalk View Post


Code:
if(CH_AutoMedik == 0){ASMMemcpy((void*)ADR_AutoMedic1,(void*)"\x75\x15",2);} // OFF

if(CH_AutoMedik == 0){ASMMemcpy((void*)ADR_AutoMedic2,(void*)"\x0F\x8A\xAD\x00\x00\x00",6);}

if(CH_AutoMedik == 1){ASMMemcpy((void*)ADR_AutoMedic1,(void*)"\xEB",1);} // ON

if(CH_AutoMedik == 1){ASMMemcpy((void*)ADR_AutoMedic2,(void*)"\x90\x90\x90\x90\x90\x90",6);}
ASMMemcpy :

Code:
//------------------- Write ------------------------------

//WriteAsm

BOOL ASMMemcpy (VOID *lpMem,VOID *lpSrc,DWORD len) // Thanks to croner for VirtualProtectEx

{

    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);

}
ADDYS:

Code:
static const DWORD ADR_AutoMedic1 = 0x004C9023;

static const DWORD ADR_AutoMedic2 = 0x004C9063;
or:

Code:
ADR_AutoMedic1 = 0x004C9023;

ADR_AutoMedic2 = 0x004C9063;
General Thanks to Gonzo , Croner & UPK


I hope you can take something with that.
Also wenn du schon so ein Ar**h bist und meine Source hier public machst, dann update sie wenigstens und gib meine Credits auch dazu!

Die Addys sind alt und von MIR gefunden worden..

habe ich vor ca. 1 Monat auf wr-cheats in die donator Area released:

Chowniiqhtz is offline  
Thanks
1 User
Old 11/06/2011, 10:07   #5742
 
elite*gold: 0
Join Date: Oct 2011
Posts: 607
Received Thanks: 356
I need Invisebel source bitte
sirotricks is offline  
Old 11/06/2011, 12:09   #5743
 
elite*gold: 1
Join Date: Nov 2011
Posts: 437
Received Thanks: 421
Quote:
Originally Posted by sirotricks View Post
I need Invisebel source bitte
Hmmm...mir gefällt deine Sprache,Germanglish ?


Hier hast du Invisible Source (hab die selbst erst grad eingebaut,ich weiß nicht ob die funktioniert.)

Code:
Deklarierst du :
static bool PatchInvi;
int Invisible;


if (Invisible == 1 && PatchInvi == false)
{
 if (dwServerPtr!=0)
 {
*(long*)(dwServerPtr+OFS_INVISIBLE) -= 2;
PatchInvi = true;
 }}

if (Invisible == 0 && PatchInvi == true)
{
*(long*)(dwServerPtr+OFS_INVISIBLE) +=2;
PatchInvi = false;
}

#define OFS_INVISIBLE               0x11A2B4
Bitte hört auf mit den KiddyWars
Venom' is offline  
Thanks
6 Users
Old 11/07/2011, 14:25   #5744
 
elite*gold: 0
Join Date: Oct 2011
Posts: 81
Received Thanks: 40
Haha
Der Hammer
Geil ey.

1. Er braucht keine patch class
2. Ist das was du da gepostet hast, ist eine ASM Patch class, für Bytes...
xTriplexXx is offline  
Thanks
1 User
Old 11/07/2011, 16:39   #5745
 
elite*gold: 26
The Black Market: 288/1/0
Join Date: Dec 2010
Posts: 4,343
Received Thanks: 2,395
Code:
if (Invisible)
{
if (!InviciblePatch)
{
*(long*)(Serveraddy+OFS_INVISIBLE) -= 2;
InviciblePatch = true;
}
}
else
{
if (InviciblePatch)
{
*(long*)(Serveraddy+OFS_INVISIBLE) += 2;
InviciblePatch = false;
}
}
hero9910 is offline  
Thanks
2 Users
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:39.


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.