'dying' when transporting

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

'dying' when transporting

#1 Post by ZZZZZ »

Im having an issue with a lot of my characters lately where after I teleport (change zone @ snoop, even just vara transporters etc), the bot seems to think that the character has died and sits there doing the usual rest after dying, and then reloads the waypoint which can cause it to return somewhere I don't want it to go.

Code: Select all

We successfully target NPC Bareve and try to open the dialog window.
Use MACRO: Executing RoMScript "ChoiceOption(4);".
Clearing target.
Moving to waypoint #30, (2355, 1128)
Saved a screenshot to: E:/micromacro/scripts/rom/profiles/player.bmp
Died. Resurrecting player...
We will try to resurrect in 5 seconds.
Try to use the ingame resurrect macro ...
Player address changed: 0x3A28FA00
Ranged skill found: MAGE_THUNDERSTORM
Maximum range of range attack skills is less than COMBAT_DISTANCE 250. Reducing
COMBAT_DISTANCE setting to 225.
You have died 1 times from the maximum 10 deaths/automatic resurrections.
Returning to waypoints.
Resting for 15 seconds.
Character is alive the whole time.
User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: 'dying' when transporting

#2 Post by Bill D Cat »

Just curious, are you using Rock5's userfunction_travelTo when this happens, or are you scripting your own routines to transport?
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: 'dying' when transporting

#3 Post by ZZZZZ »

My own routes, never used any travel userfunctions.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 'dying' when transporting

#4 Post by rock5 »

Do you include a waitForLoadingScreen()?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: 'dying' when transporting

#5 Post by ZZZZZ »

yep, there is a waitForLoadingScreen() at all of my loading screens.
eg.

Code: Select all

	<!-- # 18 --><waypoint x="-20476" z="6519" y="-187">		player:target_NPC(122115); -- Snoop the Stubborn
		yrest(1000);
		ChoiceOptionByName("Varanas")
		waitForLoadingScreen()
	</waypoint>
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 'dying' when transporting

#6 Post by rock5 »

Sometimes the game needs a bit more time to be fully loaded so try adding this after the waiForLoadingScreen()

Code: Select all

rest(3000)
player:update()
I use a rest here instead of a yrest because if the game isn't fully loaded yet we don't want to yield to any other processes yet.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: 'dying' when transporting

#7 Post by ZZZZZ »

Is it possible to add rest(2000) to the actual waitForLoadingScreen() function to save having to change all my waypoints?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 'dying' when transporting

#8 Post by rock5 »

It already has a rest(2000) but it's possible that your system in particular needs a bit more time. There is no reason why you can't go ahead and increase that rest to 4000 to see if it helps. The function is in functions.lua around line 1450. Change the rest at the end of the function.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: 'dying' when transporting

#9 Post by ZZZZZ »

ok will give it a shot, thanks again.
User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: 'dying' when transporting

#10 Post by Ego95 »

Code: Select all

   <!-- # 18 --><waypoint x="-20476" z="6519" y="-187">      player:target_NPC(122115); -- Snoop the Stubborn
      yrest(1000);
      ChoiceOptionByName("Varanas")
      waitForLoadingScreen()
   </waypoint>

	
You are missing the part where is accepts the costs of teleporting. The popup which appears and tells you, how much it will cost.
User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: 'dying' when transporting

#11 Post by Bill D Cat »

There are a few add-ons out there that will auto-accept the transport payment dialogs.
Not sure if the OP is using one or not though.
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: 'dying' when transporting

#12 Post by ZZZZZ »

Correct Bill, have been using that Addon pretty much since day 1 of playing, those things pissed me off way too much and they are so insignificant in gold cost lol.
Post Reply