well i know its supost to dont post here but this threat is the more closer i find to discuss my problem
so the problem is this
i have a waypoint file form fireboot lvl 66
and i want it to kill kill kill and wen get full goes to npc and sell
i already make a code waypoint and works algost good
the problem is example i have 16 waypoins and more 5 distinct waypoints to go npc and to come to npc
my problem is wen he finish the 16 waypoints it allways goes to npc for sell and repair
so its waste of time couse it only have 10 ekips to sell in each round
i will post my code here to some one who find any error or any missing code help me to understand
This is waypoints to farm pangos in firebootCode: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints> <!-- # 1 --><waypoint x="-11525" z="42801" y="687"> </waypoint> <!-- # 2 --><waypoint x="-11351" z="42900" y="693"> </waypoint> <!-- # 3 --><waypoint x="-11228" z="43156" y="640"> </waypoint> <!-- # 4 --><waypoint x="-11445" z="43094" y="678"> </waypoint> <!-- # 5 --><waypoint x="-11653" z="43080" y="691"> </waypoint> <!-- # 6 --><waypoint x="-11838" z="43039" y="704"> </waypoint> <!-- # 7 --><waypoint x="-12095" z="42953" y="700"> </waypoint> <!-- # 8 --><waypoint x="-12274" z="42815" y="703"> </waypoint> <!-- # 9 --><waypoint x="-12150" z="42661" y="702"> </waypoint> <!-- # 10 --><waypoint x="-11859" z="42598" y="691"> </waypoint> <!-- # 11 --><waypoint x="-11675" z="42650" y="690"> </waypoint> <!-- # 12 --><waypoint x="-11406" z="42471" y="698"> </waypoint> <!-- # 13 --><waypoint x="-11291" z="42388" y="710"> </waypoint> <!-- # 14 --><waypoint x="-11375" z="42582" y="703"> </waypoint> <!-- # 15 --><waypoint x="-11363" z="42802" y="694"> </waypoint> <!-- # 16 --><waypoint x="-11493" z="42903" y="686"> if inventory:itemTotalCount(0) == 0 then player:update(); __WPL:setWaypointIndex(__WPL:findWaypointTag("rerun")); end end </waypoint> <!-- # 1 --><waypoint x="-11529" z="42818" type="RUN" tag="rerun"> </waypoint> <!-- # 2 --><waypoint x="-11517" z="42442" type="RUN">> </waypoint> <!-- # 3 --><waypoint x="-11894" z="42228" type="RUN">> </waypoint> <!-- # 4 --><waypoint x="-11742" z="41982" type="RUN">> </waypoint> <!-- # 5 --><waypoint x="-11630" z="42004" y="819"> player:merchant("Nidus Linnu"); player:update(); __WPL:setWaypointIndex(__WPL:findWaypointTag("back")); </waypoint> <!-- # 1--><waypoint x="-11779" z="42000" type="RUN" tag="back"> </waypoint> <!-- # 2--><waypoint x="-11884" z="42242" type="RUN">> </waypoint> <!-- # 3--><waypoint x="-11790" z="42339" type="RUN">> </waypoint> <!-- # 4--><waypoint x="-11797" z="42521" type="RUN">> </waypoint> <!-- # 5--><waypoint x="-11704" z="42769" type="RUN">> </waypoint> <!-- # 6--><waypoint x="-11533" z="42832" type="RUN">> </waypoint> player:update() </waypoints>
thanks for anyone who can help
WP question by Pmaia
WP question by Pmaia
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: WP question by Pmaia
Ok first thing to know, the bot will just read coords from top to bottom of file unless told otherwise, regardless of the numbers
<!-- # 1 -->
So by having
You are telling it to use the next waypoint, which it would do normally anyway without the findwaypointtag.
Also you have some double >> in your code, more then likely from copy pasting in the type="RUN"
Ok so to your problem, if I understand you correctly you want to do these coords until your bag is full.
So you want to tell the bot to go back to the start of those coords if your not full. In order to tell it to go to the first coord it will need a tag
and then in the last waypoint of the section do a check if not full.
and if not full then send it back to the start to farm some more.
So all together it will look like this
So when it gets to this point and the bags are full it will just go to the next waypoint and continue on.
so you can just do
I hope that this explains how to use findWaypointTag
<!-- # 1 -->
So by having
Code: Select all
<!-- # 5 --><waypoint x="-11630" z="42004" y="819">
player:merchant("Nidus Linnu");
player:update();
__WPL:setWaypointIndex(__WPL:findWaypointTag("back"));
</waypoint>
<!-- # 1--><waypoint x="-11779" z="42000" type="RUN" tag="back"> </waypoint>
Also you have some double >> in your code, more then likely from copy pasting in the type="RUN"
Ok so to your problem, if I understand you correctly you want to do these coords until your bag is full.
Code: Select all
<!-- # 1 --><waypoint x="-11525" z="42801" y="687"> </waypoint>
<!-- # 2 --><waypoint x="-11351" z="42900" y="693"> </waypoint>
<!-- # 3 --><waypoint x="-11228" z="43156" y="640"> </waypoint>
<!-- # 4 --><waypoint x="-11445" z="43094" y="678"> </waypoint>
<!-- # 5 --><waypoint x="-11653" z="43080" y="691"> </waypoint>
<!-- # 6 --><waypoint x="-11838" z="43039" y="704"> </waypoint>
<!-- # 7 --><waypoint x="-12095" z="42953" y="700"> </waypoint>
<!-- # 8 --><waypoint x="-12274" z="42815" y="703"> </waypoint>
<!-- # 9 --><waypoint x="-12150" z="42661" y="702"> </waypoint>
<!-- # 10 --><waypoint x="-11859" z="42598" y="691"> </waypoint>
<!-- # 11 --><waypoint x="-11675" z="42650" y="690"> </waypoint>
<!-- # 12 --><waypoint x="-11406" z="42471" y="698"> </waypoint>
<!-- # 13 --><waypoint x="-11291" z="42388" y="710"> </waypoint>
<!-- # 14 --><waypoint x="-11375" z="42582" y="703"> </waypoint>
<!-- # 15 --><waypoint x="-11363" z="42802" y="694"> </waypoint>
Code: Select all
<!-- # 1 --><waypoint x="-11525" z="42801" y="687" tag="farm"> </waypoint>
Code: Select all
if inventory:itemTotalCount(0) ~= 0 then
Code: Select all
__WPL:setWaypointIndex(__WPL:findWaypointTag("farm"));
Code: Select all
<!-- # 1 --><waypoint x="-11525" z="42801" y="687" tag="farm"> </waypoint>
<!-- # 2 --><waypoint x="-11351" z="42900" y="693"> </waypoint>
<!-- # 3 --><waypoint x="-11228" z="43156" y="640"> </waypoint>
<!-- # 4 --><waypoint x="-11445" z="43094" y="678"> </waypoint>
<!-- # 5 --><waypoint x="-11653" z="43080" y="691"> </waypoint>
<!-- # 6 --><waypoint x="-11838" z="43039" y="704"> </waypoint>
<!-- # 7 --><waypoint x="-12095" z="42953" y="700"> </waypoint>
<!-- # 8 --><waypoint x="-12274" z="42815" y="703"> </waypoint>
<!-- # 9 --><waypoint x="-12150" z="42661" y="702"> </waypoint>
<!-- # 10 --><waypoint x="-11859" z="42598" y="691"> </waypoint>
<!-- # 11 --><waypoint x="-11675" z="42650" y="690"> </waypoint>
<!-- # 12 --><waypoint x="-11406" z="42471" y="698"> </waypoint>
<!-- # 13 --><waypoint x="-11291" z="42388" y="710"> </waypoint>
<!-- # 14 --><waypoint x="-11375" z="42582" y="703"> </waypoint>
<!-- # 15 --><waypoint x="-11363" z="42802" y="694"> </waypoint>
<!-- # 16 --><waypoint x="-11493" z="42903" y="686">
if inventory:itemTotalCount(0) ~= 0 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("farm"));
end
</waypoint>
so you can just do
Code: Select all
<!-- # 17 --><waypoint x="-11529" z="42818" type="RUN"> </waypoint>
<!-- # 18 --><waypoint x="-11517" z="42442" type="RUN"> </waypoint>
<!-- # 19 --><waypoint x="-11894" z="42228" type="RUN"> </waypoint>
<!-- # 20 --><waypoint x="-11742" z="41982" type="RUN"> </waypoint>
<!-- # 21 --><waypoint x="-11630" z="42004" y="819">
player:merchant("Nidus Linnu");
</waypoint>
<!-- # 22--><waypoint x="-11779" z="42000" type="RUN"> </waypoint>
<!-- # 23--><waypoint x="-11884" z="42242" type="RUN"> </waypoint>
<!-- # 24--><waypoint x="-11790" z="42339" type="RUN"> </waypoint>
<!-- # 25--><waypoint x="-11797" z="42521" type="RUN"> </waypoint>
<!-- # 26--><waypoint x="-11704" z="42769" type="RUN"> </waypoint>
<!-- # 27--><waypoint x="-11533" z="42832" type="RUN"> </waypoint>
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
- MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
Re: WP question by Pmaia
I've got a question. What is:
I mean, what's that supposed to return?
Code: Select all
inventory:itemTotalCount(0)
My RoM Bot toys:
- Object Viewer: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2619
Teleporter Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2605
Waypoint Finder: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2616
Mail Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2612
Equipment Swapper(TempFixed): http://www.solarstrike.net/phpBB3/viewt ... =27&t=2571
Re: WP question by Pmaia
Code: Select all
inventory:itemTotalCount()
The usage of 0 was added in to check for empty slots, so
Code: Select all
inventory:itemTotalCount(0)
where as
Code: Select all
inventory:itemTotalCount("Fusion Stone")
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
- MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
Re: WP question by Pmaia
Lol, good to know. I wrote my own UF for that! I'll start using this instead.
My RoM Bot toys:
- Object Viewer: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2619
Teleporter Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2605
Waypoint Finder: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2616
Mail Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2612
Equipment Swapper(TempFixed): http://www.solarstrike.net/phpBB3/viewt ... =27&t=2571
Re: WP question by Pmaia
tnks lisa
i will try to correct the code
i already tryed tag the 1st waypoint
but i get an error at micromacro from line2
so the 2line of waypoint have some error related with the tag.
but i will try to fiz it
after i try to use
if ....then
else if.... then but i gess that code doesnot work
i have ks farmig too working good but dont know wy i think he dont count the items on my bag
i changed the itemcount to 10 and even wen i only have 2 slots left it continues to farm ks unitl gets the waypoint i want it to leave so dont know if the item countdown are working on tath code form
another question
i c on youtube a video from a boter in obsidian and i c it moving right just a player
my ask is this
wen we make waypoins and wen we loaded on the micromacro the player start at waypoint 1 and wen it moves to waypoint 2 it just have few seconds delay
couse its facing and turn to the next waypoint many times it makes a full circle searshing for the waypoint
theres no way to we minimyze that mini delay from the bot?
i hope u understatnd wat im saying
and sry about posting this problem at ks farming threat im rly sory
tnks anyway will try the new code again
i will try to correct the code
i already tryed tag the 1st waypoint
but i get an error at micromacro from line2
so the 2line of waypoint have some error related with the tag.
but i will try to fiz it
after i try to use
if ....then
else if.... then but i gess that code doesnot work
i have ks farmig too working good but dont know wy i think he dont count the items on my bag
i changed the itemcount to 10 and even wen i only have 2 slots left it continues to farm ks unitl gets the waypoint i want it to leave so dont know if the item countdown are working on tath code form
another question
i c on youtube a video from a boter in obsidian and i c it moving right just a player
my ask is this
wen we make waypoins and wen we loaded on the micromacro the player start at waypoint 1 and wen it moves to waypoint 2 it just have few seconds delay
couse its facing and turn to the next waypoint many times it makes a full circle searshing for the waypoint
theres no way to we minimyze that mini delay from the bot?
i hope u understatnd wat im saying
and sry about posting this problem at ks farming threat im rly sory
tnks anyway will try the new code again
Re: WP question by Pmaia
ok lisa your code its working at least the part of stay kiling until bag gets full
but dont know wy i got a litle problem wen i fin a cannot see target mob
at my profile i have 5 second to atack and after that it normaly change to the closer waypoint and continues but now with this code i get connot see target infinite times
but dont know wy i got a litle problem wen i fin a cannot see target mob
at my profile i have 5 second to atack and after that it normaly change to the closer waypoint and continues but now with this code i get connot see target infinite times
Re: WP question by Pmaia
Canot see target is an issue with the actual game and you can't really fix it with the bot.Pmaia wrote:connot see target infinite times
Maybe try
farming different mobs or
alter you waypoint coords or
reduce your combat distance so you get closer to it
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: WP question by Pmaia
This sounds like you have a delay talking with your server. Try adding the following to the "options" section of your profile. That's anywhere between "<options>" and "</options>".Pmaia wrote:it makes a full circle searshing for the waypoint
Code: Select all
<option name="WP_NO_STOP" value="false" />
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: WP question by Pmaia
i will try later that code now server is on maintenance:X
another quest about i already read it but dont understand
wats the diference for wayponts to wander?
another quest about i already read it but dont understand
wats the diference for wayponts to wander?
Re: WP question by Pmaia
its all working good atm thanks to all
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests