AngelaKiss Posted December 10, 2017 Posted December 10, 2017 hello im looking for any last man standing working with pre room of the event....thank you Quote
0 Start_ Posted December 10, 2017 Posted December 10, 2017 Try this but It's Thai language. https://goo.gl/Yvdmyw Quote
0 AngelaKiss Posted December 10, 2017 Author Posted December 10, 2017 6 hours ago, TARTs said: Try this but It's Thai language. https://goo.gl/Yvdmyw Sorry but i dont understand anything and im looking for something simple, not all that custom Quote
0 Cyro Posted December 11, 2017 Posted December 11, 2017 - script LMS#disable -1,{ OnInit: disablenpc "Mr. Banker"; disablenpc "All Job Manager"; end; } - script LMS -1,{ OnClock000: OnClock0300: OnClock0600: OnClock0900: OnClock1200: OnClock1500: OnClock1800: OnClock2100:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon goto startlmsevent; startlmsevent: announce "Mr. Manager: The Last Man Standing event will be starting shortly.",0; sleep2 10000; announce "Mr. Manager: Those who want to play, please proceed to Prontera and Register.",0; sleep2 10000; announce "Mr. Manager: After 1 Minute the Registration will close.",0; sleep2 10000; announce "Mr. Manager: Please go to Prontera and Register now if you want to join.",0; enablenpc "All Job Manager"; initnpctimer; end; OnTimer30000: announce "Mr. Manager: Last 30 seconds.",0; sleep2 5000; announce "Mr. Manager: If you want to join please Register in Prontera.",0; end; OnTimer50000: announce "Mr. Manager: Last 10 seconds.",0; end; OnTimer55000: announce "Mr. Manager: 5.",0; end; OnTimer56000: announce "Mr. Manager: 4.",0; end; OnTimer57000: announce "Mr. Manager: 3.",0; end; OnTimer58000: announce "Mr. Manager: 2.",0; end; OnTimer59000: announce "Mr. Manager: 1.",0; end; OnTimer60000: announce "Mr. Manager: Time's up.",0; end; OnTimer61000: disablenpc "All Job Manager"; donpcevent "Mr. Banker::OnEnable"; stopnpctimer; end; } //---------All Job Registration--------------- prontera,153,193,5 script All Job Manager 106,{ mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; menu "Register",-,"What is LMS?",what,"Leave",leave; next; mes "[Mr. Manager]"; mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!"; warp "force_1-3",100,180; end; what: mes "[Mr. Manager]"; mes "LMS is also known as Last Man Standing Event"; next; mes "[Mr. Manager]"; mes "LMS is also like a PvP."; mes "The only difference is at LMS you will get 10 PC Point if you are the Last Man Standing at the arena."; next; mes "[Mr. Manager]"; mes "That's all"; close; leave: mes "[Mr. Manager]"; mes "I hope you will register next time"; close; } //-------------------------- //-------------------------- force_1-3,100,180,6 script Mr. Banker 56,{ mes "[banker]"; mes "Congrats. You've won."; next; announce "Mr. Manager: We have a winner! well done "+strcharinfo(0)+".",0; getitem 7227,1; // Change This item id to what ever you want . item id,amount dispbottom "+1 TCG"; mes "You will return now"; warp "prontera",155,182; disablenpc "Mr. Banker"; close; end; OnEnable: pvpoff "force_1-3"; mapannounce "force_1-3","Mr. Manager:The Last Man Standing Event will start shortly",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager:But before we start this is just a few reminders..",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager: Only the Last Man Standing will win this event!!",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0; sleep2 10000; goto L_Start; end; L_Start: if(getmapusers("force_1-3") == 1) goto L_Champ; if(getmapusers("force_1-3") == 0) goto L_None; if(getmapusers("force_1-3") > 1) { mapannounce "force_1-3","Mr. Manager: Get ready at the count of 5 we will start!....",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager: 5",0; sleep2 5000; mapannounce "force_1-3","Mr. Manager: 4",0; sleep2 4000; mapannounce "force_1-3","Mr. Manager: 3",0; sleep2 3000; mapannounce "force_1-3","Mr. Manager: 2",0; sleep2 2000; mapannounce "force_1-3","Mr. Manager: 1",0; sleep2 1000; pvpon "force_1-3"; goto timer; end; } timer: initnpctimer; end; OnTimer1000: end; OnTimer1100: if(getmapusers("force_1-3") == 1) goto L_Champ; if(getmapusers("force_1-3") > 2) goto timer; if(getmapusers("force_1-3") == 2) goto champ; stopnpctimer; end; champ: announce "Mr. Manager: Last 2 Brave warriors are still alive!",0; sleep2 10000; if(getmapusers("force_1-3") == 1) goto L_Champ; if(getmapusers("force_1-3") > 1) goto timer; end; L_Champ: mapannounce "force_1-3","Mr. Banker: Please talk to me to get your prize..",0; pvpoff "force_1-3"; enablenpc "Mr. Banker"; end; L_None: disablenpc "Banker"; pvpoff "force_1-3"; end; } //----- Die = warp prt ----- - script Killa_warp -1,{ OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="force_1-3") { set #kill_point, 0; announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all; warp "prontera",0,0; end; } OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_n_1-5") { set #kill_point,#kill_point+1; if ( #kill_point % 4 == 0) { announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all; //getitem 7539, 20; end; } } } // == Mapflags force_1-3 mapflag nowarp force_1-3 mapflag nowarpto force_1-3 mapflag noteleport force_1-3 mapflag nosave force_1-3 mapflag nomemo force_1-3 mapflag nobranch force_1-3 mapflag pvp_noparty force_1-3 mapflag restricted 1 Quote
0 AngelaKiss Posted December 12, 2017 Author Posted December 12, 2017 (edited) im getting spam of this EDIT. just chaged sleep2 to sleep. thank you ***about this part, how to make the announce only shows in the map not all server and dont insta warp, wait 10 sec set #kill_point, 0; announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all; warp "prontera",155,181; end; Edited December 12, 2017 by AngelaKiss Quote
0 Sallycantdance Posted April 16, 2021 Posted April 16, 2021 On 12/11/2017 at 3:10 PM, Cyro said: - script LMS#disable -1,{ OnInit: disablenpc "Mr. Banker"; disablenpc "All Job Manager"; end; } - script LMS -1,{ OnClock000: OnClock0300: OnClock0600: OnClock0900: OnClock1200: OnClock1500: OnClock1800: OnClock2100:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon goto startlmsevent; startlmsevent: announce "Mr. Manager: The Last Man Standing event will be starting shortly.",0; sleep2 10000; announce "Mr. Manager: Those who want to play, please proceed to Prontera and Register.",0; sleep2 10000; announce "Mr. Manager: After 1 Minute the Registration will close.",0; sleep2 10000; announce "Mr. Manager: Please go to Prontera and Register now if you want to join.",0; enablenpc "All Job Manager"; initnpctimer; end; OnTimer30000: announce "Mr. Manager: Last 30 seconds.",0; sleep2 5000; announce "Mr. Manager: If you want to join please Register in Prontera.",0; end; OnTimer50000: announce "Mr. Manager: Last 10 seconds.",0; end; OnTimer55000: announce "Mr. Manager: 5.",0; end; OnTimer56000: announce "Mr. Manager: 4.",0; end; OnTimer57000: announce "Mr. Manager: 3.",0; end; OnTimer58000: announce "Mr. Manager: 2.",0; end; OnTimer59000: announce "Mr. Manager: 1.",0; end; OnTimer60000: announce "Mr. Manager: Time's up.",0; end; OnTimer61000: disablenpc "All Job Manager"; donpcevent "Mr. Banker::OnEnable"; stopnpctimer; end; } //---------All Job Registration--------------- prontera,153,193,5 script All Job Manager 106,{ mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; menu "Register",-,"What is LMS?",what,"Leave",leave; next; mes "[Mr. Manager]"; mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!"; warp "force_1-3",100,180; end; what: mes "[Mr. Manager]"; mes "LMS is also known as Last Man Standing Event"; next; mes "[Mr. Manager]"; mes "LMS is also like a PvP."; mes "The only difference is at LMS you will get 10 PC Point if you are the Last Man Standing at the arena."; next; mes "[Mr. Manager]"; mes "That's all"; close; leave: mes "[Mr. Manager]"; mes "I hope you will register next time"; close; } //-------------------------- //-------------------------- force_1-3,100,180,6 script Mr. Banker 56,{ mes "[banker]"; mes "Congrats. You've won."; next; announce "Mr. Manager: We have a winner! well done "+strcharinfo(0)+".",0; getitem 7227,1; // Change This item id to what ever you want . item id,amount dispbottom "+1 TCG"; mes "You will return now"; warp "prontera",155,182; disablenpc "Mr. Banker"; close; end; OnEnable: pvpoff "force_1-3"; mapannounce "force_1-3","Mr. Manager:The Last Man Standing Event will start shortly",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager:But before we start this is just a few reminders..",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager: Only the Last Man Standing will win this event!!",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0; sleep2 10000; goto L_Start; end; L_Start: if(getmapusers("force_1-3") == 1) goto L_Champ; if(getmapusers("force_1-3") == 0) goto L_None; if(getmapusers("force_1-3") > 1) { mapannounce "force_1-3","Mr. Manager: Get ready at the count of 5 we will start!....",0; sleep2 10000; mapannounce "force_1-3","Mr. Manager: 5",0; sleep2 5000; mapannounce "force_1-3","Mr. Manager: 4",0; sleep2 4000; mapannounce "force_1-3","Mr. Manager: 3",0; sleep2 3000; mapannounce "force_1-3","Mr. Manager: 2",0; sleep2 2000; mapannounce "force_1-3","Mr. Manager: 1",0; sleep2 1000; pvpon "force_1-3"; goto timer; end; } timer: initnpctimer; end; OnTimer1000: end; OnTimer1100: if(getmapusers("force_1-3") == 1) goto L_Champ; if(getmapusers("force_1-3") > 2) goto timer; if(getmapusers("force_1-3") == 2) goto champ; stopnpctimer; end; champ: announce "Mr. Manager: Last 2 Brave warriors are still alive!",0; sleep2 10000; if(getmapusers("force_1-3") == 1) goto L_Champ; if(getmapusers("force_1-3") > 1) goto timer; end; L_Champ: mapannounce "force_1-3","Mr. Banker: Please talk to me to get your prize..",0; pvpoff "force_1-3"; enablenpc "Mr. Banker"; end; L_None: disablenpc "Banker"; pvpoff "force_1-3"; end; } //----- Die = warp prt ----- - script Killa_warp -1,{ OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="force_1-3") { set #kill_point, 0; announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all; warp "prontera",0,0; end; } OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_n_1-5") { set #kill_point,#kill_point+1; if ( #kill_point % 4 == 0) { announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all; //getitem 7539, 20; end; } } } // == Mapflags force_1-3 mapflag nowarp force_1-3 mapflag nowarpto force_1-3 mapflag noteleport force_1-3 mapflag nosave force_1-3 mapflag nomemo force_1-3 mapflag nobranch force_1-3 mapflag pvp_noparty force_1-3 mapflag restricted 1 is there anyway i can manually start this event? Quote
0 Radian Posted April 16, 2021 Posted April 16, 2021 (edited) 5 hours ago, chadness said: is there anyway i can manually start this event? You just remove this part OnClock000: OnClock0300: OnClock0600: OnClock0900: OnClock1200: OnClock1500: OnClock1800: OnClock2100:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon and then add this - script LMS -1,{ OnInit: bindatcmd "lms", strnpcinfo(3)+"::startlmsevent"; end; Edited April 16, 2021 by Radian Quote
0 Sallycantdance Posted April 17, 2021 Posted April 17, 2021 3 hours ago, Radian said: You just remove this part OnClock000: OnClock0300: OnClock0600: OnClock0900: OnClock1200: OnClock1500: OnClock1800: OnClock2100:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon and then add this - script LMS -1,{ OnInit: bindatcmd "lms", strnpcinfo(3)+"::startlmsevent"; end; [Error]: npc_event: event not found [LMS:startlmsevent] Quote
0 Radian Posted April 17, 2021 Posted April 17, 2021 1 hour ago, chadness said: [Error]: npc_event: event not found [LMS:startlmsevent] Replace bindatcmd "lms", strnpcinfo(3)+"::startlmsevent"; into this bindatcmd "lms", strnpcinfo(3)+"::OnAtcommand"; and then add OnAtcommand: before this part startlmsevent: Quote
Question
AngelaKiss
hello im looking for any last man standing working with pre room of the event....thank you
9 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.