Jump to content
  • 0

My Server Events


Scotch

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  118
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

can anyone help me in my problems?

 

My Dice,LMS and RFYL Events have this minor problem the warp portal to connect to the destination of each events show the npc even though its not the time to join those event its always shows in prontera..

 

 

sorry for my bad english..please help me

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  


OnInit:

disablenpc "Event NPC Test";

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  118
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

This is my code 

 
OnInit:
disablenpc "RFYL event";
disablenpc "RFYL npc";
end;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Can you please show us the script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  118
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  


prontera,193,171,6 script RFYL npc 994,{

OnInit:

disablenpc "RFYL event";

disablenpc "RFYL npc";

end;

}

prontera,135,167,5 script RFYL Event 899,{

if(getgmlevel() < 60 ) end;

mes "Hello there GM " + strcharinfo(0) + " !";

next;

set .menu$, select(.gm_menu$);

switch( select ("Open RFYL Event:No Thanks")) {

case 1: // Run For Your Life

next;

mes "I will now create warps, announce, & warp you.";

close2;

warp "g_room1-1",230,368;

Announce "There will be a 'Run For Your Life' Event Held!",bc_all;

sleep2 2500;

enablenpc "RFYL event";

sleep2 2500;

Announce "If you want to join, the warp will be open in Prontera. It will be open for 2 minute!",bc_all;

sleep2 30000;

Announce "You have only 1 minute left to join the event!",bc_all;

sleep2 1000;

initnpctimer;

goto L_Timer;

end;

close;

case 2:

mes "[RFYL Event]";

mes "Come back if you change your mind, See Yah!";

close;

}

L_Timer:

OnTimer00000:

Announce "Timer has started!",bc_all;

end;

OnTimer30000:

Announce "Thirty Seconds Have Passed By!",bc_all;

sleep2 5000;

Announce "Hurry to Prontera if you want to join!",bc_all;

end;

OnTimer40000:

Announce "Twenty seconds left!",bc_all;

end;

OnTimer50000:

Announce "Ten seconds left!",bc_all;

end;

OnTimer55000:

Announce "5!",bc_all;

sleep2 1000;

Announce "4!",bc_all;

sleep2 1000;

Announce "3!",bc_all;

sleep2 1000;

Announce "2!",bc_all;

sleep2 1000;

Announce "1!",bc_all;

sleep2 1000;

Announce "The warp is now closed!",bc_all;

sleep2 1000;

disablenpc "RFYL event";

stopnpctimer;

end;

OnInit:

setarray .gmevents$,"RFYL?";

for ( set .@i, 0; .@i < getarraysize(.gmevents$); set .@i, .@i +1 )

set .gm_menu$, .gm_menu$ + (.gmevents$[.@i]) +":";

disablenpc "RFYL event";

end;

}

prontera,156,171,4 script RFYL event 811,{

mes "[ Run For Your Life Event ]";

mes "Hello, I'm the Run For Your Life Event Manager. My record says that the defending champion on this event was "+$PPEDefendingChampion$+". Anyways, what do you want to do?";

mes " ";

mes "Scripted by: ^777777FlareRO^000000";

next;

menu "Join Event Now",PPE_Join,"Nevermind",PPE_nvm;

PPE_Join:{

if (gethominfo(2) != "null"){

mes "No homunculus is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (getpetinfo(2) != "null"){

mes "No pet is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (checkcart()){

mes "[ Run For Your Life Event ]";

mes "No cart is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (checkfalcon()){

mes "No falcon is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (checkriding()){

mes "No riding is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

mes "[ Run For Your Life Event ]";

mes "Good luck "+strcharinfo(0)+".";

mes " ";

mes "Scripted by: ^777777FlareRO^000000";

close2;

warp "g_room1-1",230,368;

end;

}

PPE_nvm:

mes "[ Run For Your Life Event ]";

mes "Okay. Maybe next time.";

mes " ";

mes "Scripted by: ^777777FlareRO^000000";

close;

}

prontera,193,171,6 script RFYL npc 994,{

OnInit:

disablenpc "RFYL event";

disablenpc "RFYL npc";

end;

}

prontera,135,167,5 script RFYL Event 899,{

if(getgmlevel() < 60 ) end;

mes "Hello there GM " + strcharinfo(0) + " !";

next;

set .menu$, select(.gm_menu$);

switch( select ("Open RFYL Event:No Thanks")) {

case 1: // Run For Your Life

next;

mes "I will now create warps, announce, & warp you.";

close2;

warp "g_room1-1",230,368;

Announce "There will be a 'Run For Your Life' Event Held!",bc_all;

sleep2 2500;

enablenpc "RFYL event";

sleep2 2500;

Announce "If you want to join, the warp will be open in Prontera. It will be open for 2 minute!",bc_all;

sleep2 30000;

Announce "You have only 1 minute left to join the event!",bc_all;

sleep2 1000;

initnpctimer;

goto L_Timer;

end;

close;

case 2:

mes "[RFYL Event]";

mes "Come back if you change your mind, See Yah!";

close;

}

L_Timer:

OnTimer00000:

Announce "Timer has started!",bc_all;

end;

OnTimer30000:

Announce "Thirty Seconds Have Passed By!",bc_all;

sleep2 5000;

Announce "Hurry to Prontera if you want to join!",bc_all;

end;

OnTimer40000:

Announce "Twenty seconds left!",bc_all;

end;

OnTimer50000:

Announce "Ten seconds left!",bc_all;

end;

OnTimer55000:

Announce "5!",bc_all;

sleep2 1000;

Announce "4!",bc_all;

sleep2 1000;

Announce "3!",bc_all;

sleep2 1000;

Announce "2!",bc_all;

sleep2 1000;

Announce "1!",bc_all;

sleep2 1000;

Announce "The warp is now closed!",bc_all;

sleep2 1000;

disablenpc "RFYL event";

stopnpctimer;

end;

OnInit:

setarray .gmevents$,"RFYL?";

for ( set .@i, 0; .@i < getarraysize(.gmevents$); set .@i, .@i +1 )

set .gm_menu$, .gm_menu$ + (.gmevents$[.@i]) +":";

disablenpc "RFYL event";

end;

}

prontera,156,171,4 script RFYL event 811,{

mes "[ Run For Your Life Event ]";

mes "Hello, I'm the Run For Your Life Event Manager. My record says that the defending champion on this event was "+$PPEDefendingChampion$+". Anyways, what do you want to do?";

mes " ";

mes "Scripted by: ^777777FlareRO^000000";

next;

menu "Join Event Now",PPE_Join,"Nevermind",PPE_nvm;

PPE_Join:{

if (gethominfo(2) != "null"){

mes "No homunculus is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (getpetinfo(2) != "null"){

mes "No pet is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (checkcart()){

mes "[ Run For Your Life Event ]";

mes "No cart is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (checkfalcon()){

mes "No falcon is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

if (checkriding()){

mes "No riding is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";

close;

}

mes "[ Run For Your Life Event ]";

mes "Good luck "+strcharinfo(0)+".";

mes " ";

mes "Scripted by: ^777777FlareRO^000000";

close2;

warp "g_room1-1",230,368;

end;

}

PPE_nvm:

mes "[ Run For Your Life Event ]";

mes "Okay. Maybe next time.";

mes " ";

mes "Scripted by: ^777777FlareRO^000000";

close;

}

Edited by Capuche
Please use Code for long content
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Try this;

OnInit:
disablenpc "RFYL Event";
end;
}
 
prontera,135,167,5    script    RFYL Event#GM    899,{
if(getgmlevel() < 60 ) end;
mes "Hello there GM " + strcharinfo(0) + " !";
next;
set .menu$, select(.gm_menu$);
switch( select ("Open RFYL Event:No Thanks")) {
        case 1: // Run For Your Life
                next;
                mes "I will now create warps, announce, & warp you.";
                close2;
                warp "g_room1-1",230,368;
                Announce "There will be a 'Run For Your Life' Event Held!",bc_all;
                sleep2 2500;
                enablenpc "RFYL Event";
                sleep2 2500;
                Announce "If you want to join, the warp will be open in Prontera. It will be open for 2 minute!",bc_all;
                sleep2 30000;
                Announce "You have only 1 minute left to join the event!",bc_all;
                sleep2 1000;
                initnpctimer;
                goto L_Timer;
                end;
                close;
 
        case 2:
                mes "[RFYL Event]";
                mes "Come back if you change your mind, See Yah!";
                close;
        }
L_Timer:
    OnTimer00000:
        Announce "Timer has started!",bc_all;
        end;
        
    OnTimer30000:
        Announce "Thirty Seconds Have Passed By!",bc_all;
        sleep2 5000;
        Announce "Hurry to Prontera if you want to join!",bc_all;
        end;
                            
    OnTimer40000:
        Announce "Twenty seconds left!",bc_all;
        end;
                            
    OnTimer50000:
        Announce "Ten seconds left!",bc_all;
        end;
                            
    OnTimer55000:
        Announce "5!",bc_all;
        sleep2 1000;
        Announce "4!",bc_all;
        sleep2 1000;
        Announce "3!",bc_all;
        sleep2 1000;
        Announce "2!",bc_all;
        sleep2 1000;
        Announce "1!",bc_all;
        sleep2 1000;
        Announce "The warp is now closed!",bc_all;
        sleep2 1000;
        disablenpc "RFYL Event";
        stopnpctimer;
        end;
        
OnInit:
    setarray .gmevents$,"RFYL?";
    for ( set .@i, 0; .@i < getarraysize(.gmevents$); set .@i, .@i +1 )
    set .gm_menu$, .gm_menu$ + (.gmevents$[.@i]) +":";
    disablenpc "RFYL Event";
    end;
}
 
prontera,156,171,4    script    RFYL Event    811,{
 
    mes "[ Run For Your Life Event ]";
    mes "Hello, I'm the Run For Your Life Event Manager. My record says that the defending champion on this event was "+$PPEDefendingChampion$+". Anyways, what do you want to do?";
    mes " ";
    mes "Scripted by: ^777777FlareRO^000000";
    next;
    menu "Join Event Now",PPE_Join,"Nevermind",PPE_nvm;
 
PPE_Join:{
            if (gethominfo(2) != "null"){
                mes "No homunculus is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";
                close;
            }
            if (getpetinfo(2) != "null"){
                mes "No pet is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";
                close;
            }
            if (checkcart()){
                mes "[ Run For Your Life Event ]";
                mes "No cart is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";
                close;
            }
            if (checkfalcon()){
                mes "No falcon is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";
                close;
            }
            if (checkriding()){
                mes "No riding is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";
                close;
            }
            mes "[ Run For Your Life Event ]";
            mes "Good luck "+strcharinfo(0)+".";
            mes " ";
            mes "Scripted by: ^777777FlareRO^000000";
            close2;
            warp "g_room1-1",230,368;
 
            end;
        }
 
    PPE_nvm:
        mes "[ Run For Your Life Event ]";
        mes "Okay. Maybe next time.";
        mes " ";
        mes "Scripted by: ^777777FlareRO^000000";
        close;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  118
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

ok sir wait..how to use that? that with a select txt?



i also the same problems with my dice,LMS and poring catcher

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Just try it first then tell me if there's still an errors.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  118
  • Reputation:   0
  • Joined:  09/19/12
  • Last Seen:  

yes still have error...the RFYL Npc and RFYL warper not showing anymore

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