Jump to content
  • 0

need help about lms script


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

mr banker wont show up help please

- script LMS#disable -1,{
OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
end;
}
splendide,188,198,6 script LMS starter 106,{
if(!getgmlevel())end;
menu "[start]",StartStart;
StartStart:
donpcevent "LMS::Onshfnbsnb";
close;
}
- script LMS -1,{
Onshfnbsnb:
OnClock0200:
OnClock0700:
OnClock1500:
OnClock1800:
OnClock2126:
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 Merullian and Register.",0;
sleep2 10000;
announce "Mr. Manager: After 1 Minute the Registration will close.",0;
sleep2 10000;
announce "Mr. Manager: Please go to Merullian 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 Merullian.",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---------------
merullian,105,53,3 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 "quiz_01",42,368;
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 Mithril Coin 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;

}
//--------------------------
quiz_01,41,371,6 script Mr. Banker 56,{

mes "[banker]";
mes "Congrats. You've won.";
close2;
announce "Mr. Manager: We have a winner! well done "+.@name$+".",0;
getitem 674,10; // Change This item id to what ever you want . item id,amount
warp "merullian",105,58;
hideonnpc "Mr. Banker";
end;
OnEnable:
mapannounce "quiz_01","Mr. Manager:The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "quiz_01","Mr. Manager:But before we start this is just a few reminders..",0;
sleep2 10000;
mapannounce "quiz_01","Mr. Manager: Only the Last Man Standing will win this event!!",0;
sleep2 10000;
mapannounce "quiz_01","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("quiz_01") == 1) goto L_Champ;
if(getmapusers("quiz_01") == 0) goto L_None;
if(getmapusers("quiz_01") > 1) {
mapannounce "quiz_01","Mr. Manager: Get ready at the count of 5 we will start!....",0;
sleep2 10000;
mapannounce "quiz_01","Mr. Manager: 5",0;
sleep2 5000;
mapannounce "quiz_01","Mr. Manager: 4",0;
sleep2 4000;
mapannounce "quiz_01","Mr. Manager: 3",0;
sleep2 3000;
mapannounce "quiz_01","Mr. Manager: 2",0;
sleep2 2000;
mapannounce "quiz_01","Mr. Manager: 1",0;
sleep2 1000;
pvpon "quiz_01";
goto timer;
end;
}
timer:
initnpctimer;
end;
OnTimer1000:
end;

OnTimer1100:
if(getmapusers("quiz_01") == 1) goto L_Champ;
if(getmapusers("quiz_01") > 2) goto timer;
if(getmapusers("quiz_01") == 2) goto champ;
stopnpctimer;
end;
champ:
announce "Mr. Manager: Last 2 Brave warriors are still alive!",0;
sleep2 10000;
if(getmapusers("quiz_01") == 1) goto L_Champ;
if(getmapusers("quiz_01") > 1) goto timer;
end;

L_Champ:
mapannounce "quiz_01","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "quiz_01";
hideonnpc "Mr. Banker";
end;

L_None:
disablenpc "Mr. Banker";
pvpoff "quiz_01";
end;
}
//----- Die = warp prt -----
- script Killa_warp -1,{
OnPCDieEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="quiz_01")
{
 dispbottom "You are killed.";
 warp "merullian",105,58;
 end;
}
}

// == Mapflags
quiz_01 mapflag nowarp
quiz_01 mapflag nowarpto
quiz_01 mapflag noteleport
quiz_01 mapflag nosave
quiz_01 mapflag nomemo
quiz_01 mapflag nobranch

BUMP!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   3
  • Joined:  01/01/12
  • Last Seen:  

Wew ako yung nag ppm sau jam kla ko pro ka nag papa paid ka pa wew

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

wala akong sinasabi na pro ako.....

im paid kung kaya ko yung trabaho..so thats why im asking you muna ano ipapagawa mo bago ako mag sabi OK

hahaha..

tsaka lahat ng pro kung sino man yun nag uumpisa din bilang newbie

Edited by glemor123
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

i have a working lms !

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

Posted (edited) · Hidden by Flaid, May 5, 2012 - Nevermind
Hidden by Flaid, May 5, 2012 - Nevermind

nvm

Edited by Flaid
Link to comment

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  231
  • Reputation:   24
  • Joined:  12/18/11
  • Last Seen:  

can you share?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

sir can you share it...thank you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

OnTimer61000:
disablenpc "All Job Manager";
enablenpc "Mr. Banker"; // <------- not enabled
donpcevent "Mr. Banker::OnEnable";
stopnpctimer;
end;

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@deathscythe

Sorry...but Wrong ~

that use to disable the NPC...

@topic starter..

well...it should be caused by this

L_Champ:
mapannounce "quiz_01","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "quiz_01";
hideonnpc "Mr. Banker";   <--------------------------------------------------
end;

the that line into thiss

enablenpc "Mr. Banker";

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