Raised This Month: $12 Target: $400
 3% 

[TF2] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.3, 2023-01-30)


Post New Thread Reply   
 
Thread Tools Display Modes
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-20-2021 , 07:04   Re: [TF2/CS:GO] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.1, 2021-11-18)
Reply With Quote #31

Quote:
Originally Posted by nosoop View Post
if (TF2Econ_GetItemEquipRegionMask(equippedItemD ef) & TF2Econ_GetItemEquipRegionMask(newItemDef)) {
// the result being non-zero means that the equip regions for these two item definitions overlap, so `equippedCosmetic` needs to be detached
}
Perfect! That's exactly what I needed. Thanks nosoop!

Last edited by PC Gamer; 12-20-2021 at 07:04.
PC Gamer is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 02-23-2022 , 10:10   Re: [TF2/CS:GO] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.2, 2022-02-23)
Reply With Quote #32

0.18.2 has been released, disabling an internal cache that may be externally invalidated by the game on schema update.

This should resolve crashes in those situations. Thanks to @M4thx for the heads-up!

1.0 is a dream
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 02-23-2022 at 10:14.
nosoop is offline
Sausagomps
New Member
Join Date: Jan 2023
Old 01-27-2023 , 08:35   Re: [TF2] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.2, 2022-02-23)
Reply With Quote #33

_pKeyValues
L 01/27/2023 - 160:00: [SM] Blaming: tf_econ_data.smx
L 01/27/2023 - 160:00: [SM] Call stack trace:
L 01/27/2023 - 160:00: [SM] [0] SetFailState
L 01/27/2023 - 160:00: [SM] [1] Line 466, scripting\tf_econ_data.sp::GameConfGetAddress Offset
L 01/27/2023 - 160:00: [SM] [2] Line 205, scripting\tf_econ_data.sp::OnPluginStart
[SM] Plugin tf_econ_data.smx failed to load: Error detected in plugin startup (see error logs).
L 01/27/2023 - 160:08: [SM] Exception reported: Invalid convar handle 0 (error 4)
Sausagomps is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 01-27-2023 , 09:05   Re: [TF2] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.2, 2022-02-23)
Reply With Quote #34

Quote:
Originally Posted by Sausagomps View Post
_pKeyValues
L 01/27/2023 - 160:00: [SM] Blaming: tf_econ_data.smx
L 01/27/2023 - 160:00: [SM] Call stack trace:
L 01/27/2023 - 160:00: [SM] [0] SetFailState
L 01/27/2023 - 160:00: [SM] [1] Line 466, scripting\tf_econ_data.sp::GameConfGetAddress Offset
L 01/27/2023 - 160:00: [SM] [2] Line 205, scripting\tf_econ_data.sp::OnPluginStart
[SM] Plugin tf_econ_data.smx failed to load: Error detected in plugin startup (see error logs).
L 01/27/2023 - 160:08: [SM] Exception reported: Invalid convar handle 0 (error 4)
https://github.com/nosoop/SM-TFEconData#installation

Restart the server after installing gamedata to ensure it's not operating with stale values.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 01-27-2023 at 09:06.
nosoop is offline
Munckeyz
Member
Join Date: Mar 2014
Old 10-28-2023 , 16:28   Re: [TF2] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.3, 2023-01-30)
Reply With Quote #35

Works perfectly with the old Bot Weapon Randomizer plugin, and finally allows it to add more recent cosmetics as well as some of the new weapons with their correct attributes! Awesome! Thanks so much for this - however I did notice one issue with it; attempting to spectate a bot in first-person causes my game to crash. I have to assume this is to do with this plugin since I never had such an issue with the original TF2ItemsInfo.
Munckeyz is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 10-31-2023 , 01:09   Re: [TF2] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.3, 2023-01-30)
Reply With Quote #36

Quote:
Originally Posted by Munckeyz View Post
Works perfectly with the old Bot Weapon Randomizer plugin, and finally allows it to add more recent cosmetics as well as some of the new weapons with their correct attributes! Awesome! Thanks so much for this - however I did notice one issue with it; attempting to spectate a bot in first-person causes my game to crash. I have to assume this is to do with this plugin since I never had such an issue with the original TF2ItemsInfo.
It's the issue due to every weapon now having string attributes (the minmode viewmodel override). Those don't get copied over correctly; that's the one thing BWR needs adjusting for. If I recall correctly, BWR existed before Valve implemented static attribute preservation, so gutting the attribute apply code entirely and keeping existing attributes would be enough.

Compatibility at that level isn't a big focus, so it's out of the compatibility layer's scope.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 10-31-2023 at 01:09.
nosoop is offline
Munckeyz
Member
Join Date: Mar 2014
Old 10-31-2023 , 08:22   Re: [TF2] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.18.3, 2023-01-30)
Reply With Quote #37

Noted. I'll just play with un-minimized viewmodels when using the plugin. No worries!
Munckeyz is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode