HyperGaming-Network / hgn-srp-server

HyperGaming Network's S.T.A.L.K.E.R Roleplay Server(s) - Bug\Issue Reporting
0 stars 0 forks source link

[BUG] Detector throws Lua errors when near anomalies occassionally. #11

Open thestevec opened 2 years ago

thestevec commented 2 years ago

Is there an existing issue for this?

Current Behavior

When passing by anomalies, sometimes the detector produces the following error:

[ERROR] gamemodes/hgn-stalker-roleplay/plugins/ent_anomalies/entities/weapons/detector_echo/shared.lua:211: attempt to call method 'GetItemTable' (a nil value)

  1. unknown - gamemodes/hgn-stalker-roleplay/plugins/ent_anomalies/entities/weapons/detector_echo/shared.lua:211 (x4)

There is no beeping that occurs when the error occurs.

Expected Behavior

The detector should beep if there is an artifact it can detect within range.

Steps To Reproduce

  1. Pull detector out
  2. Visit multiple anomalies
  3. See error show up in console

Anything else?

No response

pictowolf commented 2 years ago

Should be resolved in next patch coming.

thestevec commented 2 years ago

Seems to occur with other detectors too.

thestevec commented 2 years ago

[ERROR] gamemodes/hgn-stalker-roleplay/plugins/ent_anomalies/entities/weapons/detector_bear/shared.lua:253: attempt to call method 'GetItemTable' (a nil value)

  1. unknown - gamemodes/hgn-stalker-roleplay/plugins/ent_anomalies/entities/weapons/detector_bear/shared.lua:253 (x2)