General > Developers Corner

URestrict(WIP)

<< < (5/5)

jay209015:

--- Quote ---I still think the gui is hard to understand. Are the four groups (operator, superadmin, admin, user) static?
--- End quote ---
     -No, they are pulled from ULib.ucl.groups

--- Quote ---I think the feedback on what's already allowed and not is a big improvement, but I want to get a full overview without having to click anything (scrolling's okay though).
--- End quote ---
     -A full overview will be added, as mentioned in a previous post.

--- Quote ---Don't take this the wrong way, I just play Devil's advocate as much as possible when giving feedback.
--- End quote ---
     -That works for me. That's the only way to improve :D

--- Quote ---You've got a real knack for gui's.
--- End quote ---
     -I wish it came easily, but it takes alot of hard work.

--- Quote ---If so, why not list the tool with four checkboxes off to the side?
--- End quote ---
     -I don't know how to do convars.

Going to add feedback to the Loadout tab, release, then take a break from this script until this weekend, and then add the View Settings tab.

JamminR:
From an end user point of view, I have trouble understanding what's happening in the menus also.

Are server side cvars that difficult? There's a create cvar command, correct?
No extra file is needed to store the actual settings, right? Aren't they stored in some Gmod server file by default?
I've done no Derma or Vgui coding at all. (Umotd is 100% ripped from Megiddo's original motd client code)
I admit, I could be just smoking something since I've not ever dug into it.
I'd share if I could.

I think Checkboxes would be easier for some of those functions you now have menu popups for.
Perhaps looking into UPS options area would give some insight to how to do them.
(I know it's where I'd start. :) )

Megiddo:
Haha, the UPS controls are pretty complicated though. I'm creating synchronized cvars on the client and server. When a client who has access changes a synchronized client cvar, it's changed on the server. The other clients receive this server cvar change and update their client cvars in response. Luckily all you need to know is what function to call to make a synchronized cvar. :P

This was necessary because clients can't normally change server cvars, but the derma checkboxes demand a cvar they can change to work properly.

Navigation

[0] Message Index

[*] Previous page

Go to full version