Lich:Script Repository

The official GemStone IV encyclopedia.
Jump to navigation Jump to search

Lich:Script Repository 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.

Lich can take away most of the tedium and memorization that comes along with playing an archaic, text based game, leaving you only as much work as you find enjoyable. Scripts are found in the REPOSITORY and you may DOWNLOAD them as per your needs.

How to Use the Repository

The repository has four basic commands:

;repository

;repository download <scriptname>

;repository info <scriptname>

;repository list

The first shows a Help screen and is the root command for all others.

The second, often shortened to ';repo down', lets you download a specified script.

Third, INFO provides information about whatever script is specified. If the author has been kind and thorough, this will tell you how to use the script and if it has any interdependencies.

Fourth, LIST will list all scripts in the repository.

Updating Scripts

The repository supports updates via prefedined scripts and the MapDatabase To see a list of scripts you currently have set to updatable, ;repo show-updatable. For users on Lich 5+, you want Lich: off to be displayed.

To add a script to be updated, ;repo set-updatable <scriptname>.

Popular Lich 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.

Scripts maintained by Elanthia-online

  • Xnarost - Narost 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. Xnarost is distributed as part of a default Lich installation.
  • 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.
  • 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.

Other scripts that are popular

  • invdb - An inventory management database. See wiki page for details
  • 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.
  • spellcaster - Allows user to type just the spell number and have lich cast that spell. Usage syntax is ;Spellcaster setup for configuration. Set to autostart.
  • 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.
  • Uberbarv_D - 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.


In-game Help Output

Usage:

   ;repository list [alpha]            lists all scripts available for download (optionally in alphabetial order)
   ;repository sync [alpha]            lists only new and/or updated scripts
   ;repository info <script name>      shows the comments at the top of the script
   ;repository download <script name>  downloads the script
   ;repository upload <script name>    uploads the script
   ;repository delete <script name>    deletes the script from the server

Scripts should include comments at the top describing the purpose of the script.  Scripts without comments at the top will not show up on the server.

After uploading a script, a key that allows you to delete/update the script will be saved to C:/Games/lich/keys

Sortable list

The repository script has an in game GUI available that allows sorting by date, tags, etc. ;repo gui

Jinx (Repository alternative)

Jinx is a project that is an alternative form of script installation from the default ;repository. It can serve up scripts for download similar to the ;repo however it is not dependent on a single server that may be prone to outages. Any one can set up their own script library, and then users can add it as a source for the ;jinx script to search and download from.

Jinx is installed in the default Lich5 package. Jinx can be downloaded and installed into your scripts folder from the Elanthia Online github

https://raw.githubusercontent.com/elanthia-online/scripts/master/scripts/jinx.lic

Right-click the above link and save it into the scripts folder in your lich directory.

Alternatively, the following command can be issued in game via lich to attempt to download the script to the proper directory for you (this command is for when the repository is down and the script cannot be downloaded naturally):

;e require 'open-uri';begin;jinx_remote = open("https://raw.githubusercontent.com/elanthia-online/scripts/master/scripts/jinx.lic"); jinx_local = File.open(File.join(SCRIPT_DIR, 'jinx.lic'), "wb"); jinx_local.write(jinx_remote.read);ensure; jinx_remote.close(); jinx_local.close();end

once installed you can issue: ;jinx help for basic usage information.

Jinx Lich Repository Mirror

In the event the main ;repository is unavailable, there is currently an actively maintained ;jinx repository that is a direct mirror.

https://github.com/FarFigNewGut/lich_repo_mirror

Scripts can be manually retrieved from this Github repository (they are all located in the lib folder). The repository is also packaged and published for use directly with Jinx:

;jinx repo add ffnglichrepoarchive https://ffnglichrepoarchive.netlify.app

(You can use something shorter instead of "ffnglichrepoarchive" for the repo name if you'd like.)

Once it is setup as a source for ;jinx you can install any scripts from the repo with:

# install script for the first time
;jinx script install <script name> --repo=ffnglichrepoarchive

# update previously installed script
;jinx script update <script name> --repo=ffnglichrepoarchive

For example if you wanted to download or update invdb.lic:

# first install
;jinx script install invdb --repo=ffnglichrepoarchive

# update if you had previously downloaded invdb.lic
;jinx script update invdb --repo=ffnglichrepoarchive

Jinx Lich Repository Offline Update Info

At times the default Lich repository (accessed via ;repo) can go offline, below are some helpful commands to update core Lich related functionality using Jinx.

# ensure running latest jinx.lic for newest compatibility
;jinx script update jinx.lic --repo=elanthia-online

# update spell-list.xml for new spells, cmans, cooldowns, etc
;jinx data update spell-list.xml --repo=elanthia-online

# update gameobj-data.xml for proper classification of NPCs and items
;jinx data update gameobj-data.xml --repo=core

# update mapdb and associated missing map files for graphical use
;jinx data update mapdb.json --repo=core

# update infomon for proper ingame tracking of skills, stats, spells, effects
;jinx script update infomon.lic --repo=elanthia-online

In-game Screenshot

Third-Party Software - edit
Lich Installation: Lich
Downloadable Lich Scripts: Go2 | Map | Repository | Popular Scripts