![]() |
[Module] Crafting Tool v2.1.1 + FIX 2 <18/11/2013> - Printable Version +- MMOMinion (https://www.mmominion.com) +-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87) +--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90) +---- Forum: Outdated (https://www.mmominion.com/forumdisplay.php?fid=110) +---- Thread: [Module] Crafting Tool v2.1.1 + FIX 2 <18/11/2013> (/showthread.php?tid=4380) |
RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - Hairyogre - 10-29-2013 OK, it usually does the Tricks of the Trade though it seemed to skip a couple times when it would have given me an extra quality round (I think; I might have missed durability being low). On Armorer, it stops every round or two just before the final progress step (low CPs). The console makes it look like it's checking the buffs then it throws "failed with [string "%local directory%\FFXIV Minion\LuaMods..."]:557: attempt to index local 'bestSkill' (a nil value). There are other possible minor quirks but the craft stopping is the current critical bug. Thanks! Edit: When it stops it's always on D='Checking Buff: 253' with the above error. Also, this is a low level armorer (lvl 13) with only a couple cross-class skills if that matters. Nor does it stop on Checking Buff: 253 every time...I'm still trying to come up with a common point. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - dannuic - 10-29-2013 (10-29-2013, 10:03 PM)Hairyogre Wrote: OK, it usually does the Tricks of the Trade though it seemed to skip a couple times when it would have given me an extra quality round (I think; I might have missed durability being low). On Armorer, it stops every round or two just before the final progress step (low CPs). The console makes it look like it's checking the buffs then it throws "failed with [string "%local directory%\FFXIV Minion\LuaMods..."]:557: attempt to index local 'bestSkill' (a nil value). Interesting, I've been testing with Steady Hand II, but that shouldn't matter. I'll look into that. I've found the problem, and it has to do with the fundamental design of checking CP before choosing the skill (this should happen in the original, too, does it?), which is something that I was trying to figure out but thought I could put it on the backburner. Looking into it now. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - ymko - 10-29-2013 (10-29-2013, 08:51 PM)dannuic Wrote: I've modified the code a bit.Could you use GIT and push it please? I want you to have credit on GITrepo, rather than me pushing it RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - Hairyogre - 10-29-2013 If it helps, I've run 60 40-durability crafts tracking this. It failed 17 times. Every time it failed it was on 5 CP so obviously I was wrong that low CP had nothing to do with it. Interestingly the bot never got stuck when I ended with 7 or 9 CP...just when I had 5. I upped the wait time to 4000 ms and it seemed to help though the problem didn't stop...maybe it's lag related? I heard people complaining about lag affecting their crafting today. I don't recall the previous version failing in this way but if it's lag exposing the problem that could explain things. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - dannuic - 10-29-2013 Forked your repo and pushed my changes to the new fork (new to git, I've always used older versioning tools). (10-29-2013, 10:35 PM)Hairyogre Wrote: If it helps, I've run 60 40-durability crafts tracking this. It failed 17 times. Every time it failed it was on 5 CP so obviously I was wrong that low CP had nothing to do with it. Interestingly the bot never got stuck when I ended with 7 or 9 CP...just when I had 5. I upped the wait time to 4000 ms and it seemed to help though the problem didn't stop...maybe it's lag related? I heard people complaining about lag affecting their crafting today. It may well be lag since it seems to fail to recognize a buff or your CP properly. What I pushed to github has a temporary workaround for that; see if it works. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - ymko - 10-29-2013 (10-29-2013, 11:26 PM)dannuic Wrote: Forked your repo and pushed my changes to the new fork (new to git, I've always used older versioning tools).You have to make a pull request RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - dannuic - 10-30-2013 (10-29-2013, 11:38 PM)ymko Wrote:(10-29-2013, 11:26 PM)dannuic Wrote: Forked your repo and pushed my changes to the new fork (new to git, I've always used older versioning tools).You have to make a pull request I see. Done. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - Hairyogre - 10-30-2013 Dannuic, using your new code I tested it 15 times. 2 failures (both on 6cp this time) so a lower failure rate but it's hard to draw a conclusion from such a small sample. I left the WaitTime at 3000 as I figured we wanted to break it if it could be broken... By the way, I wouldn't read too much into the failure happening after checking buff 253; that's the last buff check reflected to the console so it's what the mod displays when the next crafting step starts...which is where the failure is probably really occurring. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - dannuic - 10-30-2013 (10-30-2013, 12:03 AM)Hairyogre Wrote: Dannuic, using your new code I tested it 15 times. 2 failures (both on 6cp this time) so a lower failure rate but it's hard to draw a conclusion from such a small sample. I left the WaitTime at 3000 as I figured we wanted to break it if it could be broken... This is quite strange. I put nil checks so that shouldn't be able to happen. Are you still getting the same error (possibly different line) that bestSkill is nil? Also, did you grab from my fork, or ymko's original? I don't think it's been committed to the main fork yet. RE: [Module] Crafting Tool v1.5.2 [24/10/2013] - Hairyogre - 10-30-2013 Yes on grabbing the forked code (I cut and paste it as there was no download option on the fork). But...erm...I didn't save after cutting and pasting. ![]() |