?? to use the extended event skill bar

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
MinMax
Posts: 46
Joined: Mon Dec 21, 2009 6:45 am

?? to use the extended event skill bar

#1 Post by MinMax » Sun Nov 04, 2012 5:44 am

I didn´t play for a long time and now i have a littlebit knowledge deficit.
How do i use the event skills fore example "Throw azure demon pumpkin seed" on the extended skill bar ??
Have i to declare it on the skill database and how do i check the availability of the skill ?

Thx for the nice help

MinMax

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: ?? to use the extended event skill bar

#2 Post by rock5 » Sun Nov 04, 2012 6:23 am

I think what you are describing is the ExtraActionBar. I use it in my 'invaders' script, and others. The main command is

Code: Select all

UseExtraAction(num)
Where num is the number of the action. I don't think I ever used it but it looks like the code to get the cooldown of the skill is

Code: Select all

local duration, remaining = GetExtraActionCooldown(num)
They are in-game commands so of course, from the bot, you would use RoMScript to execute them.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

MinMax
Posts: 46
Joined: Mon Dec 21, 2009 6:45 am

Re: ?? to use the extended event skill bar

#3 Post by MinMax » Sun Nov 04, 2012 7:01 am

Unfortunately we have in the event 3 skills which you have to activate firstly. (three colors of seeds to throw)

/skill/494189/werft-einen-azurblauen-daemonenkuerbissamen]Werft einen azurblauen Dämonenkürbissamen
/skill/494411/werft-einen-lindgruenen-daemonenkuerbissamen]Werft einen lindgrünen Dämonenkürbissamen
/skill/494190/werft-einen-scharlachroten-daemonenkuerbissamen]Werft einen scharlachroten Dämonenkürbissamen

You can have 0 to 3 skillbuttons and the order of them on the bar isn´t always the same. So i cant work with "num". Before i use a skill i have to check the availability and find the right skill.

I will take a look to your invaders, maybe i find a solution.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: ?? to use the extended event skill bar

#4 Post by rock5 » Sun Nov 04, 2012 7:42 am

I'm not aware of any other way to identify them except for the icon. You can get their icon using

Code: Select all

icon = GetExtraActionInfo(num)
If you know the icon name you could create a search function that looks like this

Code: Select all

function findbutton(iconname)
    local index = 1
    local icon = RoMScript("GetExtraActionInfo(1)")
    while icon do
        if icon == iconname then
            return index
        end
        index = index + 1
        icon = RoMScript("GetExtraActionInfo("..index..")")
    end
end
Once you have the index you can 'Use' it and check it's cooldown.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

MinMax
Posts: 46
Joined: Mon Dec 21, 2009 6:45 am

Re: ?? to use the extended event skill bar

#5 Post by MinMax » Sun Nov 04, 2012 10:54 am

Thx, that´s good. I think, i can work with this.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: ?? to use the extended event skill bar

#6 Post by rock5 » Sun Nov 04, 2012 2:03 pm

Um... here you go. Started tinkering and came up with a userfunction for you that gets the name and id from memory for the buttons. The command is

Code: Select all

UseExtraActionButton(_indexNameOrId)
It accepts the number of the button, the name or the id.
Attachments
userfunction_extraactionbar.lua
(1.83 KiB) Downloaded 163 times
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest