From 47f8911cdbba9f17df29d60a5c6c3dea0fc221d0 Mon Sep 17 00:00:00 2001 From: ckaotik Date: Tue, 20 Apr 2010 00:50:41 -0700 Subject: [PATCH 1/2] Quickfix for missing bag scans/updates --- core.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/core.lua b/core.lua index ae06359..2860eec 100644 --- a/core.lua +++ b/core.lua @@ -59,6 +59,7 @@ local function eventHandler(self, event, ...) BrokerGarbage.isAtVendor = false locked = false BrokerGarbage:Debug("lock released") +BrokerGarbage:ScanInventory() elseif (locked or cost ~=0) and event == "PLAYER_MONEY" then -- regular unlock -- 1.7.9.5 From afc1c5bc33db64375bdd6274b607aa14dde5b177 Mon Sep 17 00:00:00 2001 From: ckaotik Date: Thu, 22 Apr 2010 05:06:51 -0700 Subject: [PATCH 2/2] automatic Inventory Scan, no. 2. --- core.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core.lua b/core.lua index 2860eec..f37c7a3 100644 --- a/core.lua +++ b/core.lua @@ -59,7 +59,7 @@ local function eventHandler(self, event, ...) BrokerGarbage.isAtVendor = false locked = false BrokerGarbage:Debug("lock released") -BrokerGarbage:ScanInventory() + BrokerGarbage:ScanInventory() elseif (locked or cost ~=0) and event == "PLAYER_MONEY" then -- regular unlock @@ -93,6 +93,7 @@ BrokerGarbage:ScanInventory() cost = 0 locked = false BrokerGarbage:Debug("lock released") + BrokerGarbage:ScanInventory() end end -- 1.7.9.5