Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Auctionedllama on June 15, 2007, 12:43:29 PM

Title: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 12:43:29 PM
Ok, anyways, finally got admin linking working, so I decided to switch from the garrysmod/settings/users.txt to the ulib version. Ulib is a tad more complicated, but I wanted to be immune to other admins (meaning they cant grab me, slap me, etc,). Anyways, I tried doing that, it failed, and I have no idea what is wrong, Heres me code:
Code: [Select]
"<Auctionedllama>"
{
"id" "STEAM_0:0:11583102"
"type" "steamid"
"pass" """
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
}
"deny"
{
}
}

I also have other people added in there, and they don't appear as admins, so it has me worried, but I do? (also, I did delete all of the stuff in the first users.txt [gmod/settings/users.tx] <--- deleted)
Help would be great to know what I am doing?
Title: Re: Immunity Not working, assistance would be nice.
Post by: Megiddo on June 15, 2007, 12:47:31 PM
Please, please, please read the sticky. We need the information it asks for to help you.
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 12:52:18 PM
Ok, im doing that code stuff now, I have the newest version of ULIB, ULX, and UTEAM. I am running a dedicated server, and im doing that console code now, hang on!
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 01:07:37 PM
Ok, I got the code, the first one Status=
Code: [Select]
hostname:  Llama's Serious Build|No Minges|PHX|Wire SVN|Smart Weld|Etc!
version : 1.0.0.0/7 3137 secure
udp/ip  :  192.168.1.2:27015
map     :  waterworld at: 0 x, 0 y, 0 z
players :  3 (8 max)

# userid name uniqueid connected ping loss state
#  3 "M? MÂ?I? MÂ? [FMR]" STEAM_0:0:14178386 26:39 107 0 active
#  7 "randomscripter" STEAM_0:1:14333350 07:16 132 0 active
#  8 "Auctionedllama" STEAM_0:0:11583102 05:31 42 0 active

The second line of code gave me this:
Code: [Select]
> PrintTable( ULib.ucl )...
initClient = function: 0255F728
passTimeout = function: 0255F6C8
checkPass = function: 0255F698
checkAuth = function: 0255F6B0
callbacks:
1 = function: 0255F728
2 = function: 0254DB48
3 = function: 0255B120
addGroup = function: 0255F638
addUser = function: 0255F650
awaitingauth:
addAccessCallback = function: 0255F470
authed:
Player [2][randomscripter]:
deny:
type = steamid
groups:
1 = admin
account = randomscripter
id = STEAM_0:1:14333350
allow:
uniqueid = 3773964573
Player [3][Auctionedllama]:
deny:
type = steamid
groups:
1 = superadmin
account = auctionedllama
id = STEAM_0:0:11583102
allow:
uniqueid = 3659313392
Player [NULL]:
deny:
type = steamid
groups:
1 = admin
account = randomscripter
id = STEAM_0:1:14333350
allow:
uniqueid = 3773964573
users:
garry:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:1:7099
pass =
allow:
warmaster6:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:0:5608084
pass =
allow:
auctionedllama:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:0:11583102
pass =
allow:
user2:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:8001337
pass =
allow:
randomscripter:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:1:14333350
pass =
allow:
query = function: 0255F428
removeUser = function: 0255F668
probe = function: 0255F680
groups:
admin:
allow:
deny:
superadmin:
allow:
deny:
callCallbacks = function: 0255F458

The third line of code gave me this:
Code: [Select]
> PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )...
and thats it..
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 01:13:22 PM
Im just considering clearing my users list and following that video you posted :D
Title: Re: Immunity Not working, assistance would be nice.
Post by: Megiddo on June 15, 2007, 01:14:26 PM
Thank goodness we finally have someone who can follow directions...

Can you show us your full garrysmod/data/ULib/users.txt file?

Also, you didn't delete your settings/users.txt file right, you just removed relevant data?

Last, are there any errors in the console while ULib is loading or when you join?
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 01:22:21 PM
OK, here is my full users code
Code: [Select]
"Out"
{
"<Auctionedllama>"
{
"id" "STEAM_0:0:11583102"
"type" "steamid"
"pass" """
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
}
"deny"
{
}
}
"Warmaster6"
{
"id" "STEAM_0:0:5608084"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
}
"randomscripter"
{
"id" "STEAM_0:1:14333350"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
}

No, I didn't delete the users.text in the /settings folder, I just cleared the whole thing and left it blank. And, I get this error spammed like a thousand times in my console (not sure if its ULX or not) and then this is on startup:
Code: [Select]
Timer Error: ULib/server/ucl.lua:601: attempt to index field '?' (a nil value) I get it twice.
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 01:27:10 PM

. And, I get this error spammed like a thousand times in my console (not sure if its ULX or not) (that error was this:ERROR! Compare number with nil!)
Title: Re: Immunity Not working, assistance would be nice.
Post by: Megiddo on June 15, 2007, 01:28:09 PM
You have changed levels since you modified the file, right? I don't see any reason why it wouldn't work.

That timer error's completely unrelated.

For your other error, does it give a file/line number?
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 01:36:22 PM
Yes, the servers was down, and I reset it, but I didn't change any files lol. And the one with the ERROR nil thing, no, it just spams that every minute about 50-60 times in dedicated server console. *sigh*. Also when it says immunity for superadmins, that means lower admins cant mess with them right? Like slap them, jail them, throw them around?
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 01:46:52 PM
Also, I am in the Gamesurge chat, so maybe you can help me there.
Title: Re: Immunity Not working, assistance would be nice.
Post by: atomicspark on June 15, 2007, 01:52:13 PM
Yes, the servers was down, and I reset it, but I didn't change any files lol. And the one with the ERROR nil thing, no, it just spams that every minute about 50-60 times in dedicated server console. *sigh*. Also when it says immunity for superadmins, that means lower admins cant mess with them right? Like slap them, jail them, throw them around?

Yes.
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 02:36:58 PM
Well, what needs to be changed in my users.txt code to make me immune?
Title: Re: Immunity Not working, assistance would be nice.
Post by: Megiddo on June 15, 2007, 02:55:48 PM
I was trying to talk to you on IRC but you were ignoring me. :)
Title: Re: Immunity Not working, assistance would be nice.
Post by: JamminR on June 15, 2007, 03:36:19 PM
OK, here is my full users code
Code: [Select]
"Out"
{
"<Auctionedllama>"
{
"id" "STEAM_0:0:11583102"
"type" "steamid"
"pass" """
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
}
"deny"
{
}
}
"Warmaster6"
{
"id" "STEAM_0:0:5608084"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
}
"randomscripter"
{
"id" "STEAM_0:1:14333350"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
}

Hi LLama. Welcome to Ulysses forums.
Ok. some possibilities. This is just random observation. Personally, I'm not sure why some of my reasons would still allow you/other users to have access.

First - Unless you just missed copying and pasting it correctly, I believe your missing one final bracket } that closes the "Out" table that contains all the users. It would be one extra at the end of all that text in your users.txt

Second - You have a triple quote " in your password field. "pass" """ <---- three quotes.
Though your pass_req variable is 0, perhaps this is just doing something odd.

Third - (most doubtful, ULX is character friendly as possible) - Tried changing your name in your users.txt file to NOT include < and > ?
Ok, my three strikes for now.
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 05:25:07 PM
Here is my new Users.txt

Code: [Select]
"Out"
{
"Auctionedllama"
{
"id" "STEAM_0:0:11583102"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
}
"deny"
{
}
}
"Warmaster6"
{
"id" "STEAM_0:0:5608084"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
}
"randomscripter"
{
"id" "STEAM_0:1:14333350"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
""M? MÂ?I? MÂ? [FMR]"
{
"id" "EAM_0:0:14178386"
"type" "steamid"
"pass" ""
"pass_req" "0"
"groups"
{
"1" "superadmin"
"2" "immunity"
}
"allow"
{
"1" "ulx kick"
"2" "ulx ban"
}
"deny"
{
"1" "ulx cexec"
}
}
}
Title: Re: Immunity Not working, assistance would be nice.
Post by: Auctionedllama on June 15, 2007, 05:32:03 PM
Lua run code results:
Code: [Select]
> PrintTable( ULib.ucl )...
initClient = function: 0255F7A0
passTimeout = function: 0255F740
checkPass = function: 0255F710
checkAuth = function: 0255F728
callbacks:
1 = function: 0255F7A0
2 = function: 025486A0
3 = function: 0255B1F8
addGroup = function: 0255F6B0
addUser = function: 0255F6C8
awaitingauth:
addAccessCallback = function: 0255F4E8
authed:
users:
garry:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:1:7099
pass =
allow:
m? mÂ?i? mÂ? [fmr]:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:0:14178386
pass =
allow:
warmaster6:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:0:5608084
pass =
allow:
auctionedllama:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:0:11583102
pass =
allow:
user2:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:8001337
pass =
allow:
randomscripter:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:1:14333350
pass =
allow:
query = function: 0255F4A0
removeUser = function: 0255F6E0
probe = function: 0255F6F8
groups:
admin:
allow:
deny:
superadmin:
allow:
deny:
callCallbacks = function: 0255F4D0
Title: Re: Immunity Not working, assistance would be nice.
Post by: spbogie on June 15, 2007, 08:24:55 PM
you'r missing a } after randomscripter's entry, and you have 2 "s at the start of Mr Mario Man's.