Difference between revisions of "Rift mapper mudlet"

From Mortal Realms Mud
Jump to: navigation, search
(Manual)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Information ==
 
== Information ==
The script is a work-in-progress, but can be used with a couple of small changes.
 
  
* Mob fights are bravely handled by trying to flee 3x and then casting rip to resume the rifting cycle. If you don't flee within three tries, it'll keep trying until you either flee, kill the mob and cast a rip after failed flee attempts, or die.
+
The script is pretty much complete. There may be another feature or two I think of down the line, but it does what a riftmapper needs to do. Click the button and let it do its thing.
  
Other important things:
+
The text file that your rifts are saved to is also easy to import into excel (using nine spaces as delimiters) if you want to get fancy.
* The script appends new rifts to the output file, so you can stop and restart riftmapping whenever you want (as long as the output file isn't moved).
+
* Turn Vt102 OFF and Colors ON - Colors are needed to identify room names. Without them, the script won't work. No idea if this works in vt102. I'm guessing not.
+
* Your prompt needs to be setup this way: prompt $hhp $mm $vmv $gg
+
* Add this alias: alias regen rest & regenerate
+
* The [[Psionicist's_Guild]] ring makes things a LOT faster, but isn't necessary here with a small change.
+
* The script is currently set to cast feast when you're hungry. This is changeable as well.
+
* The output file is saved in your Mudlet directory.
+
=== Manual ===
+
First, open the script file in the link below and copy everything into notepad.
+
Save it as Riftmapper.trigger wherever you have easy access to it.
+
In Mudlet, load the character that you'd like to install the riftmapper on and click the Packages (exp.) button.
+
Click install new package on the bottom of the pop-up and open Riftmapper.trigger
+
  
After this has been installed, you need to change a few of things in the button/script/triggers themselves:
 
<pre>
 
 
-----------------
 
-----------------
Buttons
 
  
Riftmapper:
+
Some of your settings WILL be changed as you start the script:
  
Change "Startrift = 197" to whatever number you'd like to start mapping at.
+
* VT102 will be turned OFF
-----------------
+
* Colors will be turned ON
 +
* Your prompt will be switched to this: prompt $hhp $mm $vmv $gg
 +
* This alias will be added: alias regen rest & regenerate
  
Triggers
+
Instructions on how to automate changing them back are included in the manual below.
  
Check Mana:
+
-----------------
  
If you didn't multiclass to Cleric, you'll need to comment out the feast spell and add the food type you have in your inv.
+
Other important things:
(Comments in Mudlet are signified by "--". Remove them from the eat and drink lines, change turkey to your food type, and comment out the feast line.)
+
  
Example using turkey from Kytar:
+
* Mob fights are bravely handled by trying to flee 3x and then casting rip to resume the rifting cycle. If you don't flee within three tries, it'll keep trying until you either flee, kill the mob and cast a rip after failed flee attempts, or die.
 +
* The script appends new rifts to the output file so you can stop and restart riftmapping whenever you want (as long as the output file isn't moved and REMEMBER TO CHANGE THE STARTING RIFT NUMBER IN THE BUTTON).
 +
* I'm 99% sure this doesn't work in VT102. If you feel like testing it and adapting it over, feel free!
 +
* The [[Psionicist's_Guild]] ring makes things a LOT faster, but isn't necessary. The script will automatically check if you're wearing one and adjust how you rest accordingly.
 +
* The script is currently set to cast feast when you're hungry. If you're a cleric multiclass, your food needs are all set. If not, one easy change is required.
 +
* The output file is saved to your Mudlet directory as "YourCharacterName_Rifts.txt"
 +
* ALWAYS REMEMBER TO REMOVE CURSE! There's a decent chance you'll die at some point if you're not paying attention.
 +
* Breathe water helps for underwater rooms.
 +
* AUTO OFF unless you have a lot of faith in your nec to blast through tougher mobs. Auto Off gives you a little more opportunity to flee if you get attacked.
 +
* This script does NOT track your health. If you flee with 3 hp and make it out alive, it's still riftmapping time. Good luck.
  
    --send("c feast")
+
=== Manual ===
    send("eat turkey")
+
    send("drink water")
+
  
 +
* First, open the script file in the link below and copy everything into notepad.
  
Get Area Name:
+
* Save it as Riftmapper.trigger wherever you have easy access to it.
  
You'll need to change the trigger itself to accommodate your character name/title for now.
+
* In Mudlet, load the character that you'd like to install the riftmapper on and click the Packages (exp.) button.
  
\[(\d+) (\w+) (\w+)]-\<(\w+)> Stebano the Rogue(\s+)(.+)
+
* Click install new package on the bottom of the pop-up and open Riftmapper.trigger
  
Change "Stebano the Rogue" to whatever your name/title show up as when you do the who command on yourself.
+
* After the script has been installed, you'll need to change a couple of things in the buttons/triggers:
  
Example (Gloomy):
+
<pre>
 +
Buttons
  
\[(\d+) (\w+) (\w+)]-\<(\w+)> Gloomy the chaotic soul.  http://mr.gloomy.eu(\s+)(.+)
+
Riftmapper:
  
You DO need at least one space between the last character of your title and the area name for the script to work.
+
Change "StartRift = 1" to whatever number you'd like to start mapping at.
  
 +
-----------------
  
OoM:
+
Triggers
  
If you DON'T have a psi guild ring, you'll need to change
+
Check Mana:
  
send("regen & regen")
+
If you didn't multiclass to Cleric, you'll need to comment out the feast spell and add whatever food type you have in your inv. (have a lot of it if you plan to map for a while)
  
to
+
* Comments in Mudlet are signified by "--". Remove them from the eat and drink lines, change turkey to your food type, and comment out the feast line.
  
send("sleep")
+
Example using turkey from Kytar:
 +
 
 +
    --send("c feast")
 +
    send("eat turkey")
 +
    send("drink water")
  
 
-----------------
 
-----------------
  
Scripts
+
TO AUTOMATE CHANGING YOUR SETTINGS BACK
  
RiftMapper:
+
Buttons
  
Change Stebano_Rifts.txt in the below line to whatever you want your rift file to be named.
+
Riftmapper:
  
rifts_file = io.open("Stebano_Rifts.txt", "a")
+
Uncomment whichever of the below lines are necessary. (To uncomment, remove the -- before send)
 
+
If you use a different prompt, enter your prompt settings in the super-obvious !YOUR PROMPT SETTINGS HERE! spot.
Example:
+
 
+
rifts_file = io.open("adultnoveltytoyshoppinglist.txt", "a")
+
  
 +
  --send("color off")
 +
  --send("vt102 on")
 +
  --send("prompt !YOUR PROMPT SETTINGS HERE!")
 
</pre>
 
</pre>
  
* After the above steps have been completed, go to any room you can cast a rip in, make sure your button is set to the rift # you want to start at, and simply click the Rift Mapper button. The script will take it from there.
+
* After the above steps have been completed, go to any room you can cast a rip in, make sure StartRift is set to the rift # you want to start at, and simply click the Rift Mapper button. The script will take it from there.
  
 +
* To stop the script, just click the Rift Mapper button a second time.
  
 
Please address any questions to Atari either in-game or through this site. Have fun!
 
Please address any questions to Atari either in-game or through this site. Have fun!
Line 91: Line 91:
  
 
== Versions ==
 
== Versions ==
 +
 +
Current
 +
* [[Mudlet_rift_mapper_1_1|Rift Mapper 1.1]]
 +
 +
Old Versions
 
* [[mudlet_rift_mapper_1_0|Rift Mapper 1.0]]
 
* [[mudlet_rift_mapper_1_0|Rift Mapper 1.0]]
 +
 
== Changelog ==
 
== Changelog ==
* 1.0 - initial script by Atari;
+
* 1.1 - Updated to automate most or all of the setup so the end user can just click a button and go.
 +
* 1.0 - Initial script by Atari.
 +
 
 
== Future Features ==
 
== Future Features ==
* Eventually you won't need to change your name/title in the script. The script will change your title to your riftmapping status "XXXXXX is currently mapping rift # 193" and then switch it back to your original when turning the mapper off.
+
* Maybe health tracking to make sure you're above 80% or something like that in order to continue rifting. I'll be honest, I'm going to have to get pretty bored before I add that.
 
[[Category:Scripts]]
 
[[Category:Scripts]]

Latest revision as of 18:53, 23 October 2022

Information

The script is pretty much complete. There may be another feature or two I think of down the line, but it does what a riftmapper needs to do. Click the button and let it do its thing.

The text file that your rifts are saved to is also easy to import into excel (using nine spaces as delimiters) if you want to get fancy.


Some of your settings WILL be changed as you start the script:

  • VT102 will be turned OFF
  • Colors will be turned ON
  • Your prompt will be switched to this: prompt $hhp $mm $vmv $gg
  • This alias will be added: alias regen rest & regenerate

Instructions on how to automate changing them back are included in the manual below.


Other important things:

  • Mob fights are bravely handled by trying to flee 3x and then casting rip to resume the rifting cycle. If you don't flee within three tries, it'll keep trying until you either flee, kill the mob and cast a rip after failed flee attempts, or die.
  • The script appends new rifts to the output file so you can stop and restart riftmapping whenever you want (as long as the output file isn't moved and REMEMBER TO CHANGE THE STARTING RIFT NUMBER IN THE BUTTON).
  • I'm 99% sure this doesn't work in VT102. If you feel like testing it and adapting it over, feel free!
  • The Psionicist's_Guild ring makes things a LOT faster, but isn't necessary. The script will automatically check if you're wearing one and adjust how you rest accordingly.
  • The script is currently set to cast feast when you're hungry. If you're a cleric multiclass, your food needs are all set. If not, one easy change is required.
  • The output file is saved to your Mudlet directory as "YourCharacterName_Rifts.txt"
  • ALWAYS REMEMBER TO REMOVE CURSE! There's a decent chance you'll die at some point if you're not paying attention.
  • Breathe water helps for underwater rooms.
  • AUTO OFF unless you have a lot of faith in your nec to blast through tougher mobs. Auto Off gives you a little more opportunity to flee if you get attacked.
  • This script does NOT track your health. If you flee with 3 hp and make it out alive, it's still riftmapping time. Good luck.

Manual

  • First, open the script file in the link below and copy everything into notepad.
  • Save it as Riftmapper.trigger wherever you have easy access to it.
  • In Mudlet, load the character that you'd like to install the riftmapper on and click the Packages (exp.) button.
  • Click install new package on the bottom of the pop-up and open Riftmapper.trigger
  • After the script has been installed, you'll need to change a couple of things in the buttons/triggers:
Buttons

Riftmapper:

Change "StartRift = 1" to whatever number you'd like to start mapping at.

-----------------

Triggers

Check Mana:

If you didn't multiclass to Cleric, you'll need to comment out the feast spell and add whatever food type you have in your inv. (have a lot of it if you plan to map for a while)

* Comments in Mudlet are signified by "--". Remove them from the eat and drink lines, change turkey to your food type, and comment out the feast line.

Example using turkey from Kytar:

    --send("c feast")
    send("eat turkey")
    send("drink water")

-----------------

TO AUTOMATE CHANGING YOUR SETTINGS BACK

Buttons

Riftmapper:

Uncomment whichever of the below lines are necessary. (To uncomment, remove the -- before send)
If you use a different prompt, enter your prompt settings in the super-obvious !YOUR PROMPT SETTINGS HERE! spot.

  --send("color off")
  --send("vt102 on")
  --send("prompt !YOUR PROMPT SETTINGS HERE!")
  • After the above steps have been completed, go to any room you can cast a rip in, make sure StartRift is set to the rift # you want to start at, and simply click the Rift Mapper button. The script will take it from there.
  • To stop the script, just click the Rift Mapper button a second time.

Please address any questions to Atari either in-game or through this site. Have fun!

(Template shamelessly stolen from Gloomy)

Versions

Current

Old Versions

Changelog

  • 1.1 - Updated to automate most or all of the setup so the end user can just click a button and go.
  • 1.0 - Initial script by Atari.

Future Features

  • Maybe health tracking to make sure you're above 80% or something like that in order to continue rifting. I'll be honest, I'm going to have to get pretty bored before I add that.