Jump to content
  • 0

Annieruru Custom BG


dhaisuke

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  76
  • Reputation:   2
  • Joined:  06/07/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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 by AnnieRuru
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  76
  • Reputation:   2
  • Joined:  06/07/12
  • Last Seen:  

Yes miss AnnieRuru without source modification hehe.

Thank you very much miss AnnieRuru  /lv

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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 by AnnieRuru
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  76
  • Reputation:   2
  • Joined:  06/07/12
  • Last Seen:  

Aaaaaaaaaaaaaaaaaaaaaaaawesome!  /thx  /thx  /thx

but still they can choose red team and blue team npc
is it possible only 1 npc then for choosing the red and blue team is randomize?
Thank you very much  @Miss AnnieRuru  /thx 




 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  76
  • Reputation:   2
  • Joined:  06/07/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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 script

http://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;
into
callfunc "rand__", $@arenamembersnum, $@rand;
Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

 

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...