In quest 17.2, if you talk to Crux, to take you to the last room, it may happen that you leave without talking to the last npc, and you can't go back in.
Original Code:
ba_in01,37,138,0 script #ep172_main_evt03 HIDDEN_WARP_NPC,2,2,{
end;
OnTouch:
if (ep17_2_main == 34)
cloakoffnpcself( "Crux#ep172_clx01" );
end;
}
ba_in01,48,146,3 script(CLOAKED) Crux#ep172_clx01 4_EP16_CRUX,{
if (ep17_2_main == 34) {
cutin "ep16_crux_findel02",2;
mes "[Crux]";
mes "It's cozy and nice here.";
mes "There is also a beautiful rest area in the main house of the Nerius family.";
mes "When we're off duty, we usually play dice together.";
next;
mes "[Crux]";
mes "Well, shall we leave now?";
next;
if (select( "Let's go right now.", "Let's go a bit later." ) == 2) {
mes "[Crux]";
mes "I'll wait for you.";
close3;
}
mes "[Crux]";
mes "Then, let us go.";
close2;
cutin "",255;
cloakonnpcself();
warp "prt_cas",138,342;
end;
}
end;
}
This problem can be easily solved.
I leave the repaired code in case you want to rectify it in the rAthena git.
Rectified code:
ba_in01,37,138,0 script #ep172_main_evt03 HIDDEN_WARP_NPC,2,2,{
end;
OnTouch:
if ((ep17_2_main == 34) || (ep17_2_main == 35))
cloakoffnpcself( "Crux#ep172_clx01" );
end;
}
ba_in01,48,146,3 script(CLOAKED) Crux#ep172_clx01 4_EP16_CRUX,{
if ((ep17_2_main == 34) || (ep17_2_main == 35)) {
cutin "ep16_crux_findel02",2;
mes "[Crux]";
mes "It's cozy and nice here.";
mes "There is also a beautiful rest area in the main house of the Nerius family.";
mes "When we're off duty, we usually play dice together.";
next;
mes "[Crux]";
mes "Well, shall we leave now?";
next;
if (select( "Let's go right now.", "Let's go a bit later." ) == 2) {
mes "[Crux]";
mes "I'll wait for you.";
close3;
}
mes "[Crux]";
mes "Then, let us go.";
close2;
cutin "",255;
cloakonnpcself();
warp "prt_cas",138,342;
end;
}
end;
}
I hope it works for you.
And it can be added to the source code to avoid future errors to users.
Thank you.
Question
Ichigo HikariRO
Hello.
In quest 17.2, if you talk to Crux, to take you to the last room, it may happen that you leave without talking to the last npc, and you can't go back in.
Original Code:
This problem can be easily solved.
I leave the repaired code in case you want to rectify it in the rAthena git.
Rectified code:
I hope it works for you.
And it can be added to the source code to avoid future errors to users.
Thank you.
Link to comment
Share on other sites
1 answer 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.