PDA

View Full Version : [Addon Release] [ArcEmu/ACWeb] SwiftDiscipline GM Addon by Twist3d


Twist3d
08-23-2008, 04:38 AM
SwiftDiscipline 1.01
Player Control Addon for GMs on ArcEmu Servers, by Twist3d.

Last Updated: 8/24/2008

Hey ac-web, this release is an addon I've been working on for my own server for the last couple of weeks, it went through a sort of closed beta where I had all of the GMs on my server using it for about a week, and I used that time to squash out some bugs and add some features.
The addon is called SwiftDiscipline.


What is SwiftDiscipline?
Basically, SwiftDiscipline is an addon that attempts to make it easier for GMs on ArcEmu servers to, well, discipline their players. Swiftly.


How do I use SwiftDiscipline?
SwiftDiscipline is very easy to use, with uncluttered prompt windows and an intuitively laid out UI that leaves little question as to how it functions.
The main method of working with the addon is via the eight command buttons that you will find on the bottom right of your screen. Clicking on these buttons will open a window that takes the information required for the command you selected, such as Kick Reason, Ban Duration, Port Location, etc. Clicking on a button with a player targeted will prefill the player name box with the target's name.

An alternate, yet equally convenient method of using SwiftDiscipline is via the dropdown menu buttons that the addon adds to the BlizzardUI UnitPopup dropdowns (these are the menus that appear when you right-click on someone's name in chat or when you right click on your target's portrait). This is especially useful when you're receiving a flood of "OMFG REZZ MY HERO PL0x" whispers, as you can just right click on their name and select Resurrect.

The addon also has a couple other tricks up its sleeve, check out the feature list and the screenshots following it below.


SwiftDiscipline's Features

-Adds a sort of control panel for commonly used functions such as Kick, Account-Ban, IP-Ban, Mute, Teleport, Paralyze, and Revive.

-Prefills player name with currently selected target.

-Hooks into the Blizzard UnitPopup dropdown menus to provide a quick way to Kick, Ban, Appear, Summon, Port, or Resurrect a player.

-Allows for up to 10 "Saved Reasons" for player kicks. These saved reasons are predefined, editable strings of text that you can use to quickly provide a reason for a kick such as Vulgar language, exploiting, use of caps-lock, etc.

-Counts the number of times a player has been kicked in a session (by any GM) and suggests a temporary ban when the kick count gets high.

-Completely removes the need for a GM to use .playerinfo to get a player's account name or IP address for a ban, SwiftDiscipline does this automatically, and also warns you if the player you're about to ban has GM permissions.

-Comes with a basic stat tracking feature, allowing you to see how many kicks, bans, revives, ports etc. you've done since the addon was installed.

-Sends a server-wide announcement for player bans (can be disabled).

-Intuitive, easy-to-use prompt GUI system with uncluttered windows and a small, unobtrusive main window that doesn't take up unnecessarily large amounts of screen space.

-Includes a minimize feature that reduces the main window's size to a very small, thin bar.

-And more!!!11 :D


Screenshots
Some of these screenshots are from version 0.9, and as such there will be minor cosmetic differences between the current release and the release depicted in the screenshots, such as the ban announcement, which will now display durations as Forever (for 0) or 1 year, 4 months, 6 days, 1 hour (for 1y 6d 4m 1h, etc.).

The main windows.
http://leetsoft.net/downloads/windowexample2.jpg

The dropdown menus.
http://leetsoft.net/downloads/dropdownexample.gif

The account ban window in action.
http://leetsoft.net/downloads/accountbanexample.gif

The IP ban window in action.
http://leetsoft.net/downloads/ipbanexample.gif

Kick counting example.
http://leetsoft.net/downloads/kickcounting.gif

Minimized mode.
http://leetsoft.net/downloads/minimode.gif


Download
Zipped:
http://leetsoft.net/downloads/SwiftDiscipline.zip

SVN Repository:
http://swiftdiscipline.googlecode.com/svn/trunk/ swiftdiscipline
(Google Code's SVN feature is really f*cked up so I apologize if this doesn't work, I have no idea if you can even checkout anonymously)


Changelog
Changelog.rtf (http://www.leetsoft.net/downloads/changelog.rtf)


Feedback
If you like the addon, that's great! However, I'd also love to hear from you if there are somethings you don't like about the addon, and especially if you've got suggestions as to how to improve the addon!

Please post any feature requests, suggestions, bugs, or general comments here, I'll try to respond to all of them and I will try my best to implement your requests. However, try to keep requests around the general area of disciplining players, as SwiftDiscipline is currently for dealing with players.
Though if enough people ask, I might make a separate addon with a similar system for handling other GM commands :p


FINAL NOTE
This addon is designed to work with ArcEmu commands and system messages. It may not work with other emulators or newer revs of ArcEmu if commands or system messages (like pinfo output) are changed. Testing and development for this addon was done on ArcEmu r579, and support for the "new" GM command set in r583 is also included. It MIGHT work with Aspire or other Ascent based emulators but only if the commands and the system GM messages have not changed.

someone75
08-23-2008, 04:42 AM
that looks pretty good and helpful. But I must say it will be useless if it isnt kept updated as arcemu changes gm commands now and then

alwaysbored101
08-23-2008, 04:43 AM
Looks Good, Download it +Rep!!!

Twist3d
08-23-2008, 04:49 AM
that looks pretty good and helpful. But I must say it will be useless if it isnt kept updated as arcemu changes gm commands now and then

I don't intend to stop playing on private servers any time soon, and even if I do, and even if the arcemu commands change, it would be very easy to fix the addon, even for someone who doesn't know Lua or coding at all. But like I said I'll do my best to keep it updated. :D

Roguezor
08-23-2008, 05:03 AM
wow this is very nice. +rep

Charlie9809S
08-23-2008, 10:27 AM
really good, ty

Twist3d
08-23-2008, 03:08 PM
Glad you all like it :P
If you discover any bugs or problems with commands (since apparently Arcemu changed their commands recently, or after the revision I used to make the addon), please don't hesitate to post them.

sirelewop
08-23-2008, 06:44 PM
pretty nice but i would LOVE an SVN Repo!

Artilles
08-23-2008, 06:55 PM
:O this look repage, +rep to you!!

Diablothein
08-23-2008, 06:57 PM
Nice share, but I'll stick to the one my classmate made, +rep anyways...

Twist3d
08-24-2008, 05:48 PM
SwDi v1.01 has been uploaded... it now supports the "new" GM command set that was introduced in ArcEmu rev583.

v1.0.1
-Went through the code and removed more copypasta remnants from my Paranoia addon.
-SwiftDiscipline now supports the "new" set of ArcEmu GM commands changed in revision 583. The addon will attempt to detect your server's revision number upon login and will choose a command set accordingly. If your server does not send the "Server: ArcEmu TRUNK rXXX" message upon login, or if SwiftDiscipline cannot parse the message, it will default to the old command set (the strfind pattern is "Server:(.+)r(%d+)", so it will detect revision numbers even if ArcEmu is not in the Server: message, but if used with other cores such as Aspire it may choose the wrong command set).

kingjune1st
08-24-2008, 05:50 PM
omfg rep

Brandon
08-24-2008, 11:16 PM
Wow, nice work, a lot of time was put into this!
+rep

zenathor
08-25-2008, 12:12 AM
nice work! +rep

FaceCannon
05-30-2009, 08:14 AM
i wish i could fix this for the current 3.1.1 hs core.

achieq
06-02-2009, 06:44 PM
Nice, you should change the commands for aspire/hearthstone.