Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmsv_workshop_linux.dll - attempt to index global 'steamworks' (a nil value) #8

Open
MrCorn812 opened this issue Nov 24, 2023 · 7 comments

Comments

@MrCorn812
Copy link

MrCorn812 commented Nov 24, 2023

I am running a x32 server and am attempting to use steamworks but am having difficulties with it. I have added it to the correct path and I also went through the troubleshooting steps but have had no luck as of yet.

I was wondering if I was able to get some help with this. I have also sent you an email.

The error.

image

image

@WilliamVenner
Copy link
Owner

  1. Did you put require("workshop") in a serverside file?
  2. Is it being called BEFORE line 144 in sv_workshop.lua?
  3. Did you install the DLL to garrysmod/lua/bin/gmsv_workshop_linux.dll ?
  4. Are there any errors when the DLL is required?

@MrCorn812
Copy link
Author

  1. Yes
  2. Yes
  3. Yesssir
  4. No errors appear when workshop is being required

@MrCorn812
Copy link
Author

Any update regarding this?

@FlorianLeChat
Copy link

I've just tested this on my side just in case function signatures or anything like that have changed with the latest Garry's Mod updates, but everything works fine.

  • Are you using a provider for your server? (If yes, which one? If not, what's your operating system?)
  • Could you show the content of your file to check how the module is loaded?
  • Could you write status in the server console and show what it contains?

@MrCorn812
Copy link
Author

Yeah its weird how its not working for me not sure why, it worked on another dedi we had.

We are just running the server through pterodactyl (Ubuntu 22.04).
.dll location
Our server is on version : 2023.06.28/24 9040 secure (I have tried using older versions of the module)

@FlorianLeChat
Copy link

Weird, there's nothing special. My dedicated server is running under Docker with Debian 12 with the same version as yours. There's either an issue with this Lua file (unless an error also occurs if you run the function with lua_run in the server console, lua_run require("workshop") steamworks.<function>()...) or with the module itself, but only Billy will be able to help you further unfortunately.

@MrCorn812
Copy link
Author

Yeah, I still get an error when I use lua_run, says the same thing. Hopefully we are able to get it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants