MMOMinion

Full Version: Possible bugs in skill manager for gathering?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.