Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 22:20

  • 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 03/03/2012, 22:51   #6526
 
GolTrend0km's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 17
Received Thanks: 2
fast spawn cqc?
GolTrend0km is offline  
Old 03/03/2012, 23:53   #6527
 
elite*gold: 0
Join Date: Sep 2011
Posts: 112
Received Thanks: 165
@request
ESP struct
AdrenalinaPL is offline  
Old 03/03/2012, 23:56   #6528
 
elite*gold: 0
Join Date: Feb 2012
Posts: 85
Received Thanks: 18
Help

chams party program detect

Español:
ayudenmen me aparece party program detect

Code:
#pragma once 
#ifndef __CMEMORYPATCH_H__ 
#define __CMEMORYPATCH_H__ 

#include <windows.h> 

template <typename T> 
class cMemPatch 
{ 
private: 
unsigned long Address; 
T OffValue; 
T OnValue; 
int PatchStatus; 
int OffValueSaved; 

enum PATCHSTATUS 
{ 
NORMAL, 
PATCHED 
}; 

bool SaveOffValue(void); 

public: 
cMemPatch(void); 
cMemPatch(unsigned long ADR, T VAL); 

void Patch(void); 
void Restore(void); 
}; 

template <typename T> 
cMemPatch<T>::cMemPatch(void) 
{ 
} 

template <typename T> 
cMemPatch<T>::cMemPatch(unsigned long ADR, T VAL) 
{ 
this->Address = ADR; 
this->OnValue = VAL; 
this->PatchStatus = NORMAL; 
this->OffValueSaved = false; 
} 

template <typename T> 
void cMemPatch<T>::Patch() 
{ 
if (this->PatchStatus == NORMAL) 
{ 
if (this->OffValueSaved == false) 
{ 
if (!this->SaveOffValue()) 
return; 
} 
else 
{ 
//*(T*)(this->Address) = this->OnValue; 
unsigned long size;
VirtualProtect((void*)this->Address, sizeof(this->OnValue), PAGE_READWRITE, &size);
memcpy((void*)this->Address, &this->OnValue , sizeof(this->OnValue));
VirtualProtect((void*)this->Address, sizeof(this->OnValue), size, 0);
this->PatchStatus = PATCHED; 
} 
} 
} 

template <typename T> 
void cMemPatch<T>::Restore() 
{ 
if (this->PatchStatus == PATCHED) 
{ 
*(T*)(this->Address) = this->OffValue; 
this->PatchStatus = NORMAL; 
} 
} 

template <typename T> 
bool cMemPatch<T>::SaveOffValue() 
{ 
if (IsBadReadPtr((void*)(this->Address), sizeof(T))) 
return false; 
else 
{ 
this->OffValue = *(T*)(this->Address); 
this->OffValueSaved = true; 
return true; 
} 
}
#endif
alfmkwndk is offline  
Old 03/04/2012, 13:29   #6529
 
elite*gold: 0
Join Date: Aug 2011
Posts: 726
Received Thanks: 3,211
Quote:
Originally Posted by GolTrend0km View Post
fast spawn cqc?
Code:
#define ADR_NoSpawn1                                  0x00B1B2A4
#define ADR_NoSpawn2                                  0x00B292A0

	if(RedLine.rServer.RL_SpawnNow >= 1)
	{

		*(float*)ADR_NoSpawn1 = 0;
		*(float*)ADR_NoSpawn2 = 0;

	}
Quote:
Originally Posted by alfmkwndk View Post
Help

chams party program detect

....
Try find new way to hook ur dip
R3d_L!n3 is offline  
Thanks
2 Users
Old 03/04/2012, 16:22   #6530
 
elite*gold: 0
Join Date: Apr 2011
Posts: 17
Received Thanks: 5
updated structs pls + telekill
SkinnLaw is offline  
Old 03/04/2012, 20:40   #6531
 
elite*gold: 0
Join Date: Jan 2012
Posts: 67
Received Thanks: 16
weopan binder addy+source
G1-Creadits-Sale is offline  
Old 03/04/2012, 21:18   #6532
 
xBioK1ngz's Avatar
 
elite*gold: 15
Join Date: Nov 2011
Posts: 556
Received Thanks: 1,002
GetTickCount - 0x81B174
LoadLibrary - 0x81B164
GetLastError - 0x81B190
QueryPerformanceCounter - 0x81B1E8
QueryPerformanceFrequency - 0x81B1DC


Beispiel:
Code:
VOID WINAPIV EngineLoadLibrary(LPCSTR lpLibrary)
{
    __asm
    {
        PUSH [ lpLibrary ]
        CALL DWORD PTR DS: [ 0x81B164 ]
        ADD ESP,0x4
    }
}
xBioK1ngz is offline  
Old 03/04/2012, 22:58   #6533
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by xBioK1ngz View Post
GetTickCount - 0x81B174
LoadLibrary - 0x81B164
GetLastError - 0x81B190
QueryPerformanceCounter - 0x81B1E8
QueryPerformanceFrequency - 0x81B1DC


Beispiel:
Code:
VOID WINAPIV EngineLoadLibrary(LPCSTR lpLibrary)
{
    __asm
    {
        PUSH [ lpLibrary ]
        CALL DWORD PTR DS: [ 0x81B164 ]
        ADD ESP,0x4
    }
}
Die Funktion LoadLibrary ist im Modul Kernel32.dll, dass heißt, ein Aufruf von der Funktion durch das gelinkte Modul bewirkt genau das, was deine Funktion auch macht, mit nur einer kleinen Abweichung: Dein Code führt zum "Stack Overrun". Du erhöhst den Stack Pointer um 4 nach dem Aufruf der Funktion in dem Irrtum, das hier tun zu müssen. Der Microsoft Befehlsdokumentation zufolge hat die Funktion das Scope stdcall, was bedeutet, dass die Funktion den Stack Pointer selbst erhöht und du das nicht machen musst. Durch deine Funktion würde WarRock sich also mit der Zeit beenden, wenn du sie zu oft aufrufst.
Raz9r is offline  
Thanks
1 User
Old 03/05/2012, 19:04   #6534
 
avast!'s Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 944
Received Thanks: 62
was bedeutet dieser fehler?
fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory
1> Code wird generiert...
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========

kann wer helfen grüße
avast! is offline  
Old 03/05/2012, 19:06   #6535
 
Stephack's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 292
Received Thanks: 59
Ja du must erst eine form erstellen, die d3dx9.h heißt
Stephack is offline  
Old 03/05/2012, 19:12   #6536
 
avast!'s Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 944
Received Thanks: 62
Quote:
Originally Posted by Stephack View Post
Ja du must erst eine form erstellen, die d3dx9.h heißt
geht trotzdem nicht.-.
avast! is offline  
Old 03/05/2012, 19:15   #6537
 
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
Quote:
Originally Posted by .Facebook View Post
geht trotzdem nicht.-.
Lade dir DirectX SDKs runter.
__BuRn3R is offline  
Old 03/05/2012, 19:19   #6538
 
avast!'s Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 944
Received Thanks: 62
Quote:
Originally Posted by _BuRn3R_ View Post
Lade dir DirectX SDKs runter.
der fehler kommt immer noch.
avast! is offline  
Old 03/05/2012, 20:01   #6539
 
elite*gold: 26
The Black Market: 288/1/0
Join Date: Dec 2010
Posts: 4,343
Received Thanks: 2,395
kann mir einer bei sprite menü helfen?
hero9910 is offline  
Thanks
1 User
Old 03/05/2012, 20:43   #6540
 
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
Quote:
Originally Posted by hero9910 View Post
kann mir einer bei sprite menü helfen?
Meinst Du das Sprite Design oder die Sprite-Funktion in der Base einzubauen?
__BuRn3R 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 22:20.


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.