Difference between revisions of "Rift mapper mudlet"

From Mortal Realms Mud
Jump to: navigation, search
(Created page with "== 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...")
 
(Manual)
 
(14 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.
 +
 
 +
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:
 
Other important things:
* Turn Vt102 OFF and Colors ON - Colors are needed to identify room names. Without them, the script won't work.
+
 
* Have the [[Psionicist's_Guild]] ring - the script is designed for [[Necromancer|necs]] who have it.
+
* 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 currently set to cast feast when you're hungry. This is changeable, but requires some edits.
+
* 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 ===
 
=== Manual ===
First thing to do is edit the script file and setup some variables (top of the script/file):
+
 
 +
* 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:
 +
 
 
<pre>
 
<pre>
#var number 100
+
Buttons
#var name dir
+
#var file rifts_dir.txt
+
#var back tell $name i don't know where to go :)
+
#var wholine [95 Nec Dro]-<All> Dir shmir...              http://mr.gloomy.eu %0
+
</pre>
+
* '''number''' - defines the starting rift you want to start at current session;
+
* '''name''' - [[Necromancer|necs]] name (used by the WHO command);
+
* '''file''' - file name where the rifts are saved
+
* '''back''' - can be ignored, this variable is used to handle some error situation;
+
* '''wholine''' - full line which can be seen when you type 'who your_nec_name' with a % instead of area name - used to parse the area name;
+
So after you first edit the script file you should:
+
# login with your [[Necromancer|nec]];
+
# load the script: '''#load script_name.txt'''
+
# go to the room where you can make a rip;
+
# type: '''start'''
+
This fill start the script ('''start''' is script alias);
+
  
 +
Riftmapper:
  
Next time you dont need to edit the script. Just login, load the script, set rift number variable (#var number <next_rift_number>), type: '''start'''
+
Change "StartRift = 1" to whatever number you'd like to start mapping at.
  
To stop the script type: '''#kill'''
+
-----------------
  
This will clear the tintin variables/actions/alises and all will stop;
+
Triggers
  
To see the end of current rift file (to find out the last rift mapped) type: '''#system tail rift_file.txt'''
+
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!")
 +
</pre>
 +
 
 +
* 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)
  
All questions and help please leave on the [[Talk:Rift_mapper_tintin|discussion page]]. Good luck!
 
 
== 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 gloomy;
+
* 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.
 
[[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.