xaraph wrote:I have all the code to go to the taskmaster, get three tasks, go to the utility vendor and purchase configurable supplies, then go to the workstation, choose the task, check the logfile to make sure that it selected the task (overcoming the task tree open bug), then begin crafting. I have code to check the log file for complications, however I'm stuck at the actual crafting part. I can check the log for complications, but I can't reliably get %quality and %complete, as well as know what steps are in the recipe and how many actions per step. Maybe WyvernX has some insight on how to proceed. Currently Vanguard only logs complications, it would be nice if the VG log dumped recipe details when you initiate crafting, or to have access to an array with the crafting steps through VGExtreme.
This part is easy!
Just make an array and dump all the pixles in the progress bars into this array while it is empty for example (or full). Then, when you want to check the progress bar you just compare this to your existing array of pixels, and at the point where it no longer matches up, that is how far it has come =)
Since Im still wanting for the com objects for VGExtreme, im using this sorta primitive method to check my mana, health and all other sorts of bars. It works just fine. On a reasonably fast machine, it easily checks through your whole health-bar in about 10-20ms.
I can't give you VBcode since I dont have any, but id show you my autoit implementation if you wish, if you send me a PM.
-Stigma