Quoted from "Alterios;542645"
What editor do you use? Notepad++ is free and has good syntax highlighting if you are new to DIYCE. The timers in his file are to keep him from spamming shot during the Exploiting Shot debuff.
Quoted from "aglupus;542711"
Can anyone show me the DIYCE for M/D
|
|
Source code |
1 2 3 4 5 6 7 8 |
{ name = "Wound Attack", use = ((EnergyBar1 >= 35) and ((tbuffs[500654]) and (tbuffs[500704]))) },
{ name = "Blind Spot", use = (((EnergyBar1 >= 25) and (boss) and (behind)) and (pbuffs['Energy Thief'] or pbuffs['Premeditation'])) },
{ name = "Shadowstab", use = (EnergyBar1 >= 20), timer = "SSBleed" },
{ name = "Low Blow", use = (((EnergyBar1 >= 25) and (tbuffs[500654])) or (tbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] },
{ name = "Throat Attack", use = ((EnergyBar2 >= 50) and (boss or elite) and (silenceThis)) },
{ name = "Vampire Arrows", use = (EnergyBar2 >= 20) },
{ name = "Wrist Attack", use = ((EnergyBar2 >= 50) and (boss)) },
{ name = "Shot", use = ((EnergyBar1 < 20 )) },
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
-- Class: Rogue/Scout
if mainClass == "THIEF" and subClass == "RANGER" then
--Timers for this class
CreateDIYCETimer("SSBleed", 6.5) --Change the value between 6 -> 7.5 depending on your lag.
CreateDIYCETimer("LBBleed", 8.5) --Change the value between 7 -> 8.5 depending on your lag.
--goat2: 0 = Buffs, 1 = Melee, 2 = Ranged, 3 = Cooldowns & Potions, 4 = Longer Cooldowns
if (goat2 == "0") then
Skill = {
{ name = "Combat Master", use = ((not pbuffs['Combat Master'])) },
{ name = "Action: 62 (Yawaka's Blessing)", use = ((not pbuffs['Yawaka's Blessing'])) },
{ name = "Action: 69 (Unbridled Enthusiam)", use = ((not pbuffs['Unbridled Enthusiasm'])) }, -- Speed Potion
}
elseif (goat2 == "3") then
Skill = {
{ name = "Informer", use = ((not pbuffs['Informer'])) },
{ name = "Action: 64 (Unknown Choice)", use = ((EnergyBar1 > 20)) },
{ name = "Action: 65 (Caviar Sandwich)", use = ((not pbuffs['Caviar Sandwich'])) },
}
elseif (goat2 == "4") then
Skill = {
{ name = "Action: 46 (Energy Potion)", use = ((EnergyBar1) <= 15 and (boss)) },
{ name = "Action: 30 (Strong Stimulant)", use = ((boss) and (not pbuffs['Fervent Attack'])) },
{ name = "Action: 34 (Extinction Potion)", use = ((boss) and (not pbuffs['Extinction Potion'])) },
{ name = "Energy Thief", use = ((EnergyBar1 < 50) and (boss) and (not tDead)) },
{ name = "Assassins Rage", use = ((boss) and (not tDead)) },
{ name = "Fervent Attack", use = ((boss) and (not tDead) and (not pbuffs['Strong Stimulant'])) },
}
end
if ((enemy) and (goat2 == "1")) then
Skill2 = {
{ name = "Wound Attack", use = ((EnergyBar1 >= 35) and ((tbuffs[500654]) and (tbuffs[500704]))) },
{ name = "Blind Spot", use = (((EnergyBar1 >= 25) and (boss) and (behind)) and (pbuffs['Energy Thief'] or pbuffs['Premeditation'])) },
{ name = "Shadowstab", use = (EnergyBar1 >= 20), timer = "SSBleed" },
{ name = "Low Blow", use = (((EnergyBar1 >= 25) and (tbuffs[500654])) or (tbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] },
{ name = "Throat Attack", use = ((EnergyBar2 >= 50) and (boss or elite) and (silenceThis)) },
{ name = "Vampire Arrows", use = (EnergyBar2 >= 20) },
{ name = "Wrist Attack", use = ((EnergyBar2 >= 50) and (boss)) },
{ name = "Shot", use = ((EnergyBar1 < 20 )) },
}
elseif ((enemy) and (goat2 == "2")) then
Skill2 = {
{ name = "Vampire Arrows", use = (EnergyBar2 >= 20) },
{ name = "Shot", use = (true) },
}
end
|
Quoted from "BloodyArrow;543120"
Hey all!
I got this rotation and code from Mrmisterwaa here at the forum. I use the same but without the timers.
I would like an explaination of what the timers improve and what they are good for when playing a R/S.
Quoted from "BloodyArrow;543120"
Also forgot to mention, about Blind Spot, had some issues with it before when I'm for example farming mems in DoD and soloing bosses. I get error message "Must be behind target". Any idea of how I can fix this with a timer aswell. Once again would be really handy and appreciated.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
--Class: Rogue/Scout
elseif mainClass == "THIEF" and subClass == "RANGER" then
--Timers for this class
CreateDIYCETimer("SSBleed", 7.5) --Change the value between 6 -> 7.5 depending on your lag.
CreateDIYCETimer("LBBleed", 8.5) --Change the value between 7 -> 8.5 depending on your lag.
--Combat
if ((enemy) and (goat2 == "1")) then
--if enemy then
Skill2 = {
--{ name = "Energy Thief", use = (boss) and (not pbuffs['Energy Thief']) },
--{ name = "Premeditation", use = (EnergyBar1 >= 20) and (not pbuffs[500961]) and (not combat) and (boss) },
--{ name = "Shadow Step", use = (EnergyBar1 >= 20) and (not behind) and (boss or pvp) },
--{ name = "Blind Spot", use = (EnergyBar1 >= 25) and (behind) and (boss) and (not presshift) },
{ name = "Wound Attack", use = ((EnergyBar1 >= 35) and ((tbuffs[500654]) and (tbuffs[500704]))) },
{ name = "Low Blow", use = (((EnergyBar1 >= 30) and (tbuffs[500654])) or (tbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] },
{ name = "Shadowstab", use = (EnergyBar1 >= 20), timer = "SSBleed" },
{ name = "Throat Attack", use = (EnergyBar2 >= 15) and (boss or elite) and (silenceThis) },
{ name = "Vampire Arrows", use = (EnergyBar2 >= 20) },
{ name = "Shot", use = true },
|
|
|
Source code |
1 |
timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] }, |
Quoted from "BloodyArrow;543411"
Just need a explaination of:
![]()
Source code
1 timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] },
Quoted from "BloodyArrow;543411"
And what type is the values written in, is it milliseconds or seconds or something else?
Also the value intervall at those timers is for SSBleed, 6 -> 7.5 and LBBleed 7 -> 8.5. Why just those numbers, does it work to have higher or lower values than those? How do they work?

Quoted from "trav42073;546117"
will this stop random target switch. lot of times ill tab, get pet, tab get player, then my target switches back to thier pet.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
local pvp = (zoneid == 402)
local zoneid = (GetZoneID() % 1000)
-- Only target players in pvp, no pets
if pvp then
for i=1,10 do
if UnitIsPlayer("target") then
break
end
TargetNearestEnemy()
end
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
local zoneid = (GetZoneID() % 1000)
local pvp = (zoneid == 402)
-- Only target players in pvp, no pets
if pvp then
for i=1,10 do
if UnitIsPlayer("target") then
break
end
TargetNearestEnemy()
end
|
Quoted from "Peryl;546480"
Note that the code will only select players if you are in the siege zone, and this is for DIYCE's re-targeting after a kill. It doesn't change the behaviour of the Tab key.