Comments on Profile Post by Sadie_Dragon

  1. Sadie_Dragon
    Sadie_Dragon
    I can mimic enchanting, no problem- but only one item at a time. For the purpose I'm trying to use it for, I need multiple. Ruby has a nice thing called "eval" (thank you jaq)- and I can run another program to produce an item to be enchanted, write it into a file, run the enchanting program to read that item, then output to another file, and continue the main by reading out the returned item.
    Aug 5, 2019
  2. Sadie_Dragon
    Sadie_Dragon
    (and then using that item, we'll get to that) However, I run the code in a separate testing folder to prevent breaking the working enchanting program that took me too long to get functional... "Wrong number of arguments" when it runs the enchanting program. ... wut? Everything's working? According to every debugging i'm doing?
    Aug 5, 2019
  3. Sadie_Dragon
    Sadie_Dragon
    So yeah. Aside from this nasty bug- the code's complete. Not refined, complete.
    I'm quite frustrated. -.-
    Aug 5, 2019
  4. Sadie_Dragon
    Sadie_Dragon
    Update: In trying to figure out what specifically is breaking, I ran through every step and substep of steps. Noticed it was running the method prematurely, so I wrote a debug to run the eval, *and nothing broke*. Excuse?
    Aug 5, 2019
  5. Sadie_Dragon
    Sadie_Dragon
    Overcomplicated the code, repeated snippets, removed the written method and wrote it into the loops. Problem solved. Ridiculous bug but whatever.
    Aug 5, 2019