ulx icon indicating copy to clipboard operation
ulx copied to clipboard

ULX Menu Commands Not Working

Open FadeTheLil opened this issue 6 years ago • 17 comments

Steps to reproduce

  1. install ULX
  2. Log into server
  3. Use menu commands

Expected behavior

Tell us what should happen

When I use the commands in the ULX Menu, they should work normally, example. !jail should jail the player, and I should be able to do this from the menu, not using the !jail text command.

Actual behavior

Tell us what happens instead

When I try to use a command in the menu, I don't get an error, but the menu command doesn't work and all that it does is print the usage of the command in chat. For example, I go to "Fun" and use a command, instead of actually working, it just prints the usage and the command in chat. It never did this before.

Error(s) in server console, if any

[ERROR] addons/ulx/lua/ulx/xgui/server/sv_bans.lua:186: bad argument #1 to 'lower' (string expected, got nil)

  1. lower - [C]:-1
  2. unknown - addons/ulx/lua/ulx/xgui/server/sv_bans.lua:186 3. unknown - addons/ulx/lua/ulx/modules/xgui_server.lua:72 4. unknown - lua/includes/modules/concommand.lua:54

(even deleted this file "sv_bans.lua) and didnt get the error anymore, but the commands still didn't work, which leads me to think its an addon conflict

Error(s) in player's console, if any

None, nothing pops up here.

Version

Run "ulx version" in console and paste the result

ULib v2.63 ULX v3.73

(I've tried reinstalling as well, no luck) (and I also 100% reintalled it, deleted data, etc)

FadeTheLil avatar Jul 22 '18 19:07 FadeTheLil

I have also recently begun encountering this issue, no idea what the issue is.

jellyton255 avatar Sep 03 '18 00:09 jellyton255

Have you tried a clean reinstall of ULX & ULib by deleting the data folders etc?

Aholicknight avatar Sep 27 '18 15:09 Aholicknight

Have you tried a clean reinstall of ULX & ULib by deleting the data folders etc?

... He said it.

mark27205 avatar Jan 01 '19 03:01 mark27205

Alright I fixed it a long time ago, it was an addon causing the issue

jellyton255 avatar Jan 08 '19 04:01 jellyton255

Which addon, @jellyton69?

Nayruden avatar Jan 08 '19 15:01 Nayruden

I have been getting the same problem and I did do a fresh server reinstall and still won't work.

WilliamCTurner avatar Apr 15 '19 13:04 WilliamCTurner

@jellyton69 If this issue is fixed can you close it? Thanks.

Aholicknight avatar Apr 17 '19 16:04 Aholicknight

While the primary issue can be caused by other addons or bad data, XGUI should handle it gracefully. I'll see what I can do about working around it when I get a chance.

SticklyMan avatar Apr 17 '19 21:04 SticklyMan

On my server I had to reinstall the whole server with new gmod server files and it still won’t work.

WilliamCTurner avatar Apr 18 '19 10:04 WilliamCTurner

[ULX] lua/ulx/xgui/server/sv_bans.lua:186: bad argument #1 to 'lower' (string expected, got nil)

  1. lower - [C]:-1
  2. unknown - lua/ulx/xgui/server/sv_bans.lua:186 3. unknown - lua/ulx/modules/xgui_server.lua:72 4. unknown - lua/includes/modules/concommand.lua:54

WilliamCTurner avatar Apr 18 '19 10:04 WilliamCTurner

Also when I try to use the menu for commands it only shows a usage in chat

WilliamCTurner avatar Apr 18 '19 10:04 WilliamCTurner

I am having the same issue on Enhanced Prop Hunt version K. I have installed, reinstalled, uninstalled many times and I am still unable to use the command "Mute" or "gimp". Muting does show command usage, but does not actually mute the player. Gimp doesn't replace their text under the predetermined array of text.

NubileEye avatar Jul 30 '19 19:07 NubileEye

I have managed to self RESOLVE my own issue. The issue was a shitty lua autorun I got from steam workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=297111172 | After removing this addon from my server, it started working again. Sorry for causing a false alarm. ULX and Ulib are essential, fundamental programs that vastly improve the servers they are implemented on. Thank you so much.

NubileEye avatar Aug 21 '19 04:08 NubileEye

@FadeTheLil is this issue resolved?

Aholicknight avatar Aug 26 '19 02:08 Aholicknight

Bonjour j'ai un probléme avec mes groupe un superadmin a enlever tout les perm dans les groupe si quelqu'un sais comment je pourrais rénisialiser le menu ulx merci de bien vouloir de me répondre. (désoler pour mes fautes)

aezlfzmd avatar Nov 16 '20 04:11 aezlfzmd

English translation: Hello I have a problem with my groups a superadmin to remove all the perms in the groups if anyone knows how I could renisialize the ulx menu please answer me. (sorry for my mistakes)

Aholicknight avatar Nov 16 '20 16:11 Aholicknight

j'ai fait pas mal de d'erreur mais j'étais fatigué se soir la si vous avez si il y a une commande qui permet de renisialiser le menu ulx merci de bien vouloir me répondre

aezlfzmd avatar Nov 17 '20 17:11 aezlfzmd