This bot does only one thing: spam the enter key forever! Very useful for crafting.
Simplest FFXI Bot Ever is open source:
Zip file contains .exe executable program, original .cpp source code file, and a text document for assistance in modifying and/or expanding the program in order to make your own version (assuming you have knowledge of C++ and an IDE to compile code).
Simplest FFXI Bot Ever is open source:
Code:
#include <Windows.h>
#include <iostream>
using namespace std;
// Function Prototypes:
void Wait(double);
void Enter();
// main:
void main() {
BYTE keyState[256];
GetKeyboardState((LPBYTE)&keyState);
bool spam = TRUE;
cout << "\n Welcome to the simplest FINAL FANTASY XI bot ever! \n This bot does only one thing: spam the enter key forever! \n\n (NOTE: Bot program must be run as administrator in order to work, \n and the FFXI window must be in focus.) \n\n Press any key to begin spamming." << endl;
cin.get();
cout << " Starting in 3 seconds..." << endl;
Wait(1); // Wait for 1 second...
cout << " Starting in 2 seconds..." << endl;
Wait(1); // Wait for 1 second...
cout << " Starting in 1 second..." << endl;
Wait(1); // Wait for 1 second...
cout << " Now spamming the Enter key..." << endl;
while (spam == TRUE) {
Enter(); // Press Enter Key
Wait(0.5); // Wait for half a second...
}
} // End main()
// Wait:
void Wait(double secs) {
int whole = (int)secs;
int decimal = (int)((secs - whole) * 10);
int time = (whole * 1000) + (decimal * 100);
Sleep(time);
}
// Enter:
void Enter() {
keybd_event(VK_RETURN, 0x1c, KEYEVENTF_EXTENDEDKEY | 0, 0); // Key Down
keybd_event(VK_RETURN, 0x9c, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0); // Key Up
}