Page 1 of 1

hi having problem with KS

Posted: Sun Dec 04, 2011 9:55 am
by bokagavrilov
in some points my rogue gets stuck, it says Engaging enemy "name of the mob" in combat
and Moving in | suggestion range : 50 | distance XX 76 ( for example but it changes) and it keeps runing on the wall...how can i fix that ? thanks

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 11:16 am
by rubenr
Update.

A new version came out yesterday which fixes this.


^^

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 2:07 pm
by bokagavrilov
beh no its not that ..i think my bot its updated it just gets stuck at the first boss ..there are some mobs on the other side ( at the stairs ) that makes the probs..and it doesnt leave the party at the first boss -.- i get scripts\rom\bot.lua:785: failed to compile and run lua code for waypoint # 93

i have micromacro v1.02 RoM bot version 3.29 and revison 676

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 2:32 pm
by rock5
bokagavrilov wrote:beh no its not that ..i think my bot its updated it just gets stuck at the first boss ..there are some mobs on the other side ( at the stairs ) that makes the probs..and it doesnt leave the party at the first boss -.- i get scripts\rom\bot.lua:785: failed to compile and run lua code for waypoint # 93

i have micromacro v1.02 RoM bot version 3.29 and revison 676
Are you reporting multiple problems? If it "fails to compile and run", that should happen when you start the script, not half way through when it reaches the bot. So thats a bit confusing.

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 3:14 pm
by BillDoorNZ
Ive seen a similar issue before, where there is bad code in a particular waypoint. The script loads and runs fine till it hits that particular waypoint and gives the error mentioned above.

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 3:17 pm
by bokagavrilov
rock5 wrote:
bokagavrilov wrote:beh no its not that ..i think my bot its updated it just gets stuck at the first boss ..there are some mobs on the other side ( at the stairs ) that makes the probs..and it doesnt leave the party at the first boss -.- i get scripts\rom\bot.lua:785: failed to compile and run lua code for waypoint # 93

i have micromacro v1.02 RoM bot version 3.29 and revison 676
Are you reporting multiple problems? If it "fails to compile and run", that should happen when you start the script, not half way through when it reaches the bot. So thats a bit confusing.
well yes ... the fails to compile and run happens after it reached the gate to the boss..so when it has to send the macro for the party it get that..i think it can be the " leave party" but it seems ok .. here it is

<!-- # 92 --><waypoint x="2694" z="1912">
if StopAtBoss == 1 then
sendMacro("LeaveParty();");
yrest(4000)
waitForLoadingScreen();
player:update();
if not player:hasBuff("May Establish Honor Party") then
inventory:useItem(202879);
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
</waypoint>
<!-- # 93 --><waypoint x="2693" z="1798"> </waypoint>

seems ok to me..i just added the thing for the honor party but i dont think that this is the problem

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 5:07 pm
by bokagavrilov
it was the honor party thing... could someone tell me where to add it..coz now it left the pt :)

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 5:29 pm
by Blackt3ars
Well i have trouble now about the waypoint which get stuck anytime.But i have now updated to v679 but seems like on the loading page of rom is 675 @.@ !....

idk =.= what when wrong ....swt....

check out the pic i hve ss

Re: hi having problem with KS

Posted: Sun Dec 04, 2011 8:59 pm
by lisa

Code: Select all

<!-- # 92 --><waypoint x="2694" z="1912"> 
if StopAtBoss == 1 then
sendMacro("LeaveParty();");
yrest(4000)
waitForLoadingScreen(); 
player:update();
if not player:hasBuff("May Establish Honor Party") then
inventory:useItem(202879);
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
</waypoint>

you have 2 if and only one end.

I like to create code in a userfunction first and then start bot, the bot will tell you exactly what is wrong if it is in a userfunction.

you just need to add in an end to the code you posted.

Code: Select all

<!-- # 92 --><waypoint x="2694" z="1912"> 
if StopAtBoss == 1 then
sendMacro("LeaveParty();");
yrest(4000)
waitForLoadingScreen(); 
player:update();
if not player:hasBuff("May Establish Honor Party") then
inventory:useItem(202879);
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
end
</waypoint>


Re: hi having problem with KS

Posted: Mon Dec 05, 2011 11:06 am
by bokagavrilov
well and i have an other problem too -.- it get stuck usually when it finishes the run and goes on the way to the npc to clean my backpack..if it attacks a mob it gets stucked later..the char just runs foward and back all the time here is a screeen of what happens ...
is there any way to change the waypoint type so it wont attack till the npc ?

Re: hi having problem with KS

Posted: Mon Dec 05, 2011 11:56 am
by bokagavrilov
problem solved xD i just changed the waypoint type from Travel to run From #218 to #222 xD if anyone has that just change the type of the waypoint

Re: hi having problem with KS

Posted: Mon Dec 05, 2011 12:38 pm
by bokagavrilov
beh wasnt that ..-.- just got stucked again

Re: hi having problem with KS

Posted: Mon Dec 05, 2011 10:29 pm
by rock5
Have you updated to the latest SVN?