• MOOCOW Admin Mod
    362 replies, posted
[QUOTE=Overv;14513648]Oh god, you call that GUI productive? BRB Laughing Oh god even the GUI of ULX is better O.o Where exactly did NewAdmin fail at that?[/QUOTE] It's an admin mod.. not a gamemode.. noone will see it but the admins.. so who really gives a fuck..
[QUOTE=Averice;14514555]It's an admin mod.. not a gamemode.. noone will see it but the admins.. so who really gives a fuck..[/QUOTE] My dear man admins can "give a fuck". Do you think that only normal players are full of life and that admins are only soulless creatures who ban you on sight?
[QUOTE=Nevec;14514627]My dear man admins can "give a fuck". Do you think that only normal players are full of life and that admins are only soulless creatures who ban you on sight?[/QUOTE] I give a fuck, I hate using ULX as it makes me want to punch my eyes out (possible? maybe), but I love using ASS due to the menu system being easy to understand and quick for me to use.
[QUOTE=HOUSEMASTERR;14514261]Broke for me when I tried to make myself owner. [lua] ] moocow setaccess [SF]HOUSEMASTER owner Dont have required access level ] rcon moocow setaccess HOUSEMASTER owner Server changed [SF]HOUSEMASTER's access to owner moocow_plugins/commands/setaccess.lua:4: bad argument #1 to 'lower' (string expected, got no value) [/lua] No other admin mods running.[/QUOTE] That's because you're a moron who didn't read the wiki which is in bold on the first post...
[QUOTE=Darastrix;14514741]That's because you're a moron who didn't read the wiki which is in bold on the first post...[/QUOTE] A system worthy of being used should be fool-proof.
[quote]Where exactly did NewAdmin fail at that? [/quote] 1. It doesn't function half the bloody time - the GUI breaks often so that I can't even use it, then commands start to fall apart at the seems too! 2. It's case fracking sensitive! 3. It's not configurable in almost any way 4. The code looks quite poorly written [quote]Atmosphere? Your philosophy is badly flawed if you think that having a well made design and a stylish interface is not part of the atmosphere. I know of great many people who prefer just the opposite of what you are basing on. Although it is common way to choose the popular term "function over fashion", you cannot work as a supermodel while wearing function-full steel worker outfits if you know what I mean. And derma skins won't solve your controls being badly positioned. [/quote] I'm tired of seeing people hounding over things like Crisis because of graphics when they really should be picking up a copy of something like Starcraft. It was never meant to be a flash GUI, it's quick and easy to use. And do tell, why do you believe them badly positioned? (Keeping in mind you can drag any window and they *do* save location) [quote] Even for a WIP this is horrible, so no. [/quote] --snipped old statement, a mutually immature argument took place here.-- [quote] Broke for me when I tried to make myself owner. [/quote] Ah, thanks. That was definitely a bug. The *one* place I didn't have a check to see if the file existed... it's fixed, just update. I would've caught that in my beta tests, but unfortunately those who I had testing it were adding their IDs manually to the file, so I never caught that. [quote] And it broke camera tool [/quote] It has nothing to do with your camera tool. If it broke, it's due to something else. [quote] A system worthy of being used should be fool-proof. [/quote] It is for the most part. The one error that was found thus far was found because my beta testers used a different method. That has been fixed within 5 minutes of my seeing it and I can assure you that all other bugs that are posted will be fixed just as fast (if you can find any). I urge all of you not to take anything Darastrix says to heart. He speaks as a third party and doesn't represent MOOCOW's interests directly. While I appreciate his support, he has an irritating way of going about things most of the time. His solutions are often *not* correct, and that is why on multiple occasions I have spoken to him about letting me make the corrections instead. As for the rest of you, Please understand: the GUI was my *lowest* priority; by far. It functions, it's quick and easy to use, what more do you *really* need? If you happen to believe that it should be outlined another way, post something CONSTRUCTIVE and I will gladly review your idea and who knows, make it. As a last note: I'd also like to mention that the GUI is also incredibly efficient. Every single frame that you will see is reused on multiple occasions. The code is extremely flexible and allows for a whole lot of GUI elements to be drawn using the same block of code. *That* was my focus in this part of the project; to make something reusable. Part of the reason that the entire mod is no more then 300kb is because I reuse most of my code, and not by copy pasting, but by having a structured, planned out environment.
[QUOTE=turck3;14516221]I'm tired of seeing people hounding over things like Crisis because of graphics when they really should be picking up a copy of something like Starcraft. It was never meant to be a flash GUI, it's quick and easy to use.[/QUOTE] We all know that crysis sucked. I, personally, never payed attention to the hud nor interface but the whole game was just bloated. And why are you suddenly mixing in starcraft? Actually, why are you implying that I'm only playing games for their eye candy? People just feel uncomfortable when looking at unpleasant visual aspects. [QUOTE=turck3;14516221]And do tell, why do you believe them badly positioned? (Keeping in mind you can drag any window and they *do* save location)[/QUOTE] You must have understood me wrong. I'm pretty sure I said "controls" not "windows". Take, for instance, this: [img]http://wiki.garrysmod.com/wiki/images/2/21/Menu_vgui_sample1.jpg[/img] Don't take it as me showing off my work. Take it as an average example. What do you see there? Alignment. Constant size that fits other elements in that window. While still looking good, the extra elements don't interfere with the usage. Also, in defense of Overv, at least in my opinion, [url=https://svn.sourceforge.net/svnroot/moocow/lua/autorun/moocow.lua]this[/url] pretty much sums it up. I don't really know what people in this forum take as good code(I've seen some arguments about this aspect) but I believe that that is not the way you're supposed to do things.
[QUOTE=Nevec;14516573]We all know that crysis sucked. I, personally, never payed attention to the hud nor interface but the whole game was just bloated. And why are you suddenly mixing in starcraft? Actually, why are you implying that I'm only playing games for their eye candy? People just feel uncomfortable when looking at unpleasant visual aspects. You must have understood me wrong. I'm pretty sure I said "controls" not "windows". Take, for instance, this: [img]http://wiki.garrysmod.com/wiki/images/2/21/Menu_vgui_sample1.jpg[/img] Don't take it as me showing off my work. Take it as an average example. What do you see there? Alignment. Constant size that fits other elements in that window. While still looking good, the extra elements don't interfere with the usage. Also, in defense of Overv, at least in my opinion, [url=https://svn.sourceforge.net/svnroot/moocow/lua/autorun/moocow.lua]this[/url] pretty much sums it up. I don't really know what people in this forum take as good code(I've seen some arguments about this aspect) but I believe that that is not the way you're supposed to do things.[/QUOTE] 1. Very few windows are any bigger or smaller then the rest of them. Most of them are standard size, I expanded some windows out of need and left the others small so that you didn't have half your screen taken up for most of it. 2. On all windows there is an 'ok' and 'cancel' option. To continue, press the buttons found at the bottom of the GUI or in some areas you can right click to bypass. To cancel, just press the close button in the top right. 3. There are a few types of windows a. The main GUI b. Other lists - mostly used for player lists (weapons sometimes though) c. Sliders & Text input - done on the same pane and supports any number of elements d. Restriction style window e. Button window On all of these windows, more then one element can be added. I showed off different sized and different types of windows in the screenshots so that you'd get a variety of different windows shown on purpose. Most windows are standard to the player lists in size. 4. As for the moocow.lua - first off, that's the first thing I wrote, so that aside, I don't really see anything wrong with that aside from an elseif CLIENT where it should just be else. a. The concommand is for flushing the system in the unlikely event that an error occurs, it's also great for debugging b. The hook is there to ensure that it loads later in startup, which fixes some issues that would otherwise occur. c. The reason that a server check is done in the moocow_load concommand is because I originally intended it to be able to flush the client side too, I just never bothered to perfect it so I left it only server side. d. I'll remove the unusual parts of it.
[QUOTE=Nevec;14516573]Also, in defense of Overv, at least in my opinion, [url=https://svn.sourceforge.net/svnroot/moocow/lua/autorun/moocow.lua]this[/url] pretty much sums it up. I don't really know what people in this forum take as good code(I've seen some arguments about this aspect) but I believe that that is not the way you're supposed to do things.[/QUOTE] That code is fail, epic fucking fail. As for the whole barebones shit, this is JUST like FizzMin (my admin mod). Fuck. I'll take a code peek later... ps. menu system is horribly innefficient. Just have either a) !ban/!unban etc, or a menu where you click once, twice max (FizzMin has twice, one click for select player, the other for reason, I might remove reason, depends).
[QUOTE=turck3;14516767]1. Very few windows are any bigger or smaller then the rest of them. Most of them are standard size, I expanded some windows out of need and left the others small so that you didn't have half your screen taken up for most of it. 2. On all windows there is an 'ok' and 'cancel' option. To continue, press the buttons found at the bottom of the GUI or in some areas you can right click to bypass. To cancel, just press the close button in the top right. 3. There are a few types of windows a. The main GUI b. Other lists - mostly used for player lists (weapons sometimes though) c. Sliders & Text input - done on the same pane and supports any number of elements d. Restriction style window e. Button window On all of these windows, more then one element can be added. I showed off different sized and different types of windows in the screenshots so that you'd get a variety of different windows shown on purpose. Most windows are standard to the player lists in size.[/QUOTE] You are again misunderstanding me. I am referring to gaps, sizes and spaces in yours windows. I am short on time, so I cannot explain this further. At least, not now. But tomorrow I will provide you with "visual explanation" of what exactly it is that I am driving you towards.
I looked at the code. It seems hugely over complicated for basically the same as what my mod does, but instead of your 19kb server file, mine is 7kb... the rest are 2-5kb plugins. There's a lot of functions which all they do is return a value, why not just get it anyway, and keep names consistent in the first place. Also, a decent autorun menu looks like: [lua] if SERVER then AddCSLuaFile( "autorun/FizzMin.lua" ) AddCSLuaFile( "FizzMin/cl_FizzMin.lua" ) include( "FizzMin/sv_FizzMin.lua" ) elseif CLIENT then include( "FizzMin/cl_FizzMin.lua" ) end [/lua] Still, on the plus side, it works nicely, and it's a neat, very customizable system, don't take my comments too harshly :)
Let me draw what Nevec is trying to say: [img]http://img9.imageshack.us/img9/4017/watcyc.jpg[/img] See how the alignment is off on the second picture?
[QUOTE=Salads;14517514]Let me draw what Nevec is trying to say: image See how the alignment is off on the second picture?[/QUOTE] That's pretty much what I'm trying to say. I guess I won't have to draw anything tomorrow.
Mk, I see what you mean bout that, I'll fix it. As for Fizzradar - I already altered it. But the hook is definitely needed and the reload function is mostly for debug purposes. The elements you have in your example are already covered. This *was* the first file I wrote - so it wasn't very good at first, I admit, I just fixed it to contain what it needs. Also, most of those functions that "just return things" come in handy. They arn't one line functions that return the same thing every time, they're more complicated then that, they exist to break up the code flow and make it more reusable.
[QUOTE=turck3;14516221] I urge all of you not to take anything Darastrix says to heart. He speaks as a third party and doesn't represent MOOCOW's interests directly. While I appreciate his support, he has an irritating way of going about things most of the time. His solutions are often *not* correct, and that is why on multiple occasions I have spoken to him about letting me make the corrections instead. [/QUOTE] Oh you know I only do it to annoy you,especially taking advantage of the fact you can't delete my posts on this forum :P and there *not* correct for a reason.
I just installed it on my server and I like it quite a bit, good job. I don't actually mind that the window frames are bigger then they should be, so long as it gets fixed eventually.
I'm working on that right now :) I actually did that on purpose originally to test something, I never bothered to lower it back... anyway, I'm fixing it, so it'll be correct shortly.
[QUOTE=turck3;14517767]Mk, I see what you mean bout that, I'll fix it. As for Fizzradar - I already altered it. But the hook is definitely needed and the reload function is mostly for debug purposes. The elements you have in your example are already covered. This *was* the first file I wrote - so it wasn't very good at first, I admit, I just fixed it to contain what it needs. Also, most of those functions that "just return things" come in handy. They arn't one line functions that return the same thing every time, they're more complicated then that, they exist to break up the code flow and make it more reusable.[/QUOTE] Why is the hook needed? It loads on autorun via include, so why hook it?
It hooks in order to fix an issue involved with umsgs, basically the idea is that if a client joins at the same time the server starts, the server can send the umsgs before the client has loaded their receiving hooks. This way, the client side executes their parts of the mod before the umsgs are sent. GUI fixed, commiting now. Screenies shortly.
Double post, accident.
Ok I'm going to admit I DID facepalm at the title. At first, I thought "God damn it ANOTHER admin mod", but now that I look at it it looks pretty detailed, but personally I think there's too many windows. If you've looked at Overv's NewAdmin menu, everything is in one menu, Banning, Actions, and all that. Ulx, 2 clicks to get to the necessary menus plus console AND chat commands. This, it just seems that you open up a menu, click, get another menu, click, get ANOTHER menu, and it continues until the 5th click where you can actually do something, and by that time the minge has already done his damage. What I'm suggesting is: TAKE OUT ALL THE FUCKING MENUS. Mind you I haven't tried this and I'm going on a lookover of the pics.
This falls into the same mishap ULX does - Too many menus, and ugly interface. Wherest NewAdmin has a nice tab system with silk icons and simple one click interface.
Mk. Screenshots replaced with the updated versions. As for the above, it's faster then you think, the longest chain of GUI windows is 4 clicks, and that's only for banning. Most options are only 1-2 clicks. Example: blind/bring/burn/freeze/ghost/god/goto/jump/mute/perform/slay/spawn/spawn/spectate/speed/sslay/voicemute/sslay: 1. Click command name 2. Click done (or right click on someone's name) Others are still not many clicks... things like set/give armor/health are only 2 clicks + moving the sliders if you choose. Most commands are only 2 clicks. Some are even one, like teleport. I showed the whole layout of ban because it showed several types of screens off.
Banning is one click in NewAdmin. Select player - ban.
First off, that counts as 2 clicks. Selecting a player, is a click. That's not necessarily a good thing: 1. Ban reasons? If I'm a server owner, I want to know *why* someone was banned! 2. One thing I don't like about mods like ULX is a command to do something and another to undo it, but in the GUI, I need to separate the two, for obvious reasons. 3. Here's how it breaks down: a. Click ban b. Are you banning or unbanning [indent] 1. banning (path) [indent] i. select who (multiple player selection allowed for easy use) ii. Enter a reason optionally and select for how long optionally iii. Hit done. [/indent] 2. Unban (path) [indent] i. Click on a line ii. Hit unban [/indent] [/indent] So it's not things that shouldn't be there. It gives you more control over it. A ban is a commitment, not something to be taken lightly, and thus you should have control over it instead of something that's just rapid fire ban with default settings. I can go through that entire sequence in 5 seconds.
I have to agree,5 seconds on the gui or 15 seconds trying to remember everything that comes after ban,however for (almost) every other command its useless
Indeed, chat commands are quick and easy to remember, and for most commands, preferable.
It's not useless at all, it's a lot faster than typing the commands. And if it's such a big deal to all of you, use the chat commands. That is what he made them for. Instead of complaining, just use the thing that suits you most. Chat commands or the GUI.
[QUOTE=Miekk;14521070]It's not useless at all, it's a lot faster than typing the commands. And if it's such a big deal to all of you, use the chat commands. That is what he made them for. Instead of complaining, just use the thing that suits you most. Chat commands or the GUI.[/QUOTE] Or the console,and its only faster then typing commands if you type slowly,how long does it take you to type !rocket name because it takes me roughly 1.2 seconds,and you don't even need the full name :/ but yeah,I still think you should use DComboBox,would make it a lot easier and prettier using the GUI
I may just bring out my old server to try this out. From what I've seen, it looks good... but from what I've heard (a lot of posts in this thread), it may be different.
Sorry, you need to Log In to post a reply to this thread.