Poll

Do You Like The New GUI Better?

Yes, Much Better!
71 (59.7%)
Yeah
22 (18.5%)
I Don't Care, I Use The Console
14 (11.8%)
No
4 (3.4%)
I Prefer The Old GUI
8 (6.7%)

Total Members Voted: 116

Author Topic: URestrict [Depreciated-author no longer supports]  (Read 484027 times)

0 Members and 6 Guests are viewing this topic.

Offline Drakehawke

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • Serious Roleplaying Hell
Re: URestrict
« Reply #375 on: August 31, 2009, 11:19:55 PM »
Okay. (*regardless) (:

Offline Drakehawke

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • Serious Roleplaying Hell
Re: URestrict
« Reply #376 on: September 01, 2009, 01:05:12 AM »
Few more bugs:
-In the loadouts tab, if you add lots of weapons to a loadout, a scrollbar is created. The scrollbar is only half visible, as if it didnt fit in the GUI properly.

-Tools are not restricted in DarkRP.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #377 on: September 01, 2009, 04:59:48 AM »
Revision 14:
*Fixed GUI Elements so that they are no longer flowing off of the edge.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #378 on: September 02, 2009, 05:01:34 PM »
umm so when i type "urestrict" in the console, it says 'Warning: Unhandled usermessage "Urestrict"' And nothing happens.  ???

Edit:
Oh, and it takes away all the guns and noone gets a physgun. The restricted menu under tools doesn't work either.
« Last Edit: September 02, 2009, 05:20:32 PM by EggNoggin »

Offline newbee

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: URestrict
« Reply #379 on: September 03, 2009, 04:05:42 AM »
I'm having a wierd error, tools enabled and exclude admins gives nil, and the tools list doesnt work.
I tried reinstalling the addon and redownloading 5 times now, same result.
are there any console commands to restrict tools? or is there an easy way to fix it?

oh yeah, here a screenshot of the error

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #380 on: September 03, 2009, 06:39:55 AM »
Are you using the latest version of ULib?
Have you tested it on a sandbox?
Any errors in console?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Drakehawke

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • Serious Roleplaying Hell
Re: URestrict
« Reply #381 on: September 03, 2009, 07:52:17 AM »
Have you had any luck in getting tools to restrict in other gamemodes? Or are you not going to :(?

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #382 on: September 03, 2009, 09:09:18 AM »
I'm running ULX 3.40 and Ulib 2.30.

Screenshots:
No "Restricted" menu :(


No physgun, or any other guns, including toolgun :(

Console message when typing "urestrict" is 'Warning: Unhandled usermessage "urestrict"'
:( :( :( :( :( :( :(
« Last Edit: September 03, 2009, 09:13:45 AM by EggNoggin »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: URestrict
« Reply #383 on: September 03, 2009, 09:17:52 AM »
I'm running ULX 3.40 and Ulib 2.30.

You need the SVN version of ULib.
Experiencing God's grace one day at a time.

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #384 on: September 03, 2009, 09:19:43 AM »
Ah. Thanks!

Edit:
I got the svn version of both ulib and ulx. Now the only guns I have are physgun and toolgun, and when I type "urestrict" in the console, it still says 'Warning: Unhandled usermessage "urestrict"' and nothing happens. The "restricted" tool doesn't do anything either, altough I don't think its supposed to...
« Last Edit: September 03, 2009, 10:20:08 AM by EggNoggin »

Offline Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: URestrict
« Reply #385 on: September 03, 2009, 10:02:57 AM »
I'm having a wierd error, tools enabled and exclude admins gives nil, and the tools list doesnt work.
I tried reinstalling the addon and redownloading 5 times now, same result.
are there any console commands to restrict tools? or is there an easy way to fix it?

oh yeah, here a screenshot of the error

I have the newest copy of ulx so on and I still get this problem I even tried to delete my data > urestrict folder :(

I also run my server in sandbox.

Offline Hurburt

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: URestrict
« Reply #386 on: September 03, 2009, 01:38:46 PM »
To add to this conversation, with data and such, dont download, the "unofficial" ULIB/ULX, they contain files that are harmful to your server, they added Simple prop protection into the ULIB/ULX "Addon" :o, not knowing, it made it so you cant access it and takes over the "darkrp" commands, so they are not able to be used. Remember, if you were to re-install dont get it from anywhere else but here, HIGHLY reccomended! I use the installer, just to be sure I got everything down pat, I set the file location to my desktop, then I use FTP and drag those files into my server files... Works great.


-Hurburt

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #387 on: September 03, 2009, 01:48:21 PM »
Quote
I got the svn version of both ulib and ulx. Now the only guns I have are physgun and toolgun, and when I type "urestrict" in the console, it still says 'Warning: Unhandled usermessage "urestrict"' and nothing happens. The "restricted" tool doesn't do anything either, altough I don't think its supposed to...
     - In your SERVER console type in this command:
Code: [Select]
lua_run PrintTable(ur)     - And post the contents here.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: URestrict
« Reply #388 on: September 03, 2009, 02:30:08 PM »
     - In your SERVER console type in this command:
Code: [Select]
lua_run PrintTable(ur)     - And post the contents here.
I have the same problem as "newbee" in hes pic.
and this is what I get when I type what you wanted him to.

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #389 on: September 03, 2009, 02:36:05 PM »
Code: [Select]
> PrintTable(ur)...
removeLoadout = function: 019F0828
excludeGroup = function: 019F0858
canTool = function: 019F03F0
checkToolList = function: 019F0138
toolAllow = function: 019F0888
clearLoadout = function: 019F0738
modifyLoadout = function: 019F07F8
getToolList = function: 019F0150
initClient = function: 019F0930
tools:
excluded:
dynamite:
list:
1 = adv_duplicator
2 = colmat
3 = weld_ez2
4 = rt_buoyancy
5 = door
6 = keypad
7 = keypad_adv
8 = keypad_wire
9 = ol_measuringstick
10 = easy_precision
11 = xqm_wire_hydraulic
12 = smartwelder
13 = ol_stacker
14 = restricted
15 = weight
16 = wire
17 = wire_addressbus
18 = wire_adv
19 = wire_cam
20 = wire_cd_disk
21 = wire_cd_ray
22 = wire_colorer
23 = wire_cpu
24 = wire_damage_detector
25 = wire_dataplug
26 = wire_dataport
27 = wire_datarate
28 = wire_data_satellitedish
29 = wire_data_store
30 = wire_data_transferer
31 = wire_debugger
32 = wire_emarker
33 = wire_explosive
34 = wire_expression2
35 = wire_eyepod
36 = wire_fx_emitter
37 = wire_gate_expression
38 = wire_gps
39 = wire_gpu
40 = wire_graphics_tablet
41 = wire_gyroscope
42 = wire_hdd
43 = wire_hudindicator
44 = wire_hydraulic
45 = wire_keyboard
46 = wire_las_reciever
47 = wire_latch
48 = wire_locator
49 = wire_nailer
50 = wire_namer
51 = wire_numpad
52 = wire_output
53 = wire_plug
54 = wire_pod
55 = wire_radio
56 = wire_ranger
57 = wire_relay
58 = wire_sensor
59 = wire_spawner
60 = wire_string
61 = wire_target_finder
62 = wire_textreceiver
63 = wire_twoway_radio
64 = wire_user
65 = wire_value
66 = wire_vehicle
67 = wire_vthruster
68 = wire_watersensor
69 = wire_waypoint
70 = wire_winch
71 = wire_wirelink
72 = axis
73 = balloon
74 = ballsocket
75 = ballsocket_adv
76 = ballsocket_ez
77 = button
78 = camera
79 = colour
80 = duplicator
81 = dynamite
82 = elastic
83 = emitter
84 = example
85 = eyeposer
86 = faceposer
87 = finger
88 = hoverball
89 = hydraulic
90 = ignite
91 = inflator
92 = keepupright
93 = lamp
94 = leafblower
95 = light
96 = magnetise
97 = material
98 = motor
99 = muscle
100 = nail
101 = nocollide
102 = paint
103 = physprop
104 = pulley
105 = remover
106 = rope
107 = rtcamera
108 = slider
109 = spawner
110 = statue
111 = thruster
112 = trails
113 = turret
114 = weld
115 = weld_ez
116 = wheel
117 = winch
restricted:
Player [4][Stealth-unit]:
tools = true
Player [2][Dusdg]:
tools = true
Player [NULL]:
tools = true
Player [3][Steven.!]:
tools = true
Player [1][EggNoggin]:
tools = true
Player [5][Awesomesauce]:
tools = true
Player [NULL]:
tools = true
Player [NULL]:
tools = true
Player [NULL]:
tools = true
Player [NULL]:
tools = true
applyLoadout = function: 019F0840
makeLoadout = function: 019F0810
toolDeny = function: 019F08A0
modifyTool = function: 019F0870
groupExclude = function: 019F08B8
updateTables = function: 019F0120
spawnSwep = function: 019F0708
getLoadout = function: 019F0720
toggle = function: 019F01F8
pickUp = function: 019F0678
config:
tools = true
loadouts = true
admin_exclude:
tools = false
loadouts = false
main = function: 019F0180
clearTools = function: 019F0750
excludeAdmins = function: 019F01E0
loadouts:
default:
loadout:
1 = weapon_physgun
2 = weapon_physcannon
3 = gmod_camera
4 = gmod_tool
groups:
1 = user
2 = superadmin
3 = admin
4 = operator
excluded:
syncClient = function: 019F0168
giveSwep = function: 019F0588