when you talk about bg_queue
it should be this
so note, this battleground system runs real time
the queue is process behind npc script, so there is nothing we can do when somebody starts registering
the script function only start to execute when the queue is full
go to confbattleground.conf
/* feature is not complete */ feature_off: falsechange to false, then find KVM (lvl80+), replace with this
Code:
},{ name: "KVM (Level 80 and up)" //must match the name in client files event: "bg_pvp::OnStart" minLevel: 1 maxLevel: 150 reward: { // useless ! should be done by npc scripting win: 0 loss: 0 draw: 0 } minPlayers: 2 /* minimum amount of players to start */ maxPlayers: 30 /* maximum amount of players. NOTE: I wonder why they set to 60 when MAX_BG_MEMBERS is only 30 */ minTeamPlayers: 999 /* can I off this ? this one is bugged */ delay_var: "BG_PVP_Tick" /* char variable name that will store the delay for this match */ maxDuration: 1 /* maximum duration in minutes ... this one also bugged */ fillDuration: 20 /* time in seconds to wait for more applications when minimum has been reached */ pGameDuration: 20 /* time to wait for players to confirm their attendence after queueing process has finished */ },{
npc script
http://upaste.me/d66e107963faa3a04
oh and my source modification of course
http://herc.ws/board/topic/4570-battleground-system-without-waitingroom/
so how to make this work
1st, click on the [battle] button just below your character info
2nd, select "KVM (Level 80 and up)", then click individual
3rd, dual client another character, then do the same
4th, go back the 1st character, this window should pop up on 1st character, click [Close]
5th wait about 20 seconds, this window should pop up on both characters, both characters click [OK]
.... the rest self-explain, read the script yourself
to announce that the battleground started,
find OnStart: label, add the announcement below by yourself
EDIT:
for those who are testing right now, yes, now you know how bug the system is