• Print

Author Topic: HELP! Having problems with ulx physgunplayer  (Read 5628 times)

0 Members and 1 Guest are viewing this topic.

Offline badboybruno547

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
HELP! Having problems with ulx physgunplayer
« on: August 03, 2009, 08:08:51 am »
I cannot figgure out how to stop an admin from being able to physgun the server admin. i want the feature enabled.... but i only want people to physgun lower ranks than themselves. I have even removed it from the access list and added it to the deny list and still no go. any admin can physgun anyone. please help

Offline badboybruno547

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: HELP! Having problems with ulx physgunplayer
« Reply #1 on: August 03, 2009, 08:14:23 am »
this is the debugdump.txt file
Code: [Select]
ULX version: <SVN> revision 39
ULib version: 2.31
Gamemode: Sandbox
Map: gm_ps_hugeflatconstruct_svn
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
badboybruno547                  STEAM_0:0:22742064 1  n   1188
Callum | AbstractGaming.org     STEAM_0:0:16965252 2  n   1417


ULib.ucl.users (#=3):
rem3mb3r me:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:1:23118700
allow:
callum | abstractgaming.org:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:0:16965252
allow:
1 = ulx hasreadhelp
badboybruno547:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:0:22742064
allow:
1 = immunity
2 = ulx hasreadhelp


ULib.ucl.groups (#=5):
superadmin:
deny:
allow:
1 = ulx hiddenecho
2 = ulx rcon
3 = ulx luarun
4 = ulx cexec
5 = ulx ent
6 = ulx adduser
7 = ulx adduserid
8 = ulx removeuser
9 = ulx userallow
10 = ulx userdeny
11 = ulx addgroup
12 = ulx removegroup
13 = ulx groupallow
14 = ulx groupdeny
15 = overcomeimmunity
inherit_from:
1 = admin
admin:
deny:
1 = ulx physgunplayer
allow:
1 = ulx spawnecho
2 = ulx tsay
3 = ulx csay
4 = ulx gimp
5 = ulx mute
6 = ulx ungimp
7 = ulx unmute
8 = ulx gag
9 = ulx ungag
10 = ulx chattime
11 = ulx welcomemessage
12 = ulx slap
13 = ulx whip
14 = ulx slay
15 = ulx sslay
16 = ulx ignite
17 = ulx unignite
18 = ulx playsound
19 = ulx freeze
20 = ulx unfreeze
21 = ulx god
22 = ulx ungod
23 = ulx noclip
24 = ulx hp
25 = ulx armor
26 = ulx cloak
27 = ulx uncloak
28 = ulx blind
29 = ulx unblind
30 = ulx jail
31 = ulx unjail
32 = ulx ghost
33 = ulx unghost
34 = ulx ragdoll
35 = ulx unragdoll
36 = ulx maul
37 = ulx strip
38 = ulx adminmenu
39 = ulx clientmenu
40 = ulx mapsmenu
41 = ulx showmotd
42 = ulx banmenu
43 = ulx exec
44 = ulx rslotsmode
45 = ulx rslots
46 = ulx rslotsvisible
47 = ulx reservedslots
48 = ulx bring
49 = ulx goto
50 = ulx send
51 = ulx teleport
52 = ulx tooldeny
53 = ulx toolallow
54 = ulx tooldenyuser
55 = ulx toolallowuser
56 = ulx tooldenyoverride
57 = ulx map
58 = ulx kick
59 = ulx ban
60 = ulx banid
61 = ulx unban
62 = ulx spectate
63 = ulx vote
64 = ulx votemap2
65 = ulx votekick
66 = ulx voteban
67 = ulx veto
inherit_from:
1 = operator
user:
deny:
allow:
1 = ulx
2 = ulx help
3 = ulx psay
4 = ulx asay
5 = ulx thetime
6 = ulx menu
7 = ulx_valueupdate
8 = ulx_cvar
9 = ulx_getgamemodes
10 = ulx motd
11 = ulx_getbans
12 = ulx usermanagementhelp
13 = ulx who
14 = ulx votemap
inherit_from:
none:
deny:
allow:
1 = ulx logecho
2 = ulx logfile
3 = ulx logevents
4 = ulx logchat
5 = ulx logspawns
6 = ulx logspawnsecho
7 = ulx logdir
8 = ulx addgimpsay
9 = ulx addadvert
10 = ulx addcsayadvert
11 = ulx addforceddownload
12 = ulx debuginfo
13 = ulx voteecho
14 = ulx votemap2successratio
15 = ulx votemap2minvotes
16 = ulx votekicksuccessratio
17 = ulx votekickminvotes
18 = ulx votebansuccessratio
19 = ulx votebanminvotes
20 = ulx votemapenabled
21 = ulx votemapmintime
22 = ulx votemapwaittime
23 = ulx votemapsuccessratio
24 = ulx votemapminvotes
25 = ulx votemapvetotime
26 = ulx votemapmapmode
27 = ulx votemapaddmap
inherit_from:
operator:
deny:
allow:
1 = ulx seeasay
inherit_from:
1 = user


ULib.ucl.authed (#=3):
Player [2][Callum | AbstractGaming.org]:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:0:16965252
account = callum | abstractgaming.org
allow:
1 = ulx hasreadhelp
uniqueid = 3873079883
Player [NULL]:
deny:
type = steamid
groups:
1 = admin
id = STEAM_0:0:16965252
account = callum | abstractgaming.org
allow:
1 = ulx hasreadhelp
uniqueid = 3873079883
Player [1][badboybruno547]:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:0:22742064
account = badboybruno547
allow:
1 = immunity
2 = ulx hasreadhelp
uniqueid = 378544726


Garrysmod default file (#=2):
admin:
superadmin:
badboybruno547 = STEAM_0:0:22742064


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.85 (June 28th 2009)
AutoPromote              by HOLOGRAPHICpizza, version 1 (1/14/09)
Buoyancy Tool            by RabidToaster, version 1.1 (4th May 2008)
Conna's Tools Pack       by Conna, version 1.3999 ((null))
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
DoorSTool                by High6, version v1.6b (December 19th 2006)
EasyPrecision            by hunter, version 0.9a ((null))
Fin2                     by Q42 + Tad2020, version 1.2999 (lol)
gcombat                  by Q42, version 3 (TOFRIGGINDAY)
gcombat-extended         by MadMoe, Lightdemon, Treelor, Karbine, PaperJack, version 3.1415 (When it's ready.)
Halo Characters mod      by ShoTGuNGuY49 + others, version 1 (2009)
Halo Vehicles            by phpmysql, version 2 ()
hl2_ep2                  by Valve, version 1 (29th October 2007)
Laser STOOL 2            by MadJawa, version 2 (August 1st 2008)
no_collide_multi         by Narkaleptic, version 1.1 (December 19th 2006)
ParentbyNano             by Nanospork (Skyhawk on FP), version 0.55 (30th May 2009)
phoenix-storms           by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, Squad, PelPix, version SVN (20th May 2008)
portal                   by Valve, version 1 (29th October 2007)
Sextender                by Kiporshnikov, version 1.1 (7th July 2008)
smartsnap                by Syranide, version 0.9.5 ()
Smart_Constraint         by Spacetech, version 1.2.2 ()
smart_welding            by Duncan Stead, version 2.0999 (7th August 2007)
Stacker STool            by -, version 2.2 (19th January 2007)
sui_scoreboard_modified_v2 by Suicidal.Banana/BMCha/tascrafts, version ? ()
tf2                      by Valve, version 1 (29th October 2007)
Uclip                    by Megiddo (Team Ulysses), version 1.12 (12/04/07)
ulib                     by Team Ulysses, version 2.3099 (00/00/00)
ulx                      by Team Ulysses, version 3.41 (00/00/00)
Unbreakable              by Chaussetteā„¢, version 1.1 (28th January 2007)
UnoLimited               by Team Ulysses modified Garry's code, version 1.1 (02/10/2009)
UTime                    by Megiddo (Team Ulysses), version 1.2999 (05/16/08)
WeightSTool              by Spoco, version 1.21 ((null))
wire                     by Wire Team, version 0.9.6 (whenever)
wire addons              by Anticept and respective developers, version SVN (3rd June 2008)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)
Youtube Player           by I am McLovin, version 1 ()
zeno_clash               by ACE Team, version 1 (May 8th 2009)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: HELP! Having problems with ulx physgunplayer
« Reply #2 on: August 03, 2009, 09:16:02 am »
For reference, here's the code from ULX allowing player pickup:
Code: Lua
  1. if ent:GetClass() == "player" and ULib.isSandbox() and ULib.ucl.query( ply, "ulx physgunplayer" ) and not ent.NoNoclip and (not ULib.ucl.query( ent, ULib.ACCESS_IMMUNITY ) or ULib.ucl.query( ply, "overcomeimmunity" )) then

Seems like it should be denied from the ULX side to me, could it be another addon, perhaps? If you'd like to make sure it's not ULX, you can remove the following code from the end of addons/ulx/lua/ulx/modules/util.lua:

Code: Lua
  1. --------------------
  2. --     Hooks      --
  3. --------------------
  4. local function playerPickup( ply, ent )
  5.         if ent:GetClass() == "player" and ULib.isSandbox() and ULib.ucl.query( ply, "ulx physgunplayer" ) and not ent.NoNoclip and (not ULib.ucl.query( ent, ULib.ACCESS_IMMUNITY ) or ULib.ucl.query( ply, "overcomeimmunity" )) then
  6.                 ent:SetMoveType( MOVETYPE_NONE ) -- So they don't bounce
  7.                 return true
  8.         end
  9. end
  10. hook.Add( "PhysgunPickup", "ulxPlayerPickup", playerPickup, -5 ) -- Allow admins to move players. Call before the prop protection hook.
  11. ULib.ucl.registerAccess( "ulx physgunplayer", ULib.ACCESS_ADMIN )
  12.  
  13. local function playerDrop( ply, ent )
  14.         if ent:GetClass() == "player" then
  15.                 ent:SetMoveType( MOVETYPE_WALK )
  16.         end
  17. end
  18. hook.Add( "PhysgunDrop", "ulxPlayerDrop", playerDrop )

Let us know either way!
Experiencing God's grace one day at a time.

Offline badboybruno547

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: HELP! Having problems with ulx physgunplayer
« Reply #3 on: August 03, 2009, 10:14:38 am »
ok ill test that and see if that stops the physgun. i would still like to be able to use the function though. any other ideas

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: HELP! Having problems with ulx physgunplayer
« Reply #4 on: August 03, 2009, 10:18:10 am »
At this point, I'd think it's another addon causing the problem. Which means if you can find it, you can still use ULX.
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: HELP! Having problems with ulx physgunplayer
« Reply #5 on: August 03, 2009, 03:01:14 pm »
Old versions of Gcombat have been known to cause this issue.
Search (from the index of our forums) for physgun and/or gcombat.
Several threads exist, one pointing to someone having removed Gcombat and it fixed.
There is supposedly a new version (coming) out that corrects/doesn't have the issue.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline badboybruno547

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: HELP! Having problems with ulx physgunplayer
« Reply #6 on: August 04, 2009, 09:36:46 am »
yer thanks guys.... i downgraded my verson of gcombat to v11. it didnt fix the problem though. i cannot physgun anyone anymore....

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: HELP! Having problems with ulx physgunplayer
« Reply #7 on: August 04, 2009, 10:30:25 am »
Your permissions are setup to not be able to physgun anyone right now (or at least they were when you sent the debug dump)
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: HELP! Having problems with ulx physgunplayer
« Reply #8 on: August 04, 2009, 11:59:39 am »
Ah, I didn't catch that Megiddo.
Bruno,
You deny admin the physgun.
Superadmin inherits admin, therefore denying superadmin physgun.

Either way, once you get that fixed, your immunity should prevent other lower access players from physgunning you.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

  • Print