MMOMinion
Possible bugs in skill manager for gathering? - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: Support - English, Deutsch, 中文 (https://www.mmominion.com/forumdisplay.php?fid=92)
+---- Forum: English Support & Questions (https://www.mmominion.com/forumdisplay.php?fid=93)
+---- Thread: Possible bugs in skill manager for gathering? (/showthread.php?tid=18910)



Possible bugs in skill manager for gathering? - pig003 - 06-20-2017

I tried to make my own gatherer's skill profile today, and spot the following problems (possibly bugs?):

1. The "Previous Skill ID" input in the "gatherer skill section" does not work.  The "pskillg" value in the generated .lua file keeps being overwritten when loaded.  But when I changed:  "GUI:InputInt("##SKM_PSkillIDG",SKM_PSkillIDG,0,0)" to "GUI:InputText("##SKM_PSkillIDG",SKM_PSkillIDG)", all now seemed to work well.


2. The logic for handling "gpmin (>=)" and "gpmax (<)" seemed to have reversed.  I changed:

Code:
if ((tonumber(skill.gpmin) > 0 and Player.gp.current > tonumber(skill.gpmin)) or
    (tonumber(skill.gpmax) > 0 and Player.gp.current < tonumber(skill.gpmax)) or

to 

Code:
if ((tonumber(skill.gpmin) > 0 and Player.gp.current < tonumber(skill.gpmin)) or
   (tonumber(skill.gpmax) > 0 and Player.gp.current >= tonumber(skill.gpmax)) or

and it now works.