Go to Page... |
Compatibility: | Elsweyr (5.0.5) |
Updated: | 05/24/19 01:12 PM |
Created: | 05/24/19 01:12 PM |
Monthly downloads: | 49 |
Total downloads: | 8,899 |
Favorites: | 5 |
MD5: |
![]() |
Comment Options |
Verbalinkontinenz |
View Public Profile |
Send a private message to Verbalinkontinenz |
Send email to Verbalinkontinenz |
Find More Posts by Verbalinkontinenz |
Add Verbalinkontinenz to Your Buddy List |
![]() |
|
Forum posts: 1
File comments: 20
Uploads: 0
|
Started getting some errors in the Chat module. I removed the old mod folder & replaced it with your updated version so it was a clean install. After getting the errors, I renamed the ShissuChat.lua save file to re-create it. This seems to have fixed the issue for the last 7hrs. After re-loading the game, I'm now getting errors again. Thanks for your hard work maintaining this addon.
https://cdn.discordapp.com/attachmen...525_181747.png It seems to be related to gchat or links in it? Hopefully helps. https://cdn.discordapp.com/attachmen...525_204236.png
Last edited by orcashow : 05/26/19 at 01:49 AM.
|
![]() |
![]() |
orcashow |
View Public Profile |
Send a private message to orcashow |
Send email to orcashow |
Find More Posts by orcashow |
Add orcashow to Your Buddy List |
![]() |
|||
I'm not sure if just verifying that the url isn't nil is enough as it might break some functionality. With some sample input that is causing this likelihood for a good fix increases ![]() |
|||
![]() |
![]() |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 12
Uploads: 0
|
Hi thanks for taking the time to update SGT.
Still major issues for me, the same as on Els release. I've turned off all other addons and libraries and loaded in Shissu one file at a a time to test. Error message: Roster is out of sync. https://media.discordapp.net/attachm...tureRoster.JPG I dont have the Member option in Addon > settings > Sissus addons / to be able to turn off player names. https://media.discordapp.net/attachm...aptureName.JPG Also: - no donation history in roster - joining history not universally loading If anyone has any clues it would be helpful, thank you |
![]() |
![]() |
Martigan02 |
View Public Profile |
Send a private message to Martigan02 |
Send email to Martigan02 |
Find More Posts by Martigan02 |
Add Martigan02 to Your Buddy List |
![]() |
||
If you open the ShissuRoster/ShissuRoster.lua file and add the following code: Code:
local function deepcopy(orig) local orig_type = type(orig) local copy if orig_type == 'table' then copy = {} for orig_key, orig_value in next, orig, nil do copy[deepcopy(orig_key)] = deepcopy(orig_value) end setmetatable(copy, deepcopy(getmetatable(orig))) else -- number, string, boolean, etc copy = orig end return copy end
Last edited by Sordrak : 05/26/19 at 07:18 AM.
|
||
![]() |
![]() |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
elessar |
View Public Profile |
Send a private message to elessar |
Send email to elessar |
Find More Posts by elessar |
Add elessar to Your Buddy List |
Martigan02 |
View Public Profile |
Send a private message to Martigan02 |
Send email to Martigan02 |
Find More Posts by Martigan02 |
Add Martigan02 to Your Buddy List |
![]() |
|
Thanks for the wonderful work on Shissu's.
![]() |
|
![]() |
![]() |
SteveCampsOut |
View Public Profile |
Send a private message to SteveCampsOut |
Send email to SteveCampsOut |
Find More Posts by SteveCampsOut |
Add SteveCampsOut to Your Buddy List |
SteveCampsOut |
View Public Profile |
Send a private message to SteveCampsOut |
Send email to SteveCampsOut |
Find More Posts by SteveCampsOut |
Add SteveCampsOut to Your Buddy List |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
![]() |
||
First Issue: Original Code at line ~417: Code:
local charAlliance = charInfo[5] charAlliance = zo_iconFormat(GetAllianceBannerIcon(charAlliance), 24, 24) Code:
local charAlliance = charInfo[5] if charAlliance ~= nil and charAlliance ~= 0 then charAlliance = zo_iconFormat(GetAllianceBannerIcon(charAlliance), 24, 24) end Second Issue (not so happy with the fix, rather a hack, but should work fine): Original code at line ~209: Code:
function _addon.core.createLinkURL(text) if (string.find(text, "www.") or string.find(text, "http://") or string.find(text, "https://")) then local cache = 0 local cache2 = 0 local cache3 = 0 local onlyWWW = string.find(text, "www.") if (onlyWWW and not string.find(text, "http")) then text = string.gsub(text, "www.", "http://www.") end if (string.sub(text, 1, 4) == "http" or string.sub(text, 1, 3) == "www") then cache2 = 1 text = "shissu meow " .. text .. " meow shissu meow" end local preT, url, nextT = text:match( "(.+)%s+(https?%S+)%s+(.*)$" ) if (nextT == nil) then cache3 = 1 text = text .. " meow shissu meow" preT, url, nextT = text:match( "(.+)%s+(https?%S+)%s+(.*)$" ) end local stringLen = string.len(url) local last = string.sub(url, stringLen, stringLen) if (last== "," or last == ".") then url = string.sub(url, 0, stringLen-1) cache = 1 end local urlLink = stdColor .. string.format("|H1:%s:%s:%s|h%s|h", _addon.LINK, 1, _addon.urlLINK, url) .. "|r" if (cache2 == 0) then local stringLen2 = string.len(preT) local stringLen3 = string.len(text) local newNextT = string.sub(text, stringLen + stringLen2 + 2, stringLen3) if (cache3 == 1) then text = preT .. " " .. urlLink elseif (cache == 1) then text = preT .. " " .. urlLink .. newNextT else text = preT .. " " .. urlLink .. " " .. newNextT end else text = urlLink end end return text end Code:
function _addon.core.createLinkURL(text) if (string.find(text, "www.") or string.find(text, "http://") or string.find(text, "https://")) then local oldText = text local cache = 0 local cache2 = 0 local cache3 = 0 local onlyWWW = string.find(text, "www.") if (onlyWWW and not string.find(text, "http")) then text = string.gsub(text, "www.", "http://www.") end if (string.sub(text, 1, 4) == "http" or string.sub(text, 1, 3) == "www") then cache2 = 1 text = "shissu meow " .. text .. " meow shissu meow" end local preT, url, nextT = text:match( "(.+)%s+(https?%S+)%s+(.*)$" ) if (nextT == nil) then cache3 = 1 text = text .. " meow shissu meow" preT, url, nextT = text:match( "(.+)%s+(https?%S+)%s+(.*)$" ) end if url ~= nil then local stringLen = string.len(url) local last = string.sub(url, stringLen, stringLen) if (last== "," or last == ".") then url = string.sub(url, 0, stringLen-1) cache = 1 end local urlLink = stdColor .. string.format("|H1:%s:%s:%s|h%s|h", _addon.LINK, 1, _addon.urlLINK, url) .. "|r" if (cache2 == 0) then local stringLen2 = string.len(preT) local stringLen3 = string.len(text) local newNextT = string.sub(text, stringLen + stringLen2 + 2, stringLen3) if (cache3 == 1) then text = preT .. " " .. urlLink elseif (cache == 1) then text = preT .. " " .. urlLink .. newNextT else text = preT .. " " .. urlLink .. " " .. newNextT end else text = urlLink end else return oldText end end return text end ![]() |
||
![]() |
![]() |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
![]() |
||
|
||
![]() |
![]() |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
![]() |
|||
Last edited by Verbalinkontinenz : 05/31/19 at 10:19 AM.
|
|||
![]() |
![]() |
Verbalinkontinenz |
View Public Profile |
Send a private message to Verbalinkontinenz |
Send email to Verbalinkontinenz |
Find More Posts by Verbalinkontinenz |
Add Verbalinkontinenz to Your Buddy List |
![]() |
||||
|
||||
![]() |
![]() |
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
![]() |