-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Hello. I'm sorry, but I must be missing something. I copied the entire contents of the includes folder from the repository into my game's garrysmod/lua/includes/
. Files such as garrysmod/lua/includes/modules/socket.lua
are present and have content. I've also downloaded all of the socket DLL files for Linux, my environment, into garrysmod/lua/bin/, with their original names. When I use require("socket")
in my addon, though:
if SERVER then
...
local socket = require("socket")
...
I still get an error:
[troughcam_discord] Couldn't include file 'includes/modules/socket.core.lua' - File not found or is empty (@lua/includes/modules/socket.lua (line 12))
1. unknown - lua/includes/modules/socket.lua:12
2. require - [C]:-1
3. unknown - addons/troughcam_discord/lua/autorun/troughcam_discord.lua:8
[troughcam_discord] lua/includes/modules/socket.lua:12: Module not found!
1. require - [C]:-1
2. unknown - lua/includes/modules/socket.lua:12
3. require - [C]:-1
4. unknown - addons/troughcam_discord/lua/autorun/troughcam_discord.lua:8
[troughcam_discord] addons/troughcam_discord/lua/autorun/troughcam_discord.lua:8: Module not found!
1. require - [C]:-1
2. unknown - addons/troughcam_discord/lua/autorun/troughcam_discord.lua:8
I've triple-checked my installation and the instructions, but the only thing I can think is that I must be missing something.