Rogue rotation

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

Rogue rotation

#1 Post by ZZZZZ » Sun Mar 09, 2014 3:43 pm

Trying to get rogue rotation working in onPreSkillCast but so far no good. Does target:getBuff() and then checking time remaining work on targets or only yourself with player:getBuff()?

Code: Select all

	<onPreSkillCast><![CDATA[
				local target = player:getTarget();
				if arg1.Name == "ROGUE_SHODOWSTAB"  then
						SSBuff = target:getBuff(620313)
						if SSBuff and SSBuff.TimeLeft >= 4 then
							return false
						end
						
				elseif arg1.Name == "ROGUE_LOW_BLOW"  then
					if target:hasBuff(620314) then			-- Grevious Wound
						LBBuff = target:getBuff(620314)
						if LBBuff and SSBuff.TimeLeft >= 3 then
							return false
						end
					end
					
				elseif arg1.Name == "ROGUE_WOUND_ATTACK"  then
					for k,v in pairs(settings.profile.skills) do
						if v.Name=="ROGUE_WOUND_ATTACK" then
							local timeleft = v:getRemainingCooldown()
							if timeleft == 0 and target:hasBuff(620313) and target:hasBuff(620314) then
								return true
							else
								return false
							end
						end
					end
				end
	]]></onPreSkillCast>

Code: Select all

7:40am - E:/micromacro/scripts/rom/classes/player.lua:976: onPreSkillCast error:
 [string "..."]:12: attempt to index global 'SSBuff' (a nil value)
The same format worked when getting cooldowns on buffs for wep skill leveling so not sure what is wrong.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rogue rotation

#2 Post by rock5 » Sun Mar 09, 2014 11:03 pm

The problem is here.

Code: Select all

                  LBBuff = target:getBuff(620314)
                  if LBBuff and SSBuff.TimeLeft >= 3 then
Should be

Code: Select all

                  LBBuff = target:getBuff(620314)
                  if LBBuff and LBBuff.TimeLeft >= 3 then
  • 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: Rogue rotation

#3 Post by ZZZZZ » Sun Mar 09, 2014 11:23 pm

....lol, thats what I get for using copy/paste >.< Thanks

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rogue rotation

#4 Post by ZZZZZ » Tue Mar 11, 2014 3:00 am

So I fixed it and put it in profile... but still rogue spams shadow stab when low on energy, rather than waiting till there is 4 seconds left on debuff, which is usually enough time to get energy for lowblow at least.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rogue rotation

#5 Post by rock5 » Tue Mar 11, 2014 5:56 am

The only reason I can see for it still casting Shadowstab is SSBuff is nil. Is the Bleed effect getting applied? Do you have a dagger equipped?


Otherwise, try adding some printouts.

Code: Select all

            if arg1.Name == "ROGUE_SHODOWSTAB"  then
                  print("Using Shadowstab")
                  SSBuff = target:getBuff(620313)
                  if SSBuff then print("Bleed found on target. Time left",SSBuff.TimeLeft) else print("Bleed missing from target") end
                  if SSBuff and SSBuff.TimeLeft >= 4 then
                     return false
                  end
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#6 Post by lisa » Sun Mar 16, 2014 3:50 am

You had a typo in shadow stab lol
I think your issue is in the buff check for LB, you don't check for bleed you check for the buff you then check timeleft on.

I am testing this atm.

Code: Select all

		local target = player:getTarget();
		if arg1.Name == "ROGUE_WOUND_ATTACK"  then
			if target:hasBuff(620313) and target:hasBuff(620314) then
				return true
			else
				return false
			end
		elseif arg1.Name == "ROGUE_LOW_BLOW"  then
			if target:hasBuff(620313) then         	-- Bleed
				LBBuff = target:getBuff(620314)		-- Grevious Wound
				if LBBuff and LBBuff.TimeLeft >= 3 then
					if player.Energy >= 60 then 
						return true 
					else 
						return false 
					end
				end
			end
		elseif arg1.Name == "ROGUE_SHADOWSTAB"  then
			SSBuff = target:getBuff(620313)
			if SSBuff and SSBuff.TimeLeft >= 3 then
				return false
			end  
		end
So theory is,
uses ROGUE_WOUND_ATTACK if other 2 buffs are on target.
uses ROGUE_SHADOWSTAB if no bleed or bleed less than 4 seconds
uses ROGUE_LOW_BLOW if bleed and grievous wound is less than 4 seconds but it will also use the skill if Energy is above 60 regardless of time left on grievous wound.
I do this because otherwise the bot just sits there waiting for buffs to wear off even if it has full Energy, I say if you have it then use it and Low Blow seems to do better damage than Shadow stab, but that is just my theory.
Points at "Energy thief" which keeps you at full energy for 15 seconds ;)


Boss fight it looked like this.

Code: Select all

Use MACRO: ROGUE_INFORMER      =>
Use MACRO: ROGUE_ENERGY_THIEF  =>
Use MACRO: ROGUE_FERVENT_ATTACK=>
Use MACRO: ROGUE_ASSASSINS_RAGE=>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_SHADOWSTAB    =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_WOUND_ATTACK  =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_SHADOWSTAB    =>
Use MACRO: ROGUE_WOUND_ATTACK  =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_WOUND_ATTACK  =>
Use MACRO: ROGUE_SHADOWSTAB    =>
Use MACRO: ROGUE_WOUND_ATTACK  =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_SHADOWSTAB    =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_WOUND_ATTACK  =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_SHADOWSTAB    =>
Use MACRO: ROGUE_WOUND_ATTACK  =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_LOW_BLOW      =>
Use MACRO: ROGUE_SHADOWSTAB    =>
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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rogue rotation

#7 Post by rock5 » Sun Mar 16, 2014 6:44 am

I found in previous attempts at using the buffs for the Rogue main skills that, because the bot undercuts previous skills, the buffs don't get applied fast enough so it would, for instance cast Shadowstab twice before using Low blow. Strangely that doesn't seem to have happened for you. Where did you put that code? You didn't add a pause between the casts did you?
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#8 Post by lisa » Sun Mar 16, 2014 7:13 am

profile onpreskillcast, exactly as I posted it.
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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rogue rotation

#9 Post by ZZZZZ » Sun Mar 16, 2014 9:39 am

I was going to sort out the energy issue with Low Blow at a later date, once I figured out why the shadow stab issue wasnt working.....and lol...didnt realise there was a typo -_-

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Rogue rotation

#10 Post by BlubBlab » Sun Mar 16, 2014 1:28 pm

I solved this for me a long time ago like this:

Code: Select all

<skill name="ROGUE_SHADOWSTAB" id="490306" range="50"	type="damage"	casttime="0"	cooldown="0"	target="enemy" nobuffname="620313" nobufftarget="target" />
<skill name="ROGUE_LOW_BLOW" id="490323" range="50"	type="damage"casttime="0" cooldown="0"	target="enemy"   	reqbuffname="620313" reqbufftarget="target" nobuffname="500704" nobufftarget="target" />
<skill name="ROGUE_WOUND_ATTACK" 	id="490313" range="50"	type="damage"		casttime="0"	cooldown="6"	target="enemy"  	reqbuffname="500704" reqbufftarget="target"/>

Code: Select all

<skill name="ROGUE_PREMEDITATION" hotkey="MACRO" priority="100"  pullonly="true" />
<skill name="ROGUE_SHADOWSTAB"   	hotkey="MACRO" priority="70" />
<skill name="ROGUE_LOW_BLOW"    	hotkey="MACRO" priority="80" />
<skill name="ROGUE_WOUND_ATTACK"   	hotkey="MACRO" priority="90" />
worked wonderfull
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#11 Post by lisa » Sun Mar 16, 2014 6:29 pm

I just feel like rogue spends half it's time doing auto attacks and waiting for energy to build up.

Any class combos that offer more attacks/better dps?
Using R/S atm.
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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rogue rotation

#12 Post by rock5 » Sun Mar 16, 2014 7:46 pm

BlubBlab wrote:I solved this for me a long time ago like this:
That's what I used to try but because it takes a few moments for the debuffs to be applied, having it set up like that might actually slow down the attack speed. I eventually just gave up and just put the skills in order and used them sequentially, ie. not priority casting. Although it's probably not appropriate on extended battles, but then I rarely fought long battles.
  • 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: Rogue rotation

#13 Post by ZZZZZ » Sun Mar 16, 2014 8:02 pm

r/s is greatly out-dated now. r/m gets 60% of its total damage from basic attacks alone, the rotation itself is simply there for that bit extra. End-game burns in Grotto HM a rogue/mage can do 1m+ dps easily with ONLY basic attacks.....don't even have to cast a single skill after buffs are used. Then there is Nexon.....thats like 3m+ dps with wines/sigils lol.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#14 Post by lisa » Sun Mar 16, 2014 8:17 pm

r/m elites seem to be all focused on projectile damage and such.
Doesn't look like any need to lvl mage past 50, since the mage skills are useless and the higher elites look sad for 1 target dps.

I might give it a try and see how it goes.
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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rogue rotation

#15 Post by rock5 » Sun Mar 16, 2014 8:41 pm

Does sound interesting. As I understand it it uses a lot more ammo than scouts do though. It would be nice if there was some obtainable item or skill that can give you ammo like scouts have with Rune Bows and Tendril Arrows.
  • 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: Rogue rotation

#16 Post by ZZZZZ » Sun Mar 16, 2014 9:18 pm

r/m itself is strong...but without the 70 elite it isn't the highest dps as it is with it. When I get to a boss I make the bot cast Illusion Blade Dance (the 70 elite) before fighting because it literally doubles the damage of all skills. But with that being said, its great even without it. And it also has AoE's where other rogues have few if not none.

Projectile wise....yes, its insane. Can go through an entire stack of projectiles in minutes. Usually use 1 full stack in a 1 hour siege alone, and you're not standing around basic attacking all the time there lol. I have got to the point where I have an entire bag opened just for projectiles lol.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#17 Post by lisa » Sun Mar 16, 2014 9:22 pm

I dont worry about aoe on my rogues, its just boss dps, I have other chars to handle trash.
Currently 50 on mage side and doing elite skills now, getting 60 / 70 elites just seems like a pain to me.
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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#18 Post by lisa » Mon Mar 17, 2014 1:38 am

So do you add throw and combo throw into the skill rotations aswell now?

All these passive elites got my head spinning, I have this for skills atm.

Code: Select all

		<skill name="ROGUE_WOUND_ATTACK"    	hotkey="MACRO" priority="99" />
		<skill name="ROGUE_LOW_BLOW"      		hotkey="MACRO" priority="98" />
		<skill name="ROGUE_SHADOWSTAB"    		hotkey="MACRO" priority="97" />
		<!-- for R/M -->
		<skill name="ROGUE_COMBO_THROW" 		hotkey="MACRO" priority="70" /> 		
		<skill name="ROGUE_THROW"    			hotkey="MACRO" priority="80" />
		
	

		<!-- elite factor skills in order -->
		<skill name="ROGUE_INFORMER"    		hotkey="MACRO" priority="60" inbattle="true" autouse="false"/>
		<skill name="ROGUE_FERVENT_ATTACK"    	hotkey="MACRO" priority="60" inbattle="true" autouse="false"/>
		<skill name="ROGUE_ASSASSINS_RAGE"    	hotkey="MACRO" priority="60" inbattle="true" autouse="false"/>
		<skill name="ROGUE_CREATE_OPPORTUNITY" 	hotkey="MACRO" priority="70" inbattle="true" autouse="false"/>
		<skill name="ROGUE_PREMEDITATION"    	hotkey="MACRO" priority="60" inbattle="true" autouse="false"/>
		<skill name="ROGUE_SHADOW_STEP"    		hotkey="MACRO" priority="60" inbattle="true" autouse="false"/>		
		<skill name="ROGUE_BLIND_SPOT"    		hotkey="MACRO" priority="60" inbattle="true" autouse="false"/>

		<skill name="ROGUE_HIDE"    			hotkey="MACRO" priority="70" autouse="false"/>	
		
		<!-- R/S -->
		<skill name="SCOUT_SHOT"          		hotkey="MACRO" priority="90" />
		<skill name="SCOUT_VAMPIRE_ARROWS" 		hotkey="MACRO" priority="70" /> 		
		<skill name="ROGUE_COMBAT_MASTER"    	hotkey="MACRO" priority="80" />	
		<skill name="ROGUE_ENERGY_THIEF"    	hotkey="MACRO" priority="80" inbattle="true"/>
with this for elites

Code: Select all

	<preCodeOnElite><![CDATA[
		print("tough mob : ".._arg1.Name..", buffffiiiiinnnnnggggg")
		player:cast("ROGUE_INFORMER")
		player:cast("ROGUE_FERVENT_ATTACK")
		player:cast("ROGUE_ASSASSINS_RAGE")
		player:cast("ROGUE_CREATE_OPPORTUNITY")
		player:cast("ROGUE_PREMEDITATION")
		player:cast("ROGUE_SHADOW_STEP")
		player:cast("ROGUE_BLIND_SPOT")

		-- _arg1 is target pawn, _arg1.Name = target's name
	]]></preCodeOnElite>
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

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Rogue rotation

#19 Post by ZZZZZ » Mon Mar 17, 2014 4:26 am

I don't let it use Combo Throw when fighting high hp bosses due to it actually being less dps. Because Combo Throw is a cast skill it doesn't allow you to basic attack in the mean time, so you end up with less dps. Day of Rain is a rotation skill also. Enlivened blade is only good when clearing trash, useless in a boss fight due to the energy cost. So for me i disable combo throw and enlivened blade before a boss.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rogue rotation

#20 Post by lisa » Mon Mar 17, 2014 5:32 am

ZZZZZ wrote:I don't let it use Combo Throw when fighting high hp bosses due to it actually being less dps.
k removed.
it said instant which threw me off, played with it and it does have a cast time =(
ZZZZZ wrote: Day of Rain is a rotation skill also
Hmm I didn't do that 1 as it is 20-25 second CD, depending how many times you do a throw to reduce CD by 1 sec. I'll rank it up and add it in and see how it goes.
Ok that damage sux compared to other skills

Thanks =)
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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 52 guests