Page 7 of 13

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 4:39 am
by lisa
are you doing it solo? If so then the address change isn't the issue, issue would be that code is trying to be done while you are at the loading screen. In that case you would need to add in a

Code: Select all

waitForLoadingScreen();

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 4:48 am
by Pmaia
yes im soloing boss
but i have that at my profile i downloadit from ur waypoints
some time work and sometimes not dont know wy:\

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 4:51 am
by Pmaia
i have thiss
<!-- # 1 --><waypoint x="1644" z="-4921" y="752"> </waypoint>
<!-- # 2 --><waypoint x="1670" z="-5077" y="760"> </waypoint>
<!-- # 3 --><waypoint x="1688" z="-5162" y="759">
waitForLoadingScreen();
</waypoint>
<!-- # 5 --><waypoint x="1886" z="2881" y="433"> </waypoint>
<!-- # 6 --><waypoint x="2044" z="2698" y="433"> </waypoint>
<!-- # 7 --><waypoint x="2177" z="2540" y="407"> bossbuff() </waypoint>
<!-- # 9 --><waypoint x="2228" z="2466" y="401"> </waypoint>
<!-- # 10 --><waypoint x="2188" z="2524" y="401">yrest(5000)</waypoint>
<!-- # 11 --><waypoint x="2120" z="2607" y="432"> </waypoint>
<!-- # 12 --><waypoint x="1894" z="2874" y="433"> </waypoint>
<!-- # 13 --><waypoint x="1774" z="2883" y="433"> </waypoint>
<!-- # 14 --><waypoint x="1696" z="2891" y="445">
waitForLoadingScreen();
yrest(5000)
SlashCommand("ILG destroy");
yrest(2000)
SlashCommand("ILG inv");
yrest(1000)
SlashCommand("ILG inv");
</waypoint>
</waypoints>

the loading screnns are here but many many times it stuck at adress and dont continue the wapoints
and wen that happens MM dont invite nothing and get stoped
could i try a diferent code for that?
couse sometimes it works and other times doesnt

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 5:48 am
by Pmaia
if i use some time at the portal
like loading screen(30000) could that miinimize the crash
im use that and at kill 7 it stuck again:\ im without ideas

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 9:12 am
by s018mes
My autosell problem has something to do with the waypoint file. I am using the DoD waypoint file that was suggested in this thread.

Here is the debug info:

Code: Select all

[DEBUG] Check item so sell: 110 212475 Armor Splitting Battle Hand Axe
[DEBUG] Durability check, search for: Durability => 107
[DEBUG] Check item so sell: 111 225874 Woven Handguards
[DEBUG] Durability check, search for: Durability => 76
[DEBUG] Check item so sell: 112 225869 Waste Water Belt
[DEBUG] Durability check, search for: Durability => 86
[DEBUG] Check item so sell: 113 226053 Fading Barrier
[DEBUG] Durability check, search for: Durability => 86
[DEBUG] Check item so sell: 114 226051 Soul Corpse Gloves
[DEBUG] Durability check, search for: Durability => 100
[DEBUG] Check item so sell: 115 226051 Soul Corpse Gloves
[DEBUG] Durability check, search for: Durability => 87
[DEBUG] Check item so sell: 116 212475 Armor Splitting Battle Hand Axe
[DEBUG] Durability check, search for: Durability => 114
[DEBUG] Check item so sell: 117 212475 Armor Splitting Battle Hand Axe
[DEBUG] Durability check, search for: Durability => 76
[DEBUG] Check item so sell: 118 225874 Woven Handguards
[DEBUG] Durability check, search for: Durability => 109
[DEBUG] Check item so sell: 119 225869 Waste Water Belt
[DEBUG] Durability check, search for: Durability => 76
[DEBUG] Check item so sell: 120 226193 Thunderhoof Wisdom Earring
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY: BLUE
[DEBUG] Durability check, search for: Durability => 110
And here is some of the code in the waypoint that I think is causing the problem. I just can't figure out how to fix it:

Code: Select all

<!-- #  Disari ciktik -->
   <!-- # 19 --><waypoint x="1645" z="-4908"> yrest(9000);   sendMacro('LeaveParty()');   yrest(1000);   sendMacro('LeaveParty()');</waypoint>
   <!-- # 20 --><waypoint x="1645" z="-4908">
      local hddura = inventory:getMainHandDurability();
      printf("Durability:%s\n", hddura);
      if( 95 >= hddura ) then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("Sat"));
      end                              </waypoint>
   <!-- # 21 --><waypoint x="1645" z="-4908">
      occupiedSlots, totalSlots = sendMacro("GetBagCount();");
      if(  occupiedSlots > 52 ) then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("Sat"));
   end
   </waypoint>

<!-- #  Repair -->
   <!-- # 25 --><waypoint x="1668" z="-4767" tag="Repair">      </waypoint>
   <!-- # 26 --><waypoint x="1710" z="-4749">   
      player:target_NPC("Isaac Haden");
      yrest(1000);
   </waypoint>
   <!-- # 27 --><waypoint x="1651" z="-4836">__WPL:setWaypointIndex(__WPL:findWaypointTag("Bekle"));</waypoint>


<!-- #  Sell -->
   <!-- # 25 --><waypoint x="1668" z="-4767" tag="Sat">   </waypoint>
   <!-- # 26 --><waypoint x="1710" z="-4749">   
      player:merchant("Isaac Haden");
      yrest(2000);
   </waypoint>

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 7:06 pm
by lisa
lisa wrote:can you try to use code tags around any code, it is very difficult to work out what you are actually asking from that post. you can use [ code][ /code] without the space after [ or simply highlight the code text and just click the Code button in the formating part of page, where all the bold, italic, underline stuff is.
Can you both please edit you last post with code and use code tags, I don't have the time to read through 20 lines of text just to actually see your questions.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 7:51 pm
by Pmaia

Code: Select all

</onload>
	<!-- #  1 --><waypoint x="1644" z="-4921" y="752">	</waypoint>
	<!-- #  2 --><waypoint x="1670" z="-5077" y="760">	</waypoint>
	<!-- #  3 --><waypoint x="1688" z="-5162" y="759">
	[color=#0000FF]waitForLoadingScreen(); 
	player:update();[/color]
	</waypoint>
	<!-- #  5 --><waypoint x="1886" z="2881" y="433">	</waypoint>
	<!-- #  6 --><waypoint x="2044" z="2698" y="433">	</waypoint>
	<!-- #  7 --><waypoint x="2177" z="2540" y="407">	bossbuff()	</waypoint>
	<!-- #  9 --><waypoint x="2228" z="2466" y="401">	</waypoint>
	<!-- # 10 --><waypoint x="2188" z="2524" y="401">	</waypoint>
	<!-- # 11 --><waypoint x="2120" z="2607" y="432" type="TRAVEL">	</waypoint>
	<!-- # 12 --><waypoint x="1894" z="2874" y="433" type="TRAVEL">	</waypoint>
	<!-- # 13 --><waypoint x="1774" z="2883" y="433" type="TRAVEL">	</waypoint>
	<!-- # 14 --><waypoint x="1696" z="2891" y="445" type="TRAVEL">		
	[color=#0000FF]waitForLoadingScreen(); 
	player:update();[/color]
	yrest(5000)
	SlashCommand("ILG destroy"); 
	yrest(2000)
	SlashCommand("ILG inv"); 
	yrest(1000)
	SlashCommand("ILG inv"); 
	</waypoint>
</waypoints>
i have problems at loadingscreen i try use a player update to c if the crash desapears but nothing stills the same kill around 5 or 6 bosses and stuck the MM after left the dungeon
the bot say : player adress changed and a random number in front of it:\
and dont move more...
im asking if theres any thing to try force the bot continues the waypoints after the loading screen

Re: Memento farming - concept - Dalanis Dungeon

Posted: Sun Oct 02, 2011 8:01 pm
by rock5
I don't know. It looks alright to me.

Assuming that it's getting stuck in the waitForLoadingScreen function, you could put a time limit in it. See if that works.

Code: Select all

waitForLoadingScreen(30);

Re: Memento farming - concept - Dalanis Dungeon

Posted: Mon Oct 03, 2011 6:42 am
by Pmaia
already try make 1000 of loading screen and other time too
and sometimes it stuck
and that only happens in dod
couse if i farma KS itss work perfectly

Re: Memento farming - concept - Dalanis Dungeon

Posted: Mon Oct 03, 2011 7:15 pm
by Pmaia
well rock5 i try that code u post and it works better that before
at least it detect the loading cast
and as i c the bot its to slow detecting the fast loading of this dungeon
but i have other litle problem

<!-- # 1 --><waypoint x="1644" z="-4921" y="752"> </waypoint>
<!-- # 2 --><waypoint x="1670" z="-5077" y="760"> </waypoint>
<!-- # 3 --><waypoint x="1688" z="-5162" y="759">
waitForLoadingScreen(30);
player:update();
</waypoint>

Code: Select all

<!-- #  5 --><waypoint x="1886" z="2881" y="433">	</waypoint>
	<!-- #  6 --><waypoint x="2044" z="2698" y="433">	</waypoint>
	<!-- #  7 --><waypoint x="2177" z="2540" y="407">	bossbuff()	</waypoint>
	<!-- #  9 --><waypoint x="2228" z="2466" y="401">	</waypoint>
	<!-- # 10 --><waypoint x="2188" z="2524" y="401">	</waypoint>
	<!-- # 11 --><waypoint x="2120" z="2607" y="432" type="TRAVEL">	</waypoint>
	<!-- # 12 --><waypoint x="1894" z="2874" y="433" type="TRAVEL">	</waypoint>
	<!-- # 13 --><waypoint x="1774" z="2883" y="433" type="TRAVEL">	</waypoint>
	<!-- # 14 --><waypoint x="1696" z="2891" y="445" type="TRAVEL">		
	waitForLoadingScreen(30); 
	player:update();
	yrest(5000)
	SlashCommand("ILG destroy"); 
	yrest(2000)
	SlashCommand("ILG inv"); 
	yrest(1000)
	SlashCommand("ILG inv"); 
	</waypoint>
at waypoint 3 and 14 the game sometimes dont work right and it pass the portals
and wat happens now ? wen he dont pass the portal
the MM continues working
and wat appens its he reform party with the char inside the dungeon
runes of magic have many bugs and many times the portals dont work right!
so i guess if i can use 2 codes of waypoints inside of 1 waypoint
to minimize the problem if he dont pass at first time it will pass at second try!

Re: Memento farming - concept - Dalanis Dungeon

Posted: Mon Oct 03, 2011 7:19 pm
by lisa
you will find some portals are like that, you can walk through them and not actually get ported anywhere.
You could do a zone id check after the wait for loading screen and if you are still in the dod zone ID then try moving around and do wait for loading screen again.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Tue Oct 04, 2011 2:36 am
by rock5
An easy way I do it is after doing the check, eg. the zone check lisa said, just go to the previous waypoint and have it approach the portal again.

Code: Select all

<!-- # 13 --><waypoint x="1774" z="2883" y="433" type="TRAVEL" tag="Try Again">   </waypoint>
<!-- # 14 --><waypoint x="1696" z="2891" y="445" type="TRAVEL">      
	waitForLoadingScreen(30); 
	if RoMScript("GetZoneID()") == whatever then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("Try Again"))
	else
		player:update();
		yrest(5000)
		SlashCommand("ILG destroy"); 
		yrest(2000)
		SlashCommand("ILG inv"); 
		yrest(1000)
		SlashCommand("ILG inv"); 
	end
	</waypoint>

Re: Memento farming - concept - Dalanis Dungeon

Posted: Tue Oct 04, 2011 2:38 am
by Pmaia
nice idea and how do i do that can u post the code as example?
couse i dont know hot to use rom/getid
well i hope the bot stills work after de patch
ihope so

Re: Memento farming - concept - Dalanis Dungeon

Posted: Tue Oct 04, 2011 3:23 am
by lisa
while in game press ctrl + x you will then see some stuff appear on your screen, fps, zone id and ping.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Tue Oct 04, 2011 6:33 am
by Pmaia
well nice so wen the

Code: Select all

waitForLoadingScreen(30);
   if RoMScript("GetZoneID()") == whatever then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("Try Again"))
on the watever then? i put the id from dundeog right
i will try the code wen server its ok to play
hope there no much modifications on MM

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Oct 06, 2011 5:27 pm
by Pmaia
hello rock and lisa
i know it not the better time to ask about this couse ur both working on the update for the bot
i got myne works good i hope
but my question its about the code for check id zone

i have this

Code: Select all

</onload>
	<!-- #  1 --><waypoint x="1644" z="-4921" y="752">	</waypoint>
	<!-- #  2 --><waypoint x="1670" z="-5077" y="760" tag="In">	</waypoint>
	<!-- #  3 --><waypoint x="1688" z="-5162" y="759">
	 waitForLoadingScreen(30);
   	if RoMScript("GetZoneID()") == "209"
     	 __WPL:setWaypointIndex(__WPL:findWaypointTag("In"))
   	else
      	player:update();
      	</waypoint>
	
	
	<!-- #  4 --><waypoint x="1886" z="2881" y="433">	</waypoint>
	<!-- #  5 --><waypoint x="2044" z="2698" y="433">	</waypoint>
	<!-- #  6 --><waypoint x="2177" z="2540" y="407">	bossbuff()	</waypoint>
	<!-- #  7 --><waypoint x="2228" z="2466" y="401">	</waypoint>
	<!-- # 8 --><waypoint x="2188" z="2524" y="401">	</waypoint>
	<!-- # 9 --><waypoint x="2120" z="2607" y="432" type="TRAVEL">	</waypoint>
	<!-- # 10 --><waypoint x="1894" z="2874" y="433" type="TRAVEL">	</waypoint>
	<!-- # 11 --><waypoint x="1774" z="2883" y="433" type="TRAVEL" tag="Out">   </waypoint>
	<!-- # 12 --><waypoint x="1696" z="2891" y="445" type="TRAVEL">     
  	 waitForLoadingScreen(30);
   	if RoMScript("GetZoneID()") == "128"
     	 __WPL:setWaypointIndex(__WPL:findWaypointTag("Out"))
   	else
      	player:update();
      	yrest(5000)
      	SlashCommand("ILG destroy");
      	yrest(2000)
      	SlashCommand("ILG inv");
      	yrest(1000)
      	SlashCommand("ILG inv");
   	end
   	</waypoint> 
209 its outside and 128 its inside dungeon but the bot crash wen try to get the waypoint 4 ou waypoint 12
i post an image of the error
ps already tryit without the "128" and 128

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Oct 06, 2011 5:39 pm
by Pmaia
i found
thereĀ“s a missing code
to finish the condicion
if then else
END
:D

Re: Memento farming - concept - Dalanis Dungeon

Posted: Thu Oct 06, 2011 6:55 pm
by Pmaia
well its kiling aroun 2hours and its ok but dont know wy it stuck 1 time
i think the zonecheck id its now work good i post my waypoint to c if i need to use some adictional code

Code: Select all

 <!-- #  1 --><waypoint x="1644" z="-4921" y="752">	</waypoint>
	<!-- #  2 --><waypoint x="1670" z="-5077" y="760" tag="In">	</waypoint>
	<!-- #  3 --><waypoint x="1688" z="-5162" y="759">
	 waitForLoadingScreen(30);
   	if RoMScript("GetZoneID()") == 209 then
     	 __WPL:setWaypointIndex(__WPL:findWaypointTag("In"))
   	else
      	player:update();
	end
      	</waypoint>
	
	
	<!-- #  4 --><waypoint x="1886" z="2881" y="433">	</waypoint>
	<!-- #  5 --><waypoint x="2044" z="2698" y="433">	</waypoint>
	<!-- #  6 --><waypoint x="2177" z="2540" y="407">	bossbuff()	</waypoint>
	<!-- #  7 --><waypoint x="2228" z="2466" y="401">	</waypoint>
	<!-- # 8 --><waypoint x="2188" z="2524" y="401">	</waypoint>
	<!-- # 9 --><waypoint x="2120" z="2607" y="432"> 	</waypoint>
	<!-- # 10 --><waypoint x="1894" z="2874" y="433">	</waypoint>
	<!-- # 11 --><waypoint x="1774" z="2883" y="433" tag="Out">   </waypoint>
	<!-- # 12 --><waypoint x="1696" z="2891" y="445">     
  	 waitForLoadingScreen(30);
   	if RoMScript("GetZoneID()") == 128 then
     	 __WPL:setWaypointIndex(__WPL:findWaypointTag("Out"))
   	else
      	player:update();
      	yrest(5000)
      	SlashCommand("ILG destroy");
      	yrest(2000)
      	SlashCommand("ILG inv");
      	yrest(1000)
      	SlashCommand("ILG inv");
   	end
   	</waypoint>

Re: Memento farming - concept - Dalanis Dungeon

Posted: Fri Oct 07, 2011 6:48 pm
by s018mes
s018mes wrote:My autosell problem has something to do with the waypoint file. I am using the DoD waypoint file that was suggested in this thread.

Here is the debug info:

Code: Select all

[DEBUG] Check item so sell: 110 212475 Armor Splitting Battle Hand Axe
[DEBUG] Durability check, search for: Durability => 107
[DEBUG] Check item so sell: 111 225874 Woven Handguards
[DEBUG] Durability check, search for: Durability => 76
[DEBUG] Check item so sell: 112 225869 Waste Water Belt
[DEBUG] Durability check, search for: Durability => 86
[DEBUG] Check item so sell: 113 226053 Fading Barrier
[DEBUG] Durability check, search for: Durability => 86
[DEBUG] Check item so sell: 114 226051 Soul Corpse Gloves
[DEBUG] Durability check, search for: Durability => 100
[DEBUG] Check item so sell: 115 226051 Soul Corpse Gloves
[DEBUG] Durability check, search for: Durability => 87
[DEBUG] Check item so sell: 116 212475 Armor Splitting Battle Hand Axe
[DEBUG] Durability check, search for: Durability => 114
[DEBUG] Check item so sell: 117 212475 Armor Splitting Battle Hand Axe
[DEBUG] Durability check, search for: Durability => 76
[DEBUG] Check item so sell: 118 225874 Woven Handguards
[DEBUG] Durability check, search for: Durability => 109
[DEBUG] Check item so sell: 119 225869 Waste Water Belt
[DEBUG] Durability check, search for: Durability => 76
[DEBUG] Check item so sell: 120 226193 Thunderhoof Wisdom Earring
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY: BLUE
[DEBUG] Durability check, search for: Durability => 110
And here is some of the code in the waypoint that I think is causing the problem. I just can't figure out how to fix it:

Code: Select all

<!-- #  Disari ciktik -->
   <!-- # 19 --><waypoint x="1645" z="-4908"> yrest(9000);   sendMacro('LeaveParty()');   yrest(1000);   sendMacro('LeaveParty()');</waypoint>
   <!-- # 20 --><waypoint x="1645" z="-4908">
      local hddura = inventory:getMainHandDurability();
      printf("Durability:%s\n", hddura);
      if( 95 >= hddura ) then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("Sat"));
      end                              </waypoint>
   <!-- # 21 --><waypoint x="1645" z="-4908">
      occupiedSlots, totalSlots = sendMacro("GetBagCount();");
      if(  occupiedSlots > 52 ) then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("Sat"));
   end
   </waypoint>

<!-- #  Repair -->
   <!-- # 25 --><waypoint x="1668" z="-4767" tag="Repair">      </waypoint>
   <!-- # 26 --><waypoint x="1710" z="-4749">   
      player:target_NPC("Isaac Haden");
      yrest(1000);
   </waypoint>
   <!-- # 27 --><waypoint x="1651" z="-4836">__WPL:setWaypointIndex(__WPL:findWaypointTag("Bekle"));</waypoint>


<!-- #  Sell -->
   <!-- # 25 --><waypoint x="1668" z="-4767" tag="Sat">   </waypoint>
   <!-- # 26 --><waypoint x="1710" z="-4749">   
      player:merchant("Isaac Haden");
      yrest(2000);
   </waypoint>
Any idea why this waypoint is stopping my bot from sell? I am pretty it has something to do with the waypoint script.

Re: Memento farming - concept - Dalanis Dungeon

Posted: Fri Oct 07, 2011 7:45 pm
by rock5
I think that means it's trying to sell but the durability of those items is too high. Check the INV_AUTOSELL_NOSELL_DURA value in your profile.