Jump to content

AgentSmith15

Active Members
  • Posts

    110
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AgentSmith15's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Have you guys looked at this topic? AutoIT Speed Tester http://www.autoitscript.com/forum/index.php?showtopic=51604
  2. Try reading the help file and then post a attempt of what your trying to do. Someone will see that there was SOME effort and try to help. Otherwise you learn nothing because everyone else did your homework.
  3. To get around people canceling Ctrl - Alt - DEl, just have your script search for Ctrl Alt and the have it press another key other than del. [EDIT] Sorry for the messy post I was doing 2 things at once and trying to concentrate on both So Yea have your script search for both Ctrl and Alt being pressed and then have it your script to punch in another letter like G. If you are a real admin you can disable the Ctrl - Alt - Del command through Active Directory for the network.
  4. AutoIt is like BASIC. As far as some example scripts we have a forum for that and a search button
  5. Does this still happen when you have the game full screen?
  6. I've been searching google for awhile of the sendinput API. I will look a little more closely at the link you gave me. Also I found a great example of another implemtation of the SendInput API http://www.google.com/codesearch/p?hl=en&a...amp;q=SendInput [EDIT] This is a fully working example of sending strings... http://social.msdn.microsoft.com/Forums/en...d1-c8b6d7158c71
  7. So according to the MSDN I have to use the plus sign to create a capitol letter. So yea I feel like a idiot... I launched Code::Blocks and changed the source to SendText("+Some text to send."); and it outputs Why is that?
  8. Hey everyone! I've used AutoIt for many years and finally decided to try to convert one of my scripts into C++. Things are nearly done, but I am having issues with the SendInput() API. Basically I am try to rewrite this script at this post #631512 With my C++ project I cannot send Uppercase characters and special keys like Shift, Ctrl, and ALT. Any idea what I am doing wrong, or any suggestions? #define WIN32_LEAN_AND_MEAN #define _WIN32_WINNT 0x1337 #include <windows.h> #include <iostream> #include <winable.h> /* Dev-C++ specific */ using namespace std; void GenerateKey(BYTE vk); void SendText(char *szText); void keepAlive(); LRESULT CALLBACK keyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam); //char *szText = "Test"; /* HWND = "Window Handle" */ HWND hWnd = FindWindow(0, "Untitled - Notpad"); HHOOK keyboardHook; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { keyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, keyboardHookProc, hInstance, 0); keepAlive(); UnhookWindowsHookEx(keyboardHook); return 0; } void GenerateKey(BYTE vk) { INPUT Input; ZeroMemory(&Input, sizeof(Input)); Input.type = INPUT_KEYBOARD; Input.ki.dwFlags = KEYEVENTF_EXTENDEDKEY; Input.ki.wVk = vk; SendInput(1, &Input, sizeof(INPUT)); return; } void SendText(char *szText) { for (int i=0;i<strlen(szText);i++) { GenerateKey( (UCHAR) VkKeyScan( szText[i] ) ); } } LRESULT CALLBACK keyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam) { PKBDLLHOOKSTRUCT p = (PKBDLLHOOKSTRUCT) (lParam); // If key is being pressed if (wParam == WM_KEYDOWN) { switch (p->vkCode) { // Invisible keys case VK_SCROLL: { //SendText(szText); SendText("Some text to send."); } break; /* case VK_LSHIFT: // <These hotkeys don't matter at the moment because I am trying to get things working as is, but will enable them after break; case VK_RSHIFT: cout << "[RSHIFT]"; break; case VK_LCONTROL: cout << "[LCTRL]"; break; case VK_RCONTROL: cout << "[RCTRL]"; break; case VK_INSERT: cout << "[INSERT]"; break; case VK_END: cout << "[END]"; break; case VK_PRINT: cout << "[PRINT]"; break; */ } } return CallNextHookEx(NULL, nCode, wParam, lParam); } void keepAlive() { MSG message; while (GetMessage(&message,NULL,0,0)) { TranslateMessage( &message ); DispatchMessage( &message ); } }
  9. Every post you make is "How do I do this".... I don't think anyone's going to write it for you.
  10. Unlikely! Most "bots" as which your trying to make inject code directly WoW or embed a dll and do memory reading from there. It's a very complicated subject and not to many people would be willing to help you. Read the page below for ideas and such.... http://www.autoitscript.com/forum/index.php?showtopic=37998
  11. It wouldn't work... This thread is a major fail because there is nothing you can do about GameGuard with AutoIt. Nothing! WTF! Do you speak ENGLISH?
  12. All well known functions are hooked. Doesn't matter if a executable is calling the DLL or another DLL. They are both going to be blocked . Assembly is not machine readable! Machine code is but assembly has to be converted before being a executable.
  13. So do we have this right? IsPressed is not working with MSN? Try using a different key and see how that works?
  14. Not usually possible as items are server side and not on a computer you control. Memory editing is how it is done, but I doubt anyone here is going to help with writing code for hacking games. AutoIt was NOT designed for "hacking" games, so I wish you good luck because your going to need it.
  15. Sorry Mate! There is nothing your going to be able to do with AutoIt as to regards of GameGuard. 1, AutoIt is a scripting language not a programming language. 2, Your going to have to write low level code using Assembly or C to bypass GameGuard. Nice first post btw
×
×
  • Create New...