Page 1 of 1
No Portal !
Posted: Thu Dec 27, 2012 1:54 pm
by solembum05
Hi,
first, i would like to say thank you for your work. Rombot is amazing !!!
So i use bot for DoD (only first boss) but sometime i don't have portal for exit....
I don't know why, bug of rune ? maybe ^^
I have several ideas, like kill my character (without dmg ^^) for use the return or use timer and destroy group for after use return...
Do you know this bug ? and if yes can u help me ?
And can you help me about my idea, i don't know how to make this...
Thank
Re: No Portal !
Posted: Thu Dec 27, 2012 3:16 pm
by kuripot
in my profile.. in case my character stuck
Code: Select all
<onUnstickFailure><![CDATA[
SlashCommand("run ReturnPet(1)");
yrest(500)
SlashCommand("run RotateCamera(99,99,99,990)");
yrest(4000)
]]></onUnstickFailure>
before you exit
Code: Select all
<waypoint x="1700" z="2886" y="433" type="TRAVEL">
findzi() -=function that you use to exit portal=-
local zoneid = RoMScript("GetZoneID()")
if zoneid == zid then
ireset()
waitForLoadingScreen()
__WPL:setWaypointIndex(__WPL:findWaypointTag("return"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))
end
</waypoint>
at the end of dod waypoint.. this waypoint are from resurrect to dod
Code: Select all
<waypoint x="-3812" z="5117" y="30" tag="return">
player:update()
flyoff()
__WPL:setForcedWaypointType("TRAVEL")
if not player.Mounted then
player:mount()
end
yrest(6000)
</waypoint>
<waypoint x="-3382" z="5466" y="23" type="TRAVEL">
</waypoint>
<waypoint x="-3100" z="5624" y="14" type="TRAVEL">
</waypoint>
<waypoint x="-2918" z="5898" y="25" type="TRAVEL">
</waypoint>
<waypoint x="-2627" z="6184" y="23" type="TRAVEL">
</waypoint>
<waypoint x="-2482" z="6432" y="28" type="TRAVEL">
</waypoint>
<waypoint x="-2490" z="6534" y="43" type="TRAVEL">
</waypoint>
<waypoint x="-2602" z="6606" y="62" type="TRAVEL">
</waypoint>
<waypoint x="-2836" z="6756" y="52" type="TRAVEL">
</waypoint>
<waypoint x="-2859" z="6949" y="52" type="TRAVEL">
</waypoint>
<waypoint x="-2904" z="7219" y="-84" type="TRAVEL">
</waypoint>
<waypoint x="-2977" z="7237" y="-88" type="TRAVEL">
waitForLoadingScreen()
</waypoint>
<waypoint x="51" z="-890" y="869" type="TRAVEL">
player:dismount()
yrest(1000)
player:target_NPC("Jake Wallanda")
sendMacro("ChoiceOption(1);")
waitForLoadingScreen()
__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))
</waypoint>
Re: No Portal !
Posted: Thu Dec 27, 2012 5:10 pm
by solembum05
thx so much, i will try

Re: No Portal !
Posted: Thu Dec 27, 2012 6:03 pm
by solembum05
sorry but i had problem:
my code:
Code: Select all
<!-- # WAYPOINT VENTE/REPARATION PNJ -->
<!-- # 14 --> <waypoint x="1707" z="-4755" y="752" tag="mech">
changeProfileOption("INV_AUTOSELL_FROMSLOT", 61)
changeProfileOption("INV_AUTOSELL_TOSLOT", 180)
local bcount = inventory:getItemCount(0)
player:update()
player:merchant(115536) --== no more works on Chapter IV ==--
yrest(500)
local cbcount = inventory:getItemCount(0)
if bcount == cbcount then
if player:openStore(115536) then
for i, item in pairs(inventory.BagSlot) do
if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT +60 and settings.profile.options.INV_AUTOSELL_TOSLOT +60 >= item.SlotNumber then
item:use() -- sells it to the store
end
end
end
end
__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))
</waypoint>
<!-- # WAYPOINT PRE-ENTRER DANS L'INSTANCE+DEGROUPE/REGROUPE & INSTANCE NORMAL -->
<!-- # 1 --> <waypoint x="1661" z="-4967" y="760" tag="start" type="TRAVEL"> checkdura() Countround() ireset() RoMScript("SetInstanceLevel('normal')");</waypoint>
<!-- # 2 --> <waypoint x="1687" z="-5142" y="772" type="TRAVEL">
findzi()
--player:update
local zoneid = RoMScript("GetZoneID()")
if zoneid == 209 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("enter"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("instance"))
end
player:cast("ROGUE_PREMEDITATION") </waypoint>
<!-- # 3 --> <waypoint x="1906" z="2867" y="433" tag="instance"> </waypoint>
<!-- # 4 --> <waypoint x="1976" z="2773" y="433"> </waypoint>
<!-- # 5 --> <waypoint x="2076" z="2663" y="434"> </waypoint>
<!-- # WAYPOINT UTILISATION PREMIDITATION AVANT LE KINDER -->
<!-- # 6 --> <waypoint x="2297" z="2391" y="401"> player:cast("ROGUE_PREMEDITATION") yrest(400) </waypoint>
<!-- # 7--> <waypoint x="2298" z="2398" y="401"> </waypoint>
<!-- # 8--> <waypoint x="2125" z="2605" y="432"> </waypoint>
<!-- # 9--> <waypoint x="2025" z="2719" y="433"> </waypoint>
<!-- # 10 --> <waypoint x="1925" z="2838" y="433"> </waypoint>
<!-- # 11 --> <waypoint x="1889" z="2881" y="433"> </waypoint>
<!-- # WAYPOINT MODE FURTIF VOLEUR ACTIF POUR SORTIR DE L'INSTANCE -->
<!-- # 12 --> <waypoint x="1762" z="2877" y="433"> player:cast("ROGUE_HIDE") </waypoint>
<!-- # WAYPOINT SORTIE INSTANCE+FONCTION DEGROUPE EN CAS DE BUG -->
<!-- # 13 --> <waypoint x="1700" z="2886" y="433">
findzi() -=function that you use to exit portal=-
local zoneid = RoMScript("GetZoneID()")
if zoneid == zid then
ireset()
waitForLoadingScreen()
__WPL:setWaypointIndex(__WPL:findWaypointTag("return"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))
end </waypoint>
<!-- # WAYPOINT RETOUR INSTANCE EN CAS DE BUG -->
<!-- # 15 --> <waypoint x="-3812" z="5117" y="30" tag="return">
player:update()
if not player.Mounted then
player:mount()
end</waypoint>
<!-- # 16 --> <waypoint x="-3382" z="5466" y="23"> </waypoint>
<!-- # 17 --> <waypoint x="-3100" z="5624" y="14"> </waypoint>
<!-- # 18 --> <waypoint x="-2918" z="5898" y="25"> </waypoint>
<!-- # 19 --> <waypoint x="-2627" z="6184" y="23"> </waypoint>
<!-- # 20 --> <waypoint x="-2482" z="6432" y="28"> </waypoint>
<!-- # 21 --> <waypoint x="-2490" z="6534" y="43"> </waypoint>
<!-- # 22 --> <waypoint x="-2602" z="6606" y="62"> </waypoint>
<!-- # 23 --> <waypoint x="-2836" z="6756" y="52"> </waypoint>
<!-- # 24 --> <waypoint x="-2859" z="6949" y="52"> </waypoint>
<!-- # 25 --> <waypoint x="-2904" z="7219" y="-84"> </waypoint>
<!-- # 26 --> <waypoint x="-2977" z="7237" y="-88"> waitForLoadingScreen() </waypoint>
<!-- # 27 --> <waypoint x="51" z="-890" y="869">
player:dismount()
yrest(200)
player:target_NPC("Jake Wallanda")
sendMacro("ChoiceOption(1);")
waitForLoadingScreen()
__WPL:setWaypointIndex(__WPL:findWaypointTag("start")) </waypoint>
and my problem:
http://www.solarstrike.net/phpBB3/downl ... ew&id=3511
i want farm and sell when my bag is full (without your code, all fine) but when i add your code i had that problem, can you help me ?
My code is for rogue^^
Re: No Portal !
Posted: Thu Dec 27, 2012 6:12 pm
by lisa
-=function that you use to exit portal=-
that is causing your error, either delete it or use -- before it to comment it out like this
Code: Select all
--=function that you use to exit portal=-
Re: No Portal !
Posted: Thu Dec 27, 2012 6:24 pm
by solembum05
I love you so much Lisa !!!!! Thanks !!!!!