Author Topic: URS BETA - A Highly Customizeable Restriction System (or will be)  (Read 566986 times)

0 Members and 1 Guest are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #165 on: October 16, 2011, 03:18:50 PM »
Status on this Update:  Committed

Changelog:
Code: [Select]
10/16/2011 Revision 14:
 + Added: Player Specific Restrictions
 = Fixed: Weapon list is now more extensive
 * Changed: URS Commands have been put in their own Lua file
 * Changed: URS Server Side functions have been put in their own Lua file
 * Changed: Several Lua files were renamed to seem more professional
 + [GUI] Added: A "*" will now appear in groups for auto-completes that use it
 * [GUI] Changed: Weapons are now saved to a variable rather then being called each time
 * [GUI] Changed: Clicking on a group/steamid in loadouts will change the textbox
 * [GUI] Changed: Clicking on a target/group in restrictions/limits will change the textbox

+ Added: Player Specific Restrictions
To briefly describe this new change.  You enter the SteamID of any user into any area of which you can enter a group name.  If you restrict something from everyone (*) and add the SteamID of the user to the exclude list, they will be excluded; however, if their group is excluded as well, they will not be excluded.  Works for everything (Loadouts, Restrictions, and Limits).  Have fun with it.  :P

In other news, after one more update (assuming there are no bugs to be fixed still) I think we can make this a release rather then a beta.  Then, I will add MySQL support.
« Last Edit: October 16, 2011, 03:49:08 PM by Aaron113 »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #166 on: October 16, 2011, 03:49:52 PM »
Changelog:
Code: [Select]
10/16/2011 Revision 15:
 - Removed some files I forgot to remove (I hope)

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #167 on: October 17, 2011, 03:43:39 PM »
I am getting the following error.

Code: [Select]
ulx\xgui\settings\cl_urs_gui.lua:33] attempt to index field 'arg1' (a nil value)
Any ideas?

Edit: [Fixed] Apparently if you have UPS on your client as well, you need to have both versions up to date, or it will give you an error.
« Last Edit: October 20, 2011, 02:20:41 PM by HeLLFox_15 »
I cry every time I see that I am not a respected member of this community.

Offline strategos

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 2
  • I wanna be the guy
    • Community
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #168 on: October 17, 2011, 05:36:33 PM »
If Garry's update broke this as it did ULX in general, PLEASE FIX IT!! This is absolutely essential for my server and honestly I don't know what I would so without it.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #169 on: October 17, 2011, 06:21:08 PM »
I need to come into one of your servers and test it out for myself.  It appears to be working fine on my side.  I'll need complete access to your server for a while.

Offline strategos

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 2
  • I wanna be the guy
    • Community
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #170 on: October 17, 2011, 07:57:47 PM »
Im waiting for the next build of ULX. I'll be sure to let you know then.

Offline adi123

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #171 on: October 18, 2011, 01:27:26 PM »
Well, this may sound stupid, but how do i install it? I tried everything and it appears to be not there.

kthxbye.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #172 on: October 18, 2011, 02:35:59 PM »
how do i install it?
Have ULib and ULX running?
Know how to use SVN?
If not, you should probably learn. Many cutting edge projects here and other release sites (Wiremod to name but one) use SVN to distribute code.
Though we make zip "releases" for ULX/ULib, our latest code will always be in SVN.
See our SVN guide in the SVN section of the forum. Once you've read that, plug the URL from the first post into your SVN 'checkout' app.
Place the checkout folder in your gmod server /addons/ folder, recommend a folder called URS.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline strategos

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 2
  • I wanna be the guy
    • Community
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #173 on: October 18, 2011, 03:18:11 PM »
I need to come into one of your servers and test it out for myself.  It appears to be working fine on my side.  I'll need complete access to your server for a while.

Ok URS works fine. Yay. However, I don't know how this will hamper SQL support as the new update seems to have broken alot of exterior connectivity. I can't even get sorcebans to ban from the webpanel now :(

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #174 on: October 18, 2011, 05:49:50 PM »
Mmm, we'll see when ever that time comes.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #175 on: October 30, 2011, 06:07:31 PM »
I'm trying out a new todo list.  Let me know if you like it or the old one.

New:  http://aaron113.com/mytinytodo/

Old:  http://www.gqueues.com/public/queues/agdncXVldWVzchwLEgdBY2NvdW50GIjTlgQMCxIFUXVldWUY0Q8M

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #176 on: October 30, 2011, 07:30:37 PM »
Ok, this is coming from an end user with 'some' vision impairment, who uses a Windows 7 "High Contrast" theme (yellow on black), and browser (Firefox 6) set to ignore background images and use system theme;
Though the border around the old is more defined, I like the text and (seemingly more) straightforward-ness of the new.

As for the whole project, Aaron, keep on rockin!
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #177 on: October 31, 2011, 08:57:14 PM »
For some reason I can not restrict tools, props and so on...

Here is my client side log.

Code: [Select]
CLIENT: 48 active EHandles!
Unknown command "E2_FinishChat"
Connecting to 75.140.251.204:27015...
Connected to 75.140.251.204:27015

Sandbox
Map: gm_flatgrass
Players: 2 / 17
Build: 4735
Server Number: 1

Browser Message: Uncaught TypeError: Cannot set property 'innerHTML' of null - http://hff0rge.zzl.org/CustomLoading2.html:221No pure server whitelist. sv_pure = 0
Decompressing data pack into virtual file system..
Data pack loaded: 1132 files. (2.884s)
Lua initialized (Lua 5.1)
[autorun\extragates.lua:31] attempt to index global 'GateActions' (a nil value)
You are running ULib version 2.42.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: cl_urs.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: uteam.lua
[ULX] Loading CLIENT module: xgui_client.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading CLIENT module: xlib.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: cleardecals_svn.lua
[ULX] Loading SHARED module: clnup_svn.lua
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: rocket_svn.lua
[ULX] Loading SHARED module: sh_arm.lua
[ULX] Loading SHARED module: sh_drop.lua
[ULX] Loading SHARED module: sh_give.lua
[ULX] Loading SHARED module: sh_nolag.lua
[ULX] Loading SHARED module: sh_spawn.lua
[ULX] Loading SHARED module: sh_trainfuck.lua
[ULX] Loading SHARED module: sh_zombify.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: urs_cmds.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
[ULX] Loading SHARED module: sh_breakpl.lua
[ULX] Loading SHARED module: sh_uplayweaps.lua
[ULX] Loading SHARED module: sh_uplayweaps2.lua
[addons\ulx_svn-hellfox_15\lua\ulx\modules\sh\sh_uplayweaps2.lua:4] attempt to index global 'GM' (a nil value)
[ULX] Loading SHARED module: ups_menu.lua
[addons\ulx_svn-hellfox_15\lua\ulx\modules\sh\ups_menu.lua:8] 'do' expected near 'then'
[ULX] Loading SHARED module: ups_menu_control.lua
[ULIB] Loading SHARED module: ups_init.lua
WireMod Installed. Version: 2490

Loaded WolfDJ!
[lua\autorun\sh_damageeffect.lua:1] attempt to index global 'GAMEMODE' (a nil value)
No instance of the Planetfall Data Record System has been detected, initializing.
No instance of the Planetfall Trace Bullet Library has been detected, initializing.
No instance of the Planetfall Usermessage Extensions Module has been detected, initializing.
Couldn't include file 'ups_menu\lua\ulx\modules\sh\ups_menu_control.lua' (File not found) (@addons\ups_menu\lua\autorun\init.lua (line 9))
ERROR! Module 'zlib_b64' not found!
Trooper Mini-Hack v1.0 Public loaded!

[ Mounting DepthHUD Inline ... ]
DepthHUD Inline >> Unmounting Theme [DepthHUD Classic].
DepthHUD Inline >> Mounting Theme "DepthHUD Classic" :
[ DepthHUD Inline is now mounted. ]

--- Missing Vgui material depthhudX_RadarRT
Beacon registered :
[all_npc] [autoffset] [expression2] [player_lof] [projectiles] [props] [reveal] [vehicle] [znorth]

=====================================================
 Evolve 1.0 by Overv succesfully started clientside.
=====================================================

====== Loading SaitoHUD ======
Loading Sandbox Menu
Creating Menu: menu.txt
==============================
[addons\sbmp\lua\autorun\client\joystickreorder.lua:5] attempt to index local 'a' (a nil value)
 > SharpeYe is in normal mode. Now querying Version.
Registering gamemode 'sandbox' derived from 'base'
--- Missing Vgui material texturemissing
Couldn't include file 'deserialise.lua' (File not found) (@entities\gmod_wire_pong\cl_init.lua (line 2))
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]cockpits, medium.txt
SpawnMenu, (*Entries*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]engines, medium.txt
SpawnMenu, (*Entries*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]external corridors, medium.txt
SpawnMenu, (*Entries*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]extras.txt
SpawnMenu, (*Entries*),
ERROR: Trying to derive entity airlock from non existant entity base_rd3_entity!
ERROR: Trying to derive entity base_default_res_module from non existant entity base_rd3_entity!
ERROR: Trying to derive entity base_livable_module from non existant entity base_sb_environment!
ERROR: Trying to derive entity railgun from non existant entity base_rd_entity!
ERROR: Trying to derive entity base_weapons_module from non existant entity base_rd_entity!
Sending 1467 'User Info' ConVars to server (cl_spewuserinfoconvars to see)
Scanning for downloaded fonts..
Reloading Particles..
Client "[ULX]HeLLFox" spawned in server (173.35.179.36:27005)<STEAM_0:1:20305110>.
Welcome to Crystal Storm Build! We're playing gm_flatgrass.
[UTime]Welcome back [ULX]HeLLFox, you last played on this server 10/31/11 20:26:13
Physgun build mode is available on this server
PlayX DEBUG: JW URL set
PlayX DEBUG: Host URL set
PlayX DEBUG: Providers list received
ULX version <SVN> revision 25 loaded.

///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   bans.lua                        //
//   commands.lua                    //
//   groups.lua                      //
//   maps.lua                        //
//   settings.lua                    //
// Loading Setting Modules...        //
//   client.lua                      //
//   cl_urs_gui.lua                  //
//   server.lua                      //
// Loading Gamemode Module(s)...     //
//   sandbox.lua                     //
// Modules Loaded!                   //
///////////////////////////////////////

Redownloading all lightmaps
ERROR: Hook 'RenderEFunc' Failed: [lua\autorun\client\cl_damageeffect.lua:10] attempt to perform arithmetic on local 'Hp' (a nil value)
Removing Hook 'RenderEFunc'
 > SharpeYe did not get a response from Cloud Version query. Now loading Locale.

[ SharpeYe :: Mounting ... ]
[ SharpeYe :: Mount complete : Locale ]

 > SharpeYe Locale seems as up to date as the Cloud. Loading Locale.

] SharpeYe :: Unmounting ... [

] SharpeYe :: Unmounting ... [
] SharpeYe :: Unmount complete. [


[ SharpeYe :: Mounting ... ]
[ SharpeYe :: Mount complete : Locale ]

ERROR: Hook 'antipickweapon' Failed: [addons\ulx_svn-hellfox_15\lua\ulx\modules\sh\sh_uplayweaps.lua:19] attempt to call method 'GetWeapon' (a nil value)
Removing Hook 'antipickweapon'
Want more benefits donate and get VIP!
] wire_field_device
Unknown command: wire_field_device
] toolwire_field_device
Unknown command: toolwire_field_device
] tool wire_field_device
Unknown command: tool
] tool_wire_field_device
] tool_wire_field_device
???? ????  ? ?: Hellfox
???? ????  ? ?: Did you build that PAC
[ULX]HeLLFox: only the head, and then I recolored the body to red
???? ????  ? ?: oh
You restricted tool tool_wire_field_device from *
You restricted tool wire_field_device from *
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
[URS DEBUG] Tool was not restricted.
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
Console: lol
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
You have hit the wire_field_device limit!
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
[URS DEBUG] Tool was not restricted.
] ulx print all
=============================================================
URS - Limits:
ragdoll:
officer = 1
owner = 999999
effect:
owner = 999999
sent:
owner = 999999
vehicle:
owner = 999999
npc:
officer = 3
owner = 999999
prop:
officer = 5000
owner = 999999
=============================================================
URS - Restrictions:
ragdoll:
effect:
sent:
npc:
prop:
advdupe:
all:
pickup:
vehicle:
tool:
tool_wire_field_device:
1 = *
wire_field_device:
1 = *
swep:
=============================================================
URS - Loadouts:
officer:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
superadmin:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
admin:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
user:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
respected:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
moderator:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
most hated players:
1 = weapon_physgun
2 = gmod_tool
vip:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
=============================================================
* Check console for a list of your Limits, Restrictions, and Loadouts *
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
[URS DEBUG] Tool was not restricted.
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
[URS DEBUG] Tool was not restricted.
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
???? ????  ? ?: today

And here is a server side log of me testing later on.

Code: [Select]
[21:45:00] ???? ????  ? ?: hellfox
[21:45:04] ???? ????  ? ?: how do i get this to be smooth
[21:45:05] [ULX]HeLLFox removed all restrictions from wire_field_device
[21:45:12] [ULX]HeLLFox removed all restrictions from tool_wire_field_device
[21:45:21] [ULX]HeLLFox restricted tool tool_wire_field_device from *
[21:45:26] [ULX]HeLLFox restricted tool wire_field_device from *
[21:46:05] [ULX]HeLLFox restricted tool wire_field_device from owner
[21:46:12] [ULX]HeLLFox restricted tool tool_wire_field_device from owner
[21:46:35] ???? ????  ? ?: Hellfox
[21:46:45] ???? ????  ? ?: how do i get this Pedel to be smooth
[21:47:49] [ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[21:47:49] [ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp

I have tried using even a clean install of URS, but I am still getting this problem. Any ideas?
« Last Edit: October 31, 2011, 09:17:13 PM by HeLLFox_15 »
I cry every time I see that I am not a respected member of this community.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #178 on: November 01, 2011, 05:16:36 AM »
I have no idea's yet.  I'll come on sometime today, invite me whenever you have some time.  I'd prefer if the server was empty and password protected so we don't have to drag this out.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #179 on: November 01, 2011, 06:54:20 PM »
I have no idea's yet.  I'll come on sometime today, invite me whenever you have some time.  I'd prefer if the server was empty and password protected so we don't have to drag this out.

OK, try to contact you when I see you online, though I do think it will be better if you contact me because, you are usually busy quite allot.
I cry every time I see that I am not a respected member of this community.