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

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,821

Saturday, October 8th 2011, 1:32am

Ah, wasn't aware of a problem with it. I tried out keybinder, but didn't really need it so much, so I didn't keep it. It's nice for what it is, and I'm sure there are those out there that love it.

I'm just glad I don't need to rework all of diyce now! I was ready to start working on DIYCE 2, phew! dodged that bullet! lol

1,822

Saturday, October 8th 2011, 2:11am

Thanks for this guys. It is very much appreciated.
[img][/img]

1,823

Sunday, October 9th 2011, 10:52pm

For those of you that haven't heard Frogster has realized the huge mistake they made and will be putting back the functions they crippled in macros in the next patch.
UseAction.../cast.....UseBagItem....etc.

1,824

Tuesday, October 11th 2011, 2:21pm

Priest Mage Simplicity

This is all i want to do but its not working.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function PriestMage(arg1)
   local Skill = {}
   local i = 0
   local enemy = UnitCanAttack("player","target")
   local tbuffs = BuffList("target")
   local ehealth = PctH("target")

   i=i+1; Skill[i] = { name = "Bone Chill",     use = (enemy and (not string.find(tbuffs,"Bone Chill"))) }
   i=i+1; Skill[i] = { name = "Lightning",      use = (enemy and (not string.find(tbuffs,"Lightning Rod"))) }
   i=i+1; Skill[i] = { name = "Icewind Blade",  use = enemy }
   i=i+1; Skill[i] = { name = "Fireball",       use = (enemy and (ehealth < .15)) }
   i=i+1; Skill[i] = { name = "Rising Tide",    use = enemy }

   MyCombat(Skill,arg1)
end


In short this is the priority I'm looking for:
1. Bone Chill always on the enemy.
2. Lightning only if Lightning Rod isn't on the target (so that i get maximum up time of increased water damage).
3. Icewind Blade whenever its ready.
4. Fireball only when target is below 15% hp
5. Rising Tide Spam.

Any help would be appreciated.

The above LUA is added after all the default code in DIYCE.LUA

Upon login I get no errors so thats ok
Ive also done /run ReadSkills() after ive logged in and that gives me just the yellow line.

1,825

Tuesday, October 11th 2011, 2:34pm

Quoted from "shopguy;472117"

Thought I'd post this over here too, as a simple option for those that don't want to install another addon. The fastest/easiest fix for DIYCE, in my opinion, is to just rename your function name. For example, if your DIYCE file currently has:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function ScoutWarriorKill(arg1)
   local Skill = {}
   local i = 0
   local focus = UnitMana("player")
   local a1,a2,a3,a4,a5,ASon = GetActionInfo(9)
   i=i+1; Skill[i] = { name = "Vampire Arrows", use = (focus >= 20) }
   i=i+1; Skill[i] = { name = "Autoshot",       use = (not ASon) }
   i=i+1; Skill[i] = { name = "Combo Shot",     use = (true) } 
   i=i+1; Skill[i] = { name = "Reflected Shot", use = (true) }
   i=i+1; Skill[i] = { name = "Piercing Arrow", use = (true) }
   i=i+1; Skill[i] = { name = "Wind Arrows",    use = (focus >= 15) }
   i=i+1; Skill[i] = { name = "Snipe",          use = (true) }
   i=i+1; Skill[i] = { name = "Shot",           use = (true) }
   MyCombat(Skill,arg1)
end
Just change the first line from:

function ScoutWarriorKill(arg1)

to:

function ToggleSheath()

Then go in to the game key bindings (don't need an addon for this), just press ESC and select "Key Bindings" from the menu, and set whatever hotkey you want for the "Draw Weapon" binding. I set my to the #1 key on my keyboard, for example, so now pressing #1 runs my DIYCE like always.

Since you figured out how to copy/paste your DIYCE function in the first place, everyone that could do that should be able to rename it without problems.

This works because "ToggleSheath" is the game function that is called when you use the Draw Weapon hotkey, and if a function is also found in any LUA (addon) file, that function will be called instead of the game function. Every key binding has a function that you can override the same way, if you prefer to override some other action that you don't use.

For the "official" DIYCE fix, I would recommend that the default DIYCE include one of these system functions, that in turn calls another function (that people can override as needed), and then part of the setup is to just map a key to whatever function you decide to override. There is a function for pressing each hotbar icon also, so I guess you could even just override that, if you assume that everyone wants to use the same hotbar icon -- probably not safe to assume. Along with that, you could make other DIYCE functions that are callable from macros (don't use any of the disabled functions like UseAction) that update global variables, that just tell the main function what to do when the hotkey is pressed (like for the current debug info you can have spit out, instead would need to be a function that sets debug mode).


didnt work for me

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,826

Tuesday, October 11th 2011, 11:32pm

@ezekial69 - Are you currently using EAB to run your macros? If not, install it and place your macro into this action bar, and set your hotkey for it. Macros to run DIYCE are currently not operable in game.

1,827

Wednesday, October 12th 2011, 6:48pm

Hello,

I am using the standard diyce for R/s but i would like to apply (shadowstab and) bleed even if someone else did.

Only solution to make it works seems to have a part in diyce to know if the bleed on boss has been applied by me.

So, I heard there is a way to make diyce checking if the bleed comes from me or not but I don't know how, anyone could help me?

Thanks in advance

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,828

Wednesday, October 12th 2011, 9:04pm

There have been discussions about this through out this thread. Use the 'Search this Thread' feature to find them. You will also want to look at PartyHealer by Sixpax for how to get the timers to work.

1,829

Wednesday, October 12th 2011, 9:41pm

Quoted from "ghostwolf82;473701"

@ezekial69 - Are you currently using EAB to run your macros? If not, install it and place your macro into this action bar, and set your hotkey for it. Macros to run DIYCE are currently not operable in game.



Ghost ive tried that... My attacks still dont work tho. Was hoping it was something I put in the code that was wrong ><

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,830

Thursday, October 13th 2011, 5:50am

Quoted from "ezekial69;474006"

Ghost ive tried that... My attacks still dont work tho. Was hoping it was something I put in the code that was wrong ><

I see no inherent errors in the code as you posted it, and since you have tried it with eab, (process of elimination going on is what this is) did you make sure your macro was /run PriestMage()? (Spelled exactly as you have it in code - capitals as well?) No errors at all pop up next to the minimap? Nothing at all happens when you press the macro key in eab? Did you double check the buff/debuff names for the skills you wish to use?

1,831

Thursday, October 13th 2011, 12:18pm

Quoted from "ghostwolf82;474100"

I see no inherent errors in the code as you posted it, and since you have tried it with eab, (process of elimination going on is what this is) did you make sure your macro was /run PriestMage()? (Spelled exactly as you have it in code - capitals as well?) No errors at all pop up next to the minimap? Nothing at all happens when you press the macro key in eab? Did you double check the buff/debuff names for the skills you wish to use?



Sorta Found my problem Debuff wasnt called Lightning Rod it was called Electric Shock. I make that change and the macro still doesnt use FIREBALL at all. And no i get no Errors related to the /run PriestMage() script or DIYCE. Only error i get is with one of my mailbox addons. And yes i tried removing the mail box addon and trying the macro again. Nothing changed.

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,832

Friday, October 14th 2011, 7:38am

That's because IWB is an instant attack, and so is FB (Can't remember if RT is as well or not). You will need to set up a custom action to check to see which one was last cast, and then cast something different. You can find this such code in several of my posts, and a few other peoples as well.

1,833

Tuesday, October 18th 2011, 8:27am

Priest/Mage DIY for farming

Made this one basically for soloing/farming does everything but take out the trash lol

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
function PriestMage(arg1)
    local Skill = {}
    local i = 0
    local mana = UnitMana("player")
    local friendly = (not UnitCanAttack("player","target"))
    local pbuffs = BuffList("player")
    local tbuffs = BuffList("target")
    local phealth = PctH("player")
    local thealth = PctH("target")
    local health, buffs
    
    if friendly then
        health = thealth
        buffs = tbuffs
    else
        health = phealth
        buffs = pbuffs
    end
    

    i=i+1; Skill[i] = { name = "Blessed Spring Water",    use = ((not combat) and (not string.find(pbuffs,"Blessed Spring Water"))) }
    i=i+1; Skill[i] = { name = "Magic Barrier",           use = ((not combat) and (not string.find(pbuffs,"Magic Barrier"))) }
    i=i+1; Skill[i] = { name = "Grace of Life",           use = ((not combat) and (not string.find(pbuffs,"Grace of Life"))) }
    i=i+1; Skill[i] = { name = "Holy Aura",               use = (phealth <= .30) }
    i=i+1; Skill[i] = { name = "Regenerate",              use = ((health <= .90) and (not string.find(buffs, "Regenerate"))) }
    i=i+1; Skill[i] = { name = "Urgent Heal",             use = (health <= .65) }
    i=i+1; Skill[i] = { name = "Bone Chill",              use = ((not friendly) and (not string.find(tbuffs, "Bone Chill"))) }
    i=i+1; Skill[i] = { name = "Lightning",               use = ((not friendly) and (not string.find(tbuffs, "Lightning Rod"))) }
    i=i+1; Skill[i] = { name = "Icewind Blade",           use = (not friendly) }
    i=i+1; Skill[i] = { name = "Fireball",                use = (not friendly) }
    i=i+1; Skill[i] = { name = "Rising Tide",             use = (not friendly) }
 
    MyCombat(Skill,arg1)
end 

1,834

Tuesday, October 18th 2011, 12:45pm

hello..

im realy interested in this diyce BUT im so bad on making macros im like a granny that still think that macros is the devil =).

so i was woundering if anyone could help me whit a macro to a r/s for fighting and buffing ?

im realy sry if i seam lazy but i do realy suck on macros =/
the best part from swag´s post about the In-game Economy Update:
We have identified the primary cause of the gold inflation; gold sellers.

hmmm you dont say mr swag...

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,835

Tuesday, October 18th 2011, 4:08pm

Quoted from "imapayne1;475623"

hello..

im realy interested in this diyce BUT im so bad on making macros im like a granny that still think that macros is the devil =).

so i was woundering if anyone could help me whit a macro to a r/s for fighting and buffing ?

im realy sry if i seam lazy but i do realy suck on macros =/

Sure I can help you! Click the 'search this thread' button, and type in rogue/scout. Until you read this entire thread, that is all the help you will be getting. Yes, you seem lazy. Do some of the preliminary work yourself before asking for help.

Also, go back a few pages (page 162) and read the commentary there by both Drake and myself for an explanation on why I feel this way.

mrmisterwaa

Professional

Posts: 670

Location: Kuwait

  • Send private message

1,836

Tuesday, October 18th 2011, 4:33pm

After doing some research to optimise my RogueScout DIYCE macro. I came to the conclusion that it would be very ... very time consuming to find a working work-around for if there were any more Rogues in the party.

I have tested it many times with 3 - 4 Rogues in the party and it doesn't work as good as I do with my own hands due to the fact that sometimes a Rogue in my party might forget to cast a Shadowstab bleed or Low Blow bleed and mess up the counter and miss a couple Wound Attacks and decrease my DPS drastically.

Anyone have any ideas about what I can do to let it do a check on my OWN bleeds using the Bleed ID / Unique identifiers to find em?

I spoke to a couple people and they told me that my own personal bleeds do not have a different ID compared to other Rogues in the party.

What also messes up the Counters would be W/R.

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,837

Tuesday, October 18th 2011, 5:11pm

Sekrit, you have run into the same problem many have, including myself. The best answer for you would be to look to Sixpaxs party healer. Look at his code for how to set a timer against your own buffs, and determine if the correct time has passed since the last time you cast your spell. If the time is different, it is not your buff, so cast it again.

mrmisterwaa

Professional

Posts: 670

Location: Kuwait

  • Send private message

1,838

Tuesday, October 18th 2011, 9:39pm

Quoted from "ghostwolf82;475735"

Sekrit, you have run into the same problem many have, including myself. The best answer for you would be to look to Sixpaxs party healer. Look at his code for how to set a timer against your own buffs, and determine if the correct time has passed since the last time you cast your spell. If the time is different, it is not your buff, so cast it again.


The one thing I do not like about timers is that it might potentially increase the delay in the macro and lose that potential gain, so it would just be better to manually DPS.

I am trying to find alternative methods to do this, without the use of a timer.

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

1,839

Wednesday, October 19th 2011, 1:01am

It's not a timer in the traditional sense. The way it works is you tell it "this spell has a buff that lasts this long", "I cast that particular spell at this point", "has it been the proper number of seconds since casting that spell to be at the point of needing to replace the buff? if so, then do so. if not, then continue down the list". In party healer this is used to maintain HoTs on a player, and I have not seen any slowdown in healing what-so-ever.

1,840

Friday, October 21st 2011, 5:11pm

Help with a S/W DIYCE

i need help to make a function that will use the following skills

Buffs:
Battle Instinct
Frost Arrow
Target Area
Mental Focus

Cooldowns:
Berserk
Target Lock

DPS:
Combo Shot
Vampire Arrows
Reflected Shot
Piercing Arrow
Shot
Wind Arrow

(if at all possible could turn on "Autoshot" for me)

Thanks in Advance