Code: Select all
waitForLoadingScreen();
Code: Select all
waitForLoadingScreen();
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
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>
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.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.
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>
Code: Select all
waitForLoadingScreen(30);
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>
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>
Code: Select all
waitForLoadingScreen(30);
if RoMScript("GetZoneID()") == whatever then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Try Again"))
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>
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>
Any idea why this waypoint is stopping my bot from sell? I am pretty it has something to do with the waypoint script.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: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
[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
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>
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 155 guests