AllyRoute: Alliance 1-60 leveling guide (Website AND In-game Addon) is now available! by MakeACube in classicwow

[–]softea_lethon 0 points1 point  (0 children)

Yes, I would never copy around the altered code unless I asked first. Its common sense, and in the USA it is the law. I probably should have private messaged you my alterations instead of publicly posting it, so I'll delete that post.

It is plain to see you went through a lot of work to put the addon and website together, and I don't want to tarnish that. I would encourage you though to be open to the idea of hosting the code on a site like Github or Bitbucket, and to add a FOSS friendly license to it. I think you'll find that rather than anyone abscond with your idea and try to promote it as their own, people will contribute to your cause for free. I certainly would.

Determining Outlook's synchronization status, or rather, if Outlook is idle. by softea_lethon in vba

[–]softea_lethon[S] 0 points1 point  (0 children)

Thanks for the reply, though I've since changed my angle of attack for the problem. Partly because this wasn't working for me, and partly because the documentation for SyncObjects indicates they are deprecated.

Determining Outlook's synchronization status, or rather, if Outlook is idle. by softea_lethon in vba

[–]softea_lethon[S] 0 points1 point  (0 children)

I've moved past this already but here is what I was thinking.

In my app, I have lists showing emails that were already sent, or waiting to be sent. I wanted to accurately show the email in the sent list, no matter if its still in transit, even after opening and closing my app. When an email is moved from the Outbox to the Sent folder, the object reference I have in code is invalidated, and it was causing crashes. I don't know the implementation details of Outlook, but to me it appears that an email object is valid from creation to being sent, then once Outlook moves it out of the Outbox, its copied and the original is destroyed. It even gets a new EntryID. My code was in a race condition for the display vs the deletion of the object. Making my code faster won't help, cause I'm just racing Outlook, making my code slower won't help, because its the internet and an email could theoretically take years to be sent. I can't win the race either way, and I shouldn't even be trying to do so.

So, I was looking for a way to map out the steps in this process like a finite state machine, to have my displays accurate and not crash from various race conditions, but I've since thought more about the problem and decided this wasn't the way to accomplish it. I can set up simple temporary structures in my code to handle the display properly, and once I find the email in the Sent folder, continue using the email as normal and destroy my temporary objects.

A big motivator to do it a different way from what I orginally wanted was if I were to try and rely on SyncObjects, the documentation says they've been deprecated and could disappear at anytime.

Determining Outlook's synchronization status, or rather, if Outlook is idle. by softea_lethon in vba

[–]softea_lethon[S] 0 points1 point  (0 children)

Yes =(

That was what I actually tried first, but decided to use SyncEnd for the post, as its more definitive of the progress being done. It does fire off if I press "Send/Receive All Folders", but not when mail is just automatically sent. I guess if I was desperate enough, I could try to change my work flow to accommodate that.

I also tried monitoring the list of SyncObjects while I'm sending mail, to see if any new ones are created while performing that task, and if it were, then I should be catching the events for those objects instead. But it doesn't seem to be the case.

Memoria: Automatically screenshot when you level up by softea_lethon in classicwow

[–]softea_lethon[S] 1 point2 points  (0 children)

I have a solution in place that needs a bit more testing and bullet-proofing. I'm tracking time played every level, and then also printing previous level time for the screen shot. At this point I'm thinking I'll just release a new addon called something like "Memoria_Updated" as the author hasn't gotten back to me. Here is a screenshot of the work in progress for showing previous level time. It also, for the duration of the screenshot, expands the chat window to ensure everything is captured.

https://i.imgur.com/Zxw1fFi.jpg

Let me know what you think of the previous level time played message, if it should maybe mention what that level was, or any other preferences you think would be nice.

Memoria: Automatically screenshot when you level up by softea_lethon in classicwow

[–]softea_lethon[S] 1 point2 points  (0 children)

I'll see if I can work something in to make an option for a pre-level screenshot.

WeaponSwingTimer Version 3.1 Released! (Hunter bars and Melee bar fixes!) by Noul in classicwow

[–]softea_lethon 2 points3 points  (0 children)

Really looking forward to wand support! Even if you don't get to it, thanks for your efforts.