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

Tuesday, January 27th 2015, 4:21am

Surge of Awareness Macro

Is it possible to have a buff, such as Surge of Awareness, on a macro so that it will cast on the player's position? Pretty much looking for a way to cast this buff without a cursor on the screen and was wondering if there was a way.

bleedingblak

I'm here to troll you

Posts: 1,232

Location: www.youtube.com/user/ihavetourettesxx

Mood: Crying

  • Send private message

2

Tuesday, January 27th 2015, 4:30am

That I know of? No. You need to tab over and use it.

I tab over and use a macro much like thunderstorm.

That being said, if it is possible for such a macro as you ask, I am interested also.


~Fly into the distance, disappear for awhile~

3

Tuesday, January 27th 2015, 5:07am

Yeah I was trying to use SpellTargetUnit("player") but it seems to always just be mouseover...maybe once possible but deactivated?

4

Tuesday, January 27th 2015, 12:57pm


Yeah I was trying to use SpellTargetUnit("player") but it seems to always just be mouseover...maybe once possible but deactivated?

As I see it, SpellTargetUnit was originally anticipated to be used for spells that actually require a target. That it works for "placeable non-targetable" spells feels more like a later addition (since it's not really distiguishable from a Lua perspective which kind of spell is attached to your cursor). Also, "placeable non-targetable" spells just ignore any UnitID parameters - since they are targeted at the ground, and the ground is no unit. If you want to double check this, look at the following macro.

This macro works just as fine as if it was written with SpellTargetUnit("mouseover") - the "mouseover" part is superfluous. You might replace Thunderstorm with a placeable non-targetable spell of your own.

Source code

1
2
3
/cast Thunderstorm
/wait .1
/run SpellTargetUnit()


IMO it would have been cleaner to split this "double" functionality into 2 functions, SpellTargetUnit(UnitID) and SpellPlaceOnGround(), but then we would need a way to distiguish "placeable" from "targetable" spells (which should in theory allow for "placeable targetable" spells, which are missing in this game so far)

5

Tuesday, January 27th 2015, 5:40pm

Source code

1
2
3
/cast Surge of Awareness
/wait .1
/run SpellTargetUnit()


works but you have to use keyboard shortcuts to change client windows (such as alt tab), otherwise the warlock client will will cast the spell where the mouse was last located (edge of window when you moved mouse out of window to click somewhere else on screen).

Zerienga

King of the Noobs

Posts: 1,027

Location: Reni & US IRC

  • Send private message

6

Tuesday, January 27th 2015, 6:25pm

I think he doesn't want to have to use his mouse to place it even with a macro. i think he wants to be able to place it so that it's center of effect is on someone.
Reni
Mithras
Zerienga - 90/90 P/K
Téster - 95/61/60/45/45 CH/WL/R/P/M
Dontkillimascout - 90/61 WL/P

If you want to contact me quickly and efficiently, try the US IRC channel.
No, I don't know everything. I just use my knowledge to form educated guesses
And I listen when others say I am wrong in order to learn.

7

Tuesday, January 27th 2015, 6:34pm

I interpret the original post as being "I want to macro surge and have it cast without having to stay on the screen (i.e /wait 20 /cast surge **swap to other toon and do stuff** and surge casts 20s later without going back to warlock client)

This post has been edited 1 times, last edit by "BlankMinded" (Jan 27th 2015, 6:43pm)


8

Tuesday, January 27th 2015, 6:41pm

I was messing with this for a little bit last night but couldn't get anywhere.

Obviously you can start with

/script TargetUnit ( "party#" )

Change out the # for whatever place your target is you want buffed in relation to their position in the party.

So this immediately targets your desired bufee

And then i tried to incorporate the thunderstorm macro in there while replacing the

/script SpellTargetUnit ()

To

/script SpellTargetUnit ( "player#" )

So the entire script targetted the buffee, cast the first part of surge of awareness, being the ground area effect part and then instead of casting around the buffee, it made me run around like a chicken with my head cut off.

Perhaps someone can use the info ive provided to make a working macro correcting whatever i have mistaken
Xaldyn

100 Mage / 100 Warrior

Aeterna Aggropit



Nobody wants the kind of 'kiss up' that I can clearly see you detest

This post has been edited 1 times, last edit by "acypcar90" (Jan 27th 2015, 6:46pm)


9

Tuesday, January 27th 2015, 6:53pm

As far as i know, any in-game functions that allow the user to manually input mouse/click co-ordinate were disabled to combat botting years ago. I'm assuming this included changing the function "SpellTargetUnit" to prevent you from casting anywhere except where the mouse is/last was (unless the skill is a unit-targetting skill, not ground targetting). Hence in my earlier post, you need to keyboard shortcut change windows, or if you arne't changing windows, leave mouse cursor where you want to cast.

10

Tuesday, January 27th 2015, 7:26pm

Yes Blank that's what I was trying to do and so you are saying if I place my cursor where I want to cast, and alt tab away it will cast where the cursor was before I alt tabbed? The casting in the bottom of my screen was the problem I had before so if alt tabbing works that'd be great. I never really thought to try it for some reason.

Slightly off topic I suppose but still pertains to the skill, does Surge still have the problem of 6 target cap including pets?

11

Tuesday, January 27th 2015, 7:31pm

1) yes it will cast the spell where your mouse was last in the window (where it was when you alt tab out).

2) yes, still 6 target cap including pets.