Join Battlefield

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Join Battlefield

#1 Post by Ego95 »

Hi,
I was looking on theromwiki how to join a specific pvp arena but I didn't find anything about this. I found the OnClick_EnterBattleGround but there isn't a maco to use this. Is there a possibility to find out the macro command or is it really just guessing?

Edit: What I found out is

Code: Select all

/script JoinQueueButtonWithPersonal_OnClick()
is to Join the Queue, but he always joins the queue you clicked the last time, so no specific battlefield

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

Re: Join Battlefield

#2 Post by rock5 »

Well that function eventually, afte a few checks, executes this command

Code: Select all

JoinBattleGround(BATTLE_GROUND_COLUMN_LIST[BG_SELECT_COLUMN_NUM])
I'm not sure what that means but it looks like BG_SELECT_COLUMN_NUM needs to be a value between 1 and 8. So whatever the 1 to 8 means you would call it like

Code: Select all

JoinBattleGround(BATTLE_GROUND_COLUMN_LIST[1])
Here is the whole battlegroundqueueframe.lua file. You might be able to find some interesting functions to try out.
Attachments
battlegroundqueueframe.lua
(18.15 KiB) Downloaded 215 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
User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: Join Battlefield

#3 Post by Ego95 »

Thanks rock, but before I'm going to try this I would like to know where you got this. Is it out of the Runes of Magic folder? :D
Or are you just a magician? :D
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Join Battlefield

#4 Post by rock5 »

Look, nothing up my sleeves. Now, abracadabra. Here's your answer. :D

There are a couple of tools here.
http://www.solarstrike.net/phpBB3/viewt ... 258#p22258

One of them is for extracting files from the fdb files in the fdb folder. There's one folder I always extract from the latest version that has most of the lua code associated with frames in the game. That's "interface/worldxml". Quite often when I'm looking for a function on the romwiki function list and it doesn't have an entry for a function, I'll search for it in here and see how it's used. Or if I'm trying to bot a new frame I'll look at the function associated with it here. For instance I remember looking in here to see how the itemshop worked when I made the buyfromitemshop userfunction.
  • 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
User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: Join Battlefield

#5 Post by Ego95 »

Okay, FDB extrator like I thought. I just used it to edit the models :D
dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: Join Battlefield

#6 Post by dr-nuker »

It's an old topic, but still:

To complete a script i'm still looking for a method to join 1vs1 arena...

any progress here?
The give snippets are too confusing for me...

br,
nuker

edit:
Please, just ignore me! I've had i typo...
dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: Join Battlefield

#7 Post by dr-nuker »

Okay,

now unignore me. Sorry...

So i manage to join the arena by number but it seems to rotate, so is there a way to join by name?

And is there a function to press the Leave Battlefield after the fight is over?

Thanks!
dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: Join Battlefield

#8 Post by dr-nuker »

dr-nuker wrote:Okay,

now unignore me. Sorry...

So i manage to join the arena by number but it seems to rotate, so is there a way to join by name?

And is there a function to press the Leave Battlefield after the fight is over?

Thanks!
no ideas?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Join Battlefield

#9 Post by rock5 »

If no one has answered by now it probably means no one knows or no one wants to answer. I myself have never done arena and don't even know how.
  • 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
dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: Join Battlefield

#10 Post by dr-nuker »

rock5 wrote:If no one has answered by now it probably means no one knows or no one wants to answer. I myself have never done arena and don't even know how.
As I found out it's sometimes worth to dig out old posts because someone else had the same problem and found a sharable solution by now.

This is still a missing part for the new title system quests, otherwise i would not bother to do arena, too.
Post Reply