ULX

Author Topic: URestrict(WIP)  (Read 8621 times)

0 Members and 1 Guest are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
URestrict(WIP)
« on: September 21, 2008, 08:03:45 PM »
Looking for new gui Ideas for the script.


« Last Edit: September 24, 2008, 06:54:12 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

Megiddo_on_unsecure_wifi

  • Guest
Re: URestrict(WIP)
« Reply #1 on: September 21, 2008, 09:50:17 PM »
I didn't check your code too closely, but I believe you're supposed to hook the checkboxes up to a cvar if you want this functionality (should be one of the provided functions for the checkbox).

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict(WIP)
« Reply #2 on: September 22, 2008, 10:46:36 AM »
Ok, that makes sence, but I've never create nor used ConVars, so all I need is a simple toggled 1|0 convar for each group. I think look at the code for the vgui you can see where I'm going with this.


==EDIT==
Perhaps I'll just do it with buttons like you did with the admin menu.
« Last Edit: September 22, 2008, 10:49:52 AM 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

Offline gega2202

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: URestrict(WIP)
« Reply #3 on: September 23, 2008, 03:35:40 AM »
 :D :D

URestrict! I'm new to this, and I'm not sure if this is the right place to post this... But...

Finally, what I've been waiting for! I have four questions about it...

Will it count for weapons, entities, and amount of props people can have too?

Will it work for Wiremod tools and other STool addons?

Will it have a full-on GUI or will some parts have to be done by LUA?

How long do you believe it will be until release?

(If I post in the wrong place, tell me where I should have posted this please)

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict(WIP)
« Reply #4 on: September 23, 2008, 06:15:57 PM »
Quote
Will it count for weapons, entities, and amount of props people can have too?
     - First half yes, second half no. This will restrict tools, sents, and weapons.
Quote
Will it work for Wiremod tools and other STool addons?
     - Not by default, but there will be a way to add Stools do the list.
Quote
Will it have a full-on GUI or will some parts have to be done by LUA?
     - First release will be mostly lua/config based, but later it will be a full-on gui.
Quote
How long do you believe it will be until release?
     - I can't give you a time frame at the moment, but providing a list of GCombat entities will bring the first release alot faster.

Current Progress:
  • I have Stool restrictions in place for select groups.
  • Entity restrictions is a current work in progress
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 JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict(WIP)
« Reply #5 on: September 23, 2008, 06:20:51 PM »
Jay, much of what you're doing has been discussed many times around our forum.
Personally, I'd not try to re-invent the wheel..I'd just put chrome rims on it. :)

I think MrPresident has some examples somewhere around here for some group restrictions.
As long as you give credit, I can assure you any ideas you get from him or anyone else here, they don't mind sharing.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given