Jump to content
  • 0

Need LMS Event Help !


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Help

I want make the LMS Start every 1 hour


 

prontera,156,175,3 script LMS Manager 106,{

mes "[LMS Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
mes "[LMS Manager]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Last Man Standing.";
warp "guild_vs3",49,55;
end;
what:
mes "[LMS Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[LMS Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena.";
next;
mes "[LMS Manager]";
mes "That's all";
close;
leave:
mes "[LMS Manager]";
mes "I hope you will register next time";
close;


OnClock0200:
OnClock0600:
OnClock1000:
OnClock1400:
OnClock1800:
OnClock2400:
enablenpc "LMS Manager";
delwaitingroom;
waitingroom "L.M.S. Registration",0;
pvpoff "guild_vs3";
announce "LMS Manager: The Last Man Standing event will be starting shortly.",0;
sleep2 1000;
announce "LMS Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep2 1000;
announce "LMS Manager: After 1 Minute the Registration will close.",0;
sleep2 60000;
announce "LMS Manager: Please go to prontera and Register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 1500;
announce "LMS Manager: Last 30 seconds.",0;
sleep2 30000;
announce "LMS Manager: If you want to join please Register in Prontera.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "LMS Manager: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 1000;
}
announce "LMS Manager: Time's up.",0;
delwaitingroom;
disablenpc "LMS Manager";
stopnpctimer;
pvpoff "guild_vs3";
mapannounce "guild_vs3","LMS Manager: The Last Man Standing Event will start shortly",0;
sleep2 1000;
if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","LMS Manager: Event Ended 1 Participant Only..",0;
pvpoff "guild_vs3";
mapwarp "guild_vs3","prontera",156,191;
stopnpctimer;
}
mapannounce "guild_vs3","LMS Manager:But before we start this is just a few reminders..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "guild_vs3","LMS Manager: "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
pvpon "guild_vs3";
enablenpc "Mr. Banker";
initnpctimer;
end;

OnTimer5000:
if(getmapusers("guild_vs3") == 0){
Announce "Event Cancelled due to lack of participants.",0;
stopnpctimer;
}else if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "guild_vs3";
stopnpctimer;
}else if(getmapusers("guild_vs3") == 2){
mapannounce "guild_vs3","Mr. Banker: Last 2 Brave warriors are still alive!",0;
initnpctimer;
}else if(getmapusers("guild_vs3") > 2){
initnpctimer;
}
end;

OnInit:
disablenpc "Mr. Banker";
disablenpc "LMS Manager";
end;
}
//------------------------

guild_vs3,49,49,3 script Checker 780,{

mes "[Checker]";
mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?";
next;
mes "There are currently ["+getmapusers("guild_vs3")+"]players on map";
close;

OnInit:
waitingroom "Map Checker",0;
end;
}

//--------------------------

//--------------------------
guild_vs3,51,51,3 script Mr. Banker 56,{
if(getmapusers("guild_vs3") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[Banker]";
mes "Congrats. You've won.";
next;
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 7227, 10;
mes "You will return now";
close2;
warp "prontera",156,191;
disablenpc "Mr. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("guild_vs3")+"] Participants ",0;
sleep 1000;
}
end;


OnPCDieEvent:
if( strcharinfo(3) != "guild_vs3")end;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
warp "prontera",156,191;
end;

}


// == Mapflags
guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag noteleport
guild_vs3 mapflag nosave
guild_vs3 mapflag nomemo
guild_vs3 mapflag nobranch
guild_vs3 mapflag pvp_noparty 


 

 

 

Link to comment
Share on other sites

22 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Help

I want make the LMS Start every 1 hour

 

prontera,156,175,3 script LMS Manager 106,{

mes "[LMS Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
mes "[LMS Manager]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Last Man Standing.";
warp "guild_vs3",49,55;
end;
what:
mes "[LMS Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[LMS Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena.";
next;
mes "[LMS Manager]";
mes "That's all";
close;
leave:
mes "[LMS Manager]";
mes "I hope you will register next time";
close;


OnClock0200:
OnClock0600:
OnClock1000:
OnClock1400:
OnClock1800:
OnClock2400:
enablenpc "LMS Manager";
delwaitingroom;
waitingroom "L.M.S. Registration",0;
pvpoff "guild_vs3";
announce "LMS Manager: The Last Man Standing event will be starting shortly.",0;
sleep2 1000;
announce "LMS Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep2 1000;
announce "LMS Manager: After 1 Minute the Registration will close.",0;
sleep2 60000;
announce "LMS Manager: Please go to prontera and Register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 1500;
announce "LMS Manager: Last 30 seconds.",0;
sleep2 30000;
announce "LMS Manager: If you want to join please Register in Prontera.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "LMS Manager: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 1000;
}
announce "LMS Manager: Time's up.",0;
delwaitingroom;
disablenpc "LMS Manager";
stopnpctimer;
pvpoff "guild_vs3";
mapannounce "guild_vs3","LMS Manager: The Last Man Standing Event will start shortly",0;
sleep2 1000;
if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","LMS Manager: Event Ended 1 Participant Only..",0;
pvpoff "guild_vs3";
mapwarp "guild_vs3","prontera",156,191;
stopnpctimer;
}
mapannounce "guild_vs3","LMS Manager:But before we start this is just a few reminders..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "guild_vs3","LMS Manager: "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
pvpon "guild_vs3";
enablenpc "Mr. Banker";
initnpctimer;
end;

OnTimer5000:
if(getmapusers("guild_vs3") == 0){
Announce "Event Cancelled due to lack of participants.",0;
stopnpctimer;
}else if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "guild_vs3";
stopnpctimer;
}else if(getmapusers("guild_vs3") == 2){
mapannounce "guild_vs3","Mr. Banker: Last 2 Brave warriors are still alive!",0;
initnpctimer;
}else if(getmapusers("guild_vs3") > 2){
initnpctimer;
}
end;

OnInit:
disablenpc "Mr. Banker";
disablenpc "LMS Manager";
end;
}
//------------------------

guild_vs3,49,49,3 script Checker 780,{

mes "[Checker]";
mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?";
next;
mes "There are currently ["+getmapusers("guild_vs3")+"]players on map";
close;

OnInit:
waitingroom "Map Checker",0;
end;
}

//--------------------------

//--------------------------
guild_vs3,51,51,3 script Mr. Banker 56,{
if(getmapusers("guild_vs3") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[Banker]";
mes "Congrats. You've won.";
next;
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 7227, 10;
mes "You will return now";
close2;
warp "prontera",156,191;
disablenpc "Mr. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("guild_vs3")+"] Participants ",0;
sleep 1000;
}
end;


OnPCDieEvent:
if( strcharinfo(3) != "guild_vs3")end;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
warp "prontera",156,191;
end;

}


// == Mapflags
guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag noteleport
guild_vs3 mapflag nosave
guild_vs3 mapflag nomemo
guild_vs3 mapflag nobranch
guild_vs3 mapflag pvp_noparty 


 

 

just change this.

 

OnClock0200:

OnClock0600:

OnClock1000:

OnClock1400:

OnClock1800:

OnClock2400:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

i know but to what?

i need the time edited pls ^^

 

SpongeBOB, on 30 Apr 2013 - 20:21, said:snapback.png

Help


I want make the LMS Start every 1 hour




 


prontera,156,175,3 script LMS Manager 106,{

 

mes "[LMS Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
mes "[LMS Manager]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Last Man Standing.";
warp "guild_vs3",49,55;
end;
what:
mes "[LMS Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[LMS Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena.";
next;
mes "[LMS Manager]";
mes "That's all";
close;
leave:
mes "[LMS Manager]";
mes "I hope you will register next time";
close;


OnClock0200:
OnClock0600:
OnClock1000:
OnClock1400:
OnClock1800:
OnClock2400:
enablenpc "LMS Manager";
delwaitingroom;
waitingroom "L.M.S. Registration",0;
pvpoff "guild_vs3";
announce "LMS Manager: The Last Man Standing event will be starting shortly.",0;
sleep2 1000;
announce "LMS Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep2 1000;
announce "LMS Manager: After 1 Minute the Registration will close.",0;
sleep2 60000;
announce "LMS Manager: Please go to prontera and Register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 1500;
announce "LMS Manager: Last 30 seconds.",0;
sleep2 30000;
announce "LMS Manager: If you want to join please Register in Prontera.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "LMS Manager: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 1000;
}
announce "LMS Manager: Time's up.",0;
delwaitingroom;
disablenpc "LMS Manager";
stopnpctimer;
pvpoff "guild_vs3";
mapannounce "guild_vs3","LMS Manager: The Last Man Standing Event will start shortly",0;
sleep2 1000;
if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","LMS Manager: Event Ended 1 Participant Only..",0;
pvpoff "guild_vs3";
mapwarp "guild_vs3","prontera",156,191;
stopnpctimer;
}
mapannounce "guild_vs3","LMS Manager:But before we start this is just a few reminders..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "guild_vs3","LMS Manager: "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
pvpon "guild_vs3";
enablenpc "Mr. Banker";
initnpctimer;
end;

OnTimer5000:
if(getmapusers("guild_vs3") == 0){
Announce "Event Cancelled due to lack of participants.",0;
stopnpctimer;
}else if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "guild_vs3";
stopnpctimer;
}else if(getmapusers("guild_vs3") == 2){
mapannounce "guild_vs3","Mr. Banker: Last 2 Brave warriors are still alive!",0;
initnpctimer;
}else if(getmapusers("guild_vs3") > 2){
initnpctimer;
}
end;

OnInit:
disablenpc "Mr. Banker";
disablenpc "LMS Manager";
end;
}
//------------------------

guild_vs3,49,49,3 script Checker 780,{

mes "[Checker]";
mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?";
next;
mes "There are currently ["+getmapusers("guild_vs3")+"]players on map";
close;

OnInit:
waitingroom "Map Checker",0;
end;
}

//--------------------------

//--------------------------
guild_vs3,51,51,3 script Mr. Banker 56,{
if(getmapusers("guild_vs3") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[Banker]";
mes "Congrats. You've won.";
next;
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 7227, 10;
mes "You will return now";
close2;
warp "prontera",156,191;
disablenpc "Mr. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("guild_vs3")+"] Participants ",0;
sleep 1000;
}
end;


OnPCDieEvent:
if( strcharinfo(3) != "guild_vs3")end;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
warp "prontera",156,191;
end;

}


// == Mapflags
guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag noteleport
guild_vs3 mapflag nosave
guild_vs3 mapflag nomemo
guild_vs3 mapflag nobranch
guild_vs3 mapflag pvp_noparty

 

 



 

 


just change this.


 


OnClock0200:

OnClock0600:

OnClock1000:

OnClock1400:

OnClock1800:

OnClock2400:

Edited by SpongeBOB
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

if you want every hour just simple change it lol

 

OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:
 

onward.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

thanks alot ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

thanks alot ^^

always mark the topic solve if its already solve thanks.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

last thing

 

 

prontera,156,175,3 script LMS Manager 106,{

mes "[LMS Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
mes "[LMS Manager]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Last Man Standing.";
warp "guild_vs3",49,55;
end;
what:
mes "[LMS Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[LMS Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena.";
next;
mes "[LMS Manager]";
mes "That's all";
close;
leave:
mes "[LMS Manager]";
mes "I hope you will register next time";
close;


OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:
enablenpc "LMS Manager";
delwaitingroom;
waitingroom "L.M.S. Registration",0;
pvpoff "guild_vs3";
announce "LMS Manager: The Last Man Standing event will be starting shortly.",0;
sleep2 1000;
announce "LMS Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep2 1000;
announce "LMS Manager: After 1 Minute the Registration will close.",0;
sleep2 60000;
announce "LMS Manager: Please go to prontera and Register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 1500;
announce "LMS Manager: Last 30 seconds.",0;
sleep2 30000;
announce "LMS Manager: If you want to join please Register in Prontera.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "LMS Manager: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 1000;
}
announce "LMS Manager: Time's up.",0;
delwaitingroom;
disablenpc "LMS Manager";
stopnpctimer;
pvpoff "guild_vs3";
mapannounce "guild_vs3","LMS Manager: The Last Man Standing Event will start shortly",0;
sleep2 1000;
if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","LMS Manager: Event Ended 1 Participant Only..",0;
pvpoff "guild_vs3";
mapwarp "guild_vs3","prontera",156,191;
stopnpctimer;
}
mapannounce "guild_vs3","LMS Manager:But before we start this is just a few reminders..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "guild_vs3","LMS Manager: "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
pvpon "guild_vs3";
enablenpc "Mr. Banker";
initnpctimer;
end;

OnTimer5000:
if(getmapusers("guild_vs3") == 0){
Announce "Event Cancelled due to lack of participants.",0;
stopnpctimer;
}else if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "guild_vs3";
stopnpctimer;
}else if(getmapusers("guild_vs3") == 2){
mapannounce "guild_vs3","Mr. Banker: Last 2 Brave warriors are still alive!",0;
initnpctimer;
}else if(getmapusers("guild_vs3") > 2){
initnpctimer;
}
end;

OnInit:
disablenpc "Mr. Banker";
disablenpc "LMS Manager";
end;
}
//------------------------

guild_vs3,49,49,3 script Checker 780,{

mes "[Checker]";
mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?";
next;
mes "There are currently ["+getmapusers("guild_vs3")+"]players on map";
close;

OnInit:
waitingroom "Map Checker",0;
end;
}

//--------------------------

//--------------------------
guild_vs3,51,51,3 script Mr. Banker 56,{
if(getmapusers("guild_vs3") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[Banker]";
mes "Congrats. You've won.";
next;
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 7227, 10;
mes "You will return now";
close2;
warp "prontera",156,191;
disablenpc "Mr. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("guild_vs3")+"] Participants ",0;
sleep 1000;
}
end;


OnPCDieEvent:
if( strcharinfo(3) != "guild_vs3")end;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
warp "prontera",156,191;
end;

}


// == Mapflags
guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag noteleport
guild_vs3 mapflag nosave
guild_vs3 mapflag nomemo
guild_vs3 mapflag nobranch
guild_vs3 mapflag pvp_noparty
 

is it working 100% ? cuz i thing there is something wrong o.O

 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

last thing

 

 

prontera,156,175,3 script LMS Manager 106,{

mes "[LMS Manager]";
mes "Hello What can I do for you?";
next;
menu "Register",-,"What is LMS?",what,"Leave",leave;
next;
mes "[LMS Manager]";
mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!";
close2;
npctalk ""+strcharinfo(0)+" has registered for the Last Man Standing.";
warp "guild_vs3",49,55;
end;
what:
mes "[LMS Manager]";
mes "LMS is also known as Last Man Standing Event";
next;
mes "[LMS Manager]";
mes "LMS is also like a PvP.";
mes "The only difference is at LMS you will get 10 TCG if you are the Last Man Standing at the arena.";
next;
mes "[LMS Manager]";
mes "That's all";
close;
leave:
mes "[LMS Manager]";
mes "I hope you will register next time";
close;


OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:
enablenpc "LMS Manager";
delwaitingroom;
waitingroom "L.M.S. Registration",0;
pvpoff "guild_vs3";
announce "LMS Manager: The Last Man Standing event will be starting shortly.",0;
sleep2 1000;
announce "LMS Manager: Those who want to play, please proceed to Prontera and Register.",0;
sleep2 1000;
announce "LMS Manager: After 1 Minute the Registration will close.",0;
sleep2 60000;
announce "LMS Manager: Please go to prontera and Register now if you want to join.",0;
disablenpc "Mr. Banker";
sleep2 1500;
announce "LMS Manager: Last 30 seconds.",0;
sleep2 30000;
announce "LMS Manager: If you want to join please Register in Prontera.",0;
sleep2 5000;
for( set .@s,10; .@s > 0 ; set .@s,.@s - 1 ){
announce "LMS Manager: "+.@s+" Seconds to go ~ Hurry Up !!",0;
sleep2 1000;
}
announce "LMS Manager: Time's up.",0;
delwaitingroom;
disablenpc "LMS Manager";
stopnpctimer;
pvpoff "guild_vs3";
mapannounce "guild_vs3","LMS Manager: The Last Man Standing Event will start shortly",0;
sleep2 1000;
if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","LMS Manager: Event Ended 1 Participant Only..",0;
pvpoff "guild_vs3";
mapwarp "guild_vs3","prontera",156,191;
stopnpctimer;
}
mapannounce "guild_vs3","LMS Manager:But before we start this is just a few reminders..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Only the Last Man Standing will win this event!!",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 1000;
mapannounce "guild_vs3","LMS Manager: Get ready at the count of 5 we will start!....",0;
sleep2 1000;
for( set .@s,5; .@s > 0; set .@s,.@s - 1 ){
mapannounce "guild_vs3","LMS Manager: "+.@s+" Seconds to go ~ !!",0;
sleep2 1000;
}
pvpon "guild_vs3";
enablenpc "Mr. Banker";
initnpctimer;
end;

OnTimer5000:
if(getmapusers("guild_vs3") == 0){
Announce "Event Cancelled due to lack of participants.",0;
stopnpctimer;
}else if(getmapusers("guild_vs3") == 1){
mapannounce "guild_vs3","Mr. Banker: Please talk to me to get your prize..",0;
pvpoff "guild_vs3";
stopnpctimer;
}else if(getmapusers("guild_vs3") == 2){
mapannounce "guild_vs3","Mr. Banker: Last 2 Brave warriors are still alive!",0;
initnpctimer;
}else if(getmapusers("guild_vs3") > 2){
initnpctimer;
}
end;

OnInit:
disablenpc "Mr. Banker";
disablenpc "LMS Manager";
end;
}
//------------------------

guild_vs3,49,49,3 script Checker 780,{

mes "[Checker]";
mes "Hi " + strcharinfo(0) + ", Want to check how many are you here?";
next;
mes "There are currently ["+getmapusers("guild_vs3")+"]players on map";
close;

OnInit:
waitingroom "Map Checker",0;
end;
}

//--------------------------

//--------------------------
guild_vs3,51,51,3 script Mr. Banker 56,{
if(getmapusers("guild_vs3") > 1){
npctalk "Only the last Survivor can talk with me.";
end;
}
mes "[Banker]";
mes "Congrats. You've won.";
next;
announce "Mr. Banker: We have a winner! well done "+strcharinfo(0)+".",0;
getitem 7227, 10;
mes "You will return now";
close2;
warp "prontera",156,191;
disablenpc "Mr. Banker";
end;

OnInit:
while(1){
delwaitingroom;
waitingroom "["+getmapusers("guild_vs3")+"] Participants ",0;
sleep 1000;
}
end;


OnPCDieEvent:
if( strcharinfo(3) != "guild_vs3")end;
announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all;
sleep2 100;
warp "prontera",156,191;
end;

}


// == Mapflags
guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag noteleport
guild_vs3 mapflag nosave
guild_vs3 mapflag nomemo
guild_vs3 mapflag nobranch
guild_vs3 mapflag pvp_noparty
 

is it working 100% ? cuz i thing there is something wrong o.O

what do you mean wrong?

 

just add more timer

 

timer should starts on

OnClock0100:

and finish until

OnClock2400:

 

Edited by Brynner
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

i dont mean the time i mean the npc it self

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

i dont mean the time i mean the npc it self

 

can you post the error you've got.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

[Error]: npc_parsesrcfile: Unknown syntax in file npc/custom/lms' , line '2'

 

same

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

[Error]: npc_parsesrcfile: Unknown syntax in file npc/custom/lms' , line '2'

 

same

 

we didn't change anything on line 2.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

idk rlly



what shall i do ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

idk rlly

what shall i do ?

 

hmmm revert what we changes before check if the script still getting errors.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

still o.O



can u send me a working LMS ?

No errors?

i will edit the map and the time but i only need working one



hey i have got a new LMS and its working

but the problem idk how to change the winner gift

its already Cashpoints i want to change it to [ 674,4 ] 4 mitharil coins how ?

prontera,156,175,2	script	LMS#disable	-1,{

OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
disablenpc "Baby Manager";
disablenpc "Novice Manager";
end;
}

prontera,156,175,2	script	LMS	106,{

OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:// 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,147,172,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 "guild_vs3",0,0;
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 50 HPRO 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;


}

//--------------------------

//--------------------------
guild_vs3,50,50,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;
set #CASHPOINTS, #CASHPOINTS + 50; // Change This item id to what ever you want . item id,amount
dispbottom "+50 HPRO Point";
mes "You will return now";
warp "prontera",155,182;
disablenpc "Mr. Banker";
close;
end;
OnEnable:
pvpoff "guild_vs3";
mapannounce "guild_vs3","Mr. Manager:The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:But before we start this is just a few reminders..",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: Only the Last Man Standing will win this event!!",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") == 0) goto L_None;
if(getmapusers("guild_vs3") > 1) {
mapannounce "guild_vs3","Mr. Manager: Get ready at the count of 5 we will start!....",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: 5",0;
sleep2 5000;
mapannounce "guild_vs3","Mr. Manager: 4",0;
sleep2 4000;
mapannounce "guild_vs3","Mr. Manager: 3",0;
sleep2 3000;
mapannounce "guild_vs3","Mr. Manager: 2",0;
sleep2 2000;
mapannounce "guild_vs3","Mr. Manager: 1",0;
sleep2 1000;
pvpon "guild_vs3";
goto timer;
end;
}
timer:
initnpctimer;
end;

OnTimer1000:
end;

OnTimer1100:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") > 2) goto timer;
if(getmapusers("guild_vs3") == 2) goto champ;
stopnpctimer;
end;

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

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

L_None:
disablenpc "Banker";
pvpoff "guild_vs3";
end;
}
//----- Die = warp prt -----
-	script	Killa_warp	-1,{

OnPCDieEvent:
	getmapxy(.@map$,.@x,.@y,0);
	if(.@map$=="guild_vs3")
	{
		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$=="guild_vs3")
	{
	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 674,2;
	end;
	}
	}
}


// == Mapflags
guild_vs3	mapflag	nowarp
guild_vs3	mapflag	nowarpto
guild_vs3	mapflag	noteleport
guild_vs3	mapflag	nosave
guild_vs3	mapflag	nomemo
guild_vs3	mapflag	nobranch
guild_vs3	mapflag	pvp_noparty
guild_vs3	mapflag	restricted	1


any answer pls  ?



how to make the winner prize

674, 4 ??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

still o.O

can u send me a working LMS ?

No errors?

i will edit the map and the time but i only need working one

hey i have got a new LMS and its working

but the problem idk how to change the winner gift

its already Cashpoints i want to change it to [ 674,4 ] 4 mitharil coins how ?

prontera,156,175,2	script	LMS#disable	-1,{

OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
disablenpc "Baby Manager";
disablenpc "Novice Manager";
end;
}

prontera,156,175,2	script	LMS	106,{

OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:// 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,147,172,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 "guild_vs3",0,0;
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 50 HPRO 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;


}

//--------------------------

//--------------------------
guild_vs3,50,50,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;
set #CASHPOINTS, #CASHPOINTS + 50; // Change This item id to what ever you want . item id,amount
dispbottom "+50 HPRO Point";
mes "You will return now";
warp "prontera",155,182;
disablenpc "Mr. Banker";
close;
end;
OnEnable:
pvpoff "guild_vs3";
mapannounce "guild_vs3","Mr. Manager:The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:But before we start this is just a few reminders..",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: Only the Last Man Standing will win this event!!",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") == 0) goto L_None;
if(getmapusers("guild_vs3") > 1) {
mapannounce "guild_vs3","Mr. Manager: Get ready at the count of 5 we will start!....",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: 5",0;
sleep2 5000;
mapannounce "guild_vs3","Mr. Manager: 4",0;
sleep2 4000;
mapannounce "guild_vs3","Mr. Manager: 3",0;
sleep2 3000;
mapannounce "guild_vs3","Mr. Manager: 2",0;
sleep2 2000;
mapannounce "guild_vs3","Mr. Manager: 1",0;
sleep2 1000;
pvpon "guild_vs3";
goto timer;
end;
}
timer:
initnpctimer;
end;

OnTimer1000:
end;

OnTimer1100:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") > 2) goto timer;
if(getmapusers("guild_vs3") == 2) goto champ;
stopnpctimer;
end;

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

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

L_None:
disablenpc "Banker";
pvpoff "guild_vs3";
end;
}
//----- Die = warp prt -----
-	script	Killa_warp	-1,{

OnPCDieEvent:
	getmapxy(.@map$,.@x,.@y,0);
	if(.@map$=="guild_vs3")
	{
		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$=="guild_vs3")
	{
	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 674,2;
	end;
	}
	}
}


// == Mapflags
guild_vs3	mapflag	nowarp
guild_vs3	mapflag	nowarpto
guild_vs3	mapflag	noteleport
guild_vs3	mapflag	nosave
guild_vs3	mapflag	nomemo
guild_vs3	mapflag	nobranch
guild_vs3	mapflag	pvp_noparty
guild_vs3	mapflag	restricted	1

any answer pls  ?

how to make the winner prize

674, 4 ??

getitem 674,2 

 

just change the 2 into 4.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

not thise one thise one

dispbottom "+50 HPRO Point";

 i want make it 674 , 4



?



still o.O

can u send me a working LMS ?

No errors?

i will edit the map and the time but i only need working one

hey i have got a new LMS and its working

but the problem idk how to change the winner gift

its already Cashpoints i want to change it to [ 674,4 ] 4 mitharil coins how ?

prontera,156,175,2	script	LMS#disable	-1,{

OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
disablenpc "Baby Manager";
disablenpc "Novice Manager";
end;
}

prontera,156,175,2	script	LMS	106,{

OnClock0100:
OnClock0200:
OnClock0300:
OnClock0400:// 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,147,172,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 "guild_vs3",0,0;
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 50 HPRO 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;


}

//--------------------------

//--------------------------
guild_vs3,50,50,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;
set #CASHPOINTS, #CASHPOINTS + 50; // Change This item id to what ever you want . item id,amount
dispbottom "+50 HPRO Point";
mes "You will return now";
warp "prontera",155,182;
disablenpc "Mr. Banker";
close;
end;
OnEnable:
pvpoff "guild_vs3";
mapannounce "guild_vs3","Mr. Manager:The Last Man Standing Event will start shortly",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:But before we start this is just a few reminders..",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: Only the Last Man Standing will win this event!!",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") == 0) goto L_None;
if(getmapusers("guild_vs3") > 1) {
mapannounce "guild_vs3","Mr. Manager: Get ready at the count of 5 we will start!....",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: 5",0;
sleep2 5000;
mapannounce "guild_vs3","Mr. Manager: 4",0;
sleep2 4000;
mapannounce "guild_vs3","Mr. Manager: 3",0;
sleep2 3000;
mapannounce "guild_vs3","Mr. Manager: 2",0;
sleep2 2000;
mapannounce "guild_vs3","Mr. Manager: 1",0;
sleep2 1000;
pvpon "guild_vs3";
goto timer;
end;
}
timer:
initnpctimer;
end;

OnTimer1000:
end;

OnTimer1100:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") > 2) goto timer;
if(getmapusers("guild_vs3") == 2) goto champ;
stopnpctimer;
end;

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

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

L_None:
disablenpc "Banker";
pvpoff "guild_vs3";
end;
}
//----- Die = warp prt -----
-	script	Killa_warp	-1,{

OnPCDieEvent:
	getmapxy(.@map$,.@x,.@y,0);
	if(.@map$=="guild_vs3")
	{
		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$=="guild_vs3")
	{
	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 674,2;
	end;
	}
	}
}


// == Mapflags
guild_vs3	mapflag	nowarp
guild_vs3	mapflag	nowarpto
guild_vs3	mapflag	noteleport
guild_vs3	mapflag	nosave
guild_vs3	mapflag	nomemo
guild_vs3	mapflag	nobranch
guild_vs3	mapflag	pvp_noparty
guild_vs3	mapflag	restricted	1

any answer pls  ?

how to make the winner prize

674, 4 ??

getitem 674,2 

 

just change the 2 into 4.

 

not thise one thise one


dispbottom "+50 HPRO Point";


 i want make it 674 , 4



thats it

set #CASHPOINTS, #CASHPOINTS + 50; // Change This item id to what ever you want . item id,amount
dispbottom "+50 HPRO Point";



any one pls ?



dude any help plss!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  

replace

set #CASHPOINTS, #CASHPOINTS + 50; // Change This item id to what ever you want . item id,amount
dispbottom "+50 HPRO Point";
with
getitem 674,4; // Change This item id to what ever you want . item id,amount
dispbottom "+4 Mithril Coin";

if you want every hour just simple change it lol

OnClock0100:

OnClock0200:

OnClock0300:

OnClock0400:

onward.

this can be more easy, just
OnMinute00:
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

prontera,156,175,2	script	LMS#disable	-1,{

OnInit:
disablenpc "Mr. Banker";
disablenpc "All Job Manager";
disablenpc "Baby Manager";
disablenpc "Novice Manager";
end;
}

pvp_n_4-5,99,100,2	script	LMS	106,{

OnMinute00:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noon
goto startlmsevent;

startlmsevent:
announce "Mr. Manager: سوف تبداء مسابقة البقاء للأقوي بعد قليل",0;
sleep2 10000;
announce "Mr. Manager: من يريد الاشتراك يذهب الي مدينة برونتيرا",0;
sleep2 10000;
announce "Mr. Manager: بعد دقيقة سيتوقف التسجيل",0;
sleep2 10000;
announce "Mr. Manager: الرجاء التوجه الي برونتيرا اذا تريد الدخول",0;
enablenpc "All Job Manager";
initnpctimer;
end;

OnTimer30000:
announce "Mr. Manager: تبقي 30 ثانية علي نهاية التسجيل",0;
sleep2 5000;
announce "Mr. Manager: للتسجيل توجه الي برونتيرا",0;
end;

OnTimer50000:
announce "Mr. Manager: تبقي 10 ثواني",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: انتهي الوقت",0;
end;

OnTimer61000:
disablenpc "All Job Manager";
donpcevent "Mr. Banker::OnEnable";
stopnpctimer;
end;
}
//---------All Job Registration---------------
prontera,147,172,5	script	All Job Manager	106,{

mes "[Mr. Manager]";
mes "مرحبا ماذا يمكنني ان افعل لك؟";
next;
menu "تسجيل للبقاء",-,"ما هي البقاء للأقوي",what,"مغادرة",leave;
next;
mes "[Mr. Manager]";
mes "نشكرك علي تسجيلك سيد .  " + strcharinfo(0) + ", استمتع!";
warp "guild_vs3",0,0;
end;
what:
mes "[Mr. Manager]";
mes "مسابقة البقاء للاقوي هي فريدة";
next;
mes "[Mr. Manager]";
mes "البقاء مثل الحلبة";
mes "الفرق الوحيد انك تحصل علي 4 عملات بلاتينية و واحد فقط هو الفائذ";
next;
mes "[Mr. Manager]";
mes "هذا كل شيء";
close;
leave:
mes "[Mr. Manager]";
mes "اتمني ان تسجل المرة القادمة ^^";
close;


}

//--------------------------

//--------------------------
guild_vs3,50,50,6	script	Mr. Banker	56,{

mes "[Banker]";
mes "Congrats. You've won.";
next;
announce "Mr. Manager: لدينا فائذ! احسنت  "+strcharinfo(0)+".",0;
getitem 674,4; // Change This item id to what ever you want . item id,amount
dispbottom "+4 Mithril Coin";
mes "سوف تعود الان";
warp "prontera",155,182;
disablenpc "Mr. Banker";
close;
end;
OnEnable:
pvpoff "guild_vs3";
mapannounce "guild_vs3","Mr. Manager:مسابقة البقاء للأقوي ستبدء بعد قليل",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:لكن قبل ان نبدء أريد ان اوضح بعض القواعد",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager:التخفي و التظاهر بالموت ممنوعين",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: فقط 1 هو الفائذ في نهاية المسابقة !!",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: ماذا تنتظرون استعدو!!",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") == 0) goto L_None;
if(getmapusers("guild_vs3") > 1) {
mapannounce "guild_vs3","Mr. Manager: أمامكم 5 ثواني للأستعداد",0;
sleep2 10000;
mapannounce "guild_vs3","Mr. Manager: 5",0;
sleep2 5000;
mapannounce "guild_vs3","Mr. Manager: 4",0;
sleep2 4000;
mapannounce "guild_vs3","Mr. Manager: 3",0;
sleep2 3000;
mapannounce "guild_vs3","Mr. Manager: 2",0;
sleep2 2000;
mapannounce "guild_vs3","Mr. Manager: 1",0;
sleep2 1000;
pvpon "guild_vs3";
goto timer;
end;
}
timer:
initnpctimer;
end;

OnTimer1000:
end;

OnTimer1100:
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") > 2) goto timer;
if(getmapusers("guild_vs3") == 2) goto champ;
stopnpctimer;
end;

champ:
announce "Mr. Manager: بقي اقوي 2 لاعبين",0;
sleep2 10000;
if(getmapusers("guild_vs3") == 1) goto L_Champ;
if(getmapusers("guild_vs3") > 1) goto timer;
end;

L_Champ:
mapannounce "guild_vs3","Mr. Banker: كلمني لتستلم جائزتك",0;
pvpoff "guild_vs3";
enablenpc "Mr. Banker";
end;

L_None:
disablenpc "Banker";
pvpoff "guild_vs3";
end;
}
//----- Die = warp prt -----
-	script	Killa_warp	-1,{

OnPCDieEvent:
	getmapxy(.@map$,.@x,.@y,0);
	if(.@map$=="guild_vs3")
	{
		set #kill_point, 0;
		announce ""+strcharinfo(0)+" مات و خرج من اللعبة!",bc_all;
		warp "prontera",144,80;
		end;
	}
OnPCKillEvent:
	getmapxy(.@map$,.@x,.@y,0);
	if(.@map$=="guild_vs3")
	{
	set #kill_point,#kill_point+1;
	if ( #kill_point % 4 == 0) {
	announce ""+strcharinfo(0)+" قتل اكثر من 4 لاعبين له جوائز اضافية",bc_all;
	getitem 674, 2;
	end;
	}
	}
}


// == Mapflags
guild_vs3	mapflag	nowarp
guild_vs3	mapflag	nowarpto
guild_vs3	mapflag	noteleport
guild_vs3	mapflag	nosave
guild_vs3	mapflag	nomemo
guild_vs3	mapflag	nobranch
guild_vs3	mapflag	pvp_noparty
guild_vs3	mapflag	restricted	1

 

srry for spaming ==

but  the LMS Is working good

but its not every Hour

am using

 

OnMinute00:

______________

minite00

means that like

1 Oclock

2 Oclock

3 Oclock

4 Oclock and so on ?

Edited by SpongeBOB
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  

minite00

means that like

1 Oclock

2 Oclock

3 Oclock

4 Oclock and so on ?

Yes 00:00 , 01:00, 02:00, ... , 23:00
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

minite00

means that like

1 Oclock

2 Oclock

3 Oclock

4 Oclock and so on ?

Yes 00:00 , 01:00, 02:00, ... , 23:00

 

ty but last thing

can i make for anathor event

like

00:30 , 01:30 02:30 ......... and so on  ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  

ty but last thing

can i make for anathor event

like

00:30 , 01:30 02:30 ......... and so on  ?

of course
OnMinute30:
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Thanks Alot .

Am Now Done With This

:)

if any one know about woe npc help me on

 

http://rathena.org/board/topic/82253-woe/

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