Page 1 of 1
Join Battlefield
Posted: Mon Feb 11, 2013 11:11 am
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
Re: Join Battlefield
Posted: Mon Feb 11, 2013 11:40 am
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.
Re: Join Battlefield
Posted: Mon Feb 11, 2013 11:43 am
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?

Or are you just a magician?

Re: Join Battlefield
Posted: Mon Feb 11, 2013 12:52 pm
by rock5
Look, nothing up my sleeves. Now, abracadabra. Here's your answer.
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.
Re: Join Battlefield
Posted: Mon Feb 11, 2013 1:36 pm
by Ego95
Okay, FDB extrator like I thought. I just used it to edit the models

Re: Join Battlefield
Posted: Sat Jul 13, 2013 3:13 pm
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...
Re: Join Battlefield
Posted: Sat Aug 17, 2013 11:04 am
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!
Re: Join Battlefield
Posted: Mon Aug 26, 2013 12:19 pm
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?
Re: Join Battlefield
Posted: Mon Aug 26, 2013 1:25 pm
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.
Re: Join Battlefield
Posted: Wed Aug 28, 2013 5:18 pm
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.