Skip to content

Commit

Permalink
Added Playerlist, Added new hashing algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Viceroyy committed Jul 8, 2024
1 parent 776e3e2 commit 01aa950
Show file tree
Hide file tree
Showing 16 changed files with 382 additions and 705 deletions.
9 changes: 4 additions & 5 deletions Arsenal/Arsenal.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
Expand All @@ -95,13 +95,13 @@
<ClCompile Include="Entry\Entry.cpp" />
<ClCompile Include="Features\EnginePrediction\EnginePrediction.cpp" />
<ClCompile Include="Features\ESP\ESP.cpp" />
<ClCompile Include="Features\Glow\Glow.cpp" />
<ClCompile Include="Features\Menu\LateRenderer\LateRenderer.cpp" />
<ClCompile Include="Features\Menu\Menu.cpp" />
<ClCompile Include="Features\Misc\Misc.cpp" />
<ClCompile Include="Features\NoSpread\NoSpread.cpp" />
<ClCompile Include="Features\Notification\Notification.cpp" />
<ClCompile Include="Features\PlayerArrows\PlayerArrows.cpp" />
<ClCompile Include="Features\Players\Players.cpp" />
<ClCompile Include="Features\SpectatorList\SpectatorList.cpp" />
<ClCompile Include="Features\Visual\Visual.cpp" />
<ClCompile Include="Hooks\Definitions\CBasePlayer_CalcPlayerView.cpp" />
Expand All @@ -126,7 +126,6 @@
<ClCompile Include="SDK\Interfaces\IInputSystem.h" />
<ClCompile Include="SDK\Input\Input.cpp" />
<ClCompile Include="SDK\Interfaces\ICvar.cpp" />
<ClCompile Include="Util\Hash\Hash.cpp" />
<ClCompile Include="Util\Hook\MinHook\buffer.c" />
<ClCompile Include="Util\Hook\MinHook\hde\hde32.c" />
<ClCompile Include="Util\Hook\MinHook\hde\hde64.c" />
Expand All @@ -142,14 +141,14 @@
<ClInclude Include="Entry\Entry.h" />
<ClInclude Include="Features\EnginePrediction\EnginePrediction.h" />
<ClInclude Include="Features\ESP\ESP.h" />
<ClInclude Include="Features\Glow\Glow.h" />
<ClInclude Include="Features\Menu\LateRenderer\LateRenderer.h" />
<ClInclude Include="Features\Menu\Menu.h" />
<ClInclude Include="Features\Misc\Misc.h" />
<ClInclude Include="Features\NoSpread\NoSpread.h" />
<ClInclude Include="Features\CFG.h" />
<ClInclude Include="Features\Notification\Notification.h" />
<ClInclude Include="Features\PlayerArrows\PlayerArrows.h" />
<ClInclude Include="Features\Players\Players.h" />
<ClInclude Include="Features\SpectatorList\SpectatorList.h" />
<ClInclude Include="Features\Visual\Visual.h" />
<ClInclude Include="Hooks\Definitions\WINAPI_WndProc.h" />
Expand Down
13 changes: 5 additions & 8 deletions Arsenal/Arsenal.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
<ClCompile Include="Entry\Entry.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Util\Hash\Hash.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Util\Offsets\Offsets.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -144,15 +141,15 @@
<ClCompile Include="Hooks\Definitions\ModelRender_DrawModelExecute.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Features\Glow\Glow.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="SDK\Interfaces\IHudChat.h">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Features\SpectatorList\SpectatorList.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Features\Players\Players.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Entry\Entry.h">
Expand Down Expand Up @@ -458,10 +455,10 @@
<ClInclude Include="SDK\Interfaces\IMaterialSystem.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Features\Glow\Glow.h">
<ClInclude Include="Features\SpectatorList\SpectatorList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Features\SpectatorList\SpectatorList.h">
<ClInclude Include="Features\Players\Players.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions Arsenal/Entry/Entry.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "Entry.h"
#include "../Hooks/Definitions/WINAPI_WndProc.h"
#include "../Features/Notification/Notification.h"
#include "../Features/Players/Players.h"

//#include <iostream>
//#include <fstream>
Expand Down Expand Up @@ -114,6 +115,8 @@ void CGlobal_Entry::Load()
G::Hooks.Initialize();
WINAPI_HOOK::WINAPI_WndProc::Init();

PlayerManager::Parse();

Config::Load((std::filesystem::current_path().string() + "\\Arsenal\\default.json").c_str());
F::Notifications.Add("Config default loaded!");

Expand Down
4 changes: 4 additions & 0 deletions Arsenal/Features/CFG.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ namespace CFG
CFGVAR(Colors_Team, Color_t({ 252, 92, 101, 255 }));
CFGVAR(Colors_TeamT, Color_t({ 240, 90, 90, 255 }));
CFGVAR(Colors_TeamCT, Color_t({ 150, 200, 255, 255 }));
CFGVAR(Color_Friend, Color_t({ 38, 222, 129, 255 }));
CFGVAR(Color_Cheater, Color_t({ 214, 48, 49, 255 }));
CFGVAR(Color_RetardLegit, Color_t({ 48, 218, 70, 255 }));
CFGVAR(Colors_PlantedC4, Color_t({ 255, 219, 88, 255 }));
CFGVAR(Colors_DroppedWeapons, Color_t({ 255, 219, 88, 255 }));

#pragma endregion
}
5 changes: 3 additions & 2 deletions Arsenal/Features/ESP/ESP.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "ESP.h"
#include "../CFG.h"
#include "../Players/Players.h"

void CFeatures_ESP::Run()
{
Expand Down Expand Up @@ -49,7 +50,7 @@ void CFeatures_ESP::DrawPlayers(C_CSPlayer* pLocal)
const int iHealth = pPlayer->GetHealth();
const int iMaxHealth = pPlayer->GetMaxHealth();

const Color_t clrTeam = Util::GetTeamColor(pPlayer->m_iTeamNum(), pLocal->m_iTeamNum(), CFG::Colors_Relative);
const Color_t clrTeam = Util::GetEntityColor(pLocal, pPlayer, CFG::Colors_Relative);

if (CFG::ESP_Players_Box)
{
Expand Down Expand Up @@ -234,7 +235,7 @@ std::wstring CFeatures_ESP::GetWeaponName(int wpnid)
get_rel32(U::Pattern.Find("client.dll", "E8 ? ? ? ? 50 FF 75 94"), 1, 5));

if (!function(wpnid))
return L"UNKNOWN";
return L"unknown";

return Util::ConvertUtf8ToWide(function(wpnid));
}
Loading

0 comments on commit 01aa950

Please sign in to comment.