now you can move the mouse on 32 bit system in WR:
DWORD SetCursorDLLFunc = (DWORD)GetProcAddress(GetModuleHandleA("user32.dll"), "SetCursorPos")+5;
__declspec(naked) BOOL WINAPI __stdcall SetCursorPos_new(int x, int y)
{
__asm
{
mov edi, edi
push ebp
mov ebp, esp
jmp [SetCursorDLLFunc]
}
}
some useless **** but with this you can make keyevents on 32 bit systems in wr:
//thanks to yazzn for this in quote:
<<<@!1!@>>>
DWORD orig_PostMessages = (DWORD)GetProcAddress(GetModuleHandleA("user32.dll"), "PostMessageW")+5;
_declspec(naked) int __stdcall PostMessages_new( HWND hWnd, int Msg, WPARAM wParam, LPARAM lParam )
{
__asm
{
mov edi, edi;
push ebp;
mov ebp, esp;
jmp orig_PostMessages;
}
}
DWORD orig_SendMessage = (DWORD)GetProcAddress(GetModuleHandleA("user32.dll"), "SendMessageA")+5;
_declspec(naked) int __stdcall SendMessage_new( HWND hWnd, int Msg, WPARAM wParam, LPARAM lParam )
{
__asm
{
mov edi, edi;
push ebp;
mov ebp, esp;
jmp orig_SendMessage;
}
}
Wie oben steht: Hast du DrawText( iwas, iwas, GM iwas ); gemacht? Nein? das is iwo Logisch das es net Funkt.
torior: bedingt, gibt eine Funktionen einen wert zurück z.b. INT kanst du den net einfach in einem Float speichern, btw was heißt könenn, können schon nur hät 0 logik.
Wnd was sind die MAXIMAL werte von den ganzen Fiechern? ;D
INT = INT_MAX ( Windoof Include ) wird dort als 2.14 Mrd Maximal Definiert.
INT = INT_MIN ( " ) wird dort als -2.14 Mrd Mind Definiert.
Ja, so gehts eigtl. weiter
Nicht das iwer mal INT Max braucht, wollte es nur mal so ansprechen <3
int ist 4 Bytes groß. 1 Byte ^= 8 Bit. Die größte ganze Zahl die man mit 32 Bit darstellen kann: 11111111 11111111 11111111 11111111 = 2^31 + 2^30 + ... + 2^0 = maxint. Dafür braucht man keine Konstanten. Und die legen auch nicht die Grenzen fest.
int ist 4 Bytes groß. 1 Byte ^= 8 Bit. Die größte ganze Zahl die man mit 32 Bit darstellen kann: 11111111 11111111 11111111 11111111 = 2^31 + 2^30 + ... + 2^0 = maxint. Dafür braucht man keine Konstanten. Und die legen auch nicht die Grenzen fest.
Und trotzdem: in C++ ist 2^32 = 0, da es der maximale Wert eines 4 Byte Speicherwertes erhöht um 1 ist.
2^32 hat also prinzipiell den gleichen Wert wie 2^0, ebenso verhält es sich mit 2^33 und 2^1 und allen Weiteren.
Das heißt aber auch, dass ULONG(-1) zugleich der maximale Wert von ULONG / DWORD hat, leider aber einen Compilerfehler ausspucken wird.
Für ULLONG / QWORD gilt nach gleichem Prinzip, dass 2^64 den gleichen Wert wie 2^0 hat.
Vereinfacht kann man also sagen:
#define MAX_UNSIGNED_VALUE(type) (type)((1 << (8 * sizeof(type))) - 1)
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.