Zandro Admin (Beta 1)

Maps, modifications, add-ons, projects, and other releases for Zandronum. Also includes announcers.
Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

Zandro Admin (Beta 1)

#1

Post by Llewellyn » Fri Sep 21, 2012 12:12 pm

This is my Zandronum admin mod.
==Demonstration video==
WATCH IN 720p ATLEAST
phpBB [video]
The [video] tag is deprecated, please use the [media] tag
==Features==
You can make your friends admins without giving them RCON! (herp derp 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
Last edited by Llewellyn on Fri Sep 21, 2012 5:53 pm, edited 1 time in total.

Qent
Retired Staff / Community Team Member
Posts: 1424
Joined: Tue May 29, 2012 7:56 pm
Contact:

RE: Zandro Admin (Almost done)

#2

Post by Qent » Fri Sep 21, 2012 12:59 pm

Cool! Some kind of string input would be great for ban reasons, passwords, map changing, and stuff. :cry:

Anyway, how about GetIP and range banning?
Last edited by Qent on Fri Sep 21, 2012 1:00 pm, edited 1 time in total.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Zandro Admin (Almost done)

#3

Post by Llewellyn » Fri Sep 21, 2012 1:51 pm

Qent wrote: Cool! Some kind of string input would be great for ban reasons, passwords, map changing, and stuff. :cry:
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)
Last edited by Llewellyn on Fri Sep 21, 2012 1:53 pm, edited 1 time in total.

Watermelon
Zandrone
Posts: 1244
Joined: Thu Jun 28, 2012 9:07 pm
Location: Rwanda

RE: Zandro Admin (Almost done)

#4

Post by Watermelon » Fri Sep 21, 2012 2:31 pm

Awesome, hopefully there can be string support with CVars in the near future, though int's will have to do for now. Great job.

User avatar
Torvald
Forum Regular
Posts: 488
Joined: Tue Jun 26, 2012 3:14 am
Location: Nothern Hemisphere

RE: Zandro Admin (Almost done)

#5

Post by Torvald » Fri Sep 21, 2012 3:04 pm

Awesome stuff!
Cyber: was chased by cowboys
Nautilus: Cowboys? more like a buncha kids chasing a fucking ice cream truck
UnixAssassin wrote: The definition of cheating is not this: Using an aim assisting tool in a game
BEST.EVER.
Teamspeak: WUMBO.CA

Synert
Forum Regular
Posts: 228
Joined: Mon Jun 04, 2012 12:54 pm
Contact:

RE: Zandro Admin (Almost done)

#6

Post by Synert » Fri Sep 21, 2012 4:49 pm

Maybe try using stralloc with it so people can add ban reasons? Putting stuff in might be a bit tedious but it works

User avatar
StrikerMan780
Forum Regular
Posts: 279
Joined: Tue May 29, 2012 9:16 pm
Clan: Shadow Mavericks
Clan Tag: [SM]

RE: Zandro Admin (Almost done)

#7

Post by StrikerMan780 » Fri Sep 21, 2012 4:56 pm

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.
Last edited by StrikerMan780 on Fri Sep 21, 2012 4:56 pm, edited 1 time in total.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Zandro Admin (Beta 1)

#8

Post by Llewellyn » Fri Sep 21, 2012 5:53 pm

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
Last edited by Llewellyn on Fri Sep 21, 2012 5:54 pm, edited 1 time in total.

User avatar
Luke
Forum Regular
Posts: 512
Joined: Mon Jun 18, 2012 6:32 pm
Contact:

RE: Zandro Admin (Beta 1)

#9

Post by Luke » Fri Sep 21, 2012 6:17 pm

Did anyone say "awesome" already?

User avatar
DevilHunter
Zandronum Tester
Posts: 635
Joined: Sun Jun 17, 2012 12:58 am
Location: Alaska, USA
Contact:

RE: Zandro Admin (Beta 1)

#10

Post by DevilHunter » Fri Sep 21, 2012 7:33 pm

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 :|

User avatar
President People
Forum Regular
Posts: 394
Joined: Tue Jun 05, 2012 8:12 am

RE: Zandro Admin (Beta 1)

#11

Post by President People » Fri Sep 21, 2012 7:38 pm

Needz moar ZandroGuy skin. :)
Image
***MARATHON SKINS PACK V1.0.7***

I have been Roland, Beowulf, Achilles, Gilgamesh.
I have been called a hundred names and will be called
a thousand more before the world goes dim and cold.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Zandro Admin (Beta 1)

#12

Post by Llewellyn » Fri Sep 21, 2012 8:18 pm

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
Last edited by Llewellyn on Fri Sep 21, 2012 8:18 pm, edited 1 time in total.

User avatar
DevilHunter
Zandronum Tester
Posts: 635
Joined: Sun Jun 17, 2012 12:58 am
Location: Alaska, USA
Contact:

RE: Zandro Admin (Beta 1)

#13

Post by DevilHunter » Fri Sep 21, 2012 8:26 pm

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.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Zandro Admin (Beta 1)

#14

Post by Llewellyn » Fri Sep 21, 2012 8:40 pm

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.

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1905
Joined: Mon Jun 04, 2012 3:37 am
Location: Earth
Contact:

RE: Zandro Admin (Beta 1)

#15

Post by Combinebobnt » Fri Sep 21, 2012 8:43 pm

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).

Catastrophe
Retired Staff / Community Team Member
Posts: 2568
Joined: Sat Jun 02, 2012 2:44 am

RE: Zandro Admin (Beta 1)

#16

Post by Catastrophe » Fri Sep 21, 2012 9:01 pm

This has been needed for a while, nice!

User avatar
Cyber'
Retired Staff / Community Team Member
Posts: 252
Joined: Fri May 25, 2012 1:14 am
Location: Colorado
Clan: The Professionals
Clan Tag: <PRO>
Contact:

RE: Zandro Admin (Beta 1)

#17

Post by Cyber' » Sat Sep 22, 2012 2:01 am

I am going to assume that the server host will need to use the file in order for this to actually work?
Last edited by Cyber' on Sat Sep 22, 2012 2:46 am, edited 1 time in total.
Projects completed : PROCTF, Jump Maze, Tricky ST, RJX, RJX Remastered, Jump Maze X
Newest Project : Nothing at present, potentially a JM1 update.


Jumpmaze X post is here viewtopic.php?f=58&t=9981&p=115929#p115929
I always love these calm moments before the storm...

Qent
Retired Staff / Community Team Member
Posts: 1424
Joined: Tue May 29, 2012 7:56 pm
Contact:

RE: Zandro Admin (Beta 1)

#18

Post by Qent » Sat Sep 22, 2012 2:36 am

This is an ACS-based mod. It has no executable binaries.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Zandro Admin (Beta 1)

#19

Post by Llewellyn » Sat Sep 22, 2012 3:41 am

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...

Camo Yoshi
Forum Regular
Posts: 129
Joined: Wed Jun 13, 2012 7:08 pm
Location: Bainbridge Island, WA
Contact:

RE: Zandro Admin (Beta 1)

#20

Post by Camo Yoshi » Mon Oct 29, 2012 2:05 am

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
50+GB of WADs and counting: http://camoy.sdf.org/wads/

Ask your doctor if Zandrama is right for you. Side effects include butthurt, loss of sleep, loss of ego, embarrassment, and social withdrawal.

Post Reply