//===== rAthena Script =======================================
//=HouseWarper
//===== By ===================================================
//= AnnieRuru
//===== Version ==============================================
//= 0.1
//===== Compatible With ======================================
//= rAthena
//===== Description ==========================================
//=
//===== Comments =============================================
//=
//============================================================
new_1-4,130,178,6 script GuildBaseWarper 777,{
.@npcname$ = strnpcinfo(1);
mes .@npcname$;
mes "Hi "+strcharinfo(0)+",";
mes "Do you want to go in your Guild Base?";
next;
if ( select( "guild 1's Base", "guild2's Base", "No" ) == 3 ) close;
.@s = @menu;
mes .@npcname$;
mes "Hi "+strcharinfo(0)+",";
mes "Please enter your guild password";
next;
if ( input( .@tmp$, 2, 70 ) ) close;
if ( .@tmp$ != .password$[.@s] ) {
mes .@npcname$;
mes "Invalid password. Try again.";
close;
}
announce strcharinfo(0) +": "+ strcharinfo(0), 0; // LOL ? I'm just replicating -> atcommand "@broadcast "+strcharinfo(0);
warp getd( ".guildbase"+ .@s +"$[0]" ), atoi( getd( ".guildbase"+ .@s +"$[1]" ) ), atoi( getd( ".guildbase"+ .@s +"$[2]" ) );
close;
OnInit:
setarray .password$[1], "1234", "4321";
setarray .guildbase1$, "lou_fild01", "180", "180";
setarray .guildbase2$, "lou_fild01", "180", "180" ;
end;
}
can i make the 2 maps be different from others if they are warp in with different password?
for exmple a member in guild1 enter the password for guild1's base and be warped in lou_fild01 180 180 while the member from guild2 enter the password for guild2's base be warp in lou_fild01 180 180 but they will not meet in the same place.. the npc will just be copied but not the players..
>>>> if 3 members insert a password in guild1's base they will meet in lou_fild01 same with the members from guild2's base but the members from guild1 and guild2 will not meet even they are in the same map...
Question
Erba
can i make the 2 maps be different from others if they are warp in with different password?
for exmple a member in guild1 enter the password for guild1's base and be warped in lou_fild01 180 180 while the member from guild2 enter the password for guild2's base be warp in lou_fild01 180 180 but they will not meet in the same place.. the npc will just be copied but not the players..
>>>> if 3 members insert a password in guild1's base they will meet in lou_fild01 same with the members from guild2's base but the members from guild1 and guild2 will not meet even they are in the same map...
^^ help if my imagination can be done!
thanks in advance
Link to comment
Share on other sites
4 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.