Open di57inct opened 10 months ago
I am not able to repro the issue with viewmodels downloaded from https://forums.alliedmods.net/showthread.php?p=2785316. Can you send me the exact ak47 viewmodel you were using in the first clip? the viewmodel looks kinda weird as the vertices seem to be broken or somewhat.
and use SystemInformer to check the thread stack of the hanging thread (mostly main thread with highest cpu usage) if possible. better come with the plugin dlls you were using.
Will do. Unfortunately, it's not my server and i think not even the owner has the source for the mod as it is licensed and paid for the compiled scripts. Server is csgo.mascatii.ro and it happens pretty often when i play on it(around 50/50 chance).
Will do. Unfortunately, it's not my server and i think not even the owner has the source for the mod as it is licensed and paid for the compiled scripts. Server is csgo.mascatii.ro and it happens pretty often when i play on it(around 50/50 chance).
I don't have to go with amxx script or sth. I was testing by directly modifing viewmodel.body from renderer and that's enough.
Okay, here are the models. It seems i was wrong about the sub-models. Instead, they have multiple body groups because they have too many polygons. https://drive.google.com/file/d/1Gu46_LFNV7R-4NxwGcTrrdUxR8LzBjFv/view?usp=sharing
Okay, here are the models. It seems i was wrong about the sub-models. Instead, they have multiple body groups because they have too many polygons. https://drive.google.com/file/d/1Gu46_LFNV7R-4NxwGcTrrdUxR8LzBjFv/view?usp=sharing
Still unable to repro the issue with your viewmodels. I doubt if it's VGUI2 stuffs or it's BulletPhysics that caused the hangup/crash.
btw: There is an infinite loop that may cause the game to hang up in VGUI2 code that happenes when a dialog get scaled to an extreme small size, like 10x10. but I didn't see any VGUI2 panel operations in the clips.
I've noticed the crashes occur after weapon change, that's why i thought this was it. Been playing for a while now and it didn't crash so far while i have system informer on.
I've noticed the crashes occur after weapon change, that's why i thought this was it. Been playing for a while now and it didn't crash so far while i have system informer on.
if it's a crash rather than a hang up, the systemformer is not gonna work. you will have to upload dmp files in C:\Program Files (x86)\Steam\dumps
if you believe that it's a crash.
I meant hang, sorry.
Ok, it finally hanged again. Looks like it happens when there are many players on the server i think. https://youtu.be/YUPiJvrrFNA
Ok, it finally hanged again. Looks like it happens when there are many players on the server i think. https://youtu.be/YUPiJvrrFNA
looks like the main thread is not even visible in the thread list, can you try again and inspect the main thread when it's not hanging up?
Main thread being the emulator(SmartSteamLoader.exe), right?
Main thread being the emulator(SmartSteamLoader.exe), right?
The one with highest cpu usage is the main thread (about 6.25% on 8c16t processor or 8.33% on 6c12t processor ), while game is running without problem.
I'm on a laptop with a 2c4t cpu(AMD Ryzen 3 3200U) right now and this is what i got
I'm on a laptop with a 2c4t cpu(AMD Ryzen 3 3200U) right now and this is what i got
This is the main thread
The main thread in your screenshots seems to be working fine
Ok, will try to capture it again when it freezes if that helps you with anything.
is this related?
Doubt I've seen that in the console. When it freezes for me, it freezes permanently. I don't get temporary freeze.
Doubt I've seen that in the console. When it freezes for me, it freezes permanently. I don't get temporary freeze.
Any progress on this issue?
Unfortunately no. Didn't have the time to play anymore and the server mod changed. Will try just using the skins client side when i have time.
Idk if this is related to the hang after all or not, but the visual bug with the mesh happened as soon as i started using the models. It seems to have something to do with 3rd party custom server entities. In the first clip, where i killed the T should of been an ammo box entity. It seems invisible and as soon as I pick it up(use sound on when watching the clip), the random mesh disappears. I was also monitoring it with system informer. Hope this is something useful, even if not actually related to this topic. Link to AMXMODX plugin with the 3rd party entities: https://forums.alliedmods.net/showthread.php?p=619788 (or it can be seen on my server 82.76.20.181:27015)
|index|api| plugin name| plugin version|
| 0| v2| Gmcx_model_effect.dll| |
| 1| v4| ThreadGuard.dll| 2024-02-27T03:45:43|
| 2| v4| PrecacheManager.dll| 2024-02-27T03:44:50|
| 3| v4| StudioEvents.dll| 2024-02-27T03:45:40|
| 4| v4| BulletPhysics_AVX2.dll| 2024-02-27T03:43:56|
| 5| v4| Renderer_AVX2.dll| 2024-02-27T03:40:29|
| 6| v4| CaptionMod.dll| 2024-02-27T03:44:26|
| 7| v4| VGUI2Extension.dll| 2024-02-27T03:44:03|
https://youtu.be/8_qfSxvaMFM https://youtu.be/WQlqnbdLORA https://youtu.be/EmLVEUlgsUY https://youtu.be/XTTxfe7W3jE https://youtu.be/-8hh6SMsSdM https://youtu.be/OJAr4H9pTIU https://youtu.be/pgRUaPjF794 https://www.youtube.com/watch?v=26FIHpkNgEM
Idk if this is related to the hang after all or not, but the visual bug with the mesh happened as soon as i started using the models. It seems to have something to do with 3rd party custom server entities. In the first clip, where i killed the T should of been an ammo box entity. It seems invisible and as soon as I pick it up(use sound on when watching the clip), the random mesh disappears. I was also monitoring it with system informer. Hope this is something useful, even if not actually related to this topic. Link to AMXMODX plugin with the 3rd party entities: https://forums.alliedmods.net/showthread.php?p=619788 (or it can be seen on my server 82.76.20.181:27015)
|index|api| plugin name| plugin version| | 0| v2| Gmcx_model_effect.dll| | | 1| v4| ThreadGuard.dll| 2024-02-27T03:45:43| | 2| v4| PrecacheManager.dll| 2024-02-27T03:44:50| | 3| v4| StudioEvents.dll| 2024-02-27T03:45:40| | 4| v4| BulletPhysics_AVX2.dll| 2024-02-27T03:43:56| | 5| v4| Renderer_AVX2.dll| 2024-02-27T03:40:29| | 6| v4| CaptionMod.dll| 2024-02-27T03:44:26| | 7| v4| VGUI2Extension.dll| 2024-02-27T03:44:03|
https://youtu.be/8_qfSxvaMFM https://youtu.be/WQlqnbdLORA https://youtu.be/EmLVEUlgsUY https://youtu.be/XTTxfe7W3jE https://youtu.be/-8hh6SMsSdM https://youtu.be/OJAr4H9pTIU https://youtu.be/pgRUaPjF794 https://www.youtube.com/watch?v=26FIHpkNgEM
the random mesh seems to be from /Half-Life/valve/w_357ammobox.mdl
isn't it?
Yes that's the model used for the ammo box entity
Probably related to #420. Fixed in https://github.com/hzqst/MetaHookSv/releases/tag/v20240314a
As for the random mesh, I am not able to repro this issue with Real Weapon Drop on my end.
This was on dedicated, though, not listenserver. Will open a separate issue for the random mesh bug of you want. You can try to recreate it on my server: 82.76.20.181:27015
This was on dedicated, though, not listenserver. Will open a separate issue for the random mesh bug of you want. You can try to recreate it on my server: 82.76.20.181:27015
RunListenServer
is named with a confusing name by Valve while it's actually used for running non-dedicated engine.well, it has nothing to do with server inside this function.
After testing for 10 mins on your server, I was still not able to repro the random mesh issue. Can you verify the integrity of game files on Steam ? as I assumed that the /Half-Life/valve/w_357ammobox.mdl
was somehow broken.
I'm very sure the file was not corrupted. I was on pre-25th build tho(8xxx).
Should've been fixed in the latest release. the r_studio_bone_caches
better be disabled btw.
This has been happening very often since a few updates ago(can't remember since which update this started happening, sorry). Before updating, the game was very stable. Please tell me how I can give more helpful info and i'll be glad to do so.
EDIT: It's probably related to the following clips. The server uses viewmodel sub-models and that's probably what causes it. On regular classic servers it didn't seem to happen. Don't have the exact code for it but i'm guessing it's something like this: https://forums.alliedmods.net/showthread.php?p=2785316
https://github.com/hzqst/MetaHookSv/assets/3608544/ebbce7db-5d4b-42c1-8b58-2e986fc2d5d6
https://github.com/hzqst/MetaHookSv/assets/3608544/8e1577d6-b4af-46cf-ba1d-54ad37758daa
https://github.com/hzqst/MetaHookSv/assets/3608544/59839379-1600-4223-a803-c5aeb18b0a8c