Lich:Software/Installation
Lich:Software/Installation is a third party script and is not maintained by Simutronics. Simutronics is not responsible for the accuracy of the information presented on this page, nor is it liable for issues stemming from the use of the application on players' personal devices.
About
Lich is an add-on scripting engine that works alongside existing front ends. The most common installation is a combination of Lich on Windows using the Wrayth or Wizard FE. Lich is also used by many on both MacOS and multiple Linux distributions.
Installing the Latest Stable Release
The latest stable lich version is 5.6.2
Upgrade Lich 5 to the Current Version
If you are on an older version of Lich 5 and want to upgrade to the most current version, copy and paste these commands one at a time then restart your front-end client. You can run the command ;e echo LICH_VERSION
to check your version. If it starts with 4, go to the Upgrade from Lich 4 section.
;repo download lich5-update ;lich5-update --update Quit and restart lich
Note for Parallels on ARM: By default the rubyw file in C:\Ruby4Lich5\bin is set to run in compatibility mode for windows 7. On an ARM Mac running parallels, this causes Wrayth scripts not to run. Turning compatibility mode off in the rubyw file fixes this issue.
Windows New Installation
These instructions are not for DragonRealms. For those scroll to the bottom.
For Windows 11/ 10 / 8 / 7 users: you can download the Ruby4Lich5.exe Installer and install everything you need automatically. Click on the Ruby4Lich5.exe and download it to your computer then double click on the executable in your default download folder. Note, a user may need to adjust their browser or security settings to allow download and installation. If you have never played before, follow the 'New Installation' instructions. If you have played before, and have used Lich before, follow the 'Upgrade Installation' instructions.
New Installation for Lich 5 (6/21/2022)
- Please log into the game of your choice through the Simutronics website first. Install the launcher (not SGE), and install your FrontEnd of Choice. The Wrayth FrontEnd is presently the supported FrontEnd, but Wizard will work as well, if you are nostalgic. After you've logged in, log out and continue.
- Download and Run the Ruby4Lich5.exe Installer. You will receive the Microsoft Warning because this is not distributed through the MS Store. Click on 'More Info' and then select the 'Run Anyway' button.
- The installation may take a few minutes, especially on non-SSD harddrives.
- A Lich5 folder will be placed on your desktop after the install is finished, open that folder and double click the lich.rbw file contained inside to start Lich's Game Entry window.
- Use your existing Simutronics Account and Password and click connect. Then select the character you wish to play, and select the FrontEnd you wish to use. Then click the Play button.
- Your game FrontEnd should start, and you should see Lich5 initializing. You will see it downloading files - these are the map files, wait for the download to finish.
Upgrade Installation for Lich 5 from Lich 4 (3/6/2021)
- Back up your existing lich folder for a failsafe experience. Seriously. Put a copy somewhere safe.
- Download and Run the Ruby4Lich5.exe Installer. You will receive the Microsoft Warning because this is not distributed through the MS Store. Click on 'More Info' and then select the 'Run Anyway' button.
- The installation may take a few minutes, especially on non-SSD harddrives.
- A Lich5 folder will be placed on your desktop after the install is finished.
- Since you likely have a ton of information already saved in your previous lich folder, the fastest way to update to Lich5 is to open the Lich5 folder, open your existing lich folder, select ALL in your existing lich folder, and drag it over to the Lich5 folder. DO NOT OVERWRITE any files that already exist. If you do, your new Lich5 installation will not work. Always keep the existing Lich5 file when copying over your old information. You did back up your existing lich folder, right?
- Log in as you normally would. The Lich Quick Game Entry and Game Entry windows will look different, so don't be surprised. The Lich Quick Game Entry window should show your accounts in tabs on the left side, click through them to be sure your characters are all still listed under their tabs.
Special note to Profanity / Illthorn and other third-party FrontEnd users - this installer does not create an entry to the Environment Path variable. If you're using a third-party FrontEnd, be sure to add the Ruby4Lich5\bin directory to your path. See how here.
If you choose to not use the installer and want to live dangerously and try to install Ruby yourself, we recommend also installing the following gems: gem install tomlib ascii_charts concurrent-ruby ftools gtk3 json jwt mechanize nokogiri redis sequel sqlite3 terminal-table tzinfo webrick xmpp4r
Additional assistance in installation can be found in the scripting channel of the GemStone Discord.
Mac OS X
Players with Macs can use Installing Lich on Macs for installation help.
This process works well for Mac OS Catalina and Big Sur.
If you have not updated your Mac OS yet, these instructions may work depending on your actual version. If you run into a snag, follow the contact instructions provided.
Chromebook & Debian variants
The following steps should install Lich and Profanity for users of Debian/Chromebooks. Profanity is a terminal-based Front-End that will let you play the game (in lieu of The Wizard or Wrayth).
Update the list of available software and make sure some requirements are installed:
sudo apt-get -y update sudo apt-get -y install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libsqlite3-dev git
Install rbenv, a Ruby version manager. Add it to the PATH so that it will work outside of its own directory, and set it up to work when you launch the shell (terminal):
git clone https://github.com/rbenv/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc
Run the shell's launch script now to enable those two changes and get rbenv working:
source ~/.bashrc
Download the tools to let rbenv install Ruby on its own, then install Ruby 2.7.8 and set it to be our default version of Ruby system-wide:
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build rbenv install 2.7.8 -v rbenv global 2.7.8
Tell Ruby not to create documentation for its gems (plugins/packages) unless asked, because it takes a long time and they are available online. Then install the dependencies for Lich and Profanity:
echo "gem: --no-document" > ~/.gemrc gem install sqlite3 gtk3 curses sequel terminal-table ascii_charts concurrent-ruby tomlib
Install Lich and Profanity:
cd ~ git clone https://github.com/elanthia-online/lich-5.git git clone https://github.com/elanthia-online/ProfanityFE.git
Please refer to the Profanity FE page for initial configuration and additional instructions.
Fedora
There are notable differences between the versions of Fedora that are commonly available:
- Fedora 31 uses Ruby version 2.6.5 which has no compatibility issues with the base lich version or the Beta GTK3 variant.
- Fedora 32 uses Ruby version 2.7.1 which requires modification of scripts to match SAFE commands. This is a minor version difference, but is notable.
1. Update The Base Installation:
$ sudo dnf -y update $ sudo dnf -y install vim git
2. Install required Ruby and Development packages:
$ sudo dnf install -y autoconf bison gcc gdbm gdbm-devel glib2-devel gobject-introspection-devel \ libyaml-devel libffi-devel make ncurses-devel openssl-devel readline-devel redhat-rpm-config \ ruby ruby-devel sqlite-devel unzip zlib-devel
3. Perform Ruby Gem Installations:
$ gem install rake $ gem update $ gem install sqlite3 gtk3 curses sequel terminal-table concurrent-ruby tomlib
4. Download Lich & Profanity:
$ cd ~ $ git clone https://github.com/elanthia-online/lich-5.git $ git clone https://github.com/elanthia-online/ProfanityFE.git
Popular Scripts
The following are a list of scripts that enhance or extend basic functions of Gemstone IV and can improve or streamline your gaming experience to a point where you can't think of ever going back. It's not all inclusive but contains a good starter set or some of the most popular scripts in use.
Core components installed with Lich
Generally speaking, the below scripts should not need to be updated manually by the user, especially if the user keeps up to date on the current lich version.
- go2 - Go2 is an intelligent travel script that is synchronized to many of the more complex scripts. Go2 uses a Room Number system and can intelligently plot routes between most any two rooms in all of Elanthia. Use can be as simple as
;go2 town
or;go2 bank
to head to the nearest town square or bank. Use;go2 targets
to see a list of pre-programmed locations broken down by towns. Or, use;go2 save <new location name>=<new location room number>
to create your own locations. Go2 is distributed as part of a default Lich installation. - map - map (fork of Narost/XNarost) is an active map library that can display your location and allows Point-And-Click travel. Simply right click and choose a map, pick a room on it and click on it. map is distributed as part of a default Lich installation.
- alias - A default script used to create shortcuts in lich. See wiki page for details.
- vars - A default script to create and view variables for both users and scripts. See wiki page for details.
- autostart - A default script to handle which scripts run on startup. See wiki page for details.
- repository - A default script to view and dowload other scripts. See wiki page for details.
- version - A default script to output your current lich version and other information. See wiki page for details.
Scripts maintained by Elanthia-Online
- bigshot - A script for attacking and hunting routines. See wiki page for details.
- blackarts - A script for doing various alchemy tasks.
;blackarts setup
for configuration details - ewaggle - A script for spelling yourself and others up. See wiki page for details.
- ebounty - A script to get and perform bounties. See wiki page for details.
- eloot - A looting and loot management script. See wiki page for details.
- ecleanse - A script for dealing with status conditions. See wiki page for details.
- eherbs - A herb heaing and stocking script. See wiki page for details.
- ecure - A script for healing for empaths. Usage syntax is
;ecure setup
for first usage. - elogin - A script for command line login for your characters. . Usage syntax is
;elogin <charname>
- echild - A child bounty script that monitors for and returns a child during bounty sessions. Add to autostart or your hunting script when performing a bounty.
- foreach - A script for sending a series of commands for each item that matches its criteria. See wiki page for details.
- jbackup - A excellent backup and recovery tool that allows lich database and any additional file backup a user prefers. Set to autostart.
- ledger - A scripting for tracking your silver and bounty incoming across sessios and over time per character and account with a nice ascii discplay. Requires ascii_charts gem (installed by default with Lich 5.7.0+ full installer)
- signore - A script for using society powers
;signore setup
for configuration - resource - A script for determining your current player service bonus.
;resource bonus
Can also be used to determine the cost of enchanting with the syntanx ;Resource calc <starting enchant> <ending enchant> <cost per essence> as in;resource calc 35 45 50
- ecaster - Allows user to type just the spell number and have lich cast that spell. Usage syntax is
;ecaster setup
for configuration. Set to autostart.
Other scripts that are popular
- invdb - An inventory management database. See wiki page for details
- lnet - An out of game, third party, not Simutronics controlled chat server.
;repo download lnet --author=elanthia-online
. See wiki page for details LNET should be installed at your own risk. Simutronics has no control over lnet or policy enforcement there. - multi - A script to peform repetitive set of commands. Usage syntax is
;multi; <number> <action>
such as;multi 10, get my diamond, drop my diamond
- ego2 - A script for bounty escorts. Usage syntax is
;ego2 help
for relevant commands. - wander - The last of the Trifector of Travel, wander will move from room to room until it runs into a Boundary - a specified room number - or finds a room with a monster AND empty of players. Wander can be used to create a walled in hunting ground, letting you automatically move from room to room without having to use keystrokes. Use the
;wander add
command to add the room you are currently standing in to the Wander List. Note: Wander will NOT enter your boundary rooms. For example, adding Town Square East to the list and then executing ;wander from within the confines of Moot Hall will send your character exploring every room in Moot, but unable to leave as TSE is a Boundary. - sorter Sorter cleans up your bags and breaks down the the output of a LOOK command, sorting the results by type. Makes looking in your locker or backpack, and especially your gem pouch, infinitely easier. *Note* Sorter can mess up some other scripts that deal with inventory, so be cautious in usage. Elanthia-Online scripts like eloot disable sorter when performing relevant functions
- linktothefast - A complex script that provides highliting for Wryath links when links are disabled. This script can cause issues with STOW settings, so disable prior to adjusting those settings.
- uberbar_eo - The most current Uberbar variant. This will provide a paperdoll with room number, resource information, etc inside wrayth. Set to autostart. Note- there is a small performance impact when using Uberbars.
- dirty-deeds - A script for getting deeds in IMT and WL.
;dirty-deeds setup
for configuration - colmaster - A script for getting and performing COL tasks in Solhaven
- volnstep - A script for performing voln tasks in Wehnimer's Landing
- character-planner - A script for planning out your character skills and training.
;character-planner
for configuration - stat-maximizer - A script for configuring character stats.
;stat-maximizer
for configuration - tpick - A script for lockpicking
;tpick setup
for configuration - warrior - A script for warrior guild tasks
;warrior setup
for configuration - rogues - A script for rogue guild tasks
;rogues setup
for configuration
Ecosystem Information
- DragonRealms Variant
Setup and Install instructions
Lich Changelog
5.6.2 (current)
-o- Fix for XML errors -o- Adds the DR Plat instance for Frostbite FE -o- Adds ‘ball’ as the noun used for ‘ball and chain’ -o- Adds the movement result ‘slip in the mud and fall flat’ -o- Corrects stamina cost for the feature Dispel Magic -o- Plus all the latest script updates from Elanthia-Online!
5.6.1
-o- Fix for XML to limit login errors (DR) -o- Fix for XMLData.active_spells to properly register wizard 'recovery' spell cooldowns -o- Messaging updates to remove error in Wizard FE encodings -o- Corrects for error in detecting PSM skill changes (cman) via warrior / rogue guild lessons -o- Deprecates LNet script from master repository -o- Miscellaneous small bug squashing
5.6.0
-o- (DragonRealms) Support for Genie and Frostbite frontends -o- (GemStone) Changed methods to improve ;go2 speed and reduce lich.db3 calls -o- (GemStone) Updates to support silver_count function -o- (Both) Changed method for updating lich ecosystem
5.5.0
-o- Support for DragonRealms -o- Updated support for scripts like BigShot -o- Providing the LichID and UID on Profanity -o- Spell.force_incant, .force_channel, and .force_evoke -o- Standardized message method for script authors -o- Sundry small improvements / fixes and changes -o- And the creme de la creme - a custom directory
5.4.0
-o- Simu Room IDs (formally called 'unique ID' or 'uid' for Lich) added to Map, mapDB where known, and ;go2 for navigation (courtesy Xanlin and with our thanks!) ;go2 u7120 for all you ex-GMs out there. -o- Room titles will now display the Lich ID and / or the UID for the room based on user selections - default is on for both, and enabled / disabled via Lich.display_lichid or Lich.display_uid toggles that can be set to on / off or true / false. (;e Lich.display_lichid=true/false and ;e Lich.display_uid=true/false) You can remove that rnum from your autostart now! To gain the benefit of the UID deployment, be sure to ;repo download-mapdb -o- REQUESTS: Drop 5 minute timeout function from Lich -o- waitrt? and waitcastrt? will still pause activities, but will return TRUE or FALSE in keeping with the Ruby functionname? tradition (no more failing to get a weapon out due to RT from climbing!) -o- empty_hands and fill_hands will now check to see if the character is in roundtime before trying to put away or retrieve held items -o- Infomon received an update that keeps spell timers in sync with the information received from the server - no more need to immediately do a spell active in game to get the right times to display for various legacy scripts and ;magic after visiting the invoker or using an SK item -o- Lich now provides a facility to get current coins on the character that is a bit more agnostic to data changes from Simu - Lich::Util.silver_count -o- Various other small tidbits to help ease maintenance and future development -o- PLEASE NOTE: This update is required for the newest Bigshot (released today!) and for future eloot and eherbs scripts (release RSN)
5.3.0
-o- Added support for Wrayth (renamed Stormfront) installations -o- Converted Linux | WINE login methods to 'method 0', does not use Simu launcher
5.2.1
-o- Support for STOWing items irrespective of special item scripts -o- Improved query support for Effects and CMans -o- Fix Lich bug to respect the 'groupmovement' flag in game -o- Fix Lich round time calculations (more aggressive timing) -o- Dark Mode is now a thing -o- Lich4 Style GUI layout available -o- Several file location changes to support future code change efforts
5.0.19
-o- Benefit: Monks with Mental Acuity (all 3 of you) rejoice - stamina casting! -o- Benefit: PSM3 included, no charge. No hair remaining, either! -o- Benefit: Ok, stay seated: Some of your various SF spell duration windows may work. . . better? Yes, not perfect, but better. No pictures, please! -o- Updated infomon that properly detects Cloak of Shadows on those pesky sorcerers, and the Raise Dead Cooldown periods for those wondrous clerics. -o- A new update process for Lich 5 - tired of having to download that script over and over just to update? Get yourself a copy of lich5-update.lic. Note, if you already have it, you're set! If not - ;jinx script install lich5-update --repo=elanthia-online
5.0.11
-o- Updated the method used to log onto SIMU servers. -o- Added the Animalist item specifics to Lich5's empty and fill hands routines -o- Improved Invoker messages for Avalon and Wizard FEs (no change for SF FE) -o- Improved cleanup and store methods when player EXIT's or QUIT's game -o- Crafted two new methods (stash_hands and equip_hands) for future script use -o- Some behind-the-scenes cleanup to improve maintaining the Lich5 ecosystem -o- Add Spell Active improvements -o- Add PSM and Ranger improvements
Resources
Third-Party Software - edit |
---|
Lich Installation: Lich |
Downloadable Lich Scripts: Go2 | Map | Repository | Popular Scripts |