Comments (5)
I have no idea how that is even possible...
line 95 is this: self.TargetFilter:Setup(nil,nil,nil,nil,nil,nil,nil,nil,nil,trace.Entity)
self.TargetFilter is only ever set to nil or an entity whose class is verified to be gmod_wire_rfid_filter, which has a Setup method
And if it was nil, Lua wouldn't even get to attempting the call.
If your wire and wire-extras are up to date with the master branch on github (cause that's what I was looking at) and there are no conflicting add-ons installed, I'd put blame on Garry.
from wire-extras.
Thanks for your answer. Wire and Extras are up to date, for wire I use the workshop version.
So you can link the the rfid filter without issues to target finder? -Then it must be something on my side.
from wire-extras.
I didn't say I could.
My results are from code analysis only.
from wire-extras.
This works for me with no lua errors linking an RFID Filter to a target finder by right clicking the filter, then the finder (I'm using latest wire and latest wire-extras). Close ticket?
from wire-extras.
I just tried it again today on newest git wire/wire extras in multiplayer, still the same error for me, just on line 96 instead of 95.
The error is kind of odd, even if I check the class of the object right before I try to call Setup, I get the error on this line "attempt to call method 'Setup' (a nil value)":
if(self.TargetFilter:GetClass() == "gmod_wire_rfid_filter") then
self.TargetFilter:Setup(nil,nil,nil,nil,nil,nil,nil,nil,nil,trace.Entity)
end
Looking in the init.lua file, Setup is definitively defined. Even If I rename the Setup function (to get around some conflict which maybe a addon could cause messing around with all Setup functions) to something different I get the error.
If it works for you, then it can only be some conflicting addon. I close it now, as this seems not a bug within wire.
If someone has the same error, post here I will reopen it.
from wire-extras.
Related Issues (20)
- Gui Wiring tool breaks game HOT 8
- Advanced HUD Indicator Broken
- holoSetPose constantly flashing pose parameter HOT 8
- Upload to workshop HOT 1
- <text> is broken HOT 5
- Directional Radios don't duplicate correctly HOT 1
- Directional Radios don't save tx mode when duped HOT 2
- After "E2 Compiler Rewrite" commit to wiremod, a Lua error started appearing. HOT 1
- `ray<Thing>Intersection()` returns bool if ray didn't hit <thing>, leading to errors HOT 2
- Dupe port error
- selfchanger Error
- NWBeam dependencies.
- Field generator tends to break the physics engine when given huge values HOT 2
- [Suggestion] Holo anim with negative playback numbers?
- Port ftracers and stcontrollers to the official wire
- Remove gui Panel Test adv HOT 4
- SendLua notifications need to be refactored HOT 2
- Someone put a backdoor in your add-on and is hosting it on workshop HOT 1
- Whitelist compliance required
- Fixing Modular Panels (GUI Panels)
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 wire-extras.