Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Sickofguessing on August 06, 2012, 04:00:29 PM
-
I am an admin on a TTT server with ULX installed and what not for admin tools.
I am quite fair in admin'ing and such but there is one issue I cant get round.
typically ulx ban(and banid) Which I cant get the correct syntax to initiate a ban.
I always mess up and get "string #2 is invalid" or somthing along the lines of that.
If I had to guess I usually do;
ulx banid Steam_0:0:00000 1d(or even 5000) Reason
That never works for me although if I not add a time and perma ban the user that works.
I know ulx banid <steamid> [<minutes, 0 for perma: 0<=x, default 0>] [{reason}]
is the example syntax but I just cant get my head round it.
Asking for help from other admins is like straining blood from a stone and there are no examples on the internet I have found.
Can someone here try and teach me how to figure it out? Its kind of embarrassing not to be able to use it.
-
Can you show us the console log from you trying to ban someone, including the exact format you're using?
Otherwise the format is just saying "ulx banid", followed by the steamid (no spaces here), followed by the minutes/time string (no spaces here either), followed by the reason.
-
------------------------------------------------------------------
ulx banid STEAM_0:0:22253831 60 Testing
Command "ulx banid", argument #2: invalid string
------------------------------------------------------------------
That is what I would assume would work.
Thats my own steam ID.
-
Try quotes around steamid.
If that fixes, input of the colons is breaking the string, much like a semi-colon breaks a command into separate commands at console.
-
Odd, just tried it in my server console:
ulx banid STEAM_0:0:22253831 60 Testing
(Console) banned steamid STEAM_0:0:22253831 for 60 minute(s) (Testing)
.. Then tried it in my in-game console:
] ulx banid STEAM_0:0:22253831 60 Testing
You banned steamid STEAM_0:0:22253831 for 60 minute(s) (Testing)
.. And it works fine. D:
My guess is you may be running into an issue with restrictions set on the ulx ban / ulx banid commands. What does your client console say when you enter these commands?:
lua_run_cl print( ULib.ucl.groups.superadmin.allow["ulx ban"] )
lua_run_cl print( ULib.ucl.groups.superadmin.allow["ulx banid"] )
(Be sure to replace superadmin with whichever group you're in)
-
I ran those commands and replaced the superadmin with my rank and it displayed nothing. Didnt show any errors.
I would be inclined to ask the owners but they never respond to anything I ask so I give up on that route of trying to fix it.
I also tried putting the steam ID with "" and it came up with the same error.
-
SickofGuessing,
Are you sure the server owners are running latest ULX code base?
Seems I remember a similar error way back near when banid was added.
-
I ran those commands and replaced the superadmin with my rank and it displayed nothing. Didnt show any errors.
Did you run the commands on the server or client console? I wrote the commands to be run on the client, but if you run it on the server you should change the command to 'lua_run' instead. Otherwise, the output of that command should either be a lua error, nil, or something useful. It shouldn't be absolutely nothing lol
-
Did you run the commands on the server or client console? I wrote the commands to be run on the client, but if you run it on the server you should change the command to 'lua_run' instead. Otherwise, the output of that command should either be a lua error, nil, or something useful. It shouldn't be absolutely nothing lol
Client I dont have access to server console
Also the version is ULX 3.54 and just now I found out the @ message system is broken too...doubt anyone is going to fix it either.