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 483977 times)

0 Members and 5 Guests are viewing this topic.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: URestrict
« Reply #225 on: August 14, 2009, 06:45:28 PM »
URestrict is getting complete rebuilt, and it will no longer include the loadouts tab. If someone wants to make a plugin to handle loadouts, that would be greatly appreciated.

Yay. I might try it again. :3

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #226 on: August 14, 2009, 08:45:49 PM »
Jay, though a rebuild isn't always bad, you may wish to keep the loadout feature, perhaps redesign in some way?
I'm not sure of the goals or ideas you're thinking of.

As my signature author suggests, be careful.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #227 on: August 14, 2009, 08:51:19 PM »
Quote
Jay, though a rebuild isn't always bad, you may wish to keep the loadout feature, perhaps redesign in some way?
I'm not sure of the goals or ideas you're thinking of.

As my signature author suggests, be careful.
     - Yeah, I thought about it some more after making my post. I'm going to make the loadout section of the script first, since I kind of ignored it this last time around, and after using the script a little more myself then not having loadout restrictions, I came to the conclusion that it may be just as important as the tools if not equal.
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 atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: URestrict
« Reply #228 on: August 14, 2009, 10:55:21 PM »
After some luck, I finally found where I saw how to disable tools.

http://wiki.garrysmod.com/?title=Console#Tool_Setting_Commands

Does your add-on use this (via ulx rcon)? If not, maybe it should instead of using some sort of hack.

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #229 on: August 14, 2009, 11:22:04 PM »
After some luck, I finally found where I saw how to disable tools.

http://wiki.garrysmod.com/?title=Console#Tool_Setting_Commands

Does your add-on use this (via ulx rcon)? If not, maybe it should instead of using some sort of hack.

These ones disable the whole tool, not only for some groups, it's really bad if you want to continue to use them.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: URestrict
« Reply #230 on: August 15, 2009, 07:24:44 AM »
Oh right.

Offline mishappp

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
Re: URestrict
« Reply #231 on: August 15, 2009, 05:25:35 PM »
You should have the ability to disable the loadout/tool function for people who only need one or the other.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #232 on: August 15, 2009, 05:49:38 PM »
Quote
You should have the ability to disable the loadout/tool function for people who only need one or the other
     - Already in my todo list :D
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 mishappp

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
Re: URestrict
« Reply #233 on: August 15, 2009, 07:46:15 PM »
Okay since this rebuild isnt gonna be out in the next 5 seconds, I still need help using urestrict I suppose I have to work with these loadouts do I add the weapons people are allowed to pick up in the default.txt and the weapons they spawn with in the default_spawn.txt?

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #234 on: August 15, 2009, 09:49:15 PM »
Okay since this rebuild isnt gonna be out in the next 5 seconds, I still need help using urestrict I suppose I have to work with these loadouts do I add the weapons people are allowed to pick up in the default.txt and the weapons they spawn with in the default_spawn.txt?

That's right, but it depends from the loadout you set to the group.

Offline PureLuck

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: URestrict
« Reply #235 on: August 16, 2009, 08:06:03 AM »
Can somone upload some were. My svn wont work

Offline Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: URestrict
« Reply #236 on: August 16, 2009, 12:19:24 PM »
Here is URestrict revision 31 Attached to the post. Hope it helps :p

Jet

Offline SmokingBarrel

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: URestrict
« Reply #237 on: August 16, 2009, 08:54:46 PM »
Hello, I'm having problems with URestrict on my 10 man Build server. I'm using all SVNS of Ulx Ulib and URestrict, but URestrict is not controlling the loadouts. I used the Gui to add my groups (Groups from Ulib) I assign them to the default (Default) loadout and in the console the normal text confirming that I modified the loadout appears but nothing else happens. The HL2 loadout is still being used instead of the URestrict one. (I've read this entire thread and I tried clearing my cache\dua folder.)

Final notes, I'm using the latest revisions of all SVNs as of 4 hours prior to this post.
-Smoky

Offline mishappp

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
Re: URestrict
« Reply #238 on: August 16, 2009, 10:30:35 PM »
 ??? I must fail at this because im still not understanding how to use these dreaded loadouts still, if anyone who has a handle on this could add me on steam to give me a hand, sirjoee is my steam username, I would greatly appreciate anyone who would do this for me.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #239 on: August 17, 2009, 12:29:47 PM »
*UPDATE*
     *Rebuilt From Scratch
     *Modular
     *Simplified Configurations
     *One File To Modify For Tool Restrictions
     *Added Admin Exclusion
     *Piggy Backs On The Current Gamemode, Less Work To Support Gamemode like DarkRP and such

Note: THERE'S NOT A GUI OR INGAME CONFIGURATIONS AT THIS POINT! PLEASE STICK TO REVISION 31 IF YOU WANT TO KEEP THE GUI

Currently URestrict Only Affects Loadouts!

New Configs:
     <root>/data/URestrict/loadouts.txt:
Code: [Select]
"default"
{
"loadout"
{
"weapon_physgun"
"weapon_physcannon"
"gmod_camera"
"gmod_tool"
}
"groups"
{
"operator"
"user"
"superadmin"
"admin"
}
}
"excluded"
{
}

     <root>/data/URestrict/config.txt:
Code: [Select]
"tools" true
"loadouts" true
"admin_exclude" false

Any time you change the configurations, you have to reload the map. (This is only for now, once I add the commands you wont ever touch these files again.)
« Last Edit: August 17, 2009, 12:32:05 PM by jay209015 »
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