Author Topic: ULX & Simple Prop Protection: "You're not an admin"  (Read 11831 times)

0 Members and 1 Guest are viewing this topic.

Offline Zaitzev

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
ULX & Simple Prop Protection: "You're not an admin"
« on: February 21, 2009, 09:27:58 AM »
I am running a listen server, with a few addons. I have ULX svn, ULib svn, UTime, UccTV and PlayerTitle from Ulysses, and I use Simple Prop Protection.

When I run the game with SPP and -not- any Ulyssesmods, SPP works (I can access and manipulate the admin-settings), but when I put all the ULX-stuff in addons, it says I'm not an admin. I did remove any and all files relating to these addons, then reinstalled them and run the game. The problem still persists.

For good measure, I have added my name and SteamID in two users.txt, residing in /data/ULib and /settings. The SteamID is obviously correct since I do have admin privileges. I thought this might be caused by the late update from Steam, but I can't verify that in any way myself.

Any clarification and explanation as to what I might be doing wrong, is greatly appreciated.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #1 on: February 21, 2009, 11:53:18 AM »
http://forums.ulyssesmod.net/index.php/topic,383.0.html
Some of that you might have tried already.
Try it again in order, and if the steps don't help, the final step helps us.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Zaitzev

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #2 on: February 21, 2009, 01:39:25 PM »
OK, I've done all the steps, doublechecking each and every step. I have also attached the debugdump for you to see through.

Hopefully you might understand better than me what the reason for this brainfart is! :-)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #3 on: February 21, 2009, 02:35:57 PM »
Something happened to your groups file. Delete data/ULib/groups.txt and data/ULib/misc_registered.txt and restart the server.
Experiencing God's grace one day at a time.

Offline Zaitzev

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #4 on: February 21, 2009, 04:14:31 PM »
OK, I deleted those two files. I restarted the game, now the green indication in the scoreboard is turned to blue. It WAS green before I deleted the files. I still can't access the admin-part of SPP. However, I can apparently do other admin-stuff, for example cleanup the server.

I'm not entirely sure what would've gone wrong with those two files by the way, they look pretty much identical now as they were before I deleted them (yes, I like to read through certain settings-files and whatnot).

This confuses me :(

Offline Zaitzev

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #5 on: February 23, 2009, 02:56:54 AM »
Today I've been trying this out a little more. I deleted every single addon, then I started adding stuff one at the time. At this moment I have ULX and ULib installed, nothing more. On the scoreboard, my name is indicated by green color, as it is supposed to do. So, I continued; I added users.txt to data\ULib, and made sure it was identical to the users.txt found in settings\ - this is what i have been told to do, and seemingly it has worked.

When I added the users.txt to the ULib folder, and started the game, my name on the scoreboard was again blue. I did however still have admin privileges (cleanup stuff, I could move world props etc). When deleting the users.txt again, I'm back to green.

Then I added PlayerTitle, UccTV, UClip and UTime. When starting the server, my console was spammed with this:

Code: [Select]
RunConsoleCommand blocked - sent before player spawned (utime_outsidecolor_r)
RunConsoleCommand blocked - sent before player spawned (utime_outsidecolor_g)
RunConsoleCommand blocked - sent before player spawned (utime_outsidecolor_b)
RunConsoleCommand blocked - sent before player spawned (utime_outsidetext_r)
RunConsoleCommand blocked - sent before player spawned (utime_outsidetext_g)
RunConsoleCommand blocked - sent before player spawned (utime_outsidetext_b)
RunConsoleCommand blocked - sent before player spawned (utime_insidecolor_r)
RunConsoleCommand blocked - sent before player spawned (utime_insidecolor_g)
RunConsoleCommand blocked - sent before player spawned (utime_insidecolor_b)
RunConsoleCommand blocked - sent before player spawned (utime_insidetext_r)
RunConsoleCommand blocked - sent before player spawned (utime_insidetext_g)
RunConsoleCommand blocked - sent before player spawned (utime_insidetext_b)
RunConsoleCommand blocked - sent before player spawned (utime_pos_x)
RunConsoleCommand blocked - sent before player spawned (utime_pos_y)
Sending 1214 'User Info' ConVars to server (cl_spewuserinfoconvars to see)
Player has occured
[UCL] Access set.
[UTime]Welcome back Zaitzev, you last played on this server 02/22/09 21:16:53
Warning: Unhandled usermessage 'ulib_sound'
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
--- Missing Vgui material texturemissing
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
Redownloading all lightmaps
This server is running ULib version 2.30.
[ULIB] Loading SHARED module: ulx_init.lua
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
--- Missing Vgui material vgui/..\vgui\icon_con_high
ULX version <SVN> revision 24 loaded.
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun/cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)

this happened before I started doing anything ingame.

So next, I tried UPS (never tried it before, so I gave it a shot). Stuff still works fine <3
Then I removed UPS and put in Simple Prop Protection, and what do you know, all works. The problem I had with SPP earlier was that I couldn't access the admin menu. I can now. However, when I put the users.txt back inside data\ULib\ - with SPP installed, the problem came back.

What I learn from this is that data\ULib\users.txt does no good for any purpose, as far as I can see.

And before you ask: I have the latest version of every addon. SVN where available, downloaded zip for everything else.

One more thing, somewhat unrelated: Does having both Simple Prop Protection and UPS installed work, or will it cause problems?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #6 on: February 23, 2009, 06:26:06 AM »
I would not recommend installing UPS and SPP together. As far as UTime, looks like garry broke the initial setup...
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: ULX & Simple Prop Protection: "You're not an admin"
« Reply #7 on: February 23, 2009, 02:23:17 PM »
So, I continued; I added users.txt to data\ULib, and made sure it was identical to the users.txt found in settings\ - this is what i have been told to do, and seemingly it has worked.

When I added the users.txt to the ULib folder, and started the game, my name on the scoreboard was again blue. I did however still have admin privileges (cleanup stuff, I could move world props etc). When deleting the users.txt again, I'm back to green.s?

An FYI to you and all - the /data/ULib/users.txt is not the same as that of Gmod default /settings/users.txt
ULib's allows for much more functionality, and contains several tables by default that aren't included in Garry's.

Don't copy the /settings one into /data/ULib.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline bph192

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • World Of Nukes
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #8 on: February 23, 2009, 02:24:37 PM »
i have SPP and utime on my server and they both work perfect

as well as ulx and uteam

Offline Black_Knight

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #9 on: February 26, 2009, 04:26:04 AM »
I am having the exact same problem, I use uTeam, uClip, and SSP with ULX.
I edited groups.txt since that is the issue, could someone please tell me where I went wrong?
Also, Is Operators, Users nessasary because I will never use it, just superadmin, admin, respected and none.

Code: [Select]
{
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx codes"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulx codes"
}
"inherit_from"
{
"operator"
}

}
"respected"
{
"deny"
{
}
"allow"
{

"ulx codes"
}
"inherit_from"
{
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx codes"
}
"inherit_from"
{
}

}
"operator"
{
"deny"
{
}
"allow"
{
"ulx codes"
}
"inherit_from"
{
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx codes"
}
"inherit_from"
{
}
}
Thanks in advance for any help!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #10 on: February 27, 2009, 05:07:21 PM »
What on earth is ulx codes? Delete your groups.txt file and misc_registered.txt and restart the server.
Experiencing God's grace one day at a time.

Offline Black_Knight

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #11 on: February 27, 2009, 06:05:54 PM »
That fixed it, but now when I add new groups and specify allowed commands, respected still have no access to !client menu, I added "ulx" "ulx menu" "ulx clientmenu" and other privileges which i won't list, but they still aren't working.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX & Simple Prop Protection: "You're not an admin"
« Reply #12 on: February 27, 2009, 07:53:42 PM »
I thought ulx codes was his way of short hand just for the post.
Ouch.
Black_Knight, giving a group access to a menu doesn't mean they have access to all the commands in the menu.
If you give someone access to client menu, you also have to give them access to all the commands within it.
"ulx slay" "ulx god" "ulx kick", etc.

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