AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   SV Model Index error (https://forums.alliedmods.net/showthread.php?t=341480)

lexzor 01-24-2023 07:58

SV Model Index error
 
hello, i get this segmentation fault errors:

Code:

L 21/01/2023 - 14:09:20: (map "fy_cluj") SV_ModelIndex: SV_ModelIndex: model dl not precached
L 21/01/2023 - 18:07:31: (map "fy_snow") SV_ModelIndex: SV_ModelIndex: model models/csgoclassyv2/v_sg552_def.mmodels/v_sg552.mdl not precached
L 21/01/2023 - 19:25:47: (map "fy_snow") SV_ModelIndex: SV_ModelIndex: model models/csgoclassyv2/v_aug_def.mdlmodels/v_aug.mdl not precached
L 21/01/2023 - 19:28:11: (map "fy_snow") SV_ModelIndex: SV_ModelIndex: model models/csgoclassyv2/v_sg552_def.mmodels/csgoclassyv2/v_sg552_def.mdl not precached
L 21/01/2023 - 22:15:20: (map "fy_snow") SV_ModelIndex: SV_ModelIndex: model dl not precached
L 22/01/2023 - 12:56:09: (map "de_dust2_3x3") SV_ModelIndex: SV_ModelIndex: model dl not precached
L 22/01/2023 - 13:03:47: (map "fy_snow") SV_ModelIndex: SV_ModelIndex: model dl not precached
L 24/01/2023 - 12:33:38: (map "fy_snow") SV_ModelIndex: SV_ModelIndex: model models/csgoclassyv2/aug/v_aug_0.mmodels/v_aug.mdl not precached

looks like a player tries to use a model which path is a combination between my model location and default model location.

i'm checking if the file exists before precaching the model.

i'm storing models in arrays which i destroy in plugin_end

this error doesn t occur on all servers, this case is an exception

i don't see a pattern when this error occurs.

have someone a idea what's happening? i really can't figure it out.

i must mention that it happens on this version of rehlds:

Code:

ReHLDS version: 3.12.0.780-dev
Build date: 16:20:56 Sep 19 2022 (3082)


georgik57 01-24-2023 12:42

Re: SV Model Index error
 
You have an incorrectly formatted string.

lexzor 02-01-2023 05:06

Re: SV Model Index error
 
looks like the problem is solved now after i compiled same plugin and uploaded it without changing a line of code.

maybe it's a compilation error?

or a corrupted file uploaded through ftp?


All times are GMT -4. The time now is 13:51.

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