1. Post #121
    dracotonisamond's Avatar
    May 2009
    1,091 Posts
    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.

  2. Post #122
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    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.

  3. Post #123
    dracotonisamond's Avatar
    May 2009
    1,091 Posts
    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.



  4. Post #124
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    You don't have it installed correctly, or at all.
    Reply With Quote Edit / Delete Reply Show Events Agree Agree x 1 (list)

  5. Post #125
    CapsAdmin's Avatar
    August 2005
    3,950 Posts
    I'm having the same problem I think.


  6. Post #126
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    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:
    Code:
    lua_run PrintTable(joystick.data)
    lua_run PrintTable(jcon.wireModInstances)
    lua_run_cl PrintTable(joynet)
    Thanks!

  7. Post #127
    CapsAdmin's Avatar
    August 2005
    3,950 Posts
    CAF and spacebuild or gcombat was conflicting. It works now.

  8. Post #128
    Gold Member
    CaMpEr_DoOd's Avatar
    December 2006
    4,611 Posts
    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?

  9. Post #129
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    The Wire interface requires the Wire model pack.
    This module is still supported - I will post a remark if otherwise.

  10. Post #130
    fishface60's Avatar
    May 2007
    430 Posts
    I think garry's taking suggestions for the next update, why not suggest he adds your joystick module?
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Dumb Dumb x 2Agree Agree x 2Friendly Friendly x 1 (list)

  11. Post #131
    samohan's Avatar
    January 2009
    26 Posts
    Just wondering CapsAdmin, do you know which one of those it was? I have the same problem, and all of those mods.

  12. Post #132
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    CapsAdmin removed them all at the same time, so he doesn't know which one caused the problem (last time I checked).

  13. Post #133
    samohan's Avatar
    January 2009
    26 Posts
    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.

  14. Post #134
    Da Jester's Avatar
    November 2009
    1,973 Posts
    Can you make it compatible with a tablet?

  15. Post #135
    samohan's Avatar
    January 2009
    26 Posts
    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.

  16. Post #136

    August 2009
    3 Posts
    Hmm, How would I hook it up to one of the prebuild spacebuild flying entities?

  17. Post #137
    nexitem's Avatar
    June 2006
    61 Posts
    Isn't Working anymore! *Cry*

    ( joyconfig : Unknown Command )

  18. Post #138
    Nompl's Avatar
    May 2008
    77 Posts
    It doesn't work because of GCombat. I tried it out, got the same error, deleted GCombat and now it works. Hope I helped.

  19. Post #139
    nexitem's Avatar
    June 2006
    61 Posts
    I do nott have GCombat installed Oo

  20. Post #140
    dracotonisamond's Avatar
    May 2009
    1,091 Posts
    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.

  21. Post #141
    nexitem's Avatar
    June 2006
    61 Posts
    Thanks i try this, ( Removing SBEP is no option... rather kill myself! :D )

  22. Post #142
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    I fixed the problem you're describing last October, just never got around to packaging it.

    I haven't tested it as a release package, but I believe it works fine.
    This is a patch, it must overwrite version 25 to work.

  23. Post #143
    nexitem's Avatar
    June 2006
    61 Posts
    Its still not working... Maybe I'm doing something false...


    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)
    I would like to help a little more... just say what i have to do. ^^

  24. Post #144
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    There is a startup error that you haven't posted. I need to see that.
    You're running a listen server, right?

  25. Post #145
    nexitem's Avatar
    June 2006
    61 Posts
    Nope ive got a Root Server but i cant find the start error.. help?

  26. Post #146
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    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.

  27. Post #147
    DEFCON1's Avatar
    April 2010
    185 Posts
    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 ;)

  28. Post #148
    dracotonisamond's Avatar
    May 2009
    1,091 Posts
    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.
    Reply With Quote Edit / Delete Reply United States Show Events Friendly Friendly x 1 (list)

  29. Post #149
    DEFCON1's Avatar
    April 2010
    185 Posts
    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!

  30. Post #150
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    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.

  31. Post #151
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    New version is out.
    I'm looking to work in tandem with a gamemode developer using JM, so CONTACT ME!!!


  32. Post #152
    Gold Member
    LemONPLaNE's Avatar
    January 2008
    3,612 Posts
    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.


  33. Post #153
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    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
    Code:
    lua_run PrintTable(jcon)
    lua_run_cl PrintTable(joynet)
    lua_run_cl PrintTable(jcon)
    Also with complete disregard for any hint of professionalism:
    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?

  34. Post #154
    Gold Member
    Doctor_Communism's Avatar
    June 2009
    2,141 Posts
    Does this have any compatibility with the Novint Falcon?

  35. Post #155
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    Every DirectInput device is supported. If it shows up in your Game Controllers or Joystick settings in Windows, it is supported.

  36. Post #156
    TastyTerrorist's Avatar
    May 2010
    5 Posts
    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)

  37. Post #157
    The Sparrow's Avatar
    August 2008
    316 Posts
    Fixed problem by spamming gmod folder with joystic dll. now works great. ty mr Eagle Sir
    Reply With Quote Edit / Delete Reply United Arab Emirates Show Events Bad Spelling Bad Spelling x 1 (list)

  38. Post #158
    Gold Member
    Night-Eagle's Avatar
    January 2005
    815 Posts
    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)
    That error is not possible in version 27.
    // lua/entities/gmod_wire_joystick_multi/init.lua Lines 229-231:
    		if not jcon.wireModInstances then
    			jcon.wireModInstances = {}
    		end
    
    Here, jcon.wireModInstances is not being indexed - the indexing occurs on line 232.
    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.

  39. Post #159
    Lancelot's Avatar
    January 2009
    164 Posts
    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.

  40. Post #160
    Gold Member
    viperfan7's Avatar
    November 2007
    3,653 Posts
    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?