Page 1 of 1

Problem with rev.689

Posted: Tue Jan 10, 2012 4:13 am
by S1y
Hi

I want to thank you for all your hard work
Im not sure if you are aware but i have found some issues with rev 689, im curreently using 686 and it seems to be fine:

- Bot doesnt target housemaid anymore
- cant get out of the house either
- im running Soft and Cozy daily on xaviera - where it supposed to collect some cotton from nearby field. Bot will collect one out of ten cotton leafs, basically it just run - turn towards it then just skip it. Its a bit odd coz it usually work for the first time when i start the bot then it plays up.

Edit.1
The MM windows reports that it has found the cotton leaf and will harvest it but it doesn't for most of the time.

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 4:45 am
by lisa
something I have noticed that they changed in the game is that it no longer runs and runs, if there is an obsticle on your path it stops.

You can test this by standing away from a harvestible and just clicking it, you will run towards the harvestible node and if any bumps on the way it will stop running towards it.

No idea if this is your issue or not but if the bot is a distance away, not close enough to harvest, then it will try to move to the object and if any bumps on the way it will stop.

This may or may not be your issue.
If it is then you can just make your coords closer to the object you want to collect/harvest so it doesn't need to move to click it.

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 5:12 am
by S1y
Hi Lisa
thanks for quick reply, im affraid that this is not the issue, im standing right next to it - and when i click it manually it will collect the harvestable.
When im botting it says that found harvestabble, then turns toward it but progress bar does not appear.

here is a part of the code if anyone want to test it, you can start it in xaviera near jenners camp - where ents are :

Code: Select all

<!-- # 12 --><waypoint x="10740" z="4581" y="209" tag="quest">		
		repeat dailyQuestCount = RoMScript("Daily_count()") yrest(100) until dailyQuestCount
		if (10 > dailyQuestCount) and ( player.Level > 49 ) then
			player:target_NPC("Kelotiti")
			yrest(200)
			AcceptQuestByName("Rebirth")
			player:target_NPC("Kelotiti")
			yrest(200)
			AcceptQuestByName("Soft and Cozy")
		end
	</waypoint>
	<!-- # 16 --><waypoint x="10841" z="4331" y="190">		
	__WPL:setDirection(WPT_FORWARD)
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 18 --><waypoint x="10904" z="4321" y="197">		
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 20 --><waypoint x="10995" z="4280" y="182">	</waypoint>
	<!-- # 21 --><waypoint x="11018" z="4222" y="200">		
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 23 --><waypoint x="11028" z="4088" y="197">		
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 25 --><waypoint x="10975" z="4009" y="164">		
	player:target_Object("Cotton Fern",1500);
	queststate = getQuestStatus("Soft and Cozy")
	if queststate ~= "complete"  then
		cprintf(cli.blue, "Going back\n")
		__WPL:setDirection(WPT_BACKWARD);
	else
		cprintf(cli.blue, "Done: Soft and Cozy.\n")
	end
	</waypoint>
	<!-- # 28 --><waypoint x="11061" z="3738" y="143">	
	__WPL:setDirection(WPT_FORWARD)
	</waypoint>
	<!-- # 29 --><waypoint x="11146" z="3688" y="139">	</waypoint>
	<!-- # 30 --><waypoint x="11279" z="3536" y="153">	</waypoint>
	<!-- # 31 --><waypoint x="11457" z="3651" y="139">	</waypoint>
	<!-- # 32 --><waypoint x="11473" z="4091" y="181">	</waypoint>
	<!-- # 33 --><waypoint x="11432" z="4168" y="176">	</waypoint>
	<!-- # 34 --><waypoint x="11018" z="4402" y="177">		
	queststate = getQuestStatus("Rebirth")
	if queststate ~= "complete"  then
		cprintf(cli.blue, "Going back\n")
		__WPL:setDirection(WPT_BACKWARD);
	else
		cprintf(cli.blue, "Done: Rebirth.\n")
	end
	</waypoint>
	<!-- # 36 --><waypoint x="10863" z="4489" y="183">	</waypoint>
	<!-- # 37 --><waypoint x="10769" z="4587" y="206">		
		repeat dailyQuestCount = RoMScript("Daily_count()") yrest(100) until dailyQuestCount
		if (10 > dailyQuestCount) then
			player:target_NPC("Kelotiti")
			yrest(200)
			CompleteQuestByName("Rebirth")
			player:target_NPC("Kelotiti")
			yrest(200)
			CompleteQuestByName("Soft and Cozy")
			__WPL:setWaypointIndex(__WPL:findWaypointTag("quest"))
		end
	</waypoint>
What about the housemaid problem - anyone else have similar issues - or is it just me ?

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 5:31 am
by rock5
lisa wrote:something I have noticed that they changed in the game is that it no longer runs and runs, if there is an obsticle on your path it stops.
I thought it was always like that.

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 6:21 am
by lisa
Ahh I know that quest well, I always had issues with it and not collecting, in the end I just decided to not do it.

As for housemaid, that is new to me, I'll see if I have some time later to do some testing.

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 3:18 pm
by kanta
Try this collection code instead of specifying a wait time. Should keep trying to collect the item until successful.

Code: Select all

player:target_Object("Cotton Fern", nil, nil, true);

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 8:26 pm
by lisa
the issue with the Cotton Fern is that sometimes they just can't be clicked, manually or botted.

Re: Problem with rev.689

Posted: Tue Jan 10, 2012 11:07 pm
by MiesterMan
S1y wrote:Hi Lisa
thanks for quick reply, im affraid that this is not the issue, im standing right next to it - and when i click it manually it will collect the harvestable.
When im botting it says that found harvestabble, then turns toward it but progress bar does not appear.

here is a part of the code if anyone want to test it, you can start it in xaviera near jenners camp - where ents are :

Code: Select all

<!-- # 12 --><waypoint x="10740" z="4581" y="209" tag="quest">		
		repeat dailyQuestCount = RoMScript("Daily_count()") yrest(100) until dailyQuestCount
		if (10 > dailyQuestCount) and ( player.Level > 49 ) then
			player:target_NPC("Kelotiti")
			yrest(200)
			AcceptQuestByName("Rebirth")
			player:target_NPC("Kelotiti")
			yrest(200)
			AcceptQuestByName("Soft and Cozy")
		end
	</waypoint>
	<!-- # 16 --><waypoint x="10841" z="4331" y="190">		
	__WPL:setDirection(WPT_FORWARD)
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 18 --><waypoint x="10904" z="4321" y="197">		
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 20 --><waypoint x="10995" z="4280" y="182">	</waypoint>
	<!-- # 21 --><waypoint x="11018" z="4222" y="200">		
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 23 --><waypoint x="11028" z="4088" y="197">		
	player:target_Object("Cotton Fern",1500);
	</waypoint>
	<!-- # 25 --><waypoint x="10975" z="4009" y="164">		
	player:target_Object("Cotton Fern",1500);
	queststate = getQuestStatus("Soft and Cozy")
	if queststate ~= "complete"  then
		cprintf(cli.blue, "Going back\n")
		__WPL:setDirection(WPT_BACKWARD);
	else
		cprintf(cli.blue, "Done: Soft and Cozy.\n")
	end
	</waypoint>
	<!-- # 28 --><waypoint x="11061" z="3738" y="143">	
	__WPL:setDirection(WPT_FORWARD)
	</waypoint>
	<!-- # 29 --><waypoint x="11146" z="3688" y="139">	</waypoint>
	<!-- # 30 --><waypoint x="11279" z="3536" y="153">	</waypoint>
	<!-- # 31 --><waypoint x="11457" z="3651" y="139">	</waypoint>
	<!-- # 32 --><waypoint x="11473" z="4091" y="181">	</waypoint>
	<!-- # 33 --><waypoint x="11432" z="4168" y="176">	</waypoint>
	<!-- # 34 --><waypoint x="11018" z="4402" y="177">		
	queststate = getQuestStatus("Rebirth")
	if queststate ~= "complete"  then
		cprintf(cli.blue, "Going back\n")
		__WPL:setDirection(WPT_BACKWARD);
	else
		cprintf(cli.blue, "Done: Rebirth.\n")
	end
	</waypoint>
	<!-- # 36 --><waypoint x="10863" z="4489" y="183">	</waypoint>
	<!-- # 37 --><waypoint x="10769" z="4587" y="206">		
		repeat dailyQuestCount = RoMScript("Daily_count()") yrest(100) until dailyQuestCount
		if (10 > dailyQuestCount) then
			player:target_NPC("Kelotiti")
			yrest(200)
			CompleteQuestByName("Rebirth")
			player:target_NPC("Kelotiti")
			yrest(200)
			CompleteQuestByName("Soft and Cozy")
			__WPL:setWaypointIndex(__WPL:findWaypointTag("quest"))
		end
	</waypoint>
What about the housemaid problem - anyone else have similar issues - or is it just me ?
I have a similar issue but not one that is detrimental. What happens is the bot gets to the harvestable but it tries to harvest before it gets there so it doesn't actually try to start harvesting. It then waits for the normal harvest time to complete before attempting again. Depending on whether or not I enter combat, it will harvest the node. But, as the bot sees it as the first attempt already failing, if I enter combat afterward it will not try to harvest it the second time around (kind of like default failure number 2).

Are there aggro monsters around the nodes you're tyring to harvest or no?
If so you might try adding a yrest(1000) before each of the harvest commands. If you are going to pull aggro, it will take care of it before attempting to harvest and since it's already stopped it might even harvest it on the first try.

Question about the maid, are you entering or exiting? Also, are you using that teleporter mod I made way back? I use the functions regularly with my teleporters but it's been a while since I tested the housemaid functions.

Re: Problem with rev.689

Posted: Wed Jan 11, 2012 5:05 am
by S1y
Kanta
Try this collection code instead of specifying a wait time. Should keep trying to collect the item until successful.
I have tried this one and i have tried old way by using harvest + id . none of them works well - i guess i just have to leave those cotton fields alone as they seems to be problematic.

I can harves them manualy without any problems, i got all 5 withing minute - but when botting it will get one or two and then it just turn towards it - look at harvestable - wait a bit then moves on to next wp - suprisingly sometimes on the next run it will harvest some other nodes that he skipped previously.

MiesterMan
I have a similar issue but not one that is detrimental. What happens is the bot gets to the harvestable but it tries to harvest before it gets there so it doesn't actually try to start harvesting. It then waits for the normal harvest time to complete before attempting again. Depending on whether or not I enter combat, it will harvest the node. But, as the bot sees it as the first attempt already failing, if I enter combat afterward it will not try to harvest it the second time around (kind of like default failure number 2).
Yes they are mobs that might aggro me - but normaly they dont. I have noticed that bot even when aggroed during the harvesting will come back and retry the harves after the combat, so i dont think this will be the issue - as right now it doesent event start to harvest - the progress bar is not showing even thou bot stands next to node and turns toward it.
Question about the maid, are you entering or exiting? Also, are you using that teleporter mod I made way back? I use the functions regularly with my teleporters but it's been a while since I tested the housemaid functions.
Im entering the house by CL house maid to get Lucy Potions - got 3 maids and all 3 are skipped in rev 689 - also it cant zone out of house in this rev - when previous version ( 686 ) works fine with the same script.
Im not using your teleport mod ( i used to but it got buggy at some point and now im just using this to get in :

Code: Select all

player:target_NPC("Fenati");
	sendMacro("ChoiceOption(1);");
	waitForLoadingScreen(20);
and this is the talk to maid code :

Code: Select all

player:target_NPC(""..mname..""); -- talking to Maid
		if( inventory:itemTotalCount(207203) == 0 ) then
			sendMacro("SpeakFrame_ListDialogOption(1, 6)"); yrest(1000); -- Crafting
		elseif( inventory:itemTotalCount(207200) == 0 ) then
			sendMacro("SpeakFrame_ListDialogOption(1, 6)"); yrest(1000); -- Crafting
		else
			sendMacro("SpeakFrame_ListDialogOption(1, 1)") yrest(1000); -- Talking
			sendMacro("SpeakFrame_ListDialogOption(1, 1)") yrest(1000); -- Talking
			sendMacro("SpeakFrame_ListDialogOption(1, 5)") yrest(1000); -- Cooking
		end
This is to get out of the house:

Code: Select all

player:target_NPC("Housekeeper"); yrest(1500);
		sendMacro("SpeakFrame_ListDialogOption(1, 1)"); -- leaving the house
		waitForLoadingScreen(20);
Im no expert - but It seems like player:target_NPC doesnt work in 689 - as the bot is not targeting either maids nor the housekeeper

Re: Problem with rev.689

Posted: Thu Jan 26, 2012 11:03 am
by Budzer
Have same problem with housekeepers. Bot keeps telling me target can not be find or something alike and thats it... Targeting anywhere else beside house works as it should.

Re: Problem with rev.689

Posted: Thu Jan 26, 2012 11:36 am
by rock5
This was fixed in revision 694. Have you updated?

Re: Problem with rev.689

Posted: Thu Jan 26, 2012 11:41 am
by lisa
maybe you got the name wrong?

Re: Problem with rev.689

Posted: Thu Jan 26, 2012 11:46 am
by Budzer
OK I have r.692 I will check it later, didn't even notice this update ;) THX for help if there would be still something wrong I will post it, otherwise concider it as my mistake ;)