Forum for alternative clients, mods & discussions on the same.
Moderator: Phades
Armadillo
Posts: 4 Joined: Sat Oct 05, 2013 12:55 pm
Post
by Armadillo » Mon Nov 17, 2014 5:39 pm
bjiyura wrote: Hello, can someone explain how scripts interact with the window crafting.
Code: Select all
void main() { def eq = getCraftWindow(); sendAction("craft", "linencloth"); if (eq == null) { toConsole(" Cant Open "); } else { eq.pushButton("Craft"); } waitHourglass(); }The window opens, but start Kraft does not work (
Code: Select all
sendAction("craft", "linencloth"); //send request sleep(3000); //wait some time def eq = getCraftWindow(); // and get craft window if (eq == null) { toConsole(" Cant Open "); } else { eq.pushButton("Craft"); waitHourglass(); }
loftar
Posts: 9093 Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database
Post
by loftar » Mon Nov 17, 2014 6:19 pm
Armadillo wrote: krvd wrote: Can you share sources please?
no
The license requires you to, though. You can share it either with sources or not at all.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
vatas
Posts: 5250 Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele
Post
by vatas » Mon Nov 17, 2014 6:54 pm
loftar wrote: Armadillo wrote: krvd wrote: Can you share sources please?
no
The license requires you to, though. You can share it either with sources or not at all.
Does HnH client have open-source license? I'm not expert but then it is possible that making client modifications and not making them public could even be criminal.
loftar
Posts: 9093 Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database
Post
by loftar » Mon Nov 17, 2014 6:59 pm
"Object-oriented design is the roman numerals of computing." -- Rob Pike
borka
Posts: 9965 Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap
Post
by borka » Mon Nov 17, 2014 7:02 pm
time to ban users with clients without given source like Ceres, Latika, Rizen, Reisen and FIG ... he's been reproached at russian forums for his approach different times
bjiyura
Posts: 2 Joined: Fri Sep 19, 2014 2:09 pm
Post
by bjiyura » Tue Nov 18, 2014 12:18 pm
Armadillo wrote: bjiyura wrote: Hello, can someone explain how scripts interact with the window crafting.
Code: Select all
void main() { def eq = getCraftWindow(); sendAction("craft", "linencloth"); if (eq == null) { toConsole(" Cant Open "); } else { eq.pushButton("Craft"); } waitHourglass(); }The window opens, but start Kraft does not work (
Code: Select all
sendAction("craft", "linencloth"); //send request sleep(3000); //wait some time def eq = getCraftWindow(); // and get craft window if (eq == null) { toConsole(" Cant Open "); } else { eq.pushButton("Craft"); waitHourglass(); }Thank you very much, it works now )