Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 19:04

  • 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 06/19/2012, 21:29   #7261

 
elite*gold: 0
Join Date: Mar 2012
Posts: 3,513
Received Thanks: 1,023
Quote:
Originally Posted by Instiinqzx3™ View Post
Machs mal so :

if(ExtraAmmo1 ==1)
{
*(float*)(PX_EXTRAAMMO1) = 0x1;
}
if(ExtraAmmo2 ==1)
{
*(float*)(PX_EXTRAAMMO2) = 0x1;
}


#define PX_EXTRAAMMO1 0x00A3059A
#define PX_EXTRAAMMO2 0x00A3059B

Edit: dein fehler liegt glb ich daran, dass du 2 mal ExtraAmmo2 hast... Du hast sogesagt ExtraAmmo1 vergessen.
Deins ist auch falsch..
float auf byte ?

if(ExtraAmmo)
{*(BYTE*)EXTRAAMMO_ADR=0x1;}
else
{*(BYTE*)EXTRAAMMO_ADR=0;}
Faultyclones is offline  
Old 06/19/2012, 21:58   #7262
 
elite*gold: 0
Join Date: May 2012
Posts: 67
Received Thanks: 70
Ja stimmt sry war falsche fun base :s xD

so ist es in meiner Base:

if(ExtraAmmo1 ==1)
{
*(BYTE*)(PX_EXTRAAMMO1) = 0x1;
}
if(ExtraAmmo2 ==1)
{
*(BYTE*)(PX_EXTRAAMMO2) = 0x1;
}
Instiinqzx3™ is offline  
Old 06/19/2012, 22:11   #7263
 
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
die definiere ich m_Stride und pDevice

danke leutz

und ist die Chams Source noch aktuell?

Quote:
{
if(fCHUMS == 1){
if(m_Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT,ORANGE);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 2){
if(m_Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT,BLUE);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}// "Orange","Blue","Green","White","Black",Yellow "
if(fCHUMS == 3){
if(m_Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT,GREEN);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 4){
if(m_Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT,WHITE);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 5){
if(m_Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT,BLACK);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 6){
if(m_Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT,YELLOW);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 1){
if(m_Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT,ORANGE);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 2){
if(m_Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT,BLUE);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 3){
if(m_Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT,GREEN);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 4){
if(m_Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT,WHITE);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 5){
if(m_Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT,BLACK);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 6){
if(m_Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT,YELLOW);pDevice->SetRenderState(D3DRS_ZENABLE,false);}}}
Fischii26 is offline  
Old 06/19/2012, 22:38   #7264
 
elite*gold: 0
Join Date: May 2012
Posts: 48
Received Thanks: 8
Quote:
Originally Posted by Fischii26 View Post
die definiere ich m_Stride und pDevice

danke leutz

und ist die Chams Source noch aktuell?
Du musst die Source in die richtige stelle in der Base einfügen.


BT Extraammo:
if (CH_ExtraAmmo2==1)
{
*(BYTE*)(PX_ExtraAmmo1) = 0x1;
}

if (CH_ExtraAmmo2==1)
{
*(BYTE*)(PX_ExtraAmmo2) = 0x1;
}
So hatte ich das ja auch vorher, aber es geht nicht.

€: Ok habe den fehler gefunden, danke!
€²: Doch nicht xD
MilchMannx3 is offline  
Old 06/19/2012, 22:43   #7265
 
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
Quote:
Originally Posted by MilchMannx3 View Post
Du musst die Source in die richtige stelle in der Base einfügen.

und welches ist die richtige stelle? >.>
Fischii26 is offline  
Old 06/19/2012, 23:47   #7266
 
elite*gold: 0
Join Date: May 2012
Posts: 67
Received Thanks: 70
Quote:
Originally Posted by MilchMannx3 View Post
Du musst die Source in die richtige stelle in der Base einfügen.


BT Extraammo:
if (CH_ExtraAmmo2==1)
{
*(BYTE*)(PX_ExtraAmmo1) = 0x1;
}

if (CH_ExtraAmmo2==1)
{
*(BYTE*)(PX_ExtraAmmo2) = 0x1;
}
So hatte ich das ja auch vorher, aber es geht nicht.

€: Ok habe den fehler gefunden, danke!
€²: Doch nicht xD
Du definierst 2 mal CH_ExtraAmmo2 mach mal bei dem 1sten CH_ExtraAmmo1... oder gib mir mal deine base oder lass uns es morgen über TV machen
Instiinqzx3™ is offline  
Old 06/19/2012, 23:48   #7267
 
xBioK1ngz's Avatar
 
elite*gold: 15
Join Date: Nov 2011
Posts: 556
Received Thanks: 1,002
Code:
VOID WINAPI Engine_SetRenderState(D3DRENDERSTATETYPE State,DWORD Value)
{
	__asm
	{
		MOV ESI,DWORD PTR DS:[0xA30544]
		MOV EAX,DWORD PTR DS:[ESI+0x2B930]
		MOV ECX,DWORD PTR DS:[EAX]
		MOV EDX,DWORD PTR DS:[ECX+0xE4]
		PUSH Value
		PUSH State
		PUSH EAX
		CALL EDX
	}
}
Code:
VOID WINAPI Engine_SetTexture(DWORD Stage,IDirect3DBaseTexture9* pTexture)
{
	__asm
	{
		MOV ESI,DWORD PTR DS:[0xA30544]
		MOV EAX,DWORD PTR DS:[ESI+0x2B930]
		MOV ECX,DWORD PTR DS:[EAX]
		MOV EDX,DWORD PTR DS:[ECX+0x104]
		PUSH pTexture
		PUSH Stage
		PUSH EAX
		CALL EDX
	}
}
Code:
VOID WINAPI Engine_DrawIndexedPrimitive(D3DPRIMITIVETYPE D3DPType,INT BaseVertexIndex,UINT MinIndex,UINT NumVertices,UINT StartIndex,UINT PrimitiveCount)
{
	__asm
	{
		MOV ESI,DWORD PTR DS:[0xA30544]
		MOV EAX,DWORD PTR DS:[ESI+0x2B930]
		MOV ECX,DWORD PTR DS:[EAX]
		MOV EDX,DWORD PTR DS:[ECX+0x148]
		PUSH PrimitiveCount
		PUSH StartIndex
		PUSH NumVertices
		PUSH MinIndex
		PUSH BaseVertexIndex
		PUSH D3DPType
		PUSH EAX
		CALL EDX
	}
}
Code:
HRESULT WINAPI Engine_GetStreamSource(UINT StreamNumber,IDirect3DVertexBuffer9** ppStreamData,UINT* OffsetInBytes,UINT* pStride)
{
	DWORD dwReturn;
	__asm
	{
		MOV ESI,DWORD PTR DS:[0xA30544]
		MOV EAX,DWORD PTR DS:[ESI+0x2B930]
		MOV ECX,DWORD PTR DS:[EAX]
		MOV EDX,DWORD PTR DS:[ECX+0x194]
		PUSH pStride
		PUSH OffsetInBytes
		PUSH ppStreamData
		PUSH StreamNumber
		PUSH EAX
		CALL EDX
		TEST EAX,EAX
		JE OK
		MOV dwReturn,1//S_FALSE
OK:
		MOV dwReturn,0//S_OK
	}
	return ( dwReturn );
}
Ich weiß nicht ob das was groß bringt .. hatte Langeweile ..
xBioK1ngz is offline  
Thanks
6 Users
Old 06/20/2012, 07:11   #7268
 
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
Quote:
Originally Posted by Fischii26 View Post
die definiere ich m_Stride und pDevice

danke leutz

und ist die Chams Source noch aktuell?
UINT m_Stride;

z.B. DWORD WINAPI PresentSource(LPDIRECT3DDEVICE9 pDevice)
{
//source
}
Du brauchst nen anderen Hook
Chown¡¡qhtz is offline  
Old 06/20/2012, 13:01   #7269
 
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
Quote:
Originally Posted by Chown¡¡qhtz View Post
UINT m_Stride;

z.B. DWORD WINAPI PresentSource(LPDIRECT3DDEVICE9 pDevice)
{
//source
}
Du brauchst nen anderen Hook
Ich brauch ne neue Base o.O Aus irgendeinem Grund funktionieren die neuen, dazu geaddeten Source Codes nicht. Kann sich das mal i-ein Coder ansehen? Ich weiß nicht woran das liegen kann...

Und damit mein Post nicht als Spam angegriffen wird poste ich mal das ;D


if (CH_FastAll ==1)
{
*(float*)ADR_FastAmmo = 100.0f;
*(float*)ADR_FastFlag = 10.0f;
*(float*)ADR_FastHealth = 100.0f;
*(float*)ADR_FastRepair = 100.0f;
}}
{
if(CH_teleport == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0;
PositionX = *(float*)(dwPlayerPtr + OFS_X);
PositionY = *(float*)(dwPlayerPtr + OFS_Y);
PositionZ = *(float*)(dwPlayerPtr + OFS_Z);
if(GetAsyncKeyState(VK_F10)&1){
Telx = PositionX;
Tely = PositionY;
Telz = PositionZ;}
if(GetAsyncKeyState(VK_F11)&1){
*(float*)(dwPlayerPtr + OFS_X) = Telx;
*(float*)(dwPlayerPtr + OFS_Y) = Tely;
*(float*)(dwPlayerPtr + OFS_Z) = Telz;
bool bChangedValue = true;
int oldValue;
Fischii26 is offline  
Thanks
1 User
Old 06/20/2012, 15:23   #7270
 
elite*gold: 0
Join Date: Jun 2012
Posts: 14
Received Thanks: 16
Req:
Auto ready / start [not keyhook & mouse event].
Please a tested version!
ichtrinknsektvielleicht is offline  
Old 06/20/2012, 18:07   #7271
 
Døмe™'s Avatar
 
elite*gold: 95
The Black Market: 115/0/0
Join Date: Dec 2010
Posts: 2,109
Received Thanks: 184
Req:
ZeroDelay
Døмe™ is offline  
Old 06/20/2012, 18:10   #7272
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520

PartyProgrammBypass
Code:
VOID PartyProgrammBypass()
{
	while (true)
	{
		DWORD PlayerPointer = *( DWORD )* ADR_PLAYERPOINTER ;
                DWORD ServerPointer = *( DWORD )* ADR_SERVERPOINTER ;
		if(  PlayerPointer && ServerPointer !=0  )
		{
		*( BYTE *)(  ServerPointer + OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX1  ) = 0  ;
		*( BYTE *)(  ServerPointer + OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX2  ) = 0  ;
}}}
Addys:
#define OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX1 0x360
#define OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX2 0x361

Info: If Party Programm comes, press ESC and you can login again!
Credits:
xCrazia ( Source, Addys )
CyberRazzer ( How to find Functions )
CyberVeezy :) is offline  
Old 06/20/2012, 18:36   #7273
 
elite*gold: 0
Join Date: Jul 2011
Posts: 3,812
Received Thanks: 1,840
Quote:
Originally Posted by xx1dome1x1 View Post
Req:
ZeroDelay
Code:
if (CH_NoDelay==1)
{
if(GetAsyncKeyState(VK_LBUTTON))
{
*(DWORD*)(pp+OFS_NoDelay) = -1;
}
}
xRoute66x is offline  
Old 06/20/2012, 19:05   #7274
 
elite*gold: 0
Join Date: Mar 2012
Posts: 194
Received Thanks: 311
Quote:
Originally Posted by CyberVeezy :) View Post

PartyProgrammBypass
Code:
VOID PartyProgrammBypass()
{
	while (true)
	{
		DWORD PlayerPointer =  *(DWORD*)ADR_PLAYERPOINTER;
		DWORD ServerPointer = *(DWORD*)ADR_SERVERPOINTER;
		if(PlayerPointer && ServerPointer !=0)
		{
		*(BYTE*)(OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX1) = 0x0;
		*(BYTE*)(OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX2) = 0x0;
}}}
Addys:
#define OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX1 0x360
#define OFS_BLOCK_PARTYPROGRAMM_MESSAGE_BOX2 0x361

Info: If Party Programm comes, press ESC and you can login again!
Credits:
xCrazia ( Source, Addys )
CyberRazzer ( How to find Functions )
That won't do anything, it just disables the messagebox...
It gets called to that position, but its not where its detecting...
cheatslaw is offline  
Old 06/20/2012, 19:11   #7275
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
Quote:
Originally Posted by cheatslaw View Post
That won't do anything, it just disables the messagebox...
It gets called to that position, but its not where its detecting...
I know, the function is disabling the messagebox
CyberVeezy :) 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 19:04.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.