Author Topic: URM not showing up in ULX  (Read 409 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr Death

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
URM not showing up in ULX
« on: November 20, 2016, 05:12:56 PM »
My ULib/ULX versions (run "ulx version" in console):

 - ULib v2.61d (10/26/16)
 - ULX v3.71d (11/12/16)


Game mode(s) I am having this problem on:
 - Sandbox

To start off, the problem i'm having is that even though i install everything properly, ULib, ULX and another addon called URM, the URM does not show up in the ulx menu.
 This has also happened with URS, showing me the same problem.

I haven't found this problem anywhere else, except from the other way around, where the URM addon was causing problems for the ULX menu, such as bans.

I have no idea why this is happening, and i have made sure that every addon except those 3 was uninstalled / removed.

(I'm not getting any lua errors.)

Here are some screenshots..

- The ULX menu without the URM showing up: http://i.imgur.com/aRQ9fEi.png

- The addons list: http://i.imgur.com/jvlVb18.png

I've tried everything and i'm looking for help..

 - In-case this topic has already been discussed, please tell me where i can find a solution.

Thank you for reading.

(If i've said anything that has an obvious solution, sorry, i'm kinda new to this :s)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6154
  • Karma: 387
  • Project Lead
    • View Profile
Re: URM not showing up in ULX
« Reply #1 on: November 20, 2016, 05:38:00 PM »
The most likely cause is that URM / URS is not installed correctly. Make sure that in the addons/urm folder, you have lua/. Sometimes people accidentally go an extra folder too deep.
Experiencing God's grace one day at a time.

Offline Mr Death

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: URM not showing up in ULX
« Reply #2 on: November 20, 2016, 05:54:13 PM »
I'm pretty sure I haven't gone a folder too deep.

A screenshot of the addon: http://i.imgur.com/aTw9FBt.png

A screenshot from inside the addon: http://i.imgur.com/NV2MgAR.png


Offline iViscosity

  • Hero Member
  • *****
  • Posts: 608
  • Karma: 25
    • View Profile
    • iViscosity Gaming
Re: URM not showing up in ULX
« Reply #3 on: November 20, 2016, 08:28:07 PM »
Just ran it on a singleplayer game, and I'm getting this error
Code: [Select]
[ERROR] addons/urm-master/lua/ulx/xgui/settings/cl_xgui.lua:29: attempt to index a nil value
  1. unknown - addons/urm-master/lua/ulx/xgui/settings/cl_xgui.lua:29
   2. include - [C]:-1
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:147
     4. Call - addons/ulib/lua/ulib/shared/hook.lua:110
      5. fn - addons/ulib/lua/ulib/cl_init.lua:49
       6. unknown - addons/ulib/lua/ulib/shared/hook.lua:110
so something in the code is wrong. Keep in mind this was updated about 3 months ago, so some things might be out of date.




Edit: Note sure how much it will change, but I took out the following lines and it's working just fine for me:


Code: Lua
  1. urm.tools = table.GetKeys(weapons.GetStored( 'gmod_tool' ).Tool)
(line 29 for me)


Changed
Code: Lua
  1. for k,v in pairs(urm.loaded) do
to
Code: Lua
  1. for k,v in pairs(urm.load_list) do


Works just fine for me, not sure if/what would be broken or not working from this, but it works.


Edit2: Seems the 'tools' drop-down just doesn't work any more from this. Everything else seems to work fine.
« Last Edit: November 20, 2016, 08:35:53 PM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.

Offline Mr Death

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: URM not showing up in ULX
« Reply #4 on: November 21, 2016, 06:33:43 AM »
I have done those things you mentioned now, and it still doesn't show up :s

Offline iViscosity

  • Hero Member
  • *****
  • Posts: 608
  • Karma: 25
    • View Profile
    • iViscosity Gaming
Re: URM not showing up in ULX
« Reply #5 on: November 21, 2016, 06:51:35 AM »
I have done those things you mentioned now, and it still doesn't show up :s
Restart the server, then check the server logs and see if any errors are thrown there. If they are, check there. Also it may help to reinstall the addon and then change those lines I said previously. 

Sent using Tapatalk. Owner of iViscosity Gaming.

I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.

Offline Mr Death

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: URM not showing up in ULX
« Reply #6 on: November 21, 2016, 07:23:18 AM »
... Well xD

I managed to find out why. After several failures, i thought to myself.. ''Why would the urm addon have capital letters when the rest of the addons are not?''

To my surprise, after renaming the addon to urm-master instead of URM-master, and restarting the server, everything worked completely fine.

It was right in front of me all along .-.

Thanks for the help anyways :D

Note: I discovered that my server is run on linux, hence me needing to change it to lowercase letters
« Last Edit: November 21, 2016, 07:30:23 AM by Mr Death »

Offline iViscosity

  • Hero Member
  • *****
  • Posts: 608
  • Karma: 25
    • View Profile
    • iViscosity Gaming
Re: URM not showing up in ULX
« Reply #7 on: November 21, 2016, 07:24:18 AM »
That shouldn't affect anything, though. Oh well, I guess if it works it works.

Sent using Tapatalk. Owner of iViscosity Gaming.

I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.

Online Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 720
  • Karma: 112
  • :)
    • View Profile
    • My Homepage
Re: URM not showing up in ULX
« Reply #8 on: November 21, 2016, 08:17:23 PM »
That shouldn't affect anything, though. Oh well, I guess if it works it works.

Sent using Tapatalk. Owner of iViscosity Gaming.


On ext* filesystems (at the very least), the most common filesystem used in Linux, file and directory names are case-sensitive. However, Garry's Mod doesn't take that into account, and tries to access directories and files with all lowercase names, which Linux would then report as nonexistent. This has been a known bug for a while, and I'm honestly surprised Facepunch hasn't taken any measures to fix it.
bw81@ulysses-forums ~ % whoami
Homepage

I have 10 more Keybase invites! PM me for more information or to request one!
An easy intro to PGP and public-key cryptography

Offline iViscosity

  • Hero Member
  • *****
  • Posts: 608
  • Karma: 25
    • View Profile
    • iViscosity Gaming
Re: URM not showing up in ULX
« Reply #9 on: November 22, 2016, 03:06:20 AM »
On ext* filesystems (at the very least), the most common filesystem used in Linux, file and directory names are case-sensitive. However, Garry's Mod doesn't take that into account, and tries to access directories and files with all lowercase names, which Linux would then report as nonexistent. This has been a known bug for a while, and I'm honestly surprised Facepunch hasn't taken any measures to fix it.
Ah ok. My server runs on windows so I've never had that problem lol

Sent using Tapatalk. Owner of iViscosity Gaming.

I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.