Twitter bug
Im using a UI that it's not been updated, but i would like to keep using it.
So looking for some help to see if i can fix this. Have little lua skills. Tested a few things without any luck. It's ShestakUI, https://github.com/Shestak/ShestakUI Here is how the copyurl.lua looks like: Lua Code:
Error: Lua Code:
Any help or tip would be nice :) |
Whats happening is that the older method of parsing chat strings for hyperlinks has no protection from the new "share" linktype.
Try this In your code: Lua Code:
You need to add this Lua Code:
So re-written it will look like this: Lua Code:
|
Thank you for trying, but that didn't solve it. Still same error.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Above my skills :) Credit for trying atleast! |
Quote:
...But that would mean that my solution would cause NO HARM AT ALL, ..... so ... that can't be right. Right? Actually, posting anything other than a possible solution to the problem presented is in fact making "things worse than what they are". |
I don't have the solution, because I didn't fully look at the code, but when you're iterating over things to set them up, terminating the iteration altogether instead of gracefully handling it will lead to a bad state. So, if "share" was found for "CHAT_MSG_PARTY" the others that came after would never have the filter applied, even if they should. That's not causing no harm at all, it is in fact making things worse. I'm not trying to pick a fight here; I was merely pointing out that there was a logic error in case you wanted to re-address.
I'll refrain from being helpful now. |
Wait....... WoW has twitter now? Is this recent?
/derailed |
Quote:
http://www.wowhead.com/guide=2957/how-to-tweet-in-game |
Quote:
|
Quote:
|
Quote:
... And that is why I generally don't write replies when I am in a bad mood. Bad Mung! |
Quote:
|
Nice of you all to kiss and make up :p
After 4 hours i found a solution (error was also caused from 2 other files altinvite and multitip) Here is how it ended up. Lua Code:
|
All times are GMT -6. The time now is 09:53 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI