Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 10:34

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

Advertisement



[Frage]Variabele = 0

Discussion on [Frage]Variabele = 0 within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
[Frage]Variabele = 0

Hey C++ Section,

ich bräuchte da mal bei so einem kleinem Error eure Hilfe.
Also ich hab ein Form erstellt und in der Load Funktion von dieser Form mache ich einen Pattern Scan ...(der klappt auch gut). Doch nun möchte ich diese Addresse in einer Button_Click Funktion anwenden und dort steht sie auf 0.
& ich möchte nun das die Address in der Variabele ist.

Code:
DWORD ANameChangeH;
	DWORD AName;
	DWORD AAntiKick;
private: System::Void MyForm_Load(System::Object^  sender, System::EventArgs^  e){

	BYTE BAntiKick[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00 ,0x00, 0x00, 0x00 ,0x00 ,0x00};
	Mask = "xxxxxxxxxxxxxx";
	DWORD AAntiKick =  SearchAddress(BAntiKick,Mask,"Anti Kick");
	
}
Note : Pattern Entfernt & Search Address returnt die Address ( wird auch gefunden )

Code:
private: System::Void button1_Click_1(System::Object^  sender, System::EventArgs^  e) {
		if(AAntiKick!=0){
			this->button1->Enabled = false;
			this->button2->Enabled = true;
			WriteASM(AAntiKick,(DWORD)"\x00\x00\x00\x00\x00\x00",6);
			}else{
			MessageBoxA(NULL,"Anti Kick Address = 0","ERROR",MB_OK+MB_ICONERROR);
		}}
<< AAntik Kick = 0 dann

Note : WriteASM ( memcpy mit VirtualProtect ) , Bytes wieder entfernt

ich hoffe das reicht am Code um mir zu helfen wenn nicht musst ihr es drunter schreiben.

Mit freundlichen Grüßen

-SoulCr4ck-

#Wenn das in .net muss bitte moven.
-SoulCr4ck- is offline  
Old 10/06/2014, 14:32   #2

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
Arrow C/C++ -> .NET Languages

#moved

entfern das DWORD in der Deklaration in MyForm_Load, das ist die einfachste Lösung. Evtl. hat jemand ja einen guten Tag und will die Erklärung, warum das so sein muss, hinschreiben.
snow is offline  
Thanks
1 User
Old 10/06/2014, 14:48   #3
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
Quote:
Originally Posted by snow View Post
#moved

entfern das DWORD in der Deklaration in MyForm_Load, das ist die einfachste Lösung. Evtl. hat jemand ja einen guten Tag und will die Erklärung, warum das so sein muss, hinschreiben.
Doppel Deklaration ?

nur so ne Vermutung.

aber es geht jetzt.

wäre nett wenn mir jemand den Grund drunter schreiben würde

Danke
-SoulCr4ck- is offline  
Old 10/06/2014, 17:10   #4


 
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
Quote:
Originally Posted by -SoulCr4ck- View Post
Doppel Deklaration ?

nur so ne Vermutung.

aber es geht jetzt.

wäre nett wenn mir jemand den Grund drunter schreiben würde

Danke
Es war eine doppelte Deklaration.
Mostey is offline  
Thanks
1 User
Old 10/07/2014, 05:45   #5
 
elite*gold: 0
Join Date: Sep 2014
Posts: 896
Received Thanks: 100
ist es btw nicht die falsche sektion ?
Ammy' is offline  
Old 10/07/2014, 09:22   #6
 
elite*gold: 258
Join Date: May 2010
Posts: 847
Received Thanks: 3,940
Nein das ist C++/CLI. C++ mit .Net gemixt, was übrigens nur für Interop-Zwecke benutzt werden sollte und nicht für GUIs(Das empfiehlt auch Microsoft).
-PinkiWinki- is offline  
Reply


Similar Threads Similar Threads
thickbox / lightickbox Problem get variabele / anker übergeben
07/02/2012 - Web Development - 0 Replies
hey wie schon in der überschrift beschrieben habe ich ein kleines Problem mit einer thickbox/lightbox. Ich möchte wenn sich die thickbox/lightbox öffnet, einen anker oder ähnliches mit übergeben -> einen wert. Hat jemand eine idee oder hatte jemand das problem auch schon mal und hat es gelöst bekommen? :-) wäre cool wenn ihr mir helfen könntet. Zumal sich eine thickbox/lightbox direkt auf der Seite öffnet und sich ja nicht nochmal neu läd ? mfg. Trojaner



All times are GMT +1. The time now is 10:34.


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.