Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CItemHeavyAssaultSuit with Wrong Resource Path #487

Open
TitaniumLithium opened this issue Jun 9, 2024 · 1 comment
Open

[BUG] CItemHeavyAssaultSuit with Wrong Resource Path #487

TitaniumLithium opened this issue Jun 9, 2024 · 1 comment
Labels
untriaged New issue has not been triaged

Comments

@TitaniumLithium
Copy link

CCSPlayerController player = Utilities.GetPlayerFromUserid(id);
player.GiveNamedItem<CItemHeavyAssaultSuit>("CItemHeavyAssaultSuit");

Could not give item "HeavyAssaultSuit" Because the resource path is not right.

Found in vpk:
characters/models/tm_phoenix_heavy/tm_phoenix_heavy.vmdl_c
characters/models/tm_phoenix_heavy/sleeve/sleeve_tm_heavy.vmdl_c
characters/models/ctm_heavy/ctm_heavy.vmdl_c
characters/models/ctm_heavy/sleeve/sleeve_ctm_heavy.vmdl_c

And here is the log:

Failed loading resource "characters/models/tm_heavy/tm_phoenix_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "characters/models/tm_heavy/tm_phoenix_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Calling Steam to write a minidump for the assert
Failed loading resource "models/weapons/v_models/arms/phoenix_heavy/v_sleeve_phoenix_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "models/weapons/v_models/arms/phoenix_heavy/v_sleeve_phoenix_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Failed loading resource "models/weapons/v_models/arms/ctm_heavy/v_sleeve_ctm_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "models/weapons/v_models/arms/ctm_heavy/v_sleeve_ctm_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
@github-actions github-actions bot added the untriaged New issue has not been triaged label Jun 9, 2024
@TitaniumLithium
Copy link
Author

Also happened if you set this value:
ConVar.Find("mp_weapons_allow_heavyassaultsuit").SetValue(true);
Seems like Valve bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

1 participant