hit pageup open hack move mouse. the one i use in my hack doesn't even make you click,
hit pageup open hack move mouse. the one i use in my hack doesn't even make you click,
Yours is different from mine, it snaps to the cursor, mine gets an offset then moves accordingly. Also my code was adapted from my own base, and it could be better if I had worked harder on it, but I was downsizing from something much more complex.
Essentially here is what it was before.
Code:if(GetAsyncKeyState(VK_LBUTTON)<0){ GetCursorPos(&pos); //ScreenToClient(GetForegroundWindow(),&pos); if (!dragging){//if not currently dragging a window then see if our click is for(int i = 0; i < winStore.windowCount; i++){ if (((*(winStore.windowList + i))->visible) && (pos.x > (*(winStore.windowList + i))->position.x) && (pos.x < (*(winStore.windowList + i))->position.x + (*(winStore.windowList + i))->dims.cx) && (pos.y > (*(winStore.windowList + i))->position.y) && (pos.y < (*(winStore.windowList + i))->position.y + (*(winStore.windowList + i))->dims.cy)){ //^^ if inside the bounds of the window //then setup the winodw so that it will drag winStore.selectedWin = *(winStore.windowList + i); winStore.selected = i; winStore.selectedWin->drag = true; winStore.selectedWin->dragOff.x = pos.x-winStore.selectedWin->position.x; winStore.selectedWin->dragOff.y = pos.y-winStore.selectedWin->position.y; dragging = true; }else{ //set all others to not be dragging (*(winStore.windowList + i))->drag=false; } } }else{//if we are dragging a window then winStore.selectedWin->position.x = pos.x - winStore.selectedWin->dragOff.x; winStore.selectedWin->position.y = pos.y - winStore.selectedWin->dragOff.y; } }else{ dragging = false; for(int i = 0; i < winStore.windowCount; i++){ (*(winStore.windowList + i))->drag = false; } }
Damn Is C++ your first language? Dutch is mine.
good stuff rigght here,
This code would allow you to add tabs quite easily, by positioning a window over another window. Since all the data for the windows are stored in objects they can be manipulated quite easily. Personally I would just keep one window for a regular menu, and add tabs, but this code would allow you to do a lot more which might be good if ur working on something like a d3d hack tool where u want more then one window.
I'm interested in looking through your base. Could you show me where to download it?
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower