No Portal !

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

No Portal !

#1 Post 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
Forget yesterday, live today and dream tomorrow.
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: No Portal !

#2 Post 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>
User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: No Portal !

#3 Post by solembum05 »

thx so much, i will try ;)
Forget yesterday, live today and dream tomorrow.
User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: No Portal !

#4 Post 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^^
Attachments
bugmicromacro.jpg
Forget yesterday, live today and dream tomorrow.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: No Portal !

#5 Post 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=-
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: No Portal !

#6 Post by solembum05 »

I love you so much Lisa !!!!! Thanks !!!!!
Forget yesterday, live today and dream tomorrow.
Post Reply