Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: BLEEP_BLOOP on July 06, 2016, 08:21:03 PM

Title: ULX Not Working For Linux
Post by: BLEEP_BLOOP on July 06, 2016, 08:21:03 PM
I recently installed ULX/ULib from the latest releases section on the downloads page. I extracted both addons and put them both in the addons folder. When I tested my server on a Windows machine, it worked just fine. But, when I put it on Linux (Ubuntu), no commands worked, the menu wouldn't open, and my HUD was glitching out. When I removed ULX and ULib, the HUD worked just fine. I have never had a problem with ULX before on a Windows machine.
Title: Re: ULX Not Working For Linux
Post by: Stickly Man! on July 07, 2016, 12:02:51 AM
Were you getting any errors in your server or client console? I know Megiddo just tested the latest (Github) ULX/ULib on Ubuntu last week and it was working fine, but that was before the latest Gmod update was released.
Title: Re: ULX Not Working For Linux
Post by: BLEEP_BLOOP on July 07, 2016, 12:07:43 AM
I wasn't getting any errors related to ULX in the server or the client. But, the HUD was glitching out which spammed the client's console. It said that floor expected a number, but got nil. I don't have the actual error because I don't have access to my other computer.
Title: Re: ULX Not Working For Linux
Post by: roastchicken on July 07, 2016, 05:11:26 AM
Could you try to get the specific error? It would help greatly.

What folders are ULX and ULib in? Linux, unlike Windows, has a case-sensitive file system, so that may be causing some issues.

I can confirm that the latest (Git) versions of ULX and ULib work with the latest version of Garry's Mod on a Linux (Ubuntu) server.
Title: Re: ULX Not Working For Linux
Post by: Megiddo on July 07, 2016, 02:02:34 PM
I also just confirmed that the latest GMod works on Ubuntu. Please share the error you are getting.
Title: Re: ULX Not Working For Linux
Post by: BLEEP_BLOOP on July 07, 2016, 06:47:04 PM
It turns out Linux hates capital letters. :P I renamed the folders to be lowercase. When downloading ULib, the folder name is capitalized.
Title: Re: ULX Not Working For Linux
Post by: Bytewave on July 07, 2016, 06:54:16 PM
It turns out Linux hates capital letters. :P I renamed the folders to be lowercase. When downloading ULib, the folder name is capitalized.
ext* filesystems are case-sensitive. Garry's Mod (for whatever reason) doesn't respect case, even though NTFS stores case data.
10/10
Title: Re: ULX Not Working For Linux
Post by: MrPresident on July 07, 2016, 11:52:01 PM
I just confirmed that the folder structure in our official downloads as well as the git repositories are all lower case specifically for this reason. When you downloaded it, you might have saved it to a folder with an upper case letter? Either way, glad you got it working.
Title: Re: ULX Not Working For Linux
Post by: BLEEP_BLOOP on July 07, 2016, 11:56:10 PM
When downloading ULib from the latest releases section on the downloads page, it downloads with the U and the L uppercase. That's what was causing my problem.

EDIT:

Screenshot: https://www.dropbox.com/s/uscj69wll4eyhyj/Screenshot%202016-07-07%2023.57.37.png?dl=0
Title: Re: ULX Not Working For Linux
Post by: roastchicken on July 08, 2016, 04:34:15 AM
Ah, that explains it.

It might be a good idea to compress the ulib folder itself and not just its contents.
Title: Re: ULX Not Working For Linux
Post by: MrPresident on July 08, 2016, 10:26:04 AM
Ahh.. you're supposed to extract the contents into a new folder, not the one the zip is named.
Compressing the ulx/ulib folders led to people having 1 folder too deep and wondering why it wasn't working.

Maybe it would be worth renaming the zip files on our downloads page to prevent this from happening again.
Title: Re: ULX Not Working For Linux
Post by: Megiddo on July 09, 2016, 07:18:59 AM
Renamed the zips