iSkiddo Posted February 1, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Share Posted February 1, 2012 can i request a Token loot events ? actually its an automatic events on every 1 hours . when events started , player need to enter portal and warped at the events area . which inside , player need to kill mobs . this loot events will only stand for 1 mins only and everyone will automatic warped back to town when the events ended . Mobs details : every mobs have 30 HP which player can only deal 1 damage to mobs . . Thanks in advance . Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share Posted February 2, 2012 is there any way that GM can also activate those events ?? bump ? prontera,155,181,5 script Sample 757,{ OnTouch: if( .Event ) warp "guild_vs5",0,0; end; OnWhisperGlobal: if( getgmlevel() < 80 ) end; OnMinute00: set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "guild_vs5",0,0,"Name",1002,30,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",155,181; end; OnMobKilled: monster "guild_vs5",0,0,"Name",1002,1,strnpcinfo(0)+"::OnMobKilled"; end; } to start the Game pm this with any message [npc:Sample] Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share Posted February 1, 2012 try this prontera,155,181,4 script Portal 45,2,2,{ OnTouch: if( .Event ) warp "guild_vs5",0,0; end; OnMinute00: set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "guild_vs5",0,0,"Name",1002,30,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",155,181; end; OnMobKilled: monster "guild_vs5",0,0,"Name",1002,1,strnpcinfo(0)+"::OnMobKilled"; end; } 1 Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 1, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 1, 2012 (edited) no errors already . but seems like the NPC cannot click .. @.@ any ideas ? Edited February 1, 2012 by iSkiddo Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share Posted February 1, 2012 erm..i think because of the Sprite Problem...sprite 45 is a Portal Sprite..it is unclickable.. beside,...the script ( portal ) will only work to warp ppl everytime when the event is started... Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 1, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 1, 2012 is there any way that GM can also activate those events ?? bump ? Quote Link to comment Share on other sites More sharing options...
Zac Posted February 1, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 44 Reputation: 4 Joined: 01/25/12 Last Seen: November 29, 2012 Share Posted February 1, 2012 Try this, haven't tested it yet. prontera,155,185,4[TAB]script[TAB]Event Manager[TAB]81,{ if (getgmlevel(60)) // Edit to your desired GM Level { mes "[ Event Manager ]"; mes "Do you want to start the event?"; menu "Yes",start, "No",-; close; start: donpcevent "Portal::OnEnable"; //Enable Event end; } end; // The NPC cannot be clicked by normal players. } 155,181,4[TAB]script[TAB]Portal[TAB]45,2,2,{ OnInit: donpcevent "Portal::OnDisable"; //So the event wont start without GM's access end; OnDisable: // The NPC do Nothing without GM's Access end; OnEnable: OnTouch: if( .Event ) warp "guild_vs5",0,0; end; OnMinute00: set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "guild_vs5",0,0,"Name",1002,30,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",155,181; end; OnMobKilled: monster "guild_vs5",0,0,"Name",1002,1,strnpcinfo(0)+"::OnMobKilled"; end; } Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 1, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 1, 2012 @zac , its not working . NPC still cannot be use and events failed to start . hmm . Quote Link to comment Share on other sites More sharing options...
Zac Posted February 1, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 44 Reputation: 4 Joined: 01/25/12 Last Seen: November 29, 2012 Share Posted February 1, 2012 Oh damn, wish that one of the pro scripters will look into this e_e Quote Link to comment Share on other sites More sharing options...
llchrisll Posted February 1, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted February 1, 2012 (edited) Hmm @Zac: It seems like your "Portal" lacks the map where it should be o.o. 155,181,4[TAB]script[TAB]Portal[TAB]45,2,2,{ And the purpose of this: OnInit: donpcevent "Portal::OnDisable"; //So the event wont start without GM's access end; OnDisable: // The NPC do Nothing without GM's Access end; is useless, since "OnMinute00" will execute netherless. Here is my script - your script modified yet untested: prontera,155,185,4 script Event Manager 81,{ if (getgmlevel() >= 60) { // Edit to your desired GM Level mes "[ Event Manager ]"; mes "What do you want to do?"; menu "Start the Event",start,"Stop the Event",stop,"Nothing",-; close; start: next; mes "[ Event Manager ]"; mes "Do you want to start it now or let the timer do the job?"; if(select("- Now:- Timer") - 1) donpcevent "Portal::OnStart"; else donpcevent "Portal::OnEnable"; close; stop: donpcevent "Portal::OnDisable"; // Disable Event close; } end; // The NPC cannot be clicked by normal players. } prontera,155,181,4 script Portal 45,2,2,{ OnInit: donpcevent "Portal::OnDisable"; //So the event wont start without GM's access end; OnTouch: if( .Event ) warp "guild_vs5",0,0; end; OnDisable: // The NPC do Nothing without GM's Access set .DoEvent,0; set .Event,0; end; OnEnable: // Just allow the event to be started automatic set .DoEvent,1; end; OnStart: // Activate the event and start it immediatly. set .DoEvent,1; OnMinute00: if(!.DoEvent) end; set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "guild_vs5",0,0,"Name",1002,30,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",155,181; end; OnMobKilled: monster "guild_vs5",0,0,"Name",1002,1,strnpcinfo(0)+"::OnMobKilled"; end; } Like I saied, it's untested. Regards, Chris Edited February 1, 2012 by llchrisll Quote Link to comment Share on other sites More sharing options...
llchrisll Posted February 2, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted February 2, 2012 well i would also add an check if the event hasn't ended yet Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 2, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 2, 2012 (edited) @christ , your script quite good . but the mobs automatically respawn when all mobs died . ( which i need it only limit 40 mobs only and its wont respawn another mobs . ) also your NPC , the events manager didnt really working great . when i choose "Start now" , the npc wont start however when i choose timer , its started as soon as i choose the " Timer " @emistry , yours quite good . but the NPC shouldnt need to click . player need to enter portal to join events . and guys , how to make each player can only deal 1 damage to mobs and mobs only have 40 HP . Thanks for you two btw . you really a great helper . : ) p/s : sorry for my bad english . ( learning ) Edited February 2, 2012 by iSkiddo Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 3, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share Posted February 3, 2012 @emistry , yours quite good . but the NPC shouldnt need to click . player need to enter portal to join events . ? shouldnt need to click ?? my script above.... the GM just need to Whisper the NPC to Start it... and..other Player just need to Click to ENTER and for monster only receive 1 HP...edit your mob_db.txt if you dunno how edit the mob_db.. then go find a mob editor... Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 3, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 3, 2012 @emistry , but well yours , when whisper , its didnt start ... Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 3, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share Posted February 3, 2012 @emistry , but well yours , when whisper , its didnt start ... if( getgmlevel() < 80 ) end; only a GM Level 80 or above can start this.......... Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 5, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 5, 2012 btw , can anyone added its autostrip when warping to the arena ? Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted February 12, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted February 12, 2012 (edited) schg_dun01 mapflag nowarpto schg_dun01 mapflag noskill schg_dun01 mapflag nowarp schg_dun01 mapflag noteleport schg_dun01 mapflag nomemo schg_dun01 mapflag nosave schg_dun01 mapflag nobranch schg_dun01 mapflag noicewall schg_dun01 mapflag nopenalty schg_dun01 mapflag nobranch schg_dun01 mapflag noexp schg_dun01 mapflag noreturn schg_dun01 mapflag pvp_noparty schg_dun01 mapflag restricted 4 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ra_temple,59,145,4 script Token Loot 81,{ if (getgmlevel() >= 80) { // Edit to your desired GM Level mes "[ Event Manager ]"; mes "What do you want to do?"; menu "Start the Event",start,"Stop the Event",stop,"Nothing",-; close; start: next; mes "[ Event Manager ]"; mes "Do you want to start it now or let the timer do the job?"; if(select("- Now:- Timer") - 1) donpcevent "Portal::onstart"; else donpcevent "Portal::OnEnable"; close; stop: donpcevent "Portal::OnDisable"; // Disable Event close; } end; // The NPC cannot be clicked by normal players. } ra_temple,73,132,4 script Portal 45,2,2,{ OnInit: donpcevent "Portal::OnDisable"; //So the event wont start without GM's access end; OnTouch: if( .Event ) sc_start SC_DECREASEAGI,1200000,10; percentheal 100,100; sc_start SC_STRIPSHIELD,1200000,5; //if they wearing a shield then will get this negative buffs sc_start SC_STRIPWEAPON,1200000,5; //if they wearing a shield then will get this negative buffs sc_start SC_STRIPARMOR,1200000,5; //if they wearing a shield then will get this negative buffs sc_start SC_STRIPHELM,1200000,5; //if they wearing a shield then will get this negative buffs warp "schg_dun01",136,142; end; OnDisable: // The NPC do Nothing without GM's Access disablenpc "Portal"; set .DoEvent,0; set .Event,0; end; OnEnable: // Just allow the event to be started automatic enablenpc "Portal"; set .DoEvent,1; end; onstart: // Activate the event and start it immediatly. enablenpc "Portal"; set .DoEvent,1; OnMinute00: if(!.DoEvent) end; set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "schg_dun01",136,142,"Special Poring",1973,100,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "schg_dun01","All"; mapwarp "schg_dun01","ra_temple",119,149; end; OnMobKilled: monster "schg_dun01",0,0,"Special Poring",1973,100,strnpcinfo(0)+"::OnMobKilled"; end; } How do i set timer for this events ? which i wanted this events started once everyday . ? and btw , can anyone help me how do i remove this part from this script ? cause when i remove it , the NPC cannot use .. -__- ! mes "[ Event Manager ]"; mes "Do you want to start it now or let the timer do the job?"; if(select("- Now:- Timer") - 1) And also i still got problem with the Mobs . maybe anyone can give me ideas for the mobs ? cause i got problem edit mobs ( player can only deal " 1 " damage to the mobs ? ) 1973,E_PORING,Poring,Poring,28,100,0,461,284,1,120,320,100,99,1,28,28,0,33,50,10,12,0,0,20,0x11AB,300,1672,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20290,1,20290,1,20290,1 Thanks guys . and also can someone help me how do i make all events stop when woe begun and its only will resume when woe ended ? bump for everyone ? anyone can help me with this please ? Edited February 12, 2012 by Arcenciel Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted May 25, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Author Share Posted May 25, 2012 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ra_temple,75,145,4 script Token Loot 444,{ if (getgmlevel() >= 99) { // Edit to your desired GM Level mes "[ Event Manager ]"; mes "What do you want to do?"; menu "Start the Event",start,"Stop the Event",stop,"Nothing",-; close; start: donpcevent "Portal::onstart"; close; stop: donpcevent "Portal::OnDisable"; // Disable Event close; } end; // The NPC cannot be clicked by normal players. } ra_temple,73,137,4 script Portal 45,2,2,{ OnInit: donpcevent "Portal::OnDisable"; //So the event wont start without GM's access end; OnTouch: if( .Event ) sc_start SC_DECREASEAGI,1200000,10; percentheal 100,100; warp "schg_dun01",136,142; end; OnDisable: // The NPC do Nothing without GM's Access disablenpc "Portal"; set .DoEvent,0; set .Event,0; end; OnEnable: // Just allow the event to be started automatic enablenpc "Portal"; set .DoEvent,1; end; onstart: // Activate the event and start it immediatly. enablenpc "Portal"; set .DoEvent,1; if(!.DoEvent) end; OnMinute110: set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal at Events Area.",0; enablenpc "Portal"; sleep ( 40 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "schg_dun01",0,0,"Special Poring",2502,150,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "schg_dun01","All"; mapwarp "schg_dun01","ra_temple",119,149; disablenpc "Portal"; end; OnMobKilled: monster "schg_dun01",0,0,"Special Poring",2502,50,strnpcinfo(0)+"::OnMobKilled"; end; } schg_dun01 mapflag nowarpto schg_dun01 mapflag noskill schg_dun01 mapflag nowarp schg_dun01 mapflag noteleport schg_dun01 mapflag nomemo schg_dun01 mapflag nosave schg_dun01 mapflag nobranch schg_dun01 mapflag noicewall schg_dun01 mapflag nopenalty schg_dun01 mapflag nobranch schg_dun01 mapflag noexp schg_dun01 mapflag noreturn schg_dun01 mapflag pvp_noparty Guys . Someone please help me check on this script . seems like its wont auto start . i place OnMinute110: even i tried OnClock but i dun know whether i place those code on the right place . Helps would be appreciated . Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 25, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share Posted May 25, 2012 OnMinute only can use range of 00 ~ 59 ....there is no 110th minutes in every hours...max only 60minutes....so it is 00 ~ 59 ... Quote Link to comment Share on other sites More sharing options...
Question
iSkiddo
can i request a Token loot events ?
actually its an automatic events on every 1 hours .
when events started , player need to enter portal and warped at the events area .
which inside , player need to kill mobs .
this loot events will only stand for 1 mins only
and everyone will automatic warped back to town when the events ended .
Mobs details : every mobs have 30 HP which player can only deal 1 damage to mobs .
.
Thanks in advance .
Link to comment
Share on other sites
18 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.