Skip to content

Commit

Permalink
Merge pull request #1725 from Deysh/eloot-updates
Browse files Browse the repository at this point in the history
[eloot] v2.0.9 bugfix for locksmith pool box list
  • Loading branch information
mrhoribu authored Jan 2, 2025
2 parents d701c8f + 51fd089 commit 67bd36f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/eloot.lic
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
wiki: https://gswiki.play.net/Lich:Script_Eloot
game: Gemstone
tags: loot
version: 2.0.8
version: 2.0.9
Improvements:
Major_change.feature_addition.bugfix
v2.0.9 (2025-01-01)
- bugfix for locksmith pool box list
v2.0.8 (2024-12-21)
- additional error checking for looting to avoid false pauses
- removed get_lines method and combined it with get_command
Expand Down Expand Up @@ -5796,6 +5798,7 @@ module ELoot

ELoot.msg(type: "yellow", text: " Checking to see if any boxes available for return")
Sell.pool_return(worker)
ELoot.wait_rt
pool_count = Sell.locksmith_pool_count(worker)
redo_needed = true
when /already (unlocked|open)/
Expand Down Expand Up @@ -5847,7 +5850,8 @@ module ELoot

def self.locksmith_pool_count(worker)
current_box_amount = 0
list_match = /here's the list of boxes we have for you\.|You haven't given us any boxes to be worked on\./
list_match = /here's the list of boxes we have for you\.|You haven't given us any boxes to be worked on\.|^(\d+)\./

results = ELoot.get_command("ask ##{worker.id} about list", list_match, silent: true, quiet: true)

results.reverse.each do |line|
Expand Down

0 comments on commit 67bd36f

Please sign in to comment.