CLIENT: Dump of mudlet related things for y'all

The place with help files for new players, weapon and equipment stats and other pertinent information for players of all levels and experience.
Adael
Posts: 1081
Joined: Sun Mar 22, 2015 12:34 am

Re: Dump of mudlet related things for y'all

Post by Adael » Sun May 02, 2021 12:03 pm

Adjusted the gating aliases and triggers so that people who have multiple chars with gate (and don't make different mudlet profiles for each char) can safely use gate without writing over codes.
This requires you to have input the score command at some point before any gating aliases (so that it knows the character name to use) as well as the stat command (so it knows the character sex and can properly embrace or seize).

"wotpack install gating" should fix ya up. Cheers! :)

Sanguine
Posts: 351
Joined: Thu Oct 08, 2015 9:48 pm

Re: Dump of mudlet related things for y'all

Post by Sanguine » Mon May 03, 2021 1:54 am

Make a "score on login" trigger.

Adael
Posts: 1081
Joined: Sun Mar 22, 2015 12:34 am

Re: Dump of mudlet related things for y'all

Post by Adael » Thu Jun 03, 2021 7:39 pm

Random sets of some minor updates:

Added "dreadlord" to show up red in track highlights, as it was a missing race option. ("wotpack install room highlights")
Minor change to the clickable link for rooms on where to center the map (no change of function, just a small behind the scenes change). ("wotpack install miscellaneous")

Added some triggers to highlight race when using locate object. You'll need to "wotpack update" to update the internal list of available trigger packages, and then "wotpack install locates" to get this.
There's a couple lines of code in the trigger you can comment/uncomment so that you can click on the port code and either a) embrace and port to it, or b) copy it to the clipboard.

Updated the status bar to show sps and dps, with basic estimates of values based on whether you're bursting/full/trickling etc. Thanks to Pounds for the suggestion and basically doing all the work for me :P
Maybe at some point in the future I'll give those more refined estimates based on sps/dps cost for things, but for now that's good enough. "wotpack install status bar" to grab the new version.

Post or pm if you see anything messed up or broken :)

Pounds
Posts: 94
Joined: Sun Oct 16, 2016 1:26 pm

Re: Dump of mudlet related things for y'all

Post by Pounds » Fri Jun 04, 2021 11:27 am

Thanks Adael! Just FYI for everyone, if you update these and you use the rolling timer, you'll have to re-enable it after downloading.

Adael
Posts: 1081
Joined: Sun Mar 22, 2015 12:34 am

Re: Dump of mudlet related things for y'all

Post by Adael » Sun Jun 20, 2021 11:41 pm

Just uploaded a new map with the Sharan trade town for anyone interested. Cheers! :)

Adael
Posts: 1081
Joined: Sun Mar 22, 2015 12:34 am

Re: Dump of mudlet related things for y'all

Post by Adael » Fri Jun 25, 2021 2:23 pm

Fixed the "status bar triggers" file. It wasn't properly capturing DPs for fades due to a trigger being set to substring rather than regex. Thanks to Pounds for noticing, reporting, and finding what was wrong :)

Adael
Posts: 1081
Joined: Sun Mar 22, 2015 12:34 am

Re: Dump of mudlet related things for y'all

Post by Adael » Sat Jul 03, 2021 12:46 am

Made some slight cosmetic updates to the mapper. "wotpack install mapper" to grab the latest version.

It should now display door names for your current room on the mapper area where it shows the room name (or if you click on a room, the doornames for that room).
I know quite a few people hate the colors I use to display the zone name or door names :P. You can now "map zonecolor xxx" or "map doorcolor xxx" to change those. "viewcolors" should pull up a web page from mudlet with a valid chart of color names.
In addition, some people don't like the zone info being displayed at all. "map showzone" will hide or show that line now.

These hopefully help people from having to edit scripts every time I post an update. Thanks to Stanislav, Draz, and others for mentioning/asking about these things at various points in the past. Always open to suggestions for further updates!
Cheers! :)

Adael
Posts: 1081
Joined: Sun Mar 22, 2015 12:34 am

Re: Dump of mudlet related things for y'all

Post by Adael » Wed Jul 07, 2021 12:57 am

Updated the map so that the door n of Ilsae is fixed in the right room, since it seems that's a permanent (or semi-permanent for now at least) change.

Meren
Posts: 277
Joined: Tue Feb 06, 2018 10:45 pm

Re: Dump of mudlet related things for y'all

Post by Meren » Wed Jul 07, 2021 6:42 am

Few adjustments to the statting script for Mudlet. Changed kill 2.leatherleaf to leatherleaf.

Added score check on level and sapling rip.

May need to adjust the stats as I set them for a trolloc.

edit: Further amendments made. Now disengages prior to restat. Also plays a sound on stats, but points to a sound file, so maybe turn that off unless you want to point it to your own sound.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.001">
	<TriggerPackage>
		<TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
			<name>leatherleaf statting</name>
			<script></script>
			<triggerType>0</triggerType>
			<conditonLineDelta>0</conditonLineDelta>
			<mStayOpen>0</mStayOpen>
			<mCommand></mCommand>
			<packageName></packageName>
			<mFgColor>#ff0000</mFgColor>
			<mBgColor>#ffff00</mBgColor>
			<mSoundFile></mSoundFile>
			<colorTriggerFgColor>#000000</colorTriggerFgColor>
			<colorTriggerBgColor>#000000</colorTriggerBgColor>
			<regexCodeList />
			<regexCodePropertyList />
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>Check score when tree dies</name>
				<script>send('score')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>A stout young sapling is dead!</string>
					<string>You gain a level!</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>If level 1 or level 2</name>
				<script>send('kill 1.leatherleaf')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>Level 1</string>
					<string>Level 2</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>If level 3 check stats</name>
				<script>send('stat')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>Level 3</string>
					<string>disengage</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>restat kill trees</name>
				<script>send('kill 1.leatherleaf')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>You feel dizzy as time seems to spin backwards...</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>hungry</name>
				<script>send('eat meat')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>hungry</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>thirsty</name>
				<script>send('drink skin')
send('drink flask')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>You are thirsty.</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>Dark hold lantern</name>
				<script>send('hold lantern')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>can't see anything</string>
					<string>You fail to blast someone.</string>
					<string>You drop a mirrored lantern.</string>
					<string>You get a mirrored lantern from a</string>
					<string>You fail to smite someone</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
					<integer>0</integer>
					<integer>0</integer>
					<integer>0</integer>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>You're already using a light.</name>
				<script>send('rem lantern')
send('drop lantern')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>You're already using a light.</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>empty skin</name>
				<script>send('drink flask')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>is empty</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>get lantern</name>
				<script>send('get lantern pouch')
send('get lantern pack')
send('get lantern sack')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>Grab lantern? Who what where?</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>hit</name>
				<script>send(' wield sword ')
send(' wield axe ')
send(' wield club ')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>with your hit.</string>
					<string>to hit it.</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>Spam for repop</name>
				<script>send('kill 1.leatherleaf')</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>They aren't here.</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>0</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>Restat (Channie stats use w CAUTION!)</name>
				<script>if
  (tonumber(matches[2]) &gt; 12) and
  (tonumber(matches[3]) &gt; 15) and
  (tonumber(matches[4]) &gt; 16) and
  (tonumber(matches[5]) &gt; 16) and
  (tonumber(matches[6]) &gt; 12)
then
  send('say hey hey hey')
else
  send('restat')
end</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>^Your base abilities are: Str:(\d+) Int:(\d+) Wil:(\d+) Dex:(\d+) Con:(\d+)\.$</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>1</integer>
				</regexCodePropertyList>
			</Trigger>
			<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
				<name>Restat (Hunter stats use w CAUTION!)</name>
				<script>if
  (tonumber(matches[2]) &gt; 18) and
  (tonumber(matches[3]) &gt; 8) and
  (tonumber(matches[4]) &gt; 8) and
  (tonumber(matches[5]) &gt; 17) and
  (tonumber(matches[6]) &gt; 18)
then
  send('say hey hey hey')
  playSoundFile([[E:\Downloads\DoorBell.wav]])
else
  send('disengage')
  send('restat')
end</script>
				<triggerType>0</triggerType>
				<conditonLineDelta>0</conditonLineDelta>
				<mStayOpen>0</mStayOpen>
				<mCommand></mCommand>
				<packageName></packageName>
				<mFgColor>#ff0000</mFgColor>
				<mBgColor>#ffff00</mBgColor>
				<mSoundFile></mSoundFile>
				<colorTriggerFgColor>#000000</colorTriggerFgColor>
				<colorTriggerBgColor>#000000</colorTriggerBgColor>
				<regexCodeList>
					<string>^Your base abilities are: Str:(\d+) Int:(\d+) Wil:(\d+) Dex:(\d+) Con:(\d+)\.$</string>
				</regexCodeList>
				<regexCodePropertyList>
					<integer>1</integer>
				</regexCodePropertyList>
			</Trigger>
		</TriggerGroup>
	</TriggerPackage>
</MudletPackage>

Janers
Posts: 5
Joined: Fri Jul 09, 2021 3:18 am

Re: Dump of mudlet related things for y'all

Post by Janers » Fri Jul 09, 2021 7:10 pm

I have a char that has to store a lot of items across inns throughout the MUD. As such I noticed it was dificult to keep track of what I had stored where --> wrote an "inn-database'" script which helps me with that.

For me it works, hope it also works for you guys. You can download it at:

github.com/yaldair/WoTMUD/innDB

or directly:
https://github.com/yaldair/WoTMUD/raw/m ... B.mpackage

then import it with the mudlet's package manager.

Commands are quite simple:

inndb help --> quick overview of commands
inndb char --> all items stored for your current character
inndb zone xxx --> all items store din a specific zone
inndb inn xxx --> all items stored in a specific inn
inndb item xxx --> search for a specific item

do note you need Adeal's map. At least, I capture the room/zone names by using some mapper functionality.

Hope it helps you guys out.

Kind regards,
Janers

Post Reply