Page 1 of 1

My bot won't target MOnster for me

Posted: Mon Jul 27, 2009 11:34 am
by tomoyontomoya
I keep getting the error - unexpected symbol near '<'
MY code:

Code: Select all

<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-245" z="-7285">
player:harvest();
</waypoint>
<!-- # 2 --><waypoint x="-451" z="-7721">
player:harvest();
</waypoint>
<!-- # 3 --><waypoint x="115" z="-7578">
player:harvest();
</waypoint>
<!-- # 4 --><waypoint x="124" z="-7651">
player:harvest();
</waypoint>
<!-- # 5 --><waypoint x="451" z="-7580">
player:harvest();
</waypoint>
<!-- # 6 --><waypoint x="561" z="-7493">
player:harvest();
</waypoint>
<!-- # 7 --><waypoint x="160" z="-7665">
player:harvest();
</waypoint>
<!-- # 8 --><waypoint x="-432" z="-7715">
player:harvest();
</waypoint>
<!-- # 9 --><waypoint x="-667" z="-8378">
player:harvest();
</waypoint>
<!-- #10 --><waypoint x="-458" z="-8650">
player:harvest();
</waypoint>
<!-- #11 --><waypoint x="-274" z="-7235">
player:harvest();
</waypoint>
<!-- #12 --><waypoint x="-248" z="-7172">
player:harvest();
</waypoint>
<!-- #13 --><waypoint x="-193" z="-7157">
player:harvest();
</waypoint>
<!-- #14 --><waypoint x="-163" z="-7186">
player:harvest();
</waypoint>
<!-- #15 --><waypoint x="-185" z="-7256">
player:harvest();
</waypoint>

</waypoints>

Re: LOL wTH

Posted: Mon Jul 27, 2009 12:06 pm
by d003232
tomoyontomoya wrote:I keep getting the error - unexpected symbol near '<'
MY code:
Can you post a screenshot of your MM window / content?

Re: LOL wTH

Posted: Mon Jul 27, 2009 7:40 pm
by tomoyontomoya
It is fixed. But for some reasons, my bot won't target MOnster, it will only works when i actually click the monster for it. Help please. Class Mage. I set everything right

Re: LOL wTH

Posted: Mon Jul 27, 2009 9:04 pm
by Zilvermoon
tomoyontomoya wrote:It is fixed. But for some reasons, my bot won't target MOnster, it will only works when i actually click the monster for it. Help please. Class Mage. I set everything right
Here is your target problem:

Code: Select all

<waypoints type="TRAVEL">
This code mean that your entire waypoint file is a TRAVEL waypoint script ... ergo it won't try to target any mobs by it self.... to fix this simply remove the type="TRAVEL" from that line and if needed specify it in each waypoint that need to act as TRAVEL, or specify each waypoint that isn't meant to be a TRAVEL waypoint to be a type="NORMAL".

I hope you understand what I'm trying to tell you.

Zilvermoon

Re: My bot won't target MOnster for me

Posted: Tue Jul 28, 2009 8:29 am
by tomoyontomoya
Thank you very much. It is FIxed! :) I can only do simple c++ coding(like make a card game in msdos),, not good with this Svn, and some other stuff like that. I am currently Trying to do items duplicate, mostly fail.

Re: My bot won't target MOnster for me

Posted: Tue Jul 28, 2009 7:47 pm
by d003232
tomoyontomoya wrote:Trying to do items duplicate, mostly fail.
Mostly fail means some are working?