ULX

Author Topic: Immunity Not working, assistance would be nice.  (Read 6277 times)

0 Members and 2 Guests are viewing this topic.

Auctionedllama

  • Guest
Immunity Not working, assistance would be nice.
« 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?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity Not working, assistance would be nice.
« Reply #1 on: June 15, 2007, 12:47:31 PM »
Please, please, please read the sticky. We need the information it asks for to help you.
Experiencing God's grace one day at a time.

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #2 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!

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #3 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..

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #4 on: June 15, 2007, 01:13:22 PM »
Im just considering clearing my users list and following that video you posted :D

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity Not working, assistance would be nice.
« Reply #5 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?
Experiencing God's grace one day at a time.

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #6 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.

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #7 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!)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity Not working, assistance would be nice.
« Reply #8 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?
Experiencing God's grace one day at a time.

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #9 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?

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #10 on: June 15, 2007, 01:46:52 PM »
Also, I am in the Gamesurge chat, so maybe you can help me there.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: Immunity Not working, assistance would be nice.
« Reply #11 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.

Auctionedllama

  • Guest
Re: Immunity Not working, assistance would be nice.
« Reply #12 on: June 15, 2007, 02:36:58 PM »
Well, what needs to be changed in my users.txt code to make me immune?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity Not working, assistance would be nice.
« Reply #13 on: June 15, 2007, 02:55:48 PM »
I was trying to talk to you on IRC but you were ignoring me. :)
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Immunity Not working, assistance would be nice.
« Reply #14 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming