diff --git a/Ashita.dll b/Ashita.dll index 3c96766..614d24c 100644 Binary files a/Ashita.dll and b/Ashita.dll differ diff --git a/addons/timestamp/timestamp.lua b/addons/timestamp/timestamp.lua index b0d1b43..955535d 100644 --- a/addons/timestamp/timestamp.lua +++ b/addons/timestamp/timestamp.lua @@ -25,7 +25,7 @@ _addon.author = 'atom0s'; _addon.name = 'timestamp'; -_addon.version = '3.0.0'; +_addon.version = '3.0.1'; require 'common' @@ -71,6 +71,17 @@ ashita.register_event('incoming_text', function(mode, message, modifiedmode, mod if (modifiedmessage ~= nil and #modifiedmessage > 0) then message = modifiedmessage; end + + -- Check for double-chat lines (ie. npc chat).. + if (message:startswith(string.char(0x1E, 0x01))) then + return false; + end + --[[local f = string.sub(message, 1, 1); + if (f ~= nil and (string.byte(f) == 0x1E or string.byte(f) == 0x1F)) then + if (string.sub(message, 5, 5) == '[') then + return false; + end + end]] -- Skip ignored chat modes.. local ignored = T{ diff --git a/injector.exe b/injector.exe index 7c92dc3..6c1b5be 100644 Binary files a/injector.exe and b/injector.exe differ