I wanted to try to change the stickers on the weapon, as I believe they are located at m_Attributes
I tried to do on the method TF
https://forums.alliedmods.net/showthread.php?t=210221
by gamedata for csgo, all but that _ZN14CAttributeList24SetRuntimeAttributeValue EPK28CEconItemAttributeDefinitionf I find a way for CSGO but the way the quiescent
PHP Code:
"Games"
{
"csgo"
{
"Offsets"
{
"CAttributeManager::OnAttributeValuesChanged" //use instead of ClearCache/NotifyManagerOfAttributeValueChanges
{
"windows" "12"
"linux" "13" //I do not know where i can take
"mac" "13"
}
"CEconItemView::GetItemDefinition"
{
"windows" "4"
"linux" "5" //I do not know where i can take
"mac" "5"
}
}
"Signatures"
{
"CEconItemSchema::GetItemDefinition"
{
"library" "server"
"linux" "@_ZNK15CEconItemSchema17GetItemDefinitionEib" //found
}
"CEconItemView::GetSOCData"
{
"library" "server"
"linux" "@_ZNK13CEconItemView10GetSOCDataEv" //found
}
"CEconItem::SetCustomName"
{
"library" "server"
"linux" "@_ZN9CEconItem13SetCustomNameEPKc" //found
}
"GEconItemSchema"
{
"library" "server"
"linux" "@_Z15GEconItemSchemav" //found
}
"CEconItemSchema::GetAttributeDefinition" //int, returns CEconItemAttributeDefinition
{
"library" "server"
"linux" "@_ZNK15CEconItemSchema22GetAttributeDefinitionEi" //found
}
"CEconItemSchema::GetAttributeDefinitionByName" //const char*, returns CEconItemAttributeDefinition
{
"library" "server"
"linux" "@_ZNK15CEconItemSchema28GetAttributeDefinitionByNameEPKc" //found
}
"CAttributeList::RemoveAttribute" //CEconItemAttributeDefinition*, returns CEconItemAttributeDefinition
{
"library" "server"
"linux" "@_ZN9CEconItem22RemoveDynamicAttributeEPK28CEconItemAttributeDefinition" //found
}
"CAttributeList::SetRuntimeAttributeValue" //CEconItemAttributeDefinition*, float, returns void but somehow SetReturnInfo makes it return some nonzero client-based integer if success
{
"library" "server"
"linux" "@_ZN14CAttributeList24SetRuntimeAttributeValueEPK28CEconItemAttributeDefinitionf"// NO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
}
"CAttributeList::GetAttributeByID" //int, returns CEconAttribute address
{
"library" "server"
"linux" "@_ZN14CAttributeList16GetAttributeByIDEi" //found
}
"CAttributeList::DestroyAllAttributes" //this, returns int
{
"library" "server"
"linux" "@_ZN14CAttributeList20DestroyAllAttributesEv" //found
}
"CAttributeManager::ClearCache" //returns void
{
"library" "server"
"linux" "@_ZN17CAttributeManager10ClearCacheEv" //found
}
}
}
}
A little watching on the signature, I found strange signatures
PHP Code:
_ZZ28GetStickerAttributeDefHandlei21EStickerAttributeTypeE18pAttrStickerSlotID
_ZZ28GetStickerAttributeDefHandlei21EStickerAttributeTypeE20pAttrStickerSlotWear
_ZZ28GetStickerAttributeDefHandlei21EStickerAttributeTypeE21pAttrStickerSlotScale
_ZZ28GetStickerAttributeDefHandlei21EStickerAttributeTypeE24pAttrStickerSlotRotation
_ZZN9CEconItem34InitAttributesDroppedFromListEntryEPK17item_list_entry_tE16pAttr_StickerKit
_ZGVZN9CEconItem34InitAttributesDroppedFromListEntryEPK17item_list_entry_tE16pAttr_StickerKit
_ZGVZN9CEconItem34InitAttributesDroppedFromListEntryEPK17item_list_entry_tE14pAttr_PaintKit
_ZNK15CEconItemSchema23GetStickerKitDefinitionEi
_ZNK15CEconItemSchema29GetStickerKitDefinitionByNameEPKc
_ZNK15CEconItemSchema30GetStickerListDefinitionByNameEPKc
_ZNK18IEconItemInterface35GetStickerAttributeBySlotIndexFloatEi21EStickerAttributeTypef
_ZNK18IEconItemInterface33GetStickerAttributeBySlotIndexIntEi21EStickerAttributeTypej
Maybe someone knows what I can do. I am weak at gamedata, but I would very much like to change stickers