WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Need help on making my addon robust (https://www.wowinterface.com/forums/showthread.php?t=55575)

Splynx 07-17-17 05:42 AM

Need help on making my addon robust
 
Hello guys and girls.

I have created this addon: https://mods.curse.com/addons/wow/27...ocrateinformer
With this GIT repository: https://github.com/IgorSzyporyn/ProcRateInformer

As the name says it is a Proc Rate Informer.

In it I am starting my routing when a craft cast is started, and then I stop my routine when a cast is stopped.

I also check for a success cast to keep track of expected amount (casts * yield) and I set a "timeout" to end my routing in case no new cast is detected within that timeout.

This is not soo secure and failsafe - I can get a report all of a sudden mid way.

Anyone know how to failsafe this?

Splynx 07-17-17 05:45 AM

Also - I HATE MURLOCS - WHY AM I A MURLOC RAIDER?? :mad::D

jeffy162 07-17-17 06:34 AM

While I can't help you with your addon, I CAN tell you why you are listed as a "Murloc raider". It's a rating system, nothing more. And they try to keep it "Blizzard-ized". It's based on how many post's you make in the forum's.

Splynx 07-17-17 06:43 AM

pad pad pad - padding away from murloc status....

jeffy162 07-17-17 09:28 AM

Quote:

Originally Posted by Splynx (Post 324212)
pad pad pad - padding away from murloc status....

Splynx - the ONLY way that you are going to be "padding away from murloc status" is to keep commenting on the forums.

I'm sorry if this post "sounds"......vulgar(?), but it is certainly not meant to be that way. It's meant to be explanatory.

I am, also, 63 year's old and in bad health with a poor memory (at the best of times) (which my signature explains well :o)

VincentSDSH 07-19-17 12:05 AM

Quote:

Originally Posted by jeffy162 (Post 324211)
...I CAN tell you why you are listed as a "Murloc raider". It's a rating system, nothing more. And they try to keep it "Blizzard-ized". It's based on how many post's you make in the forum's.

Unless you annoy the Canadian staff, then you get one like mine :D

Splynx 07-19-17 12:25 AM

CLOSED: I have found my solution!

However - my solution is NOT the absolute most correct way (well it may be - I dunno) - I am still looking for an:

"Craft of any magnitude has ended" Event.

Ketho 07-19-17 05:37 AM

What is your solution? you can't just close threads

VincentSDSH 07-19-17 06:37 PM

Quote:

Originally Posted by Ketho (Post 324235)
What is your solution? you can't just close threads

This right here.

The forums are a years (sometimes decades) long record of problems and solutions. It's pretty poor to come to a forum, ask for help, then not provide any resultant solution for future authors.

JDoubleU00 07-19-17 08:10 PM

Quote:

Originally Posted by VincentSDSH (Post 324233)
Unless you annoy the Canadian staff, then you get one like mine :D

I never noticed yours. :D Note to self: Stay on their good side.

jeffy162 07-20-17 08:06 AM

Hmmm.... And Splynx isn't a "Murloc Raider" anymore. Guess I was right after all. Who'd a thunk it??

@VicentSDH - I guess it does pay, but, I have NO idea how I managed to stay on their good side for this long (what with all my "faux pas"(sp?) and all). :o BUT, take heart, they're a good natured bunch after all.


All times are GMT -6. The time now is 12:16 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI