Quantcast
Need help on making my addon robust - WoWInterface
Thread Tools Display Modes
07-17-17, 05:42 AM   #1
Splynx
A Deviate Faerie Dragon
 
Splynx's Avatar
Join Date: Jul 2017
Posts: 10
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?
  Reply With Quote
07-17-17, 05:45 AM   #2
Splynx
A Deviate Faerie Dragon
 
Splynx's Avatar
Join Date: Jul 2017
Posts: 10
Also - I HATE MURLOCS - WHY AM I A MURLOC RAIDER??
  Reply With Quote
07-17-17, 06:34 AM   #3
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,351
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.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!

Last edited by jeffy162 : 07-17-17 at 06:37 AM. Reason: more blah,blah, blah.
  Reply With Quote
07-17-17, 06:43 AM   #4
Splynx
A Deviate Faerie Dragon
 
Splynx's Avatar
Join Date: Jul 2017
Posts: 10
pad pad pad - padding away from murloc status....
  Reply With Quote
07-17-17, 09:28 AM   #5
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,351
Originally Posted by Splynx View Post
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 )
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
07-19-17, 12:05 AM   #6
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
Originally Posted by jeffy162 View Post
...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
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote
07-19-17, 12:25 AM   #7
Splynx
A Deviate Faerie Dragon
 
Splynx's Avatar
Join Date: Jul 2017
Posts: 10
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.
  Reply With Quote
07-19-17, 05:37 AM   #8
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 930
What is your solution? you can't just close threads
  Reply With Quote
07-19-17, 06:37 PM   #9
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
Originally Posted by Ketho View Post
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.
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote
07-19-17, 08:10 PM   #10
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 454
Originally Posted by VincentSDSH View Post
Unless you annoy the Canadian staff, then you get one like mine
I never noticed yours. Note to self: Stay on their good side.
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
07-20-17, 08:06 AM   #11
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,351
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). BUT, take heart, they're a good natured bunch after all.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Need help on making my addon robust

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off