You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

ghostwolf82

Professional

  • "ghostwolf82" started this thread

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,161

Monday, June 10th 2013, 11:11pm

Quoted from "krssrb;604306"

Is posible ( and how :D ) to separate "function KillSequence()" to multiple files, for every class combo, difrent file, it would be easyer to maintain?


Look at the original DIYCE for how to do this. The point of DIYCE v2 was to have it all in one file for speedier access by the code.

1,162

Wednesday, June 12th 2013, 6:33am

Hello Im a Rogue/Scout/mage
could someone link me a dps dice for r/s? that would be great tyvm
also in seige is there a way if i find another rogue next to me in hide i could hit a macro to target him and hit him with lowblow at the same time if so could someone plz link tyvm :)

ghostwolf82

Professional

  • "ghostwolf82" started this thread

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,163

Wednesday, June 12th 2013, 9:21am

Quoted from "AntaroxAdume;604553"

Hello Im a Rogue/Scout/mage
could someone link me a dps dice for r/s? that would be great tyvm
also in seige is there a way if i find another rogue next to me in hide i could hit a macro to target him and hit him with lowblow at the same time if so could someone plz link tyvm :)


Start at page one, and read until you find what you are looking for. Won't take you long to find mrmister's scripts.

Auros

Professional

Posts: 1,360

Mood: Mellow

  • Send private message

1,164

Tuesday, July 2nd 2013, 7:31pm

Hmm, I don't think i would recommend Mrmister's scripts unless you know what you are doing....
Govinda P/W/K/M 100x4 :pump:
Wl/R/M/Ch 100x4 :borg:
Wd/W/S 100/100/100
W/M 100/100 Glass Cannon: oh gawd, not again :pinch: ... and numerous others Semi-retired :pillepalle:

1,165

Saturday, July 6th 2013, 2:55pm

Read through the last several months of posts and I can only see DPS/Tank scripts so far - is it possible to use DIYCE for healing a group? If so, could somebody post an example healer script? Cheers.

Cike

Rogue

Posts: 4,171

Occupation: Being Human

  • Send private message

1,166

Saturday, July 6th 2013, 8:26pm

how about you give it a go on your own, post what you've tried, and ask for help/assistance in working the bugs out of your own script...
my r/p can outdps r/m. your name is stupid.

mages should stack dex. word.

1,167

Saturday, July 6th 2013, 10:53pm

how about you give it a go on your own, post what you've tried, and ask for help/assistance in working the bugs out of your own script...
The majority of people here piece things together using other peoples' scripts as references. There are no scripts for healers, so I have no base to start from to see how DIYCE manages healing, monitoring health bars, etc. That's why I asked for an example.

If I knew how to do it I wouldn't have needed to ask.

This post has been edited 2 times, last edit by "Meshuggenah" (Jul 6th 2013, 11:20pm)


Cike

Rogue

Posts: 4,171

Occupation: Being Human

  • Send private message

1,168

Saturday, July 6th 2013, 11:24pm

what are you looking for in a healing diyce? just a script that casts the most mana-efficient heal? keeps every1's HoT's up? uses aoe heals while u can focus on the tank?

tbh, healing takes much more higher level processing and decision making than dpsing or tanking...to be a good healer, you need to be thinking ahead, and diyce will not do that for you, the best you could probably hope for is a script that just casts blanket heals, hoping it will be at the right time, or enough, to keep people alive.....

tbh, i think u'd probably be better off manually healing, than trying to find a diyce to cater to all the different scenarios you will encounter...

if you don't know, a better question would be "how do i check this?" or "how do i do that", than just "gimme a script to use, i'll edit it for myself later(yeah, right)"

i won't pretend to even be a little knowledgeable on how the inner workings of DIYCE operate, but i can tell you this, asking for a script is much different than asking for help making a script....
my r/p can outdps r/m. your name is stupid.

mages should stack dex. word.

This post has been edited 2 times, last edit by "Cike" (Jul 6th 2013, 11:29pm)


1,169

Saturday, July 6th 2013, 11:34pm

DIYCE PartyHealer already does what I want to do, but it hasn't been updated in some time and no longer works I read that some of the functionality should be available with DIYCE. I just want an example of a working script so I can adapt it.

Auros

Professional

Posts: 1,360

Mood: Mellow

  • Send private message

1,170

Tuesday, July 9th 2013, 9:57pm

For healing I use GridClickIt, or however it is spelled.. Works pretty well. You assign heal spells to mouse buttons, party shows on grid similar to raid where you can watch their health and click to heal appropriately.
Govinda P/W/K/M 100x4 :pump:
Wl/R/M/Ch 100x4 :borg:
Wd/W/S 100/100/100
W/M 100/100 Glass Cannon: oh gawd, not again :pinch: ... and numerous others Semi-retired :pillepalle:

mrmisterwaa

Professional

Posts: 670

Location: Kuwait

  • Send private message

1,171

Tuesday, July 9th 2013, 10:20pm

Hmm, I don't think i would recommend Mrmister's scripts unless you know what you are doing....


Take that back.

My script is explained pretty good.

Anyone should be able to understand, I added comments to everything.

If there are parts you do not understand you can just post for me to explain.

I keep a very close eye on this thread to ensure nobody gets confused about what my script does.

1,172

Tuesday, July 9th 2013, 10:22pm

Hello folks.
{ name = "Keen Attack", use = (EnergyBar2 >= 20) and (tbuffs["Vulnerable"]) },
what name of comand or how this should look like when i want use this skill only after thunder and Splliting Chop is on cd?
in 1.4 diyce is look like this:
i=i+1; Skill = { ['name'] = "Thunder", ['use'] = ((not friendly) and (rage >= 10)) and not CD("Splitting Chop")) }

This post has been edited 1 times, last edit by "darkjack25" (Jul 10th 2013, 10:29am)


Auros

Professional

Posts: 1,360

Mood: Mellow

  • Send private message

1,173

Wednesday, July 10th 2013, 5:02pm

Hmm, I don't think i would recommend Mrmister's scripts unless you know what you are doing....


Take that back.

My script is explained pretty good.

Anyone should be able to understand, I added comments to everything.

If there are parts you do not understand you can just post for me to explain.

I keep a very close eye on this thread to ensure nobody gets confused about what my script does.

LOL, don't take this wrong Sekrit, but you overestimate the ability of some of the forum questioners. I mean, look at the questions they ask....and you expect them to read your script? Most of them will just try to copy paste your action lines into their DIYCE and then wonder why it does not work for them. Or, I could be wrong...who knows.

Hmm, that came out more insultingly than I intended..please no-one take offense. Remember that half the people are below average in intelligence.
Govinda P/W/K/M 100x4 :pump:
Wl/R/M/Ch 100x4 :borg:
Wd/W/S 100/100/100
W/M 100/100 Glass Cannon: oh gawd, not again :pinch: ... and numerous others Semi-retired :pillepalle:

1,174

Wednesday, July 17th 2013, 1:42pm

Hey guys great work with all the diyce's and all is there anyone out there with a functioning diyce for rogue/lock that could post it up here pls. i have one well i attempted to make one but it did no go so well

--Combat
if enemy then
Skill2 = {

{ name = "Wound Attack", use = ((EnergyBar1 >= 35) and (tbuffs["Grievous Wound"]) and ((tbuffs["Bleed"]) or (tbuffs["Blind Spot Bleed"]))) },
{ name = "Throw", use = true },
{ name = "Combo Throw", use = true },
{ name = "Blind Spot", use = ((EnergyBar1 >= 25) and (behind)) , timer = "BSBleed" },
{ name = "Shadowstab", use = (EnergyBar1 >= 20) and (not tbuffs["Bleed"]) and (not tbuffs["Blind Spot Bleed"]) },
{ name = "Low Blow", use = ((EnergyBar1 >= 30) and ((tbuffs["Bleed"]) or (tbuffs["Blind Spot Bleed"]))) },
{ name = "Low Blow", use = (EnergyBar1 >= 50) }
{ name = "Ghostly Strike", use = ((EnergyBar2 >= 35) and ((boss or elite)
{ name = "Warp Charge", use = true },
{ name = "Soul Pain", use = ((EnergyBar2 >= 50) and ((boss or elite)
{ name = "Soul Stab", use = (EnergyBar2 >= 30) and (tbuffs['Weakened']) },
}

end
so if anyone out there able to assist me with identifying the errors or able to post up one of theres i would be truly grateful thank you:).

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

1,175

Wednesday, July 17th 2013, 3:03pm

Source code

1
2
3
4
5
6
7
8
9
10
11
{ name = "Wound Attack", use = (EnergyBar1 >= 35) and (tbuffs["Grievous Wound"]) and (tbuffs["Bleed"]) },
{ name = "Throw", use = true },
{ name = "Combo Throw", use = true },
{ name = "Blind Spot", use = (EnergyBar1 >= 25) and (behind), timer = "BSBleed" },
{ name = "Shadowstab", use = (EnergyBar1 >= 20) and (not tbuffs["Bleed"]) },
{ name = "Low Blow", use = (EnergyBar1 >= 30) and (tbuffs["Bleed"]) },
{ name = "Low Blow", use = (EnergyBar1 >= 50) },
{ name = "Ghostly Strike", use = (EnergyBar2 >= 35) and (boss or elite) },
{ name = "Warp Charge", use = true },
{ name = "Soul Pain", use = (EnergyBar2 >= 50) and (boss or elite) },
{ name = "Soul Stab", use = (EnergyBar2 >= 30) and (tbuffs["Weakened"]) },


Not everything needs to be wrapped in "()" as much, some of which weren't quite right. Plus any search for a string like "Bleed" will find any tbuff with that word in it so no need to search for both, some people prefer to use IDs just to be sure but unless I'm mistaken now that bleeds can be leeched that shouldn't be an issue.

Also the behind variable just checks to see if you have aggro and presumes that if you don't then you're "behind" if you don't have aggro and are infront then it will repeatedly attempt to use Blind Spot without success. Additionally (timers aren't something I personally use anymore) you need afaik to define the timer if you're going to use it, something like:

Source code

1
CreateDIYCETimer("BSBleed", ##)


Where ## equals time in seconds of the bleed plus a little extra for lag.

Hope that helps a bit...

1,176

Wednesday, July 17th 2013, 4:53pm

it works! thanks for the quick reply/modfied script and pointers ArkanaROM :)

Auros

Professional

Posts: 1,360

Mood: Mellow

  • Send private message

1,177

Wednesday, July 17th 2013, 7:08pm

and missing a whole bunch of end },
Govinda P/W/K/M 100x4 :pump:
Wl/R/M/Ch 100x4 :borg:
Wd/W/S 100/100/100
W/M 100/100 Glass Cannon: oh gawd, not again :pinch: ... and numerous others Semi-retired :pillepalle:

1,178

Wednesday, July 24th 2013, 3:27pm

am looking for a way to determine the stack/lvl of a buff/debuff in diyce. like druid's nature points or priest's heal exhaustion? anyone has any insight? ty in advance

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

1,179

Wednesday, July 24th 2013, 5:03pm

This is how you would check for stacks:

Source code

1
2
3
4
5
--Target Debuffs
(tbuffs[#1].stack >= #2)

--Player Buffs
(pbuffs[#1].stack >= #2)


Where #1 = the de/buff ID (eg; [123456]) or the name of the de/buff (eg; ["Nature's Power"]) and #2 = the minimum number of the de/buff you want to check for.

Hope that helps...

CrzBadboy

TheBigBadWolf

Posts: 27

Location: Lufkin Texas

Occupation: Maintance Techinican

  • Send private message

1,180

Sunday, July 28th 2013, 6:20am

Warrior/Knight and Knight/Warrior and Warrior/Rouge

:) I found this to be one of the better setups for Warrior Knights and Knight Warriors. :borg:

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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
function KillSequence(arg1, healthpot, manapot, foodslot) 
--arg1 = "v1" or "v2" for debugging 
--healthpot = # of actionbar slot for health potions 
--manapot = # of actionbar slot for mana potions 
--foodslot = # of actionbar slot for food (add more args for more foodslots if needed) 
healthpot = 9 
healthpot1 = 8 
manapot = 8 
local Skill = {} 
local Skill2 = {} 
local i = 0 

-- Player and target status. 

local combat = GetPlayerCombatState() 
local enemy = UnitCanAttack("player","target") 
local EnergyBar1 = UnitMana("player") 
local EnergyBar2 = UnitSkill("player") 
local pctEB1 = PctM("player") 
local pctEB2 = PctS("player") 
local tbuffs = BuffList("target") 
local pbuffs = BuffList("player") 
local tDead = UnitIsDeadOrGhost("target") 
local behind = (not UnitIsUnit("player", "targettarget")) 
local melee = GetActionUsable(13) -- # is your melee range spell slot number 
local a1,a2,a3,a4,a5,ASon = GetActionInfo(14) -- # is your Autoshot slot number 
local phealth = PctH("player") 
local thealth = PctH("target") 
local LockedOn = UnitExists("target") 
local boss = UnitSex("target") > 2 
local elite = UnitSex("target") == 2 
local party = GetNumPartyMembers() >= 2 

--Determine Class-Combo 
mainClass, subClass = UnitClassToken( "player" ) 
--Silence Logic 
local tSpell,tTime,tElapsed = UnitCastingTime("target") 
local silenceThis = tSpell and silenceList[tSpell] and ((tTime - tElapsed) > 0.1) 

--Potion Checks 
healthpot = healthpot or 0 
manapot = manapot or 0 

--Equipment and Pet Protection 
if phealth <= .04 then 
--SwapEquipmentItem() --Note: Remove the first double dash to re-enable equipment protection. 
for i=1,6 do 
if (IsPetSummoned(i) == true) then 
ReturnPet(i); 
end 
end 
end 

--Check for level 1 mobs, if it is, drop target and acquire a new one. 
if (LockedOn and (UnitLevel("target") < 2)) then 
TargetUnit("") 
return 
end 

--Begin Player Skill Sequences 

--Priest = AUGUR, Druid = DRUID, Mage = MAGE, Knight = KNIGHT, 
--Scout = RANGER, Rogue = THIEF, Warden = WARDEN, Warrior = WARRIOR 

-- Class: Warrior/Rouge 
if mainClass == "WARRIOR" and subClass == "THIEF" then 


--Potions and Buffs 
Skill = { 
{ name = "Action: "..healthpot, use = (phealth <= .70) }, 
{ name = "Throw", use = enemy }, 
{ name = "Survival Instinct", use = (phealth <= .50) and combat }, 
} 

--Combat 
if enemy then 
Skill2 = { 
{ name = "Berserk", use = (EnergyBar1 >= 25) }, 
{ name = "Blasting Cyclone", use = (EnergyBar1 >= 35) }, 
{ name = "Whirlwind", use = (EnergyBar1 >= 30) }, 
{ name = "Keen Attack", use = (EnergyBar2 >= 20) and (tbuffs["Vulnerable"]) }, 
{ name = "Slash", use = (EnergyBar1 >= 25) }, 
{ name = "Probing Attack", use = (EnergyBar1 >= 20) }, 
{ name = "Open Flank", use = (EnergyBar1 >= 10) and (tbuffs["Vulnerable"]) }, 
{ name = "Thunder", use = (EnergyBar1 >= 15) and (tbuffs["Weakened"]) }, 
{ name = "Shadowstab", use = (EnergyBar2 >= 20) }, 
{ name = "Attack", use = (thealth == 1) }, 
} 
end 
--Class: Warrior/Knight 
elseif mainClass == "WARRIOR" and subClass == "KNIGHT" then 

--Potions and Buffs 
Skill = { 
{ name = "Enhanced Armor", use = (not pbuffs["Enhanced Armor"] ) and combat }, 
{ name = "Blocking Stance", use = (not pbuffs["Blocking Stance"] ) and combat }, 
{ name = "Action: "..healthpot, use = (phealth <= .70) }, 
{ name = "Survival Instinct", use = (phealth <= .50) and combat }, 
{ name = "Action: "..healthpot1, use = (phealth <= .75) and combat }, 
{ name = "Aggressiveness", use = (EnergyBar1 >= 50) and combat }, 
{ name = "Frenzy", use = (EnergyBar1 >= 40) and combat }, 
{ name = "Enraged", use = (EnergyBar1 >= 20) and combat }, 
} 

--Combat 
if enemy then 
Skill2 = { 
{ name = "Throw Shield", use = (EnergyBar2 >= 360) }, 
{ name = "Strike of Punishment", use = (EnergyBar2 >= 44) and (tbuffs["Surprise Attack Effect"]) }, 
{ name = "Surprise Attack", use = enemy }, 
{ name = "Terror", use = (EnergyBar1 >= 99) }, 
{ name = "Blasting Cyclone", use = (EnergyBar1 >= 35) }, 
{ name = "Shout", use = (EnergyBar1 >= 30) }, 
{ name = "Whirlwind", use = (EnergyBar1 >= 25) }, 
{ name = "Berserk", use = (EnergyBar1 >= 25) }, 
{ name = "Slash", use = (EnergyBar1 >= 25) }, 
{ name = "Probing Attack", use = (EnergyBar1 >= 20) }, 
{ name = "Open Flank", use = (EnergyBar1 >= 10) and (tbuffs["Vulnerable"]) }, 
{ name = "Thunder", use = (EnergyBar1 >= 15) and (tbuffs["Weakened"]) }, 
{ name = "Shield Bash", use = (EnergyBar2 >= 228) and (tbuffs["Disarmament IV"]) }, 
{ name = "Strike of Punishment", use = (EnergyBar2 >= 44) }, 
{ name = "Disarmament", use = (pctEB2 >= .05) }, 
{ name = "Attack", use = (thealth == 1) }, 
} 
end 
--Class: Knight/Warrior 
elseif mainClass == "KNIGHT" and subClass == "WARRIOR" then 

--Potions and Buffs 
Skill = { 
{ name = "Enhanced Armor", use = (not pbuffs["Enhanced Armor"] ) and combat }, 
{ name = "Action: "..healthpot, use = (phealth <= .80) }, 
{ name = "Action: "..manapot, use = (EnergyBar1 <= 6000) }, 
{ name = "Shield of Valor", use = (EnergyBar1 >= 360) and combat }, 
{ name = "Resolution", use = (phealth <= .80) and combat }, 
{ name = "Holy Shield", use = (phealth <= .80) and combat }, 
{ name = "Holy Power Explosion", use = (EnergyBar1 <= 2500 ) and combat }, 
{ name = "Action: "..manapot, use = (pctEB1 <= .50) and combat }, 
{ name = "Quick Reflexes", use = (EnergyBar2 >= 20) and combat }, 
{ name = "Master of Parry", use = (EnergyBar2 >= 30) and (phealth <= .90) and combat }, 
{ name = "Authoritative Deterrence", use = (EnergyBar2 >= 10) and (phealth <=.70) and combat }, 
{ name = "Hall of Dead Heroes", use = (phealth <= .60) and combat }, 
{ name = "Holy Strength", use = (EnergyBar1 >= 300) and (phealth <= .75) and combat }, 

} 

--Combat 
if enemy then 
Skill2 = { 
{ name = "Charge", use = enemy }, 
{ name = "Shock", use = (EnergyBar1 >= 150) and (tbuffs["Charge Effect"]) }, 
{ name = "Berserk", use = (EnergyBar2 >= 25) and (tbuffs["Shock Stun"]) }, 
{ name = "Punishment", use = (EnergyBar1 >= 140) and (tbuffs["Holy Seal 4"]) }, 
{ name = "Strike of Punishment", use = (EnergyBar1 >= 68) and (tbuffs["Disarmament IV"]) }, 
{ name = "Holy Seal", use = (EnergyBar1 >= 198) }, 
{ name = "Slash", use = (EnergyBar2 >= 25) }, 
{ name = "Truth Shield Bash", use = (EnergyBar1 >= 160) }, 
{ name = "Holy Strike", use = (EnergyBar1 >= 174) and (tbuffs["Bleed"]) }, 
{ name = "Disarmament", use = (pctEB1 >= .05) }, 
{ name = "Whirlwind", use = (EnergyBar2 >= 40) }, 
{ name = "Whirlwind Shield", use = (EnergyBar2 >= 180) }, 
{ name = "Fearless", use = (EnergyBar2 >= 35) }, 
{ name = "Attack", use = (thealth == 1) }, 
} 
end 

--ADD MORE CLASS COMBOS HERE. 
--USE AN "ELSEIF" TO CONTINUE WITH MORE CLASS COMBOS. 
--THE NEXT "END" STATEMENT IS THE END OF THE CLASS COMBOS STATEMENTS. 
--DO NOT POST BELOW THE FOLLOWING "END" STATEMENT! 
end 
--End Player Skill Sequences 

if (arg1=="debugskills") then --Used for printing the skill table, and true/false usability 
DIYCE_DebugSkills(Skill) 
DIYCE_DebugSkills(Skill2) 
elseif (arg1=="debugpbuffs") then --Used for printing your buff names, and buffID 
DIYCE_DebugBuffList(pbuffs) 
elseif (arg1=="debugtbuffs") then --Used for printing target buff names, and buffID 
DIYCE_DebugBuffList(tbuffs) 
elseif (arg1=="debugall") then --Used for printing all of the above at the same time 
DIYCE_DebugSkills(Skill) 
DIYCE_DebugSkills(Skill2) 
DIYCE_DebugBuffList(pbuffs) 
DIYCE_DebugBuffList(tbuffs) 
end 

if (not MyCombat(Skill, arg1)) then 
MyCombat(Skill2, arg1) 
end 

--Select Next Enemy 
if (tDead) then 
TargetUnit("") 
return 
end 
if mainClass == "RANGER" and (not party) then --To keep scouts from pulling mobs without meaning to. 
if (not LockedOn) or (not enemy) then 
TargetNearestEnemy() 
return 
end 
elseif mainClass ~= "RANGER" then --Let all other classes auto target. 
if (not LockedOn) or (not enemy) then 
TargetNearestEnemy() 
return 
end 
end 

end
CharName: CrzBadboy aka [The Legendary Wolf Demon Lord.]
Server: PALENQUE
Guild: TheDragoons/Loreliefury
Class: Warrior/Knight/Priest/Mage/Rogue/Scout <---<<o.O that's Right I have 6 classes on one Toon.. LOL
Level: 87/87/87/74/57/59
:borg: