I've succesfully activated the Disguise event that comes with rAthena svn. I have made some small modifications such as new reward ID etc.
Then I changed its place to somewhere else. Nothing was wrong with it. After that, I realized the it broadcasts 2 Warnings too fast. I just used "sleep" between the broadcasts. Now when I click to turn the event ON, no "next" / "close" buttons appear. I tried to remove "sleep" command but nothing changed.
EDIT: I mean I can start the event well, just I can't exit from the conversation.
Screenshot:
Beginning of the script:
prontera,198,162,3 script Disguise Event 795,{
// Currently set to run every two hours.
// To change times, edit the OnClock labels below.
set .@GMLevel,60; // GM level required to access NPC.
set .@n$,"[^0000FFDisguise NPC^000000]";
if (getgmlevel()>=.@GMLevel) {
mes .@n$;
mes "Select an option.";
next;
switch(select("Turn ON/OFF Event:Event Settings")) {
case 1:
mes .@n$;
if (.EventON) {
mes "The Event is currently: [^0000FFON^000000]";
mes "Would you like to turn it OFF?";
} else {
mes "The Event is currently: [^FF0000OFF^000000]";
mes "Would you like to turn it ON?";
}
if(select("Yes:No")==2) close;
if (.EventON) {
set .EventON,0; set .Timer,0;
setnpctimer 0; stopnpctimer;
announce "A GM has decided to turn the Disguise Event off. As a result no further prizes will be given.",bc_map | bc_blue;
deletepset 1;
setnpcdisplay "Disguise Event",795;
close;
}
set .EventON,1; set .Timer,1; setnpctimer 0; initnpctimer;
set .ResetCounter,.ResetCounter+1;
announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue;
sleep 2500;
announce "The Event is being held in Prontera,198,162.",bc_all | bc_blue;
close;
Question
Orgasmator
Hi all,
I've succesfully activated the Disguise event that comes with rAthena svn. I have made some small modifications such as new reward ID etc.
Then I changed its place to somewhere else. Nothing was wrong with it. After that, I realized the it broadcasts 2 Warnings too fast. I just used "sleep" between the broadcasts. Now when I click to turn the event ON, no "next" / "close" buttons appear. I tried to remove "sleep" command but nothing changed.
EDIT: I mean I can start the event well, just I can't exit from the conversation.
Screenshot:
Beginning of the script:
Edited by OrgasmatorLink to comment
Share on other sites
3 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.