Lich:Script Eherbs: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 86: Line 86:
File:eherbs-1.PNG|General
File:eherbs-1.PNG|General
</gallery>
</gallery>

==Changelog==
<span class="mw-customtoggle-mychangelog" style="color:#0000ff">Click to expand</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-mychangelog">
2.0.8 (2024-07-12)
- pause script ego2 if running
2.0.7 (2024-07-12)
- drinkable variable not being set when buying
2.0.6 (2024-07-10)
- changed drinkable boolean in favor of checking regex during herb usage or boolean
2.0.5 (2024-01-17)
- fix for wrong variable reference
2.0.4 (2024-01-03)
- bugfix for Zul Logoth location check
2.0.3 (2024-01-01)
- bugfix for use_potions variable
2.0.2 (2023-12-15)
- send injury command to refresh XML before attempting to heal self incase missing injury from XML
2.0.1 (2023-11-10)
- bugfix to use id instead of name for distiller
- added setting output for debugging ;eherbs settings
2.0.0 (2023-09-21)
- added heal down for bleeding deaders ;eherbs <character>
- added note support when stocking herb kits
- will exit script if herbsack is full and trying to stock
- typo in available herbs
- correct FWI herb names
- corrected the logic to prioritize correctly based on UI selection
- bugfix for Lich Room# 0 go2 pathing
- bugfix for eating herbs with knife in left hand, special messaging.
1.5.18 (2023-09-21)
- Bugfix for matching change in wealth output.
1.5.17 (2023-06-11)
- change to 650 implementation
1.5.16 (2023-06-01)
- bugfix added word boundary to regex for finding similarly named containers
1.5.15 (2023-05-31)
- bugfix for stocking with similarly named containers
- added support for using the basket under the bench in RR
- bugfix for UI not greying out sigil of mending, 650, 1035 unless known
- bugfix for UI saving when x-ing out. Only saves with close button
1.5.14 (2023-04-27)
- added support for survival kit distiller
- added support for using the basket under the bench in RR
- bugfix for UI not greying out sigil of mending, 650, 1035 unless known
- bugfix for UI saving when x-ing out. Only saves with close button
1.5.13 (2023-03-17)
- bugfix for sigil of mending
- bugfix for leaving people at the bank
- bugfix for opening/closing containers
- added option stock survival kit as combined total of herbs and potions
1.5.12 (2023-03-15): Tysong: remove $infomon_cutthroat reference for cutthroat? reference
1.5.11 (2023-03-07): Deysh: Update to drinkable regex
1.5.10 (2023-03-05): Deysh: bugfix in UI that didn't grey out 650 or 1035 if not known
1.5.9 (2023-03-05): Deysh: urchin guide was not returning to same herbalist after silver withdraw
1.5.8 (2023-03-03): Deysh: old UI file was used in last submission
1.5.7 (2023-02-26): Deysh: fixed the 'in,on,under,behind' options, added some additional inventory handling, added check for casting spells; added toggle for
depositing silver
1.5.6 (2023-02-25): Deysh: Update herb identification to use noun instead of name; bugfix for stock entry in UI; added a wait until healed for cutthroat
1.5.5 (2023-02-22): Deysh: Update fragrant woth flower in FWI dosage from 2 to 3; misc typo fix
1.5.4 (2023-02-20): Xanlin: typo fix, old compat fixes
1.5.3 (2023-02-20): Deysh: fix to CLI bug, UI not keeping settings, checks on 650
1.5.2 (2023-02-20): Deysh: bug fixes for exec_string monitor of measuring; stop coin deposit unless buying
1.5.1 (2023-02-19): Deysh: bug fixes for skip_scars and Utility.set_preferences; Clean up of stocking routine
1.5.0 (2023-02-17): Deysh: Added support for survival kits.
1.4.7 (2023-01-23): Xanlin: winterberry order fix
1.4.6 (2022-12-16): Xanlin: revert 1.4.4, restores override for cli options
1.4.5 (2022-12-11): Deysh: Added UI
1.4.4 (2022-11-29): Tysong: Fix to exit after setting change from CLI
1.4.3 (2022-09-22): Xanlin: Fix override behavior
1.4.2 (2022-09-18): Xanlin: River's Rest winterberry brew
1.4.1 (2022-09-17): Xanlin: update instance variable when preferences set. Changed internal name for skip-scars to skip_scars and use-mending to use_mending.
1.4.0 (2022-09-12): Xanlin: added ;eherbs check, fixed under and behind containers,
converted to module, replaced version check with shims, refactored procs to methods.
1.3.0 (2022-07-16):
Updated River's Rest herbs, removed minor head wound from available herbs
in River's Rest.
Refactored stock function to count appropriately and track stocking measures
Added feature to stock specifc herb type (;eherbs stock major head wound)
Added feature to get blood only (;eherbs blood) and ignore wounds
Improved (;eherbs list) to accept herb type (;eherbs list major head wound)
this feature also accepts partials (;eherbs list minor)
1.2.0 (2022-05-23):
Fix for gambling kit open/close/get/put regex.
1.1.3 (2022-05-19):
Fix for gambling kit open/close/get/put regex.
1.1.2 (2022-04-06):
Fix for a/an ordering from menus
1.1.1 (2022-04-04):
Add LICH_VERSION check
1.1.0 (2022-04-03):
Rewrote fill and stock functions to detect those regions that only
sell tinctures, tarts and various assorted non-bundling type herbs
Corrected multiple errors in initial data tables for locations / herbs
1.0.0 (2022-02-27):
Global RENAME to ;eherbs
Rewrote stock function to work at any herbalist
Rewrote stock function to account for any 'type' of herb, so for example
acantha leaf, acantha tea, Bloody Krolvin ale all count towards
total doses of 'blood' herb.

Previously as ;useherbs
0.14 (2022-01-25):
fix for handedness and herbs (mistaken stick for sticky and so on)
0.13 (2021-12-17):
updated for KF herbs
0.12 (2020-10-10):
response message for buying herbs now has commas
0.11 (2020-10-07):
changed fill function to go to closest herbalist instead of a single hardcoded one, update for commas
0.10 (2017-09-30):
add feature to fill your herbsack with herbs (;useherbs stock herbs)
0.9 (2017-03-04):
remove 506 from the script, since it doesn't affect eating herbs anymore
0.8 (2017-01-14):
withdraw @silvers first when using the "stock potions" command
0.7 (2015-04-26):
fix for working with hidden containers, like the basket in Ta'Vaalor
0.6 (2015-03-28):
remember to look on/under/behind a container instead of "in" if a second look is required
fix bug with finding a herbsack given on the command line
0.5 (2015-02-23):
better method of finding container from herbsack setting
0.4 (2014-12-12):
make "stock potions" track potion use instead of measuring every time
0.3 (2014-11-14):
set herbsack with ;useherbs set herbsack <container>
</div>

{{Third-Party Software}}
{{Third-Party Software}}

Latest revision as of 14:27, 20 July 2024

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

What Does Ebounty Do?

Eherbs will heal you with herbs or stock your herb sack. It supports Survivalist's Kit and various unlocks sold at Duskruin

How Do I Get It?

Eherbs can be downloaded via ;repo download eherbs

As a script in active development and with the constant state of changes in the game, it is recommended to set eloot and all Elanthia-Online scripts to auto-update via ;repo set-updatable eherbs

How Do I Make it GO!?

Eherbs will check your herbsack, which needs to be configured first via ;vars set herbsack=<container>. Then run the setup via ;eherbs setup and set your configuration options. You can also enter configuration via the command line'

Ingame Help Output


 To use the herbs in your herbsack (see below for setting your herbsack):
   ;eherbs

 To heal only hitpoints but no other wounds (squares rejoice!):
   ;eherbs blood

 To check a container and report a table of herb types with counts:
   ;eherbs check <in|on|under|behind> <container>

 To replace any missing herbs:
   ;eherbs fill

 To stock herbs for a big hunt (purchase multiple doses of herbs):
   ;eherbs stock

 To set the amount of herbs to stock based on percent of capacity:
   Primarily intended for survival kits but will work for ordinary containers also.
   ;eherbs set stock <percent>

 Optionally you can specify if you only want herbs or potions:
   ;eherbs stock [herbs|potions]

 Or you can specify if you want the stock count combined between potions and herbs. (survival kits only)
   ;eherbs stock combined

 Additionally, you can specify if you only want a particular herb stocked:
   ;eherbs stock major head wound <- to stock stem only

 To look up what herbs heal what (to help with the preceding command):
   ;eherbs list

 To use the herbs on a bench or something:
   ;eherbs on bench
     or
   ;eherbs behind altar

 To use the herbs on a bench without picking up the edible herbs:
   ;eherbs on bench --no-get

 To heal your Adventurer's Guild escort (not well tested):
   ;eherbs escort

 Options (add these to the end of the command; these override default options):
   --buy=<on/off>         Go to the herbalist to buy herbs if needed
   --deposit=<on/off>     Deposit silver if needed at end of healing
   --mending=<on/off>     Use sigil of mending before using herbs
   --skipscars=<on/off>   Skip rank 1 scar healing
   --yaba=<on/off>        Use yabathilium fruit first
   --potions=<on/off>     Try to use potions first

 Change default options (so you don't have to specify the option every time):
   ;eherbs set buy <on/off>           same as above
   ;eherbs set deposit <on/off>       same as above
   ;eherbs set mending <on/off>       same as above
   ;eherbs set skipscars <on/off>     same as above
   ;eherbs set yaba <on/off>          same as above
   ;eherbs set potions <on/off>       same as above
   ;eherbs set herbsack <container>   sets which container you use if one isn't
                                        specified on the command line

 To access UI:
   ;eherbs setup

Ingame Screenshot

Changelog

Click to expand

 2.0.8 (2024-07-12)
   - pause script ego2 if running
 2.0.7 (2024-07-12)
   - drinkable variable not being set when buying
 2.0.6 (2024-07-10)
   - changed drinkable boolean in favor of checking regex during herb usage or boolean
 2.0.5 (2024-01-17)
   - fix for wrong variable reference
 2.0.4 (2024-01-03)
   - bugfix for Zul Logoth location check
 2.0.3 (2024-01-01)
   - bugfix for use_potions variable
 2.0.2 (2023-12-15)
   - send injury command to refresh XML before attempting to heal self incase missing injury from XML
 2.0.1 (2023-11-10)
   - bugfix to use id instead of name for distiller
   - added setting output for debugging ;eherbs settings
 2.0.0 (2023-09-21)
   - added heal down for bleeding deaders ;eherbs <character>
   - added note support when stocking herb kits
   - will exit script if herbsack is full and trying to stock
   - typo in available herbs
   - correct FWI herb names
   - corrected the logic to prioritize correctly based on UI selection
   - bugfix for Lich Room# 0 go2 pathing
   - bugfix for eating herbs with knife in left hand, special messaging.
 1.5.18 (2023-09-21)
   - Bugfix for matching change in wealth output.
 1.5.17 (2023-06-11)
   - change to 650 implementation
 1.5.16 (2023-06-01)
   - bugfix added word boundary to regex for finding similarly named containers
 1.5.15 (2023-05-31)
   - bugfix for stocking with similarly named containers
   - added support for using the basket under the bench in RR
   - bugfix for UI not greying out sigil of mending, 650, 1035 unless known
   - bugfix for UI saving when x-ing out. Only saves with close button
 1.5.14 (2023-04-27)
   - added support for survival kit distiller
   - added support for using the basket under the bench in RR
   - bugfix for UI not greying out sigil of mending, 650, 1035 unless known
   - bugfix for UI saving when x-ing out. Only saves with close button
 1.5.13 (2023-03-17)
   - bugfix for sigil of mending
   - bugfix for leaving people at the bank
   - bugfix for opening/closing containers
   - added option stock survival kit as combined total of herbs and potions
 1.5.12 (2023-03-15): Tysong: remove $infomon_cutthroat reference for cutthroat? reference
 1.5.11 (2023-03-07): Deysh: Update to drinkable regex
 1.5.10 (2023-03-05): Deysh: bugfix in UI that didn't grey out 650 or 1035 if not known
 1.5.9 (2023-03-05): Deysh: urchin guide was not returning to same herbalist after silver withdraw
 1.5.8 (2023-03-03): Deysh: old UI file was used in last submission
 1.5.7 (2023-02-26): Deysh: fixed the 'in,on,under,behind' options, added some additional inventory handling, added check for casting spells; added toggle for 
                     depositing silver
 1.5.6 (2023-02-25): Deysh: Update herb identification to use noun instead of name; bugfix for stock entry in UI; added a wait until healed for cutthroat
 1.5.5 (2023-02-22): Deysh: Update fragrant woth flower in FWI dosage from 2 to 3; misc typo fix
 1.5.4 (2023-02-20): Xanlin: typo fix, old compat fixes
 1.5.3 (2023-02-20): Deysh: fix to CLI bug, UI not keeping settings, checks on 650
 1.5.2 (2023-02-20): Deysh: bug fixes for exec_string monitor of measuring; stop coin deposit unless buying
 1.5.1 (2023-02-19): Deysh: bug fixes for skip_scars and Utility.set_preferences; Clean up of stocking routine
 1.5.0 (2023-02-17): Deysh: Added support for survival kits.
 1.4.7 (2023-01-23): Xanlin: winterberry order fix
 1.4.6 (2022-12-16): Xanlin: revert 1.4.4, restores override for cli options
 1.4.5 (2022-12-11): Deysh: Added UI
 1.4.4 (2022-11-29): Tysong: Fix to exit after setting change from CLI
 1.4.3 (2022-09-22): Xanlin: Fix override behavior
 1.4.2 (2022-09-18): Xanlin: River's Rest winterberry brew
 1.4.1 (2022-09-17): Xanlin: update instance variable when preferences set. Changed internal name for skip-scars to skip_scars and use-mending to use_mending.
 1.4.0 (2022-09-12): Xanlin: added ;eherbs check, fixed under and behind containers,
   converted to module, replaced version check with shims, refactored procs to methods.
 1.3.0 (2022-07-16):
   Updated River's Rest herbs, removed minor head wound from available herbs
     in River's Rest.
   Refactored stock function to count appropriately and track stocking measures
   Added feature to stock specifc herb type (;eherbs stock major head wound)
   Added feature to get blood only (;eherbs blood) and ignore wounds
   Improved (;eherbs list) to accept herb type (;eherbs list major head wound)
     this feature also accepts partials (;eherbs list minor)
 1.2.0 (2022-05-23):
   Fix for gambling kit open/close/get/put regex.
 1.1.3 (2022-05-19):
   Fix for gambling kit open/close/get/put regex.
 1.1.2 (2022-04-06):
   Fix for a/an ordering from menus
 1.1.1 (2022-04-04):
   Add LICH_VERSION check
 1.1.0 (2022-04-03):
   Rewrote fill and stock functions to detect those regions that only
   sell tinctures, tarts and various assorted non-bundling type herbs
   Corrected multiple errors in initial data tables for locations / herbs
 1.0.0 (2022-02-27):
   Global RENAME to ;eherbs
   Rewrote stock function to work at any herbalist
   Rewrote stock function to account for any 'type' of herb, so for example
   acantha leaf, acantha tea, Bloody Krolvin ale all count towards
   total doses of 'blood' herb.
 Previously as ;useherbs
 0.14 (2022-01-25):
   fix for handedness and herbs (mistaken stick for sticky and so on)
 0.13 (2021-12-17):
   updated for KF herbs
 0.12 (2020-10-10):
   response message for buying herbs now has commas
 0.11 (2020-10-07):
   changed fill function to go to closest herbalist instead of a single hardcoded one, update for commas
 0.10 (2017-09-30):
   add feature to fill your herbsack with herbs (;useherbs stock herbs)
 0.9 (2017-03-04):
   remove 506 from the script, since it doesn't affect eating herbs anymore
 0.8 (2017-01-14):
   withdraw @silvers first when using the "stock potions" command
 0.7 (2015-04-26):
   fix for working with hidden containers, like the basket in Ta'Vaalor
 0.6 (2015-03-28):
   remember to look on/under/behind a container instead of "in" if a second look is required
   fix bug with finding a herbsack given on the command line
 0.5 (2015-02-23):
   better method of finding container from herbsack setting
 0.4 (2014-12-12):
   make "stock potions" track potion use instead of measuring every time
 0.3 (2014-11-14):
   set herbsack with ;useherbs set herbsack <container>
Third-Party Software - edit
Lich Installation: Lich
Downloadable Lich Scripts: Go2 | Map | Repository | Popular Scripts