Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 0efbde07bbf584766f1d73bf125146b0a296df34 Mon Sep 17 00:00:00 2001
- From: Infus <infus@squorn.de>
- Date: Sun, 28 Sep 2014 12:08:57 +0200
- Subject: [PATCH 1/2] Hardcode compression to Huffman
- This fixes a "Error desirializing: Invalid AceSerializer table format
- (no table end marker)" on importing long strings.
- Apparently the LZW compression is not bug free.
- ---
- WeakAuras/Transmission.lua | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/WeakAuras/Transmission.lua b/WeakAuras/Transmission.lua
- index 1e49487..a721589 100644
- --- a/WeakAuras/Transmission.lua
- +++ b/WeakAuras/Transmission.lua
- @@ -358,7 +358,7 @@ LibStub("AceComm-3.0"):Embed(WeakAuras);
- function WeakAuras.TableToString(inTable, forChat)
- local serialized = WeakAuras:Serialize(inTable);
- - local compressed = Compresser:Compress(serialized);
- + local compressed = Compresser:CompressHuffman(serialized);
- if(forChat) then
- return WeakAuras.encodeB64(compressed);
- else
- --
- 1.9.4.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement