Scotch Posted May 3, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 118 Reputation: 0 Joined: 09/19/12 Last Seen: April 2, 2016 Share Posted May 3, 2013 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 Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 3, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 3, 2013 OnInit: disablenpc "Event NPC Test"; end; } Quote Link to comment Share on other sites More sharing options...
Scotch Posted May 3, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 118 Reputation: 0 Joined: 09/19/12 Last Seen: April 2, 2016 Author Share Posted May 3, 2013 This is my code OnInit: disablenpc "RFYL event"; disablenpc "RFYL npc"; end; Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 3, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 3, 2013 Can you please show us the script? Quote Link to comment Share on other sites More sharing options...
Scotch Posted May 3, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 118 Reputation: 0 Joined: 09/19/12 Last Seen: April 2, 2016 Author Share Posted May 3, 2013 (edited) 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 May 3, 2013 by Capuche Please use Code for long content Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 3, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 3, 2013 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; } Quote Link to comment Share on other sites More sharing options...
Scotch Posted May 3, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 118 Reputation: 0 Joined: 09/19/12 Last Seen: April 2, 2016 Author Share Posted May 3, 2013 ok sir wait..how to use that? that with a select txt? i also the same problems with my dice,LMS and poring catcher Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 3, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 3, 2013 Just try it first then tell me if there's still an errors. Quote Link to comment Share on other sites More sharing options...
Scotch Posted May 4, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 118 Reputation: 0 Joined: 09/19/12 Last Seen: April 2, 2016 Author Share Posted May 4, 2013 yes still have error...the RFYL Npc and RFYL warper not showing anymore Quote Link to comment Share on other sites More sharing options...
Question
Scotch
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.