dhaisuke Posted January 13, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 76 Reputation: 2 Joined: 06/07/12 Last Seen: May 6, 2020 Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 13, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
dhaisuke Posted January 13, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 76 Reputation: 2 Joined: 06/07/12 Last Seen: May 6, 2020 Author Share Posted January 13, 2014 Yes miss AnnieRuru without source modification hehe.Thank you very much miss AnnieRuru Quote Link to comment Share on other sites More sharing options...
Patskie Posted January 13, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: November 10, 2024 Share Posted January 13, 2014 Split topic : http://rathena.org/board/topic/90734-annieruru-custom-bg/ 1 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 13, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
dhaisuke Posted January 14, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 76 Reputation: 2 Joined: 06/07/12 Last Seen: May 6, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
dhaisuke Posted February 21, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 76 Reputation: 2 Joined: 06/07/12 Last Seen: May 6, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted February 22, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Erba Posted April 22, 2014 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.