-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radio's Broken sometimes #62
Comments
edit: uuuh only just found this is for the hl2rp schema, it's a custom schema but the radio plugin is from hl2rp so yeah Sorry to dig this one up but I'm now having this again, only mine is on this line:
Worked totally fine for me in hl2rp however now in a custom schema it appears to be happening randomly and sporadically, between bursts of working totally fine full error: [ERROR] gamemodes/schema/plugins/radio/sh_plugin.lua:212: attempt to index a nil value
1. onCanHear - gamemodes/schema/plugins/radio/sh_plugin.lua:212
2. send - gamemodes/nutscript/gamemode/core/libs/sh_chatbox.lua:155
3. Run - gamemodes/nutscript/gamemode/core/hooks/sv_hooks.lua:242
4. unknown - gamemodes/nutscript/plugins/chatbox/sh_plugin.lua:69
5. func - gamemodes/nutscript/gamemode/core/libs/external/sh_netstream2.lua:117
6. unknown - lua/includes/extensions/net.lua:32``` |
But how is it indexing a nil value? This doesn't make sense On Mon, Jun 29, 2015 at 10:19 AM, smt notifications@github.com wrote:
|
Okay so, now this is kinda going entirely off hl2rp but I don't think it's a hl2rp issue specifically, I changed my radios from the hl2rp ones to the modernrp ones without any modifications. same error: [ERROR] gamemodes/nsmetro2033/plugins/radio/sh_plugin.lua:202: attempt to index a nil value
1. onCanHear - gamemodes/nsmetro2033/plugins/radio/sh_plugin.lua:202
2. send - gamemodes/nutscript/gamemode/core/libs/sh_chatbox.lua:155
3. Run - gamemodes/nutscript/gamemode/core/hooks/sv_hooks.lua:242
4. unknown - gamemodes/nutscript/plugins/chatbox/sh_plugin.lua:69
5. func - gamemodes/nutscript/gamemode/core/libs/external/sh_netstream2.lua:117
6. unknown - lua/includes/extensions/net.lua:32 that line specifically is now
I have literally no idea and can't say anything that'd help debug it, randomly it works, randomly it breaks (can hear the radio beep and the command goes through, only no radio text is seen by anyone and the errors pop up in the server console) as to the nil value thing I really have no idea |
That line can't give that error so that doesn't really make sense |
I really dunno what to like say or give you to help, I'm just as confused, is there any good way of like trying to debug this on my end? |
Often the radios work and sometimes they don't decide to work. Here's the LUA error I get when it doesn't work:
[ERROR] gamemodes/hl2rp/plugins/radio/sh_plugin.lua:209: attempt to index a nil value
The text was updated successfully, but these errors were encountered: