im having a bit of an issue using this. just one question, is it supposed to have wire inputs and outputs? because when i use the wire tool on it it does not display any nor can i turn it on. its running on a dedicated server.
im having a bit of an issue using this. just one question, is it supposed to have wire inputs and outputs? because when i use the wire tool on it it does not display any nor can i turn it on. its running on a dedicated server.
The Joystick input SENTs only have outputs. I don't know what you mean by "turn it on" nor "display any".
Select the Joystick Input STOOL. Set UID to "dracotest" and description to "Hi there!" and leave analog unticked. Now, spawn a Joystick Input by left-clicking the floor. Next, choose the Wire Thruster STOOL and change the settings accordingly. Spawn the wire thruster. Select the Advanced Wiring STOOL and wire the thruster to the Joystick Input. Now, go back to the Joystick Input STOOL and click "Joystick Configuration". Make sure the Wire Joystick tab is highlighted, if not, click it. Scroll through your joysticks and find an input - if you don't have a joystick, click "Key" and find an input. Click the input. Next, click "dracotest" from the Joystick Configuration menu.
The thruster will respond to your input.
To link the Joystick Input to a pod, simply equip the Joystick Input STOOL, press reload on the Joystick Input SENT, and then press reload on the pod. The thruster will now only operate when you or someone else is in the pod and activates that binding.
hello again and thank you for the quick reply. but it still seems to refuse to work. i have sbmp installed on the server if that has anything to do with my current blight. i can't seem to get it to interface with wire devices. and the wire debugger seems to output 0 at all times. you are welcome to come and check out my current issue on our server.
![]()
You don't have it installed correctly, or at all.
I'm having the same problem I think.
![]()
That's not the same problem, as you can actually equip the Joystick Tool on your server
Did you reconnect prior to testing that and was that UID in use before reconnecting? If so, the problem is in the Wire interface (that I wrote) and the issue does not affect Joystick Module developers, but I am aware of the problem. As a temporary fix, use an alternate UID or delete all entities using that UID and spawn again.
If not, please give me the outputs of the following during the time of your issue:
Thanks!Code:lua_run PrintTable(joystick.data) lua_run PrintTable(jcon.wireModInstances) lua_run_cl PrintTable(joynet)
CAF and spacebuild or gcombat was conflicting. It works now.
Sorry if this is classed as bumping a thread, but i get an error model when i use this, is there something else needed to run it?
The Wire interface requires the Wire model pack.
This module is still supported - I will post a remark if otherwise.
I think garry's taking suggestions for the next update, why not suggest he adds your joystick module?
Just wondering CapsAdmin, do you know which one of those it was? I have the same problem, and all of those mods.
CapsAdmin removed them all at the same time, so he doesn't know which one caused the problem (last time I checked).
Post #133
I found this error:
Hook 'gmod_wire_joystick' Failed: entities/gmod_wire_joystick_multi/init.lua:229: attempt to index field 'wireModInstances' (a nil value)
LuaChipDebug: Set Tag Result: CAF,LSC,LSE,RD,joystick_v25
Not sure if there's any relevance but I'm locating the mod through elimination.
Removed each one individual and it dosen't work, I think its the:
lua_run PrintTable(jcon.wireModInstances)
that isn't working, I'm going to try removing them all and see what happens.
Ah, removed every single item to do with spacebuild and it works. testing in detail, hope it's a minor mod, oh and the wireModInstances error is gone, so that is the cause i presume.
Found the problem, conflict with the Space Build Expansion Pack, one of my favorite mods. Any way of removing the incompatability? could it be the pre-set control scheme for the pack?
Tried the three outputs and got all but the jcon.wireModInstances:
> PrintTable(jcon.wireModInstances)...
includes\util.lua:35: bad argument #1 to 'pairs' (table expected, got nil)
not sure where includes/util.lua is but I think it's SBMP, removing that solves everything, even if I do there is a considerable delay between pressing a button and reciveing input.
Can you make it compatible with a tablet?
You can do that if the tablet is used as a mouse, if it can be used as an input you could use PIEGlove and PPJoy together to make a virtual joystick, otherwise I'm not sure.
Hmm, How would I hook it up to one of the prebuild spacebuild flying entities?
Isn't Working anymore! *Cry*
( joyconfig : Unknown Command )
It doesn't work because of GCombat. I tried it out, got the same error, deleted GCombat and now it works. Hope I helped.
I do nott have GCombat installed Oo
i can vouch for this. it is still in perfect operation. in fact, im using right now.
EDIT:although i noticed SBEP screws with it pretty hard. usually removing the joystick files in SBEP fixes that.
Thanks i try this, ( Removing SBEP is no option... rather kill myself! :D )
Its still not working... Maybe I'm doing something false...
I would like to help a little more... just say what i have to do. ^^Code:LuaChipDebug: Set Tag Result: joystick_v26 LuaChipDebug: Set Tag Result: joystick_v26 ] joyconfig Unknown command: joyconfig ] lua_run PrintTable(joystick.data) > PrintTable(joystick.data)... Player [1][|\| - neX!Tem]: headersplit = 1 rawheader = header: datamap = ] lua_run PrintTable(jcon.wireModInstances) > PrintTable(jcon.wireModInstances)... jm_: Entity [65][gmod_wire_joystick_multi] = Player [1][|\| - neX!Tem] ] lua_run_cl PrintTable(joynet) includes\util.lua:35: bad argument #1 to 'pairs' (table expected, got nil)
There is a startup error that you haven't posted. I need to see that.
You're running a listen server, right?
Nope ive got a Root Server but i cant find the start error.. help?
PM me in a week if I don't get back to this. Personal stuff. Do-or-die.
I probably just uploaded the wrong version...so many failing hard drives.
Awesome, exactly what I was searching! That's no doubt one of the best addition to Gmod.
Now I would like to test it (so I can test my new spacecraft :D), I can't download because your site is down.
Of course take your time, but I just can't wait ;)
heh, i hear you. i waited like 3 hours one time for his download link to come back up after being down. i backed the addon up after that.
heres a mediafire link.
http://www.mediafire.com/file/zmwmzm...L_JOYSTICK.zip
didn't ever want to lose this addon if his host went down for good.
Thanks! ;)
Edit: a bit hard to install/set up, but once done, works perfectly!
I totally forgot to update my router configuration after migrating to the new network. That, and the different IP address. Shouldn't take that long to fix the server next time it goes down - and, actually, the new network is much more stable than last.
I'm shooting for this next weekend to sort out your problems. If not, the week after finals (two weeks). I was going to do it yesterday, but I lost 24 hours of food...and time.
I can report that the new version has the same problem as CapsAdmin described. JM v27 was the only joystick-related addon, and it was on single player, so a freshly started server as well.
![]()
Okay, yeah, I've fixed this bug before, I misplaced the fix...and the debug notes...and Wiremod decided to delete their forum database. I have a general idea of what the problem is. The problem was related to an addon I don't have installed.
Let's see, 200 days / 403.82 KB * 111.39 KB...
I'll have a fix up in 55.17 days tops.
Only kidding...or am I? Seriously, screenshot is not necessary, but if you really want to go out of your way and drain bandwidth, post results of
Also with complete disregard for any hint of professionalism:Code:lua_run PrintTable(jcon) lua_run_cl PrintTable(joynet) lua_run_cl PrintTable(jcon)
Sorry for yelling at you - I've been yelled at all day by people who don't make the slightest effort to explain their problems in a rational manner - but your explanation is better than most. I'm digging around in my backups for the right version now.
Edited:
Okay, to say that CapsAdmin "described" the problem is...unfortunate at best. Could you please pastebin a console dump directly after the symptoms appear, then pastebin the results of the aforementioned console commands?
Does this have any compatibility with the Novint Falcon?
Every DirectInput device is supported. If it shows up in your Game Controllers or Joystick settings in Windows, it is supported.
why is it when I use different controllers, some of them have "nill" as their outputs?
Edit: Repeat of what others have said. The problem is (I think) in the wire mod instances and hasn't been fixed in v27. TY for a still awesome module though.
Hook 'gmod_wire_joystick' Failed: lua\entities\gmod_wire_joystick_multi\init.lua:229 : attempt to index field 'wireModInstances' (a nil value)
Fixed problem by spamming gmod folder with joystic dll. now works great. ty mr Eagle Sir
That error is not possible in version 27.
Here, jcon.wireModInstances is not being indexed - the indexing occurs on line 232.// lua/entities/gmod_wire_joystick_multi/init.lua Lines 229-231: if not jcon.wireModInstances then jcon.wireModInstances = {} end
You either have conflicting addons installed or have not installed the latest version. Please post a directory listing of your addons folder / purge your addons folder.
Nice mod. I'm finding it quite useful with my aircraft!
I'm not sure if someone has asked this already, but can I make each module take more inputs? I have more buttons on the stick that I'd like to use.
I do believe this newest engine update has broken this mod, anyone want to tell me how I would go about rebuilding the DLL to work with the new engine?