[RunUO 2.0 RC1] Toolbar
Changelog
This Toolbar is a complete rewrite of my old Alpha Command Toolbar, for staff use in-game. You have up to 9 columns and 15 rows of slots to bind commands or phrases to, that will dynamically format themselves to display in an easy-to-use GUI (the Toolbar itself). By default, different staff access levels are given different beginning commands.
Features
Drop Toolbar.cs in your custom scripts folder. When you log in, if you are a staff member, the toolbar will automatically pop up. If you close it, you can re-open it using <command prefix>Toolbar.
Previews
Code:
/**************************************
*Script Name: Toolbar *
*Author: Joeku AKA Demortris *
*For use with RunUO 2.0 *
*Client Tested with: 5.0.7.1 *
*Version: 1.31 *
*Initial Release: 08/23/06 *
*Revision Date: 11/01/11 *
**************************************/
- Version 0.1 August 23, 2006 - Initial release.
- Version 0.1 -> 1.0 November 5, 2006 - Full release. Command edit menu added, with customizable rows and columns. Marker tool is in the works. Skins added. Account tag serialization system dropped, persistance item serialization added. Sleeker design without "buttons" (you click on the text instead). Mount tool has been ditched. Planned future utilization of the TMSkin system.
- Version 1.0 -> 1.1 Post #36 November 26, 2006 - Fixed an odd bug which would crash the shard if players somehow accessed the Toolbar. Added console warnings to activate in the event of this occurrance.
- Version 1.1 -> 1.11 Post #44 November 27, 2006 - Fixed a compile error .
- Version 1.11 -> 1.2 Post #51 November 28, 2006 - Removed the last two revisions. Changed account checking (now checks by account accesslevel rather than character accesslevel). When staff members log in, if their accesslevel is greater than their account's accesslevel, it automatically resolves it (console message is sent saying for what account and what character). Everything should be fine now. Also, normal words or phrases bound to the toolbar now pass through speech event handlers in the scripts.
- Version 1.2 -> 1.21 Post #53 November 28, 2006 - Fixed a typo
- Version 1.21 -> 1.3 Post #74 January 22, 2007 - Fixed a glitch that erased commands on row 1, columns 6-9, for Game Masters and above, when the Default button is clicked in the edit menu. Added 12 different fonts (accessible via the edit menu). Added Phantom mode (turns toolbar semi-transparent). Added Stealth mode upon request (toolbar automatically minimizes when used). Added Reverse mode (minimize bar is above the toolbar instead of below). Added Lock mode (toolbar will not close when right-clicked). Added Expanded View for the edit menu (gives 4x viewing area for each entry). Added a small (50px) "handle" at the end of the minimize bar (I was having trouble grabbing the very edge of the toolbar when I wanted to move it). Changed Skin #2 border buffer from 10px to 7px.
- Version 1.3 -> 1.31 Other Thread November 1, 2011 - Thanks to Talow and AlphaDragon for making this fix! Toolbar is now re-sent if the user dies. Additionally, the Toolbar now will not disappear when customizing a house.
This Toolbar is a complete rewrite of my old Alpha Command Toolbar, for staff use in-game. You have up to 9 columns and 15 rows of slots to bind commands or phrases to, that will dynamically format themselves to display in an easy-to-use GUI (the Toolbar itself). By default, different staff access levels are given different beginning commands.
Features
- Easy setup and an easy-to-use GUI.
- Expanded View for edit menu gives 4x viewing space.
- Automatically saves information in an account tag.
- Automatically senses the command prefix used on your server and utilizes it.
- Small, concise gump saves you time and space.
- Easy edit menu accessible via the "(?)" button.
- Phantom mode makes the toolbar semi-transparent.
- Stealth mode makes the toolbar automatically minimize after use.
- Reverse mode puts the minimize bar above the toolbar instead of below.
- Lock mode makes the toolbar unclosable with right-click.
- 12 different display fonts to choose from.
Drop Toolbar.cs in your custom scripts folder. When you log in, if you are a staff member, the toolbar will automatically pop up. If you close it, you can re-open it using <command prefix>Toolbar.
Previews
- Toolbar with 5 columns, 2 rows, skin #1 and font #1.
- Toolbar with 3 columns, 3 rows, skin #2 and font #9.
- Toolbar with 1 column, 15 rows, skin #1, font #4, Phantom mode and Reverse mode enabled.
- Edit menu (normal view).
- Edit menu (expanded view).