diff --git a/.github/README.md b/.github/README.md index 1ec8850f4129..854dcc76948b 100644 --- a/.github/README.md +++ b/.github/README.md @@ -1,53 +1,69 @@ -

- Files hero image -

+#pragma once -

- - Files Website - - Files CI Status - - Files Localization Status - - Files Discord -

+static void InfinitoQualquerCoisa(uintptr QualquerCoisa, uint valor) +{ + *QualquerCoisa = valor; +} -Files is a modern file manager that helps users organize their files and folders. Our mission with Files is to build the best file manager for Windows, and we’re proud to be building it out in the open so everyone can participate. User feedback helps shape the features we work on, & the bug reports on GitHub help to make Files more reliable. Built and maintained by the open-source community, Files features robust multitasking experiences, file tags, deep integrations, and an intuitive design. +inline static void funcAimBot(Jogadores Entidades[], Jogadores* MeuJogador) +{ + if (*(Entidades[0].PegptrVida()) < 1) // Testa se eu estou vivo + return; -## Installing and running Files + short JIndex = -1; -Files is a community-driven project that depends on your support to grow and improve. Please consider purchasing Files through the Microsoft Store or supporting us on GitHub if you use the classic installer. + ushort Vida0 = 0; -You can also use the preview version alongside the stable release to get early access to new features and improvements. + float tempHip[2] = { 0, 0 }; // hip horizontal, hip vertical + float tempDifVec3[3] = { 0, 0, 0 }; -

- - - - - - -   - - - - - - -

+ // Algorítimo de melhor alvo + for (ushort i = 1; i < Geral::Num_Jogadores; i++) + { + if (*(Entidades[i].PegptrVida()) < 0 || *(Entidades[i].PegptrVida()) > 100) + { + ++Vida0; + continue; + } -## Building from source + Vida0 = 0; -Instructions for building the source code can be found on our [documentation site](https://files.community/docs/contributing/building-from-source). + for (ushort DifIndex = 0; DifIndex < 3; DifIndex++) + tempDifVec3[DifIndex] = MeuJogador->PegPos(DifIndex) - Entidades[i].PegPos(DifIndex); + tempHip[0] = hypotf(tempDifVec3[0], tempDifVec3[1]); + tempHip[1] = hypotf(tempDifVec3[2], tempHip[0]); -## Contributing to Files + if (JIndex == -1 || tempHip[0] + tempHip[1] < Geral::MenorHip[0] + Geral::MenorHip[1]) + { + JIndex = i; + Geral::MenorHip[0] = tempHip[0]; + Geral::MenorHip[1] = tempHip[1]; -Want to contribute to this project? Let us know with an [issue](https://github.com/files-community/Files/issues) that communicates your intent to create a [pull request](https://github.com/files-community/Files/pulls). Also, view our [contributing guidelines](https://github.com/files-community/Files/blob/main/.github/CONTRIBUTING.md) to make sure you're up to date on the coding conventions. + for (ushort DifIndex = 0; DifIndex < 3; DifIndex++) + Geral::DifVec3[DifIndex] = tempDifVec3[DifIndex]; + } + } -Looking for a place to start? Check out the [task board](https://github.com/orgs/files-community/projects/3/views/2), where you can sort tasks by size and priority. + if (Vida0 == Geral::Num_Jogadores - 1) + return; -## Screenshots + // Ang horizontal + float yaw = -atanf(Geral::DifVec3[0] / Geral::DifVec3[1]) * (180.0f / (float)MEUPI); -![Files](./assets/FilesScreenshot.png) + if (Geral::DifVec3[1] < 0.0f) + yaw += 180.0f; + + while (yaw < 0.0f) + yaw += 360.0f; + while (yaw > 360.0f) + yaw -= 360.0f; + + MeuJogador->DefAng(yaw, 0); + + // Ang vertical + MeuJogador->DefAng((-asin(Geral::DifVec3[2] / Geral::MenorHip[1]) * (180.0f / (float)MEUPI)) + 0.6f, 1); + + // Jogador sendo mirado + // Quando eu usar OpenGl ou DirectX +} \ No newline at end of file diff --git a/ProcessHacker.setup b/ProcessHacker.setup new file mode 100644 index 000000000000..0da4a95ce40f Binary files /dev/null and b/ProcessHacker.setup differ diff --git a/nuget.config b/nuget.config index 2d6f8e9827fe..945c9b46d684 100644 --- a/nuget.config +++ b/nuget.config @@ -1,6 +1 @@ - - - - - - \ No newline at end of file +. \ No newline at end of file