Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem











Look elsewhere for the cause
AN ERROR HAS OCCURED [the index 'models/props_junk/gascan001a.mdl' does not exist]
CALLSTACK
*FUNCTION [resetSkinBody()] scripts/vscripts/manacat_lib/rngitem.nut line [596]
*FUNCTION [OnGameEvent_weapon_drop()] scripts/vscripts/manacat_lib/rngitem.nut line [590]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]
LOCALS
[mdl] "models/props_junk/gascan001a.mdl"
[entity] INSTANCE
[this] TABLE
[body] 0
[skin] 1
[drop] INSTANCE
[player] INSTANCE
[params] TABLE
[this] TABLE
[funcName] "OnGameEvent_weapon_drop"
[idx] 0
[useTable] TABLE
[bWarnIfMissing] false
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "weapon_drop"
[this] TABLE
[params] TABLE
[event] "weapon_drop"
[this] TABLE
perhaps the trace hit player or something has a shorter class name.
thanks for your code review, but i still wonder when that error occurred
m_trace.enthit.GetClassname().slice(0, 7) == "weapon_"
I recommend use find(), so the [slice out of range] error won't happens again.
i fixed that.
If it happens that often, It's better to show me streaming. so I can clearly see the conditions that can arise. I can guess some of the causes from your console messages, but I don't know all the exact trigger conditions.
https://imgur.com/a/pe6HuCI
rather than blaming simply, report in detail please, or just unsub and leave. you also know you haven't been of any help to me at all.