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.

1

Wednesday, July 2nd 2014, 1:16am

How to Attack Macro ?

Hi friends,
1)How was writing a macro rogue attack?
2)What was the creature macro automatically clicks?

We wrote the script, but forgot one thing could you help target your..

2

Wednesday, July 2nd 2014, 1:52am

I would love to help out whatever macro you are wanting to make, but I have no idea what you are trying to say/ask.

Could you maybe edit your post or if your english isn't that good, possibly use a translator?

EDIT: Maybe you are thinking of DIYCE? There are plenty of DIYCE threads on the forums that you are welcome to look at.
Osha Erebos - Evilempires
Shaynoff R/S/M (98/98/85)
Rakalaka M/P/L (98/98/98)
Ffonyahs Wd/W/S (98/98/98)

3

Wednesday, July 2nd 2014, 11:38am

I would love to help out whatever macro you are wanting to make, but I have no idea what you are trying to say/ask.

Could you maybe edit your post or if your english isn't that good, possibly use a translator?

EDIT: Maybe you are thinking of DIYCE? There are plenty of DIYCE threads on the forums that you are welcome to look at.








1) How is the combo skill macro rogue mage

2) How is the auto target macro

4

Wednesday, July 2nd 2014, 1:21pm

You target next enemy by

Source code

1
/run TargetNearestEnemy();
You can use a skill either by calling

Source code

1
/run CastSpellByName("Shadowstab")
(or '/cast Shadowstab' or '/script CastSpellByName("Shadowstab")').

So a simple code to target next enemy and attack with Shadowstab would be:

Source code

1
2
/run TargetNearestEnemy();
/run CastSpellByName("Shadowstab");
But if your current target is NOT dead, such a macro would still change the target to the next one (leaving the other, half-dead mob alive and kicking). So a better option would be:

Source code

1
2
/run if UnitIsDeadOrGhost("target") or UnitIsDeadOrGhost("target")==nil then TargetNearestEnemy() end
/run CastSpellByName("Shadowstab")
- it would keep using Shadowstab until the target is dead and only then switch to the next target.

Or you could do:

Source code

1
/run if UnitIsDeadOrGhost("target") or UnitIsDeadOrGhost("target")==nil then TargetNearestEnemy() else CastSpellByName("Shadowstab") end

=> this one would use Shadowstab if your target is alive, otherwise switch target. After switching target you have to hit the key again, but you have a chance to change the target before attacking (i.e. check if correct next enemy is targeted).

Or 1000 other options...

We wrote the script, but forgot one thing could you help target your..
I'd say - show us the code you already have, then we could comment on how to improve it. :)

And SHAYdynasty is right - if you want proper complex conditions (like use Low Blow only if target is already bleeding due to a Shadowstab etc.) you should simply use DIYCE - the logic and bulk of the code is already there, you just fill in the conditions when you want a specific skill to be activated.

=========
About R/M:
First before you look at macros: how do you want to play the class?
* Are you going to just white hit?
* Or do you want to do yourself a proper Rouge rotation (to get to 3 times stronger hit of Wound Attack) (i.e. Shadowstab->Low Blow->Wound Attack)?
* Or are you playing in agroup and would like to leech bleeds/wounds (i.e. white-hit only, unless there are already bleeds and wounds from other rouges - then use WA)?
* Independent of the questions above: do you want to use ComboThrow?

I guess these are choices based on your situation (do you do instances in group or play solo) and your toon (where do you invest TPs etc.).

Anyway, for the first option you don't actually need any macro. For the second and third - DIYCE will be easier than writing your own script.

You might want to use Combo Throw separately, from a different macro, so that you could decide when to use it (e.g. only while running towards the boss but not once you are close etc.). Here are some hints.
>>>> >>>> >>>>
>>>>
>>>> Please, bring back (bound if there is no other option) dias to AH! :thumbsup:
>>>> If you do this we will all love you forever. ;)
>>>>
>>>> >>>> >>>>

5

Wednesday, July 2nd 2014, 11:25pm

You target next enemy by

Source code

1
/run TargetNearestEnemy();
You can use a skill either by calling

Source code

1
/run CastSpellByName("Shadowstab")
(or '/cast Shadowstab' or '/script CastSpellByName("Shadowstab")').

So a simple code to target next enemy and attack with Shadowstab would be:

Source code

1
2
/run TargetNearestEnemy();
/run CastSpellByName("Shadowstab");
But if your current target is NOT dead, such a macro would still change the target to the next one (leaving the other, half-dead mob alive and kicking). So a better option would be:

Source code

1
2
/run if UnitIsDeadOrGhost("target") or UnitIsDeadOrGhost("target")==nil then TargetNearestEnemy() end
/run CastSpellByName("Shadowstab")
- it would keep using Shadowstab until the target is dead and only then switch to the next target.

Or you could do:

Source code

1
/run if UnitIsDeadOrGhost("target") or UnitIsDeadOrGhost("target")==nil then TargetNearestEnemy() else CastSpellByName("Shadowstab") end

=> this one would use Shadowstab if your target is alive, otherwise switch target. After switching target you have to hit the key again, but you have a chance to change the target before attacking (i.e. check if correct next enemy is targeted).

Or 1000 other options...

We wrote the script, but forgot one thing could you help target your..
I'd say - show us the code you already have, then we could comment on how to improve it. :)

And SHAYdynasty is right - if you want proper complex conditions (like use Low Blow only if target is already bleeding due to a Shadowstab etc.) you should simply use DIYCE - the logic and bulk of the code is already there, you just fill in the conditions when you want a specific skill to be activated.

=========
About R/M:
First before you look at macros: how do you want to play the class?
* Are you going to just white hit?
* Or do you want to do yourself a proper Rouge rotation (to get to 3 times stronger hit of Wound Attack) (i.e. Shadowstab->Low Blow->Wound Attack)?
* Or are you playing in agroup and would like to leech bleeds/wounds (i.e. white-hit only, unless there are already bleeds and wounds from other rouges - then use WA)?
* Independent of the questions above: do you want to use ComboThrow?

I guess these are choices based on your situation (do you do instances in group or play solo) and your toon (where do you invest TPs etc.).

Anyway, for the first option you don't actually need any macro. For the second and third - DIYCE will be easier than writing your own script.

You might want to use Combo Throw separately, from a different macro, so that you could decide when to use it (e.g. only while running towards the boss but not once you are close etc.). Here are some hints.

thank you very much.. :)

6

Sunday, July 6th 2014, 6:22pm

You target next enemy by

Source code

1
/run TargetNearestEnemy();
You can use a skill either by calling

Source code

1
/run CastSpellByName("Shadowstab")
(or '/cast Shadowstab' or '/script CastSpellByName("Shadowstab")').

So a simple code to target next enemy and attack with Shadowstab would be:

Source code

1
2
/run TargetNearestEnemy();
/run CastSpellByName("Shadowstab");
But if your current target is NOT dead, such a macro would still change the target to the next one (leaving the other, half-dead mob alive and kicking). So a better option would be:

Source code

1
2
/run if UnitIsDeadOrGhost("target") or UnitIsDeadOrGhost("target")==nil then TargetNearestEnemy() end
/run CastSpellByName("Shadowstab")
- it would keep using Shadowstab until the target is dead and only then switch to the next target.

Or you could do:

Source code

1
/run if UnitIsDeadOrGhost("target") or UnitIsDeadOrGhost("target")==nil then TargetNearestEnemy() else CastSpellByName("Shadowstab") end

=> this one would use Shadowstab if your target is alive, otherwise switch target. After switching target you have to hit the key again, but you have a chance to change the target before attacking (i.e. check if correct next enemy is targeted).

Or 1000 other options...

We wrote the script, but forgot one thing could you help target your..
I'd say - show us the code you already have, then we could comment on how to improve it. :)

And SHAYdynasty is right - if you want proper complex conditions (like use Low Blow only if target is already bleeding due to a Shadowstab etc.) you should simply use DIYCE - the logic and bulk of the code is already there, you just fill in the conditions when you want a specific skill to be activated.

=========
About R/M:
First before you look at macros: how do you want to play the class?
* Are you going to just white hit?
* Or do you want to do yourself a proper Rouge rotation (to get to 3 times stronger hit of Wound Attack) (i.e. Shadowstab->Low Blow->Wound Attack)?
* Or are you playing in agroup and would like to leech bleeds/wounds (i.e. white-hit only, unless there are already bleeds and wounds from other rouges - then use WA)?
* Independent of the questions above: do you want to use ComboThrow?

I guess these are choices based on your situation (do you do instances in group or play solo) and your toon (where do you invest TPs etc.).

Anyway, for the first option you don't actually need any macro. For the second and third - DIYCE will be easier than writing your own script.

You might want to use Combo Throw separately, from a different macro, so that you could decide when to use it (e.g. only while running towards the boss but not once you are close etc.). Here are some hints.

thank you very much.. :)
hello how do rogue/mage combo attack macro ?

Cike

Rogue

Posts: 4,171

Occupation: Being Human

  • Send private message

7

Sunday, July 6th 2014, 11:20pm

just wanted to say thanks uure for posting those. i didn't use them as they are, but i pulled from them to make some custom target/attack macros...

just giving credit where credit is due :D
my r/p can outdps r/m. your name is stupid.

mages should stack dex. word.

8

Monday, July 7th 2014, 11:32am

just wanted to say thanks uure for posting those. i didn't use them as they are, but i pulled from them to make some custom target/attack macros...
lol, really? No way there was anything new to you here. :D But it's always nice if sometimes simple repeating things we "know" triggers this "Oh, wait, could I actually...".


hello how do rogue/mage combo attack macro ?
Do you mean "combo throw" macro or a way to activate the correct combination/sequence of skills (combo of skills)?

========

For Combo Throw: you could simply use the skill. :P But "Throw" does not trigger global cooldown (GCD), so it's always worth it to do a Throw before anything else. So you would like to make a macro that does Throw + Combo Throw

Source code

1
2
3
/cast Throw
/wait .1
/cast Combo Throw
BUT activating two skills with a slow delay quite often does not work correctly. I'm not sure what the reason is but a common workaround is to activate a skill multiple times. So, drawing on the bleedingblak's post (see the link above), your macro would be

Source code

1
2
3
4
5
6
7
8
9
/cast Throw
/wait .1
/cast Throw
/wait .1
/cast Throw
/wait .1
/cast Combo Throw
/wait .1
/cast Combo Throw
(again: the idea is just to do Throw + Combo Throw; things are repeated just to make sure that both Throw and CT will be triggered). Note: the bleedingblak's macro in the link does more because it's for R/S: he plays with an xbow&arrows equipped: his macro switches to projectiles, does the T+CT and equips the xbow&arrows back - it's not relevant for R/M).

========

For combo of skills: as a R/M you do the standard R/ rotation: Shadowstab to trigger bleeding, Low Blow to trigger serious wounds and then repeat Wound Attack until you run out of energy. So any DIYCE for R/ will do (although you could also do this by hand, frankly). I believe, the standard DIYCE2 has R/S part: you can edit it to use for a R/M instead.

I'd do the following:
* get DIYCE (e.g. from curse)
* take a R/S toon (or create a new one) and test that you can activate the DIYCE and it basically works (you won't have the elites etc. but it's not a problem for testing if it works at all);
You basically make a macro
/run KillSequence()
target a mob and run the macro. You could also do:
/run KillSequence("debugskills")
instead => you should see debug in the chat window. If you are using a not-English client, start it this one time in English (just to test that DIYCE works)
Important: if you can't make it work you'd need to figure out what the problem is => no point starting to edit things if the basic setup does not work.
* get notepad++ (do NOT edit lua with the notepad from windows! esp. if you need some special characters for your language (ń,ę etc.) )
* start editing; always keep a backup; not only the old version, but also every intermediate working version.

I'd assume that the above worked and you were able to activate DIYCE for R/S.

To make a DIYCE for R/M you can do the following:
You will be editing CustomFunctions.lua file. You are interested Rogue/Scout section, i.e. lines from:
--Class: Rogue/Scout
up to
--Class: Rogue/Priest

First, change:
elseif mainClass == "THIEF" and subClass == "RANGER" then
to
elseif mainClass == "THIEF" and subClass == "MAGE" then
=> now this section will be activated for a R/M instead of R/S.

Basically you will only be removing whole lines (so it's easy) or changing skill names to your language.
Remove everything from "--Ammo Check and Equip" to "--Combat" (you might later restore the Potions and Buffs section, but for now let's remove it). Then in the next lines after "Skill2 = " you just:
* remove every skill that you don't have on R/M
* translate the skills you have to your language (carefully, with correct capital letters etc. => the names have to exactly match the skills)
So, for example, you should remove the line with "Throat Attack"; but keep the line with "Wound Attack", just with the skill in your language.

You need to restart RoM to see the effects.

That's it. If standard DIYCE worked for you for R/S, the edited one should work for R/M.

========

If you meant something different by your question, I'd again suggest that you show us what you have so far.
>>>> >>>> >>>>
>>>>
>>>> Please, bring back (bound if there is no other option) dias to AH! :thumbsup:
>>>> If you do this we will all love you forever. ;)
>>>>
>>>> >>>> >>>>