[REQUEST] Arathi Basin

Hello guys !

I want to know how to make Arathi Basin and Eye of the Storm for level 19.

I tried to change value in my battleground_template but it’s not working. I think there is something to do in C++ files but i don’t know what i am suppose to change.

Is there someone know how to patch this ?

Thank you very much !

Sincerely,

Max

UPDATE battleground_template SET MinLvl = 19 WHERE id = 3;
That’d do it. Also have to restart the worldserver to make it work.

I tried to change value in my battleground_template but it’s not working.

Already done. I restart the server but nothing change. I only have access to Warsong Gulch :confused:

Very likely client limitation.

This is what i think, but before, when there was NPC for Battleground ;UPDATE battleground_template SET MinLvl = 19 WHERE id = 3; worked but now, there is no more NPC for each battleground. Since that, i think we cannot change level for BG anymore …

If someone have a solution, in C++ ( no client modification ), i will take it !

Thank you,

Sincerely,

Max

You can write a command that will send the battleground queue enter-er thingy despite client limitations (Aokromes is right, there is a client limitation in the normal queue system)

Something like this should do the trick:

class arathi_queue : public CommandScript
{
public:
arathi_queue() : CommandScript("arathi_queue") { }


static bool HandlearathiCommand(ChatHandler* handler, const char* /*args*/)
{
BattlegroundTypeId bgTypeId = BATTLEGROUND_AB;
handler->GetSession()->SendBattleGroundList(handler->GetSession()->GetPlayer()->GetGUID(), bgTypeId);
return true;
}


ChatCommand* GetCommands() const
{
static ChatCommand arathi_queue[] =
{
{ "arathi", SEC_PLAYER, false, &HandlearathiCommand, "", NULL },
{ NULL, SEC_PLAYER, false, NULL, "", NULL }


};
return arathi_queue;
}
};


void AddSC_arathi_queue()
{
new arathi_queue();
}

The command .arathi should now send players a queue interface for arathi basin.
This code should hold up, I kind of pieced it together in notepad so excuse my terrible formatting.