This commit is contained in:
_or_75
2026-07-01 09:32:17 +03:00
4 changed files with 13 additions and 1 deletions
@@ -160,6 +160,15 @@ auto CInventoryChanger::OnFrameStageNotify( int FrameStage ) -> void
const auto& AddedItems = GetInventoryItemsManager()->GetAddedItems(); const auto& AddedItems = GetInventoryItemsManager()->GetAddedItems();
const auto& Skin = AddedItems.find( pWeaponInLoadoutItemView->m_iItemID() ); const auto& Skin = AddedItems.find( pWeaponInLoadoutItemView->m_iItemID() );
if ( Skin != AddedItems.end() )
{
pWeapon->m_nFallbackSeed() = Skin->second.m_Seed;
pWeapon->m_flFallbackWear() = Skin->second.m_Wear;
C_EconItemView_SetAttributeValueByName( pWeaponItemView , "set item texture wear" , Skin->second.m_Wear );
C_EconItemView_SetAttributeValueByName( pWeaponItemView , "set item texture seed" , static_cast<float>( Skin->second.m_Seed ) );
}
auto* pKnifeModel = pLocalPawn->GetKnifeModel(); auto* pKnifeModel = pLocalPawn->GetKnifeModel();
auto* pCompositeMaterial = reinterpret_cast<CCompositeMaterialOwner*>( (PBYTE)pWeapon + g_CompositeMaterialOffset ); auto* pCompositeMaterial = reinterpret_cast<CCompositeMaterialOwner*>( (PBYTE)pWeapon + g_CompositeMaterialOffset );
@@ -382,6 +382,7 @@ auto CInventoryItemsManager::AddSelectedSkinToInventory( uint16_t defIdx , int p
Item.m_PaintKit = paintKit; Item.m_PaintKit = paintKit;
Item.m_Rarity = pItem->m_nRarity; Item.m_Rarity = pItem->m_nRarity;
Item.m_Wear = wear; Item.m_Wear = wear;
Item.m_Seed = seed;
Item.m_UnusualItem = pFoundItem->m_UnusualItem; Item.m_UnusualItem = pFoundItem->m_UnusualItem;
Item.m_ItemType = pFoundItem->m_ItemType; Item.m_ItemType = pFoundItem->m_ItemType;
@@ -59,6 +59,7 @@ public:
int m_PaintKit = 0; int m_PaintKit = 0;
int m_Rarity = 0; int m_Rarity = 0;
float m_Wear = 0.0f; float m_Wear = 0.0f;
int m_Seed = 0;
bool m_UnusualItem = false; bool m_UnusualItem = false;
bool m_bLegacyModel = false; bool m_bLegacyModel = false;
std::string m_PaintKitName = ""; std::string m_PaintKitName = "";
+2 -1
View File
@@ -1,4 +1,4 @@
# Featues: # Features:
- There's a crashlog in case of an apocalypse (load the dll in x64dbg and hit home, then subtract 0x1000 from the starting address and add the crash offset and look at the location). - There's a crashlog in case of an apocalypse (load the dll in x64dbg and hit home, then subtract 0x1000 from the starting address and add the crash offset and look at the location).
- Schema dumper (in Common/Include/Config.hpp) -> DUMP_SCHEMA_ALL_OFFSET to 1 - Schema dumper (in Common/Include/Config.hpp) -> DUMP_SCHEMA_ALL_OFFSET to 1
- Blackbone mm support (I'll post the injector with the database when I have time). - Blackbone mm support (I'll post the injector with the database when I have time).
@@ -13,6 +13,7 @@
# Links: # Links:
[UnknownCheats Thread](https://www.unknowncheats.me/forum/counter-strike-2-a/722929-andromeda-cs2-internal-base.html)<br> [UnknownCheats Thread](https://www.unknowncheats.me/forum/counter-strike-2-a/722929-andromeda-cs2-internal-base.html)<br>
[Powered by Andromeda Hack](https://andromeda.buzz/) [Powered by Andromeda Hack](https://andromeda.buzz/)
[Powered by Andromeda SDK](https://andromeda-sdk.com/)
# ScreenShots: # ScreenShots: