Grocel / 3D-Stream-Radio

It is an spawnable scripted entity for Garry's Mod that allows you to play online streams and local files as 3D world sound.
https://steamcommunity.com/sharedfiles/filedetails/?id=246756300
17 stars 4 forks source link

Clientside lua error #10

Closed wrefgtzweve closed 1 year ago

wrefgtzweve commented 1 year ago

Im not sure how to replicate this issue unfortunately. However i have the stack trace. Players are getting this error pretty rarely but i thought, might as well report it.

addons/3d_stream_radio/lua/streamradio_core/tool.lua:15: attempt to call method 'GetToolObject' (a nil value)
  1. GetTool - addons/3d_stream_radio/lua/streamradio_core/tool.lua:15
   2. func - addons/3d_stream_radio/lua/streamradio_core/tool.lua:347
    3. unknown - addons/3d_stream_radio/lua/streamradio_core/timer.lua:36
Grocel commented 1 year ago

Thanks for report. It seems to happen on some rare edge case I would guess. Do you have an idea, what could have caused it? Like maybe the player still joining while like having the tool gun equipped?