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.

CrzBadboy

TheBigBadWolf

  • "CrzBadboy" started this thread

Posts: 27

Location: Lufkin Texas

Occupation: Maintance Techinican

  • Send private message

1

Sunday, July 28th 2013, 8:09am

Daily Quest - EnergyDrink Macro?

GOAL: Attempting to make a macro that will constantly loop and run until all drinks are completely dispensed.

Location: Old Boarder of Wylant

NPC: Lankor Forgia

Quest Name: A Little Refreshment [Daily and/or Public Event]

Friendly Target: Exhausted Alliance Warrior

Simple ingame Macro is as followed it works you just got to keep pressing the hotkey you set it in.

-------------------------------------------------------------------------------------

Source code

1
2
/run TargetNearestFriendly(Exhausted Alliance Warrior) 
/run UseItemByName("Energy Drink") 


--------------------------------------------------------------------------------------

I need help to try to keep the macro looping until all 10 Energy Drinks are dispensed. here is where I'm at with it now. Please help.

--------------------------------------------------------------------------------------

ingame Macroscript =

Source code

1
/run Energydrink ()


--------------------------------------------------------------------------------------

EnergyDrink.Lua

---------------------------------------------------------------------------------------

Source code

1
2
3
4
5
6
function EnergyDrink() 
for i=1,99 1 do TargetNearestFriendly(Exhausted Alliance Warrior) then 
UseItemByName("Energy Drink") 
else 
return 
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:

Noguai

Beginner

Posts: 5

Location: Germany

  • Send private message

2

Sunday, July 28th 2013, 9:58am

GOAL: Attempting to make a macro that will constantly loop and run until all drinks are completely dispensed.

Location: Old Boarder of Wylant

NPC: Lankor Forgia

Quest Name: A Little Refreshment [Daily and/or Public Event]

Friendly Target: Exhausted Alliance Warrior

Simple ingame Macro is as followed it works you just got to keep pressing the hotkey you set it in.

-------------------------------------------------------------------------------------

Source code

1
2
/run TargetNearestFriendly(Exhausted Alliance Warrior) 
/run UseItemByName("Energy Drink") 


--------------------------------------------------------------------------------------

I need help to try to keep the macro looping until all 10 Energy Drinks are dispensed. here is where I'm at with it now. Please help.

When you say that this macro works for you, I'll guess that you've written yourself a function TargetNearestFriendly() that automatically selects the next target for you. Using a for loop will not work as you will need to wait some time before using the next item. In Lua this would need OnUpdate, which will prevent you from using Items, Skills, etc.

Put your two macro lines into a simple lua function:

Source code

1
2
3
4
function EDrink()
    TargetNearestFriendly(Exhausted Alliance Warrior) 
    UseItemByName("Energy Drink") 
end


Then you can create a macro that executes this function 10 times. Replace x with the number of seconds to wait. For the first time I would suggest the cast time when using the item (if there is any) plus another second. Depending on your system performance and your ping you might be able to lower it a bit.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()
/wait x
/run EDrink()

Djed

Intermediate

Posts: 273

Location: Erf

Occupation: work

  • Send private message

3

Sunday, July 28th 2013, 4:33pm

Or you could just stand in one spot, hotkey the original macro, and then rotate the view of your toon around while using the hotkey.

4

Thursday, October 10th 2013, 8:40pm

The macro in the first post doesn't work very well

I tried the original macro formula, and it didn't work. The selection process failed after the first subject (it kept selection the same soldier who had just had a drink). So maybe that was the problem the poster was encountering, rather than just trying to avoid having to click the macro symbol 10 times for each daily? I find 10 clicks a trivial labor for a completed daily.

Anyway, this macro works for me, but ya gotta keep clicking, and a little rotation along 90 degrees helps keep unsatisfied subjects in the selection field.


/script TargetNearestFriend()
/run UseItemByName("Energy Drink")

gigilomann

XxXGigilomannXxX

Posts: 2,213

Location: The one and only, Ohio.

Occupation: I Do Work

Mood: Love

  • Send private message

5

Thursday, October 10th 2013, 9:12pm

I use the macro in the first slot. works well for dailies, if you want them to loop it sounds like you're trying to BOT eoj. As i see a lot of people doing on Palenque. I suggest you ask Princess or miz how they do it.
For you to live or die is in my hands, In Gigi we trust.

-"Retired as one of the best, Will always be remembered for KT, RT->RT Dia, and GCH"- -Palenque- -XxXGigilomannXxX- -P/K/S-


Auros

Professional

Posts: 1,360

Mood: Mellow

  • Send private message

6

Thursday, October 10th 2013, 10:25pm

I use the macro in the first slot. works well for dailies, if you want them to loop it sounds like you're trying to BOT eoj. As i see a lot of people doing on Palenque. I suggest you ask Princess or miz how they do it.


Umm....yeah, subtle that....
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:

bleedingblak

I'm here to troll you

Posts: 1,232

Location: www.youtube.com/user/ihavetourettesxx

Mood: Crying

  • Send private message

7

Thursday, October 10th 2013, 10:51pm

There is an ingame macro the just requires you to focus everyone, including the quest person.

Don't have it anymore though.


~Fly into the distance, disappear for awhile~

8

Friday, October 11th 2013, 4:57am

I do like this:
/run TargetUnit("focus1")
/cast Attack
/cast Attack
/run TargetNearestFriend() //start repeating from here
/use Energy Drink
/wait .3 //end of the repeating

copy and paste those 3 last lines as much as you can
i use ExtendedMacroItems addon, that increases the addon character max lenght to 750ish, which helps a lot on this kind of macro.

then you can focus the npc that gives the quest, have Daily Notes on auto turn in and accept the quest, auto rotate and spam the macro every 3~4 secs.

to auto rotate, hold Q or E down, press Enter twice while holding Q or E, and then release it. you shouild be auto camera rotating untill you press the key again(the one you first started rotating with.


2~3 mins all 10 dailies are done ^^, using daily notes, ExtendedMacroItems, auto rotate and my macro, and summon as many pets as you can, anything you target works for the quest.
Roxzincrazy r/wd/s/m 87/85/85/85 | Crazybr wd/d 85/63
Roxzin m/wl 85/70 | Roxzn ch/m/r/w 87/70/70/70

ghostwolf82

Professional

Posts: 859

Location: Kalvans Trunk

Occupation: It's dark in here

  • Send private message

9

Friday, October 11th 2013, 9:45am

to auto rotate, hold Q or E down, press Enter twice while holding Q or E, and then release it. you shouild be auto camera rotating untill you press the key again(the one you first started rotating with.

hitting enter will open the chat interface...

10

Friday, October 11th 2013, 9:15pm

I think tht's the point. If you hold a key down and press enter, the game counts that as you holding down the key even after releasing it. Although this doesn't work for me now, I'm assuming its due to changes in either the game itself or my interface settings, but this used to work.

I used to use this to auto run in diagonals xD

11

Friday, October 11th 2013, 11:30pm

Well, i just tested it here, and it's working for me.
step by step:
1. Hold Q down
2. Press enter twice(i do it fast, idk if it's needed) so you are still holding Q down, open and close the chat box
3. Release Q, and you should be autorotating, untill your press Q again.

it works for all of the move keys, WASD, Q and E, and you can press more than one at the same time. To cancel the auto move/rotate press the key(s) again.

and you can always just hold Q or E while doing the daily. Just allows you to do something else while spamming the button every few seconds.
Roxzincrazy r/wd/s/m 87/85/85/85 | Crazybr wd/d 85/63
Roxzin m/wl 85/70 | Roxzn ch/m/r/w 87/70/70/70

This post has been edited 2 times, last edit by "marcelcrazy2" (Oct 11th 2013, 11:37pm)


bleedingblak

I'm here to troll you

Posts: 1,232

Location: www.youtube.com/user/ihavetourettesxx

Mood: Crying

  • Send private message

12

Friday, October 11th 2013, 11:38pm

/run TurnLeftStart()

/run TurnRightStart()


~Fly into the distance, disappear for awhile~

13

Friday, October 11th 2013, 11:41pm

Nice, didn't know about those functions. Well, it'd be pretty handy if there wasn't a manual autorotate, or if it didn''t work.
Roxzincrazy r/wd/s/m 87/85/85/85 | Crazybr wd/d 85/63
Roxzin m/wl 85/70 | Roxzn ch/m/r/w 87/70/70/70

This post has been edited 1 times, last edit by "marcelcrazy2" (Oct 16th 2013, 7:14am)