Jump to content
  • 0

Script Conversion


Light

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  49
  • Reputation:   1
  • Joined:  12/09/12
  • Last Seen:  

Good day rAthena users.

 

 

I would liike to request of conversion of this script into 3ceam? I would appreciate it. 

prontera,155,181,5	script	Sample	757,{
mes "Enter Gold Room?";
if( select( "Yes","cancel" ) == 1 ){
	warp .map$,0,0;
}
close;

OnMobKill:
.@party_id = getcharid(1);
if( !.@party_id ){
	.@gain_gold = 1;
}else{
	
	.@aid = getcharid(3);
	getpartymember .@party_id;
	getpartymember .@party_id,2;
	.@gain_gold = ( ( $@partymembercount > 5 )? 5:$@partymembercount );
	for( .@i = 0; .@i < $@partymembercount; .@i++ )
		if( $@partymemberaid[.@i] != .@aid && isloggedin( $@partymemberaid[.@i] ) ){
			getmapxy( .@map$,.@x,.@y,0,$@partymembername$[.@i] );
			if( .@map$ == .map$ )
				getitem 969,1,$@partymemberaid[.@i];
		}
}
getitem 969,.@gain_gold;
end;

OnInit:
.map$ = "guild_vs5";
end;
}

guild_vs5,0,0	monster	Poring	1002,100,0,0,"Sample::OnMobKill"

Thanks in advance! :3

Edited by Eucliwood Hellscythe
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  49
  • Reputation:   1
  • Joined:  12/09/12
  • Last Seen:  

Almost forgot...
 
"OnMobKill:
.@party_id = getcharid(1);"

 

This line says its undeclared fnction. Anyone mind to fix? :( Its been a headache

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