dhaisuke Posted January 13, 2014 Posted January 13, 2014 Hi Miss AnnieRuru what I want is• automatically announce for evey 2 hrs• They need to register in npc in 5 minutes• after 5 minutes if the team is not equal the game will still startsorry for my bad english Quote
AnnieRuru Posted January 13, 2014 Posted January 13, 2014 (edited) just to be sure, do you want the team creation to be randomize ? I can also make this script runs only 1 waitingroom, then randomize the team creation player couldn't able to decide to go into which team, the script randomize that Edited January 15, 2014 by AnnieRuru 1 Quote
dhaisuke Posted January 13, 2014 Author Posted January 13, 2014 Yes miss AnnieRuru without source modification hehe.Thank you very much miss AnnieRuru Quote
Patskie Posted January 13, 2014 Posted January 13, 2014 Split topic : http://rathena.org/board/topic/90734-annieruru-custom-bg/ 1 Quote
AnnieRuru Posted January 13, 2014 Posted January 13, 2014 (edited) try this EDIT: fixed the 5 minute to join inside config [paste=29oz1mkt0846] I've also included the GM can manually on/off the event, well ... I did it because of debug purpose =/ Edited January 13, 2014 by AnnieRuru 1 Quote
dhaisuke Posted January 14, 2014 Author Posted January 14, 2014 Aaaaaaaaaaaaaaaaaaaaaaaawesome! but still they can choose red team and blue team npcis it possible only 1 npc then for choosing the red and blue team is randomize?Thank you very much @Miss AnnieRuru Quote
dhaisuke Posted February 21, 2014 Author Posted February 21, 2014 Hi Miss AnnieRuru how to make only 1 npc and randomize change the team red or blue? because some if my player abusing it they only go for 1 color Quote
AnnieRuru Posted February 22, 2014 Posted February 22, 2014 (edited) source modification http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/ shuffle algorithm function script rand__ { .@range = getarg(0); .@count = getarg(2, 0); if ( !.@count || .@count > .@range ) .@count = .@range; else if ( .@count > 128 ) .@count = 128; while ( .@i < .@count ) { .@r = .@save = rand( .@i, .@range -1 ) ; if ( !getd( ".@tmp1_"+ .@i ) ) { .@r = ( getd(".@tmp1_"+ .@r ) )? getd( ".@tmp2_"+ .@r ) : .@r; setd ".@tmp2_"+ .@i, .@r; setd ".@tmp2_"+ .@save , .@i; setd ".@tmp1_"+ .@save , 1; set getelementofarray( getarg(1), .@i ), .@r; if ( .@save < .@count ) set getelementofarray( getarg(1), .@save ), .@i; } .@i++; } return .@count; }and the scripthttp://rathena.org/board/pastebin/7a7lip0krpeq/ though next time, better PM me on hercules forum because I seldom visit this forum already EDIT: please change line 77 callfunc "rand__", .minplayer2start, $@rand;intocallfunc "rand__", $@arenamembersnum, $@rand; Edited February 23, 2014 by AnnieRuru Quote
Erba Posted April 22, 2014 Posted April 22, 2014 http://rathena.org/board/pastebin/7a7lip0krpeq/ Mam annie how can i make this script to be bg_emp? cause the one i am using right now is your bg_emp_0.3 and it doesnt broadcast when someone entered the waitingroom and doesnt give reward to losing team Quote
Question
dhaisuke
Hi Miss AnnieRuru what I want is
• automatically announce for evey 2 hrs
• They need to register in npc in 5 minutes
• after 5 minutes if the team is not equal the game will still start
sorry for my bad english
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.