Syndran's Mudlet Package

From Avatar
Jump to: navigation, search

Currently working on a few Mudlet packages for public use.

All packages are currently supplied in XML format on pastebin. Download the file, open scripts from top menu bar, and import the xml into a profile in Mudlet

Colors[edit]

Basic color triggers for flags, conditions and other bits and pieces.

https://pastebin.com/89ksLJak

Layout scripts[edit]

Current Layout Script is a Flexible layout setup, using a left panel for Group Stats and Affects, and a right panel for Channels. Side panels are set to a percentage of screen size, and bottom buttons should flex size to fit correctly. Hit me up in game if you have issues or requests.

This shell will create number of named containers. Content will not be populated to these containers without scripts or triggers.

Some button in the layout are linked to alias,the buttons obviously wont work until you update the alias they run. These scripts are included below

Bonus Feature - The label for spell affects - concentrate, has an attached onClick action that can be used to cast the spell. This is provided as an example in case anyone wishes to see how this is achieved.

https://pastebin.com/t41m38c0

Note by Vagonuth: above code has an error on line 112 where there is a double %% where is should be a single %, fixed version available here: https://pastebin.com/ySTii9Qf

Old Fixed layout, now retired, but here for those that don't want the new layouts

https://pastebin.com/9vbqvafX


Example of layout script

Chat Captures[edit]

To populate the right hand side of this layout, a few triggers are required to catch and redirect most types of messages. Because of the fickle nature of some channel characters, it is recommended to run with config +blind

https://pastebin.com/MHcqSy5T

GMCP stats[edit]

The majority of the Affect and Character stats are available via GMCP. This script will capture GMCP stats and update the user interface.

While an effort has been made to handle class specific Spells and abilities, it is nowhere near complete. (please let me know if there is stuff i should add)

https://pastebin.com/VeMAXEzx


A handy little trigger to populate run stats and other goodies.

https://pastebin.com/5f5Sheyn

Level Database[edit]

Want to track your gains? where you level? Over 999 and want to track your actual level?

Database script records every level (bulk levels it struggles with currently) and provides an easy way to see where you level, and what your average gains are.

Contains

-Triggers for matching level gain line

-script for database functions

-getstat alias for showing averages per character

-getarea alias for showing what areas a character has leveled in (NOTE: case sensitive "getarea BoB" and "getarea Bob" are different)

https://pastebin.com/QrE7wzCS

Group Scripts[edit]

GMCP based group update to populate a list of current groupies, and some basic stats for each, contains a timer to update every 5 seconds, and the script to populate a container that was defined in layout script.

https://pastebin.com/U0JG8NPb

Gear/Alleg Labels[edit]

A small set of triggers that adds a label to most alleg and lord gear. This list is not complete but will be updated regularly.

https://pastebin.com/aLZ2fzrj

Misc Stuff[edit]

To ensure that the layout works, a number of misc triggers are included for reference.

- Kill Trigger that takes the kill/surp toggle from front panel

- Xp trigger to populate runstats

- alias Runreset to resetstats

- Alias Runrep to report same stats to group

https://pastebin.com/iNmNP6Bv

Disclaimers[edit]

1.This script currently tries to adjust for multi screen resolutions. To fix common issues, go to your scripts folder, select layout and in the script try the following

- To adjust the width of the first column, in the script at line 10 and 14, adjust this value to increase or decrease width. Other alterations to child containers might be required.

- To adjust the bottom bar height. in the script around row 400, look for "name = "Bottom_container", x="365" , y="850"" and adjust the Y value s required, lower it to raise the bar, increase it to drop the bar.

- to Adjust the right hand column. Look at around row 300 for the "setBorderRight(500)" and adjust.

- to remove the mapper container. at around line 282 to 294, comment out or delete this block.

2. Some of the buttons and triggers assume various things.

- autobash assumes you have an on mud character specific alias called bash. if you dont have one, make one in Mudlet or, preferably, on mud Eg. "alias bash hold hero:bash %1:hold offhand"

- if you require level gear. Make an onmud alias called "level" and "unlevel" to wear and unwear this gear. when your low TNL, you will auto wear the gear, then remove it on level