here a c++ code for auto looting can some one help me getting it working for ipu and others
#include "stdafx.h"
#include <windows.h>
#include <iostream>
#include <stdlib.h>
using namespace std;
void main()
{
HWND target = FindWindow(0, "CABAL");
LPARAM lParam = (1 | (57<<16)); // OEM Code and Repeat for WM_KEYDOWN
WPARAM wParam = VK_SPACE;
bool autoloot;
// main loop
while(target)
{
if (GetAsyncKeyState(0x79)) // F10
exit(0); // exit game
if (GetAsyncKeyState(0x78)) // F9
autoloot =! autoloot; // enable or disable autoloot
if (AUTOLOOT == 1)
PostMessage(HWND_BROADCAST, WM_KEYDOWN, wParam, lParam); // send space to loot items
Sleep(1000); // take a break to prevent consuming lots of resources
}
}