Comments (1)
#include "Game.h"
bool __stdcall MainThread(HMODULE hMod) {
bool renown = false;
AllocConsole();
SetConsoleTitle("Simple EXP Farmer by weak");
FILE* f;
freopen_s(&f, "CONOUT$", "w", stdout);
std::cout << red << "[Simple EXP Farmer by weak]" << std::endl;
std::cout << blue << "F1 EXP but low Renown (fast)" << std::endl;
std::cout << blue << "F2 EXP + Renown (slow)" << std::endl;
while (1) {
if (GetAsyncKeyState(VK_F1))
{
renown = false;
break;
}
else if (GetAsyncKeyState(VK_F2)) {
renown = true;
break;
}
}
std::cout << red << "Starting in 5 Seconds" << std::endl;
Sleep(5000);
system("cls");
std::cout << red << "F6 to exit" << std::endl;
//setup game
Game* game = new Game();
while (1) {
if (game->is_in_game()) //if spawned
{
game->locplayer->set_exp(); //set max exp
if (renown)
Sleep(60000);
game->locplayer->force_team_switch(); //switch team to stop game
}
else
{
Sleep(10000);
keybd_event(VK_ESCAPE, 0x9C, 1, 1); //enter down
keybd_event(VK_ESCAPE, 0x9C, KEYEVENTF_KEYUP, 1); //enter up
if (1)
Sleep(3000);
keybd_event(VK_RETURN, 0x9C, 0, 0); //enter down
keybd_event(VK_RETURN, 0x9C, KEYEVENTF_KEYUP, 0); //enter up
}
Sleep(10);
if (GetAsyncKeyState(VK_F6))
break;
}
fclose(f);
FreeConsole();
FreeLibraryAndExitThread(hMod, 0);
return true;
}
bool __stdcall DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reason_for_call) {
case DLL_PROCESS_ATTACH:
CloseHandle(CreateThread(0, 0,reinterpret_cast<LPTHREAD_START_ROUTINE>(MainThread), hModule, 0,0));
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
from r6fullexpfarmer.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r6fullexpfarmer.