Jump to content

Modification to allow 1 player in BG


Recommended Posts

Posted

Here is the code to allow a single player on the realm to access the battle grounds:

Battleground.h

//Set the minimum number of players to 0 to allow 1 player into the battle ground

void SetMinPlayers(uint32 MinPlayers) { m_MinPlayers = MinPlayers=0;}//; }

Modify the SetMinPlayers in Battleground.h file as shown above and a single player can enter all of the battle grounds.

Admiditlly there is little to gain from this other than getting the credits for the BG but it is kind of fun.

Posted
Here is the code to allow a single player on the realm to access the battle grounds:

Battleground.h

//Set the minimum number of players to 0 to allow 1 player into the battle ground

void SetMinPlayers(uint32 MinPlayers) { m_MinPlayers = MinPlayers=0;}//; }

Modify the SetMinPlayers in Battleground.h file as shown above and a single player can enter all of the battle grounds.

Admiditlly there is little to gain from this other than getting the credits for the BG but it is kind of fun.

There is allready a command

.debug bg

Toggle debug mode for battlegrounds. In debug mode GM can start battleground with single player.

Posted
If u want it for everyone u can change the "minplayersperteam" entry in the "battleground_template" table :)

Thanks, didn't know that exisited. I havent looked at it that closely in a long time.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use