It's hard to say without the log. At first look, everything looks fine. The only thing I see that could be a problem is startMacro(). You're calling it with the second parameter, which I just added for the Perfect World bot version. If you aren't using the MicroMacro included with that, then that's probably what the error is. I hope to update again this weekend (0.96c), it just needs a little more testing.
EDIT: Oh, duh. You're calling IsMenuOpen(). IsMenuOpen is a variable, you don't want to call it as a function. Just remove the ().
elverion wrote:It's hard to say without the log. At first look, everything looks fine. The only thing I see that could be a problem is startMacro(). You're calling it with the second parameter, which I just added for the Perfect World bot version. If you aren't using the MicroMacro included with that, then that's probably what the error is. I hope to update again this weekend (0.96c), it just needs a little more testing.
EDIT: Oh, duh. You're calling IsMenuOpen(). IsMenuOpen is a variable, you don't want to call it as a function. Just remove the ().
Yea I am using the pw edition ;D And thanks, that was some silly mistake I did. Better not copy again from your bots lol.