Comments (5)
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:
local listenerEnts = ents.FindInSphere(listener:GetPos(), speakRange)
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```
from hl2rp.
But how is it indexing a nil value? This doesn't make sense
On Mon, Jun 29, 2015 at 10:19 AM, smt [email protected] wrote:
Sorry to dig this one up but I'm now having this again, only mine is on
this line:local listenerEnts = ents.FindInSphere(listener:GetPos(), speakRange)
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 finefull error:
[ERROR] gamemodes/schema/plugins/radio/sh_plugin.lua:212: attempt to index a nil value
- onCanHear - gamemodes/schema/plugins/radio/sh_plugin.lua:212
- send - gamemodes/nutscript/gamemode/core/libs/sh_chatbox.lua:155
- Run - gamemodes/nutscript/gamemode/core/hooks/sv_hooks.lua:242
- unknown - gamemodes/nutscript/plugins/chatbox/sh_plugin.lua:69
- func - gamemodes/nutscript/gamemode/core/libs/external/sh_netstream2.lua:117
- unknown - lua/includes/extensions/net.lua:32```
—
Reply to this email directly or view it on GitHub
#62 (comment).
from hl2rp.
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
onCanHear = function(speaker, listener)
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
from hl2rp.
That line can't give that error so that doesn't really make sense
from hl2rp.
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?
from hl2rp.
Related Issues (20)
- uhmm idk please reply HOT 1
- Job ? HOT 1
- Unfunctional Doors
- How to change max characters?
- Removing CP visor hud HOT 2
- RP Server
- Unlimited grenades HOT 2
- im not sure what it is please reply anyone HOT 1
- Hands Animation bugged?
- How to be SCN ? HOT 1
- Question: Is their a way to check players inventory as combine
- superadmin in ulx and cant do any commands? HOT 4
- Couldn't change active gamemode - 'HL2RP' not found HOT 3
- CP F1 Menu Broken and CP Unable to Open Doors HOT 2
- Door of the nexus don't works HOT 1
- Recent issues HOT 1
- How about adding voice list in help tab.
- Class system HOT 3
- 3 Differant Issues
- Lua Error...I don't even know
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hl2rp.