Jump to content
  • 0
Sign in to follow this  
minx123

soa instance help

Question

prontera,160,178,5	script	debug	1_F_MARIA,{	$floorclear = 0;	dispbottom "reset";}prontera,156,178,5	script	SAO??NO	1_F_MARIA,{	mes "No. of stage beaten : "+( $floorclear +1 == .totalfloor ? "ALL" : $floorclear +" stage" );	mes "Which floor do you want to challenge ?";	next;	for ( .@i = 0; .@i <= $floorclear; .@i++ )		.@menu$ = .@menu$ +"Floor No. "+( .@i +1 )+":";	.@s = select( .@menu$ );	if ( has_instance2("guild_vs2") >= 0 )		instance_destroy has_instance2("guild_vs2");	if ( ( .@ins = instance_create( "Challenge Floor No."+ .@s, getcharid(3), IOT_CHAR ) ) < 0 ) {		mes "error : "+ .@ins;		close;	}	if ( !getstrlen( instance_attachmap( "guild_vs2", .@ins, 1, ( getcharid(3) - 2000000 )+"SAO"+ .@s ) ) ) {		mes "error : 5";		instance_destroy .@ins;		close;	}	instance_set_timeout 3600, 15, .@ins; // 1 hour to kill, 15 seconds to destroy	instance_attach .@ins;	'floor = .@s;	instance_init .@ins;	warp ( getcharid(3) - 2000000 )+"SAO"+ .@s, 50,50;	end;OnInit:	setarray .floor,		OSIRIS, // 1st floor		BAPHOMET, // 2nd floor		DOPPELGANGER; // 3rd floor	.totalfloor = getarraysize(.floor);	end;}guild_vs2,50,50,5	script	portal	WARPNPC,2,2,{	if ( 'floor == getvariableofnpc( .totalfloor, "SAO??NO" ) ) {		mes "no more";		close2;		warp "Save", 0,0;		instance_destroy has_instance( "guild_vs2" );		end;	}	if ( 'floor > $floorclear ) {		announce "[SAO Instance???] Floor No. "+ 'floor +" has open !", bc_all;		$floorclear = 'floor;	}	.@floor = 'floor +1;	instance_destroy has_instance( "guild_vs2" );	if ( ( .@ins = instance_create( "Challenge Floor No."+ .@floor, getcharid(3), IOT_CHAR ) ) < 0 ) {		mes "error : "+ .@ins;		close;	}	if ( !getstrlen( instance_attachmap( "guild_vs2", .@ins, 1, ( getcharid(3) - 2000000 )+"SAO"+ .@floor ) ) ) {		mes "error : 5";		warp "Save", 0,0;		instance_destroy .@ins;		close;	}	instance_set_timeout 3600, 15, .@ins; // 1 hour to kill, 15 seconds to destroy	instance_attach .@ins;	'floor = .@floor;	instance_init .@ins;	warp ( getcharid(3) - 2000000 )+"SAO"+ .@floor, 50,50;	end;OnInstanceInit:	monster strnpcinfo(4), 50,50, "--ja--", getelementofarray( getvariableofnpc( .floor, "SAO??NO" ), 'floor -1 ), 1, instance_npcname( strnpcinfo(0) )+"::OnFloorBossDead";	hideonnpc instance_npcname( strnpcinfo(0) );	end;OnFloorBossDead:	announce "Floor No. "+( 'floor )+" cleared ! Select an item from the drop list as your reward.", bc_map;	mes "Select an item for your reward";	next;	getmobdrops getelementofarray( getvariableofnpc( .floor, "SAO??NO" ), 'floor -1 );	for ( .@i = 0; .@i < $@MobDrop_count -1; .@i++ )		.@menu$ = .@menu$ + getitemname( $@MobDrop_item[.@i] ) +" - "+ $@MobDrop_rate[.@i] / 100 +"."+ $@MobDrop_rate[.@i] % 100 +"%:";	copyarray .@itemid, $@MobDrop_item, $@MobDrop_count -1;	.@s = select( .@menu$ ) -1;	getitem .@itemid[.@s], 1;	hideoffnpc instance_npcname( strnpcinfo(0) );	close;}

hello i need some help me..

1- how to make it has delay? player will need to wait 10 minutes before can join again this room?

2- how to make it party only?

3- set monster base on ID not name

4- extra reward when finish all stage.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

ROFL, that script I wrote for fun, and you somehow dig it out LOL

 

actually I already have a mvp ladder script which made for rathena

http://herc.ws/board/topic/10903-mvp-ladder-game-problem/

but its currently bug in hercules

https://github.com/HerculesWS/Hercules/issues/840

once Haru fixed the Hp=1 when dead bug, then that script can use in Hercules

Share this post


Link to post
Share on other sites
  • 0

ROFL, that script I wrote for fun, and you somehow dig it out LOLactually I already have a mvp ladder script which made for rathenahttp://herc.ws/board/topic/10903-mvp-ladder-game-problem/but its currently bug in herculeshttps://github.com/HerculesWS/Hercules/issues/840once Haru fixed the Hp=1 when dead bug, then that script can use in Hercules

Thx for reply.. I dig it coz it somehow nice.. Just need some adjust on script.. I already try running in my server.. Its seem bug only but still useful. I just need change something in script. Hehehe

Share this post


Link to post
Share on other sites
  • 0

ehehe ... ehehehehe ...... ehehehehehehehehe ......

hehehehe .....

... I just kept laughing for past few hours ...

 

1 of my customer just show me a link to the topic in my signature

I'm going to write this for free in public ...

 

if nothing disturb me, I can finish this in 3 days ....

 

EDIT: I am already drooling right now ... omg ... I can't stop thinking about it ...

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

ehehe ... ehehehehe ...... ehehehehehehehehe ......

hehehehe .....

... I just kept laughing for past few hours ...

 

1 of my customer just show me a link to the topic in my signature

I'm going to write this for free in public ...

 

if nothing disturb me, I can finish this in 3 days ....

 

EDIT: I am already drooling right now ... omg ... I can't stop thinking about it ...

wow.. thank so lot @@AnnieRuru :wub: :wub: :wub: :wub:

cant wait the script.. hahaha

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.