Jump to content
  • 0

AnnieRuru's Bg emp edit request.


rans

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Hi,

Can i request for edits for AnnieRuru's BG Emp(http://pastebin.com/9S1VsJYJ)  like 
When you die. you will be warp into a small room with healer and a delay before you can join the battle again.

2nd. A 3 layer Barricade to be destroyed before you are able to attack Emperium.
(Destroy 1st barricard> destroy 2nd barricard > destroy 3rd Barricade > emperium)
and this barricade can be only restore when the game is restart or move to next round.

Thank you.

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

bump


Bump

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:  

ok ... ok ... I know

because the script you posted were using very old technique of mine

I have to rewrite the whole script from scratch

[paste=3k6v0lc64gm2] <--- just a rewrite of previous script you posted with newer techniques

now I have to double post after I done your request ... pssshhh....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

ok ... ok ... I know

because the script you posted were using very old technique of mine

I have to rewrite the whole script from scratch

[paste=3k6v0lc64gm2] <--- just a rewrite of previous script you posted with newer techniques

now I have to double post after I done your request ... pssshhh....

Sorry ^_^

Anyway thankyou for your reply. 

I tested the script and work well. but my request was not here :( 

1st. - When you die. you will be warp into a small room with healer and a delay before you can join the battle again.

2nd. - 2nd. A 3 layer Barricade to be destroyed before you are able to attack Emperium.

(Destroy 1st barricard> destroy 2nd barricard > destroy 3rd Barricade > emperium)

and this barricade can be only restore when the game is restart or move to next round.

and also if i could request (optional only hehe if you dont want its okay :) )

 a post of you but i can't understand and don't know how to add this in your BG_EMP script (with bindcmnd - @bgemp @bgleave)

(http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/)

Really appreciate your help :)

Thnx

 

Edited by Ako si Ranz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

bmp

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:  

you need to know ... bumping your topic will not make the script finish faster

it depends how much free time on the author's have,

its not like bumping the topic will suddenly makes me have more free time you know ?

[paste=e6puqfaaqqn]

I can do no.2 and no.3, but this no.1

1st. - When you die. you will be warp into a small room with healer and a delay before you can join the battle again.

where is the small room ?

in bat_a01 there is no small room,

and I'm not a map designer that knows how to edit the map either

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

you need to know ... bumping your topic will not make the script finish faster

it depends how much free time on the author's have,

its not like bumping the topic will suddenly makes me have more free time you know ?

[paste=e6puqfaaqqn]

I can do no.2 and no.3, but this no.1

1st. - When you die. you will be warp into a small room with healer and a delay before you can join the battle again.

where is the small room ?

in bat_a01 there is no small room,

and I'm not a map designer that knows how to edit the map either

 

Hi sorry for that.

Anyway thank you for your script.

 

where is the small room ?

in bat_a01 there is no small room,

and I'm not a map designer that knows how to edit the map either

 

Hi, sorry if my details was incomplete. i was referring to this place

ok1o2s.jpg

There is also Error on your provided Script (e6puqfaaqqn/txt/)

 

[Error]: script:callfunc: function not found! [rand__]
[Debug]: Source (NPC): bg_emp#control (invisible/not on a map)

 

Edited by Ako si Ranz
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:  

Holy sh*t !

I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL

[paste=21hkxlqx2h6a]

EDIT: pls change '.eventlasting = 100;' the value 100 into 20*60

rand__ function is everywhere in this forum

just a simple search and you'll find it

EDIT: nvm ...

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;
}
Edited by AnnieRuru
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Holy sh*t !

I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL

[paste=21hkxlqx2h6a]

rand__ function is everywhere in this forum

just a simple search and you'll find it

EDIT: nvm ...

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;
}

I appreciate your help ^_^ THank you very much

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  187
  • Reputation:   7
  • Joined:  09/04/12
  • Last Seen:  

Holy sh*t !

I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL

[paste=21hkxlqx2h6a]

rand__ function is everywhere in this forum

just a simple search and you'll find it

EDIT: nvm ...

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;
}

When only around 2 mins and it announced "Time Out. Aborting the match.".(No one break the emp.....)

Then all people warped out...

It is this problem??

.eventlasting = 100; // abort the system if there's no progress, 20 mins * seconds

100 seconds??

Edited by Darkpurple
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

 

Holy sh*t !

I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL

[paste=21hkxlqx2h6a]

rand__ function is everywhere in this forum

just a simple search and you'll find it

EDIT: nvm ...

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;
}

When only around 2 mins and it announced "Time Out. Aborting the match.".(No one break the emp.....)

Then all people warped out...

It is this problem??

.eventlasting = 100; // abort the system if there's no progress, 20 mins * seconds

100 seconds??

 

it is 100seconds

try doing it like this

.eventlasting = 20 * 60;

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:  

ahahaha ... sorry about that :X

that value was meant for debugging and forgot to change back haha

yeah change to 20*60

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

NICE!
but I did get error/client crashed and no prize after the event..  guess i need to post new topic!

Edited by kitty14
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Holy sh*t !

I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL

[paste=21hkxlqx2h6a]

EDIT: pls change '.eventlasting = 100;' the value 100 into 20*60

rand__ function is everywhere in this forum

just a simple search and you'll find it

EDIT: nvm ...

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;
}

Hello Annie 

It is not giving any reward for winners and loosers.

http://rathena.org/board/pastebin/21hkxlqx2h6a

there is no error on map-server

im using latest rathena now.

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...