Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 14:43

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

Advertisement



[Source]Small NoMenu Example

Discussion on [Source]Small NoMenu Example within the WarRock forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 551
Received Thanks: 732
[Source]Small NoMenu Example

Hi,
hier mal einem kleines NoMenu Beispiel bei dem ihr euch selbst die funktionen nach dem darin vorgegebenen schema hinzufügen

dann kommen wir mal zum code :

Base.cpp
Code:
[COLOR="SeaGreen"]//////////////////////
////Author:YaZZn`/////
////Language:C++//////
//////////////////////[/COLOR]

[COLOR="RoyalBlue"]
#include [COLOR="Red"]<windows.h>[/COLOR]
#include [COLOR="Red"]<stdio.h>[/COLOR]
#include [COLOR="Red"]"addies.h"[/COLOR][/COLOR]



DWORD dwPlayerPtr = *(DWORD*)PTR_PLAYERPOINTER;
DWORD dwServerPtr = *(DWORD*)PTR_PLAYERPOINTER;


[COLOR="RoyalBlue"]int[/COLOR] Superjump = 1;
[COLOR="RoyalBlue"]int[/COLOR] Premium = 1;


[COLOR="RoyalBlue"]void[/COLOR] PlayerHacks()
{
[COLOR="RoyalBlue"]if[/COLOR](dwPlayerPtr != 0)
{
[COLOR="SeaGreen"]//here a little example for a player hack:[/COLOR]
[COLOR="RoyalBlue"]if[/COLOR](Superjump == 1)
{
[COLOR="RoyalBlue"]if[/COLOR](GetAsyncKeyState(VK_CONTROL)&1)
{
*([COLOR="RoyalBlue"]float[/COLOR]*)(dwPlayerPtr+OFS_Z) = 1000;
}
}

[COLOR="SeaGreen"]//put here the player hacks like the example//[/COLOR]

}
}

[COLOR="RoyalBlue"]void[/COLOR] ServerHacks()
{
[COLOR="RoyalBlue"]if[/COLOR](dwServerPtr != 0)
{

[COLOR="SeaGreen"]//here a little example for a server hack:[/COLOR]
[COLOR="RoyalBlue"]if[/COLOR](Premium == 1)
{
*([COLOR="RoyalBlue"]long[/COLOR]*)(dwServerPtr+OFS_PREMIUM1) = 3, 10; 
{
*([COLOR="RoyalBlue"]float[/COLOR]*)(dwServerPtr+OFS_PREMIUM2) = 1, 1;
}
}

[COLOR="SeaGreen"]//put here server hacks like the example[/COLOR]

}
}


[COLOR="SeaGreen"]//Hack Thread[/COLOR]
[COLOR="RoyalBlue"]void[/COLOR] HackThread() 
{
[COLOR="RoyalBlue"]for[/COLOR](;;) 
{
PlayerHacks();
ServerHacks();
}
Sleep(150); 
}


BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
	[COLOR="RoyalBlue"]if[/COLOR] (dwReason == DLL_PROCESS_ATTACH)
	{	
			CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)HackThread, NULL, NULL, NULL);

	}
	return TRUE;
}
addies.h (Hier addys einfügen)
Code:
[COLOR="SeaGreen"]//Pointers[/COLOR]
[COLOR="RoyalBlue"]#define[/COLOR] PTR_PLAYERPOINTER 0x00
[COLOR="RoyalBlue"]#define[/COLOR] PTR_SERVERPOINTER 0x00
[COLOR="SeaGreen"]//Offsets[/COLOR]
[COLOR="RoyalBlue"]#define[/COLOR] OFS_Z 0x00
[COLOR="RoyalBlue"]#define[/COLOR] OFS_PREMIUM1 0x00
[COLOR="RoyalBlue"]#define[/COLOR] OFS_PREMIUM2 0x00


Es ist nur ein Beispiel wie man so einen NoMenu coden kann.

LG
Yazzn™
Yazzn™ is offline  
Thanks
5 Users
Old 09/27/2010, 17:34   #2
 
Lucky Strike™'s Avatar
 
elite*gold: 2
Join Date: May 2010
Posts: 2,913
Received Thanks: 1,565
Jup ganz nice
Wird bestimmt nen paar anfängern helfen
Lucky Strike™ is offline  
Old 09/27/2010, 17:52   #3
 
bot_for_fun_'s Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 94
Received Thanks: 4
kommts nicht in tutorial section ?
sonst sehr gut.. ^^
hatte sowas schonmal gemacht ^.^
bot_for_fun_ is offline  
Old 09/27/2010, 18:07   #4

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,976
Received Thanks: 11,388
Hmm.

Ich kann den Code zwar sinngemäß verstehen, aber Anfänger wohl ehr nicht
xxfabbelxx is offline  
Reply


Similar Threads Similar Threads
Wie startet man einen NoMenu-Hack / Probleme mit NoMenu-Hacks
12/04/2010 - WarRock Guides, Tutorials & Modifications - 30 Replies
How to: Start a NoMenu Hack Hallo liebe Com, ich habe mich entschieden hier ein kleines Tutorial, und gleichzeitig ein Thread für Probleme beim Starten eines NoMenu-Hacks schreiben, da immer mehr selbstgecodete NoMenu Hacks released werden, und ich bis jetzt mindestens 10 Threads, allein über nicht-funktionierende No-Menu-Hacks gesehen habe. Ich denke dieses Tut ist notwendig, da es Unterscheide zwischen der Funktionsweise von D3D- und NoMenu Hacks gibt, und diese wiederum andere...
5165 source how do i add all jobs in one small code?
02/18/2010 - CO2 Private Server - 5 Replies
if (GC.MyChar.Reborns <= 1 | GC.MyChar.Reborns <= 2 || GC.MyChar.Reborns <= 3 || GC.MyChar.Reborns <= 4 || GC.MyChar.Reborns <= 5 || GC.MyChar.Job == 132 || GC.MyChar.Job == 142 || GC.MyChar.Job == 101 || GC.MyChar.Job == 133 || GC.MyChar.Job == 143 || GC.MyChar.Job == 134 || GC.MyChar.Job == 144 || GC.MyChar.Job == 100) how do i make this code way way smaller? just a code to add a WHOLE CLASS like...
[Request]Black&White Source or other source for version 5065 or 5095
04/11/2009 - CO2 Private Server - 22 Replies
I need Source Black and White or from other server i wanna Start a server.. All who help me will got Pm or Gm on my server.. ________
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat! 127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...



All times are GMT +2. The time now is 14:43.


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