Page 1 of 2
Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 12:12 pm
by Llewellyn
This is my Zandronum admin mod.
==Demonstration video==
WATCH IN 720p ATLEAST
The [video] tag is deprecated, please use the [media] tag
==Features==
You can make your friends admins without giving them RCON! (herp

I'm cool "Rcon quit")
You can limit what commands they can use with admin_no<Command> EG: admin_noBan disables the ability to ban!
Currently supported features:
Kicking,
Force Spectating,
Banning,
Map Changes,
MapChange style Map changes,
God,
Fly.
People with ACS knowlege can easily add more, it just takes a few steps!
Spoiler: How To Add your own command (Open)
In our examle, we're going to add the ability to execute your own script!
First, you need to set up some #Defines
Code: Select all
#define SCR_MYSCRIPT 607
#define CMD_MYSCRIPT 9
#define MENU_MYSCRIPT 15
SCR_MYSCRIPT is the number of your script
CMD_MYSCRIPT is the menu command number
and MENU_MYSCRIPT is the menu number
Now, edit the #define MENU_AOOPTIONS and add one to it!
Then add your option in the strOptions arrays with the text you want to display and menu number.
Now, you're going to scroll down to SCR_MAIN, in the While (true) loop, put this after any of the other menu commands:
Code: Select all
else if (menu == MENU_MYSCRIPT)
{
FUNC_CMD(CMD_MYSCRIPT, 0, 0, 0, 0, playerNumber());
break; //Exits the menu.
}
Now, you scroll down to the FUNC_CMD function, and add your MYSCRIPT case!
Code: Select all
case CMD_MYSCRIPT:
ACS_Execute(SCR_MYSCRIPT, 0, 0, 0, 0);
Then, the menu will activate your script in whatever mod you have!
You can look at the other menu functions for more complicated examples involving scrolling menus, getting a list of players, etc.
I'm up for suggestions regarding default commands that come with the admin menu!
==Download==
The mod works 100% right now, but I want the password input to be a bit easier. (right now you have to do "set admin_validator <paswordnumber>" in console on the client) And make map-picking not restricted to map01-map32.
ZandroAdminB1.zip
Mirror
==HUGE DISCLAIMER==
YOU CANNOT USE THIS AS A SPECTATOR (YET) AND OPENING THE MENU MORE THAN ONCE AT A TIME IS YOUR OWN GODDAMN FAULT, I'M NOT RESPONSIBLE IF YOU BAN YOURSELF
RE: Zandro Admin (Almost done)
Posted: Fri Sep 21, 2012 12:59 pm
by Qent
Cool! Some kind of string input would be great for ban reasons, passwords, map changing, and stuff.
Anyway, how about GetIP and range banning?
RE: Zandro Admin (Almost done)
Posted: Fri Sep 21, 2012 1:51 pm
by Llewellyn
Qent wrote:
Cool! Some kind of string input would be great for ban reasons, passwords, map changing, and stuff.
I'm working on getting that ready, I've got the pre-defined reasons for people who are lazy already though.
Qent wrote:
Anyway, how about GetIP and range banning?
If you're doing something that complicated you might as well RCON, there's no point in adding that into a menu that's supposed to be about quick actions (not to mention hitting the wrong key and rangebanning everyone ever)
RE: Zandro Admin (Almost done)
Posted: Fri Sep 21, 2012 2:31 pm
by Watermelon
Awesome, hopefully there can be string support with CVars in the near future, though int's will have to do for now. Great job.
RE: Zandro Admin (Almost done)
Posted: Fri Sep 21, 2012 3:04 pm
by Torvald
Awesome stuff!
RE: Zandro Admin (Almost done)
Posted: Fri Sep 21, 2012 4:49 pm
by Synert
Maybe try using stralloc with it so people can add ban reasons? Putting stuff in might be a bit tedious but it works
RE: Zandro Admin (Almost done)
Posted: Fri Sep 21, 2012 4:56 pm
by StrikerMan780
Heh, beaten me to the punch. I was going to make an admin mod, much in the vein of SourceMod for HL2DM/CSS/TF2, but I see you've taken care of it. :P
Either way, looks pretty cool. I like stuff like this, good work.
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 5:53 pm
by Llewellyn
Synert wrote:
Maybe try using stralloc with it so people can add ban reasons? Putting stuff in might be a bit tedious but it works
I plan on doing this but at the moment I am just going to release it like this because b2 will take some time I will have to redo some of the menus.
Also this is supposed to be user friendly, so I need to invent a way from keeping people from typing something dumb in stralloc that doesn't work.
Planned to be added from users suggestions:
Setting limits like point limits, lives, frags, time limits, player limits etc.
Make ESC key exit menu?
==HUGE DISCLAIMER==
YOU CANNOT USE THIS AS A SPECTATOR (YET) AND OPENING THE MENU MORE THAN ONCE AT A TIME IS YOUR OWN GODDAMN FAULT, I'M NOT RESPONSIBLE IF YOU BAN YOURSELF
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 6:17 pm
by Luke
Did anyone say "awesome" already?
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 7:33 pm
by DevilHunter
Very nice. I like this alot. kinda reminds me of the admin system used in Wolfenstien: Enemy Territory, where you can limit admins to admin lvls, thus the amount of cmds they can use, that and giving them extras, that if they earned it.
The few cmds I would like to see is.. Moving Team Members to spec, either team, or simply any funny cmds like Splat, Fling, Flinga (where you fling everyone including yourself, that if your in the game) but ofc.. there is a limit in Doom
Anyhow, would love to see this in action, even though I can't view Youtube vids in the thread, due to the Library's strict rules.. For some reason, it don't allow firefox portable to run any Flash, yet it runs just fine in IE :|
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 7:38 pm
by President People
Needz moar ZandroGuy skin. :)
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 8:18 pm
by Llewellyn
DevilHunter wrote:
The few cmds I would like to see is.. Moving Team Members to spec, either team
I built a team-stack wad a while ago that lets RCON make teams forced even or move people to teams, I'll see what I can do, but you can already force spectate people
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 8:26 pm
by DevilHunter
Yea I know, but I was thinking we could have it to where, you have an AdminList (not the one that excludes you from kicking and what not, or rather, build off the Current AdminList) to where you can have a certain set of cmds set to them, then when they connect, it will say something like "Level 3 Admin (name) Has Arrived", then they can do cmds like "!put butthead s" or something like that
Im just used to those cmds, not used to doing rcon, but hey, its decent. Just a thought, no clue if anything could be done like that.
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 8:40 pm
by Llewellyn
DevilHunter wrote:
Im just used to those cmds, not used to doing rcon, but hey, its decent. Just a thought, no clue if anything could be done like that.
Yea, I can make seperate menus for different level admins, but I don't really see the point right now eh. maybe later.
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 8:43 pm
by Combinebobnt
Someone should try and do an update of the old skulltag acsc admin plugin and dll stuff for zandronum, although wads for admin stuff are still cool (albeit not nearly as powerful).
RE: Zandro Admin (Beta 1)
Posted: Fri Sep 21, 2012 9:01 pm
by Catastrophe
This has been needed for a while, nice!
RE: Zandro Admin (Beta 1)
Posted: Sat Sep 22, 2012 2:01 am
by Cyber'
I am going to assume that the server host will need to use the file in order for this to actually work?
RE: Zandro Admin (Beta 1)
Posted: Sat Sep 22, 2012 2:36 am
by Qent
This is an ACS-based mod. It has no executable binaries.
RE: Zandro Admin (Beta 1)
Posted: Sat Sep 22, 2012 3:41 am
by Llewellyn
Cyber wrote:
I am going to assume that the server host will need to use the file in order for this to actually work?
Well I could hack in a mod into zandronum.exe but that would be not nice.
There really should be a version of this that's native, and less hacky, but you know...
RE: Zandro Admin (Beta 1)
Posted: Mon Oct 29, 2012 2:05 am
by Camo Yoshi
Mirrored:
http://camoy.sdf.org/wads/files/ZandroAdminB1.wad
I will have to do some beta testing on this... If this is a viable replacement for ACSC, I'm all for it. :D