Naja ok und nun würde ich gerne wissen, wie man beides zusammen fügt?
Also mal hier der hack code:
HotKeySet ( "{F5}" , "Start" )
HotKeySet ( "{F6}" , "Ende" )
HotKeySet ( "{F7}" , "Pause" )
while 1
sleep(1)
wend;
Func Start ()
While (1)
Send(" ")
Sleep (1)
Wend
EndFunc
Func Ende ()
Exit
EndFunc
func Pause()
while (1)
sleep(100)
Wend
EndFunc
Und hier der Programm Code:
#pragma once
namespace Mwin2Multihack {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System:ata;
using namespace System:rawing;
/// <summary>
/// Zusammenfassung für Form1
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Konstruktorcode hier hinzufügen.
//
}
protected:
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Label^ t6;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::PictureBox^ pictureBox2;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Button^ button1;
private: System::ComponentModel::BackgroundWorker^ backgroundWorker1;
protected:
private:
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(F orm1::typeid));
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->t6 = (gcnew System::Windows::Forms::Label());
this->label1 = (gcnew System::Windows::Forms::Label());
this->pictureBox2 = (gcnew System::Windows::Forms::PictureBox());
this->label2 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->label4 = (gcnew System::Windows::Forms::Label());
this->label5 = (gcnew System::Windows::Forms::Label());
this->button1 = (gcnew System::Windows::Forms::Button());
this->backgroundWorker1 = (gcnew System::ComponentModel::BackgroundWorker());
(cli::safe_cast<System::ComponentModel::ISupportIn itialize^ >(this->pictureBox1))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportIn itialize^ >(this->pictureBox2))->BeginInit();
this->SuspendLayout();
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast<System:rawing::Image^ >(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System:rawing::Point(-212, -324);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System:rawing::Size(968, 885);
this->pictureBox1->TabIndex = 0;
this->pictureBox1->TabStop = false;
this->pictureBox1->Click += gcnew System::EventHandler(this, &Form1:ictureBox1_Click);
//
// t6
//
this->t6->AutoSize = true;
this->t6->Location = System:rawing::Point(236, 450);
this->t6->Name = L"t6";
this->t6->Size = System:rawing::Size(106, 13);
this->t6->TabIndex = 1;
this->t6->Text = L"Copyright Kleinus666";
this->t6->Click += gcnew System::EventHandler(this, &Form1::label1_Click);
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System:rawing::Point(12, 9);
this->label1->Name = L"label1";
this->label1->Size = System:rawing::Size(0, 13);
this->label1->TabIndex = 2;
//
// pictureBox2
//
this->pictureBox2->Image = (cli::safe_cast<System:rawing::Image^ >(resources->GetObject(L"pictureBox2.Image")));
this->pictureBox2->InitialImage = (cli::safe_cast<System:rawing::Image^ >(resources->GetObject(L"pictureBox2.InitialImage")));
this->pictureBox2->Location = System:rawing::Point(-8, -1);
this->pictureBox2->Name = L"pictureBox2";
this->pictureBox2->Size = System:rawing::Size(600, 100);
this->pictureBox2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::AutoSi ze;
this->pictureBox2->TabIndex = 3;
this->pictureBox2->TabStop = false;
//
// label2
//
this->label2->AutoSize = true;
this->label2->Location = System:rawing::Point(12, 102);
this->label2->Name = L"label2";
this->label2->Size = System:rawing::Size(393, 13);
this->label2->TabIndex = 4;
this->label2->Text = L"To activate the Farmbot press in Game F5 to pasue it press F6 to end it press F7!"
L"!!";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System:rawing::Point(12, 127);
this->label3->Name = L"label3";
this->label3->Size = System:rawing::Size(381, 13);
this->label3->TabIndex = 5;
this->label3->Text = L"To activate the AutoHit press in Game F2 to pause it press F3 to end it press F4";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Location = System:rawing::Point(12, 153);
this->label4->Name = L"label4";
this->label4->Size = System:rawing::Size(396, 13);
this->label4->TabIndex = 6;
this->label4->Text = L"Credits to Phillip Berchtold and Alexander Kobald, because this are the Beta Test"
L"er";
//
// label5
//
this->label5->AutoSize = true;
this->label5->Location = System:rawing::Point(12, 176);
this->label5->Name = L"label5";
this->label5->Size = System:rawing::Size(228, 13);
this->label5->TabIndex = 7;
this->label5->Text = L"Metin2 Multihack by kleinus666 is now in Beta.";
//
// button1
//
this->button1->Cursor = System::Windows::Forms::Cursors::AppStarting;
this->button1->Location = System:rawing::Point(131, 238);
this->button1->Name = L"button1";
this->button1->Size = System:rawing::Size(293, 107);
this->button1->TabIndex = 8;
this->button1->Text = L"HELP!!!";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
//
// Form1
//
this->AutoScaleDimensions = System:rawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System:rawing::Size(584, 472);
this->Controls->Add(this->button1);
this->Controls->Add(this->label5);
this->Controls->Add(this->label4);
this->Controls->Add(this->label3);
this->Controls->Add(this->label2);
this->Controls->Add(this->pictureBox2);
this->Controls->Add(this->label1);
this->Controls->Add(this->t6);
this->Controls->Add(this->pictureBox1);
this->Name = L"Form1";
this->Text = L"Form1";
this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
(cli::safe_cast<System::ComponentModel::ISupportIn itialize^ >(this->pictureBox1))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportIn itialize^ >(this->pictureBox2))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void pictureBox1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void label1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void backgroundWorker1_DoWork(System::Object^ sender, System::ComponentModel
}
};
}
Konnte mir vl jemand helfen? thx schon mal im vorraus...
Aja wer das programm auch noch dafür braucht hier:

Aja ich hab da noch ne Frage, also man sieht ja auf dem Bild den Help button, aber ich weiß nicht wi ich da ne Verlinkung zu einem andere fenster mache, mit dem alten visual basic ging das viel einfacher...?
DIE SMIELEYS MACHT NUR YOURIWRE...






