You last visited: Today at 14:21
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%
03/29/2012, 17:17
#6661
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by
ExellenZe
Ist jetzt total unnötig und wurde vielleicht schonmal auf einer der 666 Seiten gepostet, aber mir ist aufgefallen das im Post vom TE der source für superjump unnötig lang ist
Code:
int x = 1000; //beliebige Höhe
void Superjump()
{
*(float*)(ADR_PLAYERPOINTER + OFFSET_Z) = x;
}
Wozu noch extra ein integer machen ?
mann kann doch auch einfach:
Code:
void Superjump()
{
*(float*)(ADR_PLAYERPOINTER + OFFSET_Z) = 1000; //und hier die höhe einfügen
}
Ist jetzt nur für nomenu aber
Hast schon recht, aber mit einer variable lässt sich das besser regeln (z.B. mit hotkeys für 1000 fuß, 2000 fuß und garnicht)
Aber für eine feste höhe ist natürlich die Variable unnötig
03/29/2012, 19:55
#6662
elite*gold: 0
Join Date: Mar 2012
Posts: 71
Received Thanks: 24
Eine Frage.. bei Boneshot.. wenn ich möchste das beim Numpad 7 an ist und 8 aus ist wäre das so richtig?
void BoneShot ()
{
if(GetAsyncKeyState(VK_NUMPAD7) &7<< 8xF)
{
*(double*)(OFS_BoneShot) = ??;
}
}
und was kommt bei den ?? hin?
die werte oder?
Edit: Und beim Superjump.. wenn ich den mit einfügen will.. welche Addy soll ich nehmen? x y z?
03/29/2012, 20:03
#6663
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by
¤[M]ulti◡[K]ulti¤
Eine Frage.. bei Boneshot.. wenn ich möchste das beim Numpad 7 an ist und 8 aus ist wäre das so richtig?
void BoneShot ()
{
if(GetAsyncKeyState(VK_NUMPAD7) &7<< 8xF)
{
*(double*)(OFS_BoneShot) = ??;
}
}
und was kommt bei den ?? hin?
die werte oder?
Edit: Und beim Superjump.. wenn ich den mit einfügen will.. welche Addy soll ich nehmen? x y z?
Code:
if(GetAsyncKeyState(VK_NUMPAD7) &7<< 8xF)
Du müsstest 7x Numpad7 drücken.
richtig:
Code:
void Bone_Shot( ) {
bool cheat_active = 0;
if( GetAsyncKeyState( VK_NUMPAD7 ) &1 ) { cheat_active = 1; }
if( GetAsyncKeyState( VK_NUMPAD8 ) &1 ) { cheat_active = 0; }
if( cheat_active == 1 ) {
//Code
}else{
//code
}
hef fan
Superjump ist die z-Achse
Code:
void Superjump() { *(int*)( PlayerPointer + Z-Achse ) = 1500; }
//Höhe ist ein Integrialwert. Standard wäre so 1500-2000
03/29/2012, 20:03
#6664
elite*gold: 26
Join Date: Dec 2010
Posts: 4,343
Received Thanks: 2,395
if( BoneShot )
{
if(GetAsyncKeyState(VK_NUMPAD7) &1)
{
*(double*)(MEM_BONESHOT) = 1235;
}
else
{
*(double*)(MEM_BONESHOT) = 1.237e3;
}
}
03/29/2012, 20:23
#6665
elite*gold: 0
Join Date: Mar 2012
Posts: 71
Received Thanks: 24
Quote:
Originally Posted by
xxfabbelxx
Code:
if(GetAsyncKeyState(VK_NUMPAD7) &7<< 8xF)
Du müsstest 7x Numpad7 drücken.
richtig:
Code:
void Bone_Shot( ) {
bool cheat_active = 0;
if( GetAsyncKeyState( VK_NUMPAD7 ) &1 ) { cheat_active = 1; }
if( GetAsyncKeyState( VK_NUMPAD8 ) &1 ) { cheat_active = 0; }
if( cheat_active == 1 ) {
//Code
}else{
//code
}
hef fan
Superjump ist die z-Achse
Code:
void Superjump() { *(int*)( PlayerPointer + Z-Achse ) = 1500; }
//Höhe ist ein Integrialwert. Standard wäre so 1500-2000
Quote:
Originally Posted by
hero9910
if( BoneShot )
{
if(GetAsyncKeyState(VK_NUMPAD7) &1)
{
*(double*)(MEM_BONESHOT) = 1235;
}
else
{
*(double*)(MEM_BONESHOT) = 1.237e3;
}
}
für einen No-Menu jetzt oder?
Wenn Ja Danke schonmal ♥
03/29/2012, 20:33
#6666
elite*gold: 26
Join Date: Dec 2010
Posts: 4,343
Received Thanks: 2,395
Quote:
Originally Posted by
¤[M]ulti◡[K]ulti¤
für einen No-Menu jetzt oder?
Wenn Ja Danke schonmal ♥
Ja du musst es nur "einvoiden"(in void schreiben)
03/29/2012, 20:40
#6667
elite*gold: 0
Join Date: Mar 2012
Posts: 71
Received Thanks: 24
Quote:
Originally Posted by
hero9910
Ja du musst es nur "einvoiden"(in void schreiben)
Wäre das so Richtig?
Code:
{
*(int*)( ADR_PLAYERPOINTER + OFS_Z_Axis) = 1500;
if(GetAsyncKeyState(VK_NUMPAD) &1<< 0xF)
Code:
//void BoneShot ()
//if( BoneShot )
//{
//if(GetAsyncKeyState(VK_NUMPAD7) &1)
//{
//*(double*)(dwADR_BONESHOT) = 1235;
//}
//else
//{
//*(double*)(dwADR_BONESHOT) = 1.237e3;
//}
hast du skype?
03/29/2012, 20:54
#6668
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
Quote:
Originally Posted by
¤[M]ulti◡[K]ulti¤
Wäre das so Richtig?
Code:
{
*(int*)( ADR_PLAYERPOINTER + OFS_Z_Axis) = 1500;
if(GetAsyncKeyState(VK_NUMPAD) &1<< 0xF)
Code:
//void BoneShot ()
//if( BoneShot )
//{
//if(GetAsyncKeyState(VK_NUMPAD7) &1)
//{
//*(double*)(dwADR_BONESHOT) = 1235;
//}
//else
//{
//*(double*)(dwADR_BONESHOT) = 1.237e3;
//}
hast du skype?
Du solltest erstmal ein paar Grundkenntnisse lernen, dann wüsstest du selber, ob es richtig ist oder nicht.
03/29/2012, 21:33
#6669
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by
¤[M]ulti◡[K]ulti¤
Wäre das so Richtig?
Code:
{
*(int*)( ADR_PLAYERPOINTER + OFS_Z_Axis) = 1500;
if(GetAsyncKeyState(VK_NUMPAD) &1<< 0xF)
Code:
//void BoneShot ()
//if( BoneShot )
//{
//if(GetAsyncKeyState(VK_NUMPAD7) &1)
//{
//*(double*)(dwADR_BONESHOT) = 1235;
//}
//else
//{
//*(double*)(dwADR_BONESHOT) = 1.237e3;
//}
hast du skype?
Code:
//includes
#include <windows.h>
#include <stdio.h>
//Makros
#define p_PLAYERPOINTER 0x00000
#define Z_ACHSE 0x00000
#define ADR_BONESHOT 0x00000
//Variablen
bool cheat_active = FALSE;
//Funktionen
void Bone_Shot( ) {
bool cheat_active = 0;
if( GetAsyncKeyState( VK_NUMPAD7 ) &1 ) { cheat_active = TRUE; }
if( GetAsyncKeyState( VK_NUMPAD8 ) &1 ) { cheat_active = FALSE; }
if( cheat_active == 1 ) {
*(double*) ADR_BONESHOT = 1235;
}else{
*(double*) ADR_BONESHOT = 1.237e3; }
}
void JUMP( ) {
if( GetAsyncKeyState( VK_CONTROL ) ) {
*(int*)( p_PLAYERPOINTER + Z_ACHSE) = 1500; }
void Thread( ) {
for( ;; ) {
JUMP( );
Bone_Shot( );
//restliches Zeug im Cheat
Sleep(35); }
}
//dll Main
//
//
//
//
//
lg
03/29/2012, 21:52
#6670
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
Quote:
Originally Posted by
xxfabbelxx
Code:
//includes
#include <windows.h>
#include <stdio.h>
//Makros
#define p_PLAYERPOINTER 0x00000
#define Z_ACHSE 0x00000
#define ADR_BONESHOT 0x00000
//Variablen
bool cheat_active = FALSE;
//Funktionen
void Bone_Shot( ) {
bool cheat_active = 0;
if( GetAsyncKeyState( VK_NUMPAD7 ) &1 ) { cheat_active = TRUE; }
if( GetAsyncKeyState( VK_NUMPAD8 ) &1 ) { cheat_active = FALSE; }
if( cheat_active == 1 ) {
*(double*) ADR_BONESHOT = 1235;
}else{
*(double*) ADR_BONESHOT = 1.237e3; }
}
void JUMP( ) {
if( GetAsyncKeyState( VK_CONTROL ) ) {
*(int*)( p_PLAYERPOINTER + Z_ACHSE) = 1500; }
void Thread( ) {
for( ;; ) {
JUMP( );
Bone_Shot( );
//restliches Zeug im Cheat
Sleep(35); }
}
//dll Main
//
//
//
//
//
lg
Der Sleep ist zu hoch in Thread. Sleep(5) reicht vollkommen.
03/29/2012, 21:55
#6671
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
Quote:
Originally Posted by
_BuRn3R_
Der Sleep ist zu hoch in Thread. Sleep(5) reicht vollkommen.
Sleep 35 auch.
Außerdem laggt es rein theoretisch bei mehreren Threads weniger
03/30/2012, 02:36
#6672
elite*gold: 0
Join Date: Feb 2012
Posts: 85
Received Thanks: 18
Scure
AntiKick ??
UnlAmmo ??
Anti M14 mine ??
03/30/2012, 06:39
#6673
elite*gold: 15
Join Date: Apr 2011
Posts: 1,524
Received Thanks: 971
Quote:
Originally Posted by
alfmkwndk
Scure
AntiKick ??
UnlAmmo ??
Anti M14 mine ??
Code:
if (AntiM14Mine)
{
*(int*)(PTR_PLAYER + 0x24) = 0;
}
03/30/2012, 07:40
#6674
elite*gold: 8
Join Date: Oct 2011
Posts: 656
Received Thanks: 1,895
Hat sich geklärt!
03/30/2012, 11:03
#6675
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
Quote:
Originally Posted by
_TradEmArk_ ™
[...]
Von den structs her stimmt es, an CPlayerInfo hat sich auch nichts geändert.
Was genau funktioniert denn nicht?
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 +2. The time now is 14:22 .