Author Topic: ULX Menu Commands Don't Work  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Offline FadeTheLil

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ULX Menu Commands Don't Work
« on: July 22, 2018, 12:17:46 PM »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.

My ULib/ULX versions (run "ulx version" in console):
ULib v2.63
ULX v3.73

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

Lua errors shown in console, if any:
Code: [Select]
<[ERROR] addons/ulx/lua/ulx/xgui/server/sv_bans.lua:186: bad argument #1 to 'lower' (string expected, got nil)

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

I had tried to reinstall ULX and ULib by deleting the addons and data for it, and even after a fresh reinstall it still does not work.

My issue is the fact that when I try to use a command in the menu, I don't get an error, but the menu commands 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.

I can use the chat commands, but this is breaking my server because I rely on Auto Promote to give the VIP rank to players after 24 hours, but it can't do that because whenever it tries to ULX wont work for that.

Also another note,

when I try to change any server settings (which I cant btw)
it says this

"Invalid Arguments()"

it also says that everytime a player joins.
« Last Edit: July 22, 2018, 01:03:39 PM by FadeTheLil »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Menu Commands Don't Work
« Reply #1 on: July 22, 2018, 03:52:09 PM »
Difficult to tell exactly what's going on.

That error, could be indication of a corrupted bans.txt file.
Shut down server -
Back up to somewhere else the /data/bans.txt file.
Delete the /data/bans.txt
Restart server.

If not fixed,
My guess is you have a broken/or worse, exploited, addon that is affecting ULX.
It may even be trying to intercept ULX command calls that would make ULX act like this.

Did you add new addons and this started?
Did a steam workshop addon update and this start?

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline FadeTheLil

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ULX Menu Commands Don't Work
« Reply #2 on: July 22, 2018, 04:46:14 PM »
Well yes of course I added new addons my community needs the updates I bring, casino machines, etc.

I now know for a fact its an addon conflict with ULX because I already did what you told me to do, and every other thing i could do

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Menu Commands Don't Work
« Reply #3 on: July 22, 2018, 06:35:14 PM »
I now know for a fact its an addon conflict with ULX

Then you have a broken or exploited addon - find and remove it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming