MattJeanes / Joystick-Module

A joystick module for GMod, originally by NightEagle.
13 stars 14 forks source link

Fixed: Issue #12 #18

Closed dvdvideo1234 closed 4 years ago

MattJeanes commented 4 years ago

Agree with changing comment style to real Lua instead of Garry Lua but unfortunately your AddCSLuaFile call won't do anything as the file location (lua/autorun/client) is automatically sent to client and executed, and this file will not run on server which is where AddCSLuaFile actually does something.

The issue mentioned likely was experiencing a case of TMA (too many add-ons) which causes all sorts of weird issues in gmod but in particular lua file downloads to fail. In a multiplayer scenario the add-on perhaps did not exist on the server but on the client only which would have not loaded

MattJeanes commented 4 years ago

Actually reading that issue a bit closer looks like it was unable to find the module DLL, I will update that issue accordingly but what I said above is also another common reason for the module failing so will leave it there incase it's useful

dvdvideo1234 commented 4 years ago

I think that the new DLL will probably resolve this.