topic says, just 1 npc which warps random into the bg, something like this i found:
//Conquest Randomizer
bat_room,135,175,4 script Conquest I::ConR_Random 466,{
end;
OnInit:
waitingroom "Conquest",1,"ConR_RANDOM::OnDoB_CONQ",1;
end;
}
- script ConR_RANDOM -1,{
OnDoB_CONQ:
if( $@Conquest == 1 ) {
//
set .@Guillaume, bg_get_data($@Conquest_id1, 0);
set .@Croix, bg_get_data($@Conquest_id2, 0);
if( .@Guillaume < .@Croix )
waitingroom2bg_single $@Conquest_id1,.Castle$,.GX,.GY,"ConR_Random";
else if( .@Guillaume > .@Croix )
waitingroom2bg_single $@Conquest_id2,.Castle$,.CX,.CY,"ConR_Random";
else
{
set .@GuillaumeR, getwaitingroomstate(0,"ConR_Random");
set .@CroixR, getwaitingroomstate(0,"ConR_Random");
if( .@GuillaumeR <= .@CroixR )
set .@Limit, .@GuillaumeR;
else
set .@Limit, .@CroixR;
if( .@Limit + .@Guillaume > 50 )
set .@Limit, 50 - .@Guillaume;
if( .@Limit <= 0 ) end;
for( set .@i, 0; .@i < .@Limit; set .@i, .@i + 1 )
{
waitingroom2bg_single $@Conquest_id1,.Castle$,.GX,.GY,"ConR_Random";
waitingroom2bg_single $@Conquest_id2,.Castle$,.CX,.CY,"ConR_Random";
}
set .@Guillaume, .@Guillaume + .@Limit;
set .@Croix, .@Croix + .@Limit;
mapannounce "bat_room","Battleground -- Conquest [80-99] G: " + .@Guillaume + "/50, C: " + .@Croix + "/50 (Playing)",1,0xFFA500;
}
end;
}
}
but its not working on rathena, nothing happens if i enter the waitingroom.