RhamXIV 0 Posted February 4, 2017 Hi guys can i have automated event that can start hourly and the prize is Cashpoint please help me thank you Quote Share this post Link to post Share on other sites
0 Murilo BiO' 26 Posted February 5, 2017 What kind of event do you want? What will be it's goals? Sample of hourly event: prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{ if ( .STATUS ) { mes("[^FFA500Hide and Seek^000000]"); mes("Oh! You found me!"); mes("Here's your reward!"); announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all); #CASHPOINTS += 75; // Adds 75 Cash Points close2(); donpcevent("hourly_event::OnStopEvent"); } end(); OnInit: hideonnpc("hourly_event"); .STATUS = 0; end(); OnMinute00: //Every hour at this minute the event will begins donpcevent("hourly_event::OnStartEvent"); end(); OnStartEvent: initnpctimer(); setarray( .COORDINATES[0], // x, y (just for prontera) 119, 311, 105, 74, 129, 261, 188, 330, 241, 76, 205, 238, 60, 335, 240, 292 ); .@i = rand(getarraysize(.COORDINATES)); .@x = .COORDINATES[.@i]; .@y = .COORDINATES[.@i + 1]; movenpc("hourly_event", .@x, .@y); .STATUS = 1; announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all); hideoffnpc("hourly_event"); end(); OnStopEvent: stopnpctimer(); .STATUS = 0; hideonnpc("hourly_event"); end(); OnTimer1800000: donpcevent("hourly_event::OnStopEvent"); end(); } Goal: Find the NPC in Prontera. Quote Share this post Link to post Share on other sites
0 RhamXIV 0 Posted February 5, 2017 (edited) What kind of event do you want? What will be it's goals? Sample of hourly event: prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{ if ( .STATUS ) { mes("[^FFA500Hide and Seek^000000]"); mes("Oh! You found me!"); mes("Here's your reward!"); announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all); #CASHPOINTS += 75; // Adds 75 Cash Points close2(); donpcevent("hourly_event::OnStopEvent"); } end(); OnInit: hideonnpc("hourly_event"); .STATUS = 0; end(); OnMinute00: //Every hour at this minute the event will begins donpcevent("hourly_event::OnStartEvent"); end(); OnStartEvent: initnpctimer(); setarray( .COORDINATES[0], // x, y (just for prontera) 119, 311, 105, 74, 129, 261, 188, 330, 241, 76, 205, 238, 60, 335, 240, 292 ); .@i = rand(getarraysize(.COORDINATES)); .@x = .COORDINATES[.@i]; .@y = .COORDINATES[.@i + 1]; movenpc("hourly_event", .@x, .@y); .STATUS = 1; announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all); hideoffnpc("hourly_event"); end(); OnStopEvent: stopnpctimer(); .STATUS = 0; hideonnpc("hourly_event"); end(); OnTimer1800000: donpcevent("hourly_event::OnStopEvent"); end(); } Goal: Find the NPC in Prontera. i wanted that like LMS Disguise Mushroom Hunting Dice Jumper Poring Catcher Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate Edited February 5, 2017 by RhamXIV Quote Share this post Link to post Share on other sites
0 * Blaze * 6 Posted February 5, 2017 What kind of event do you want? What will be it's goals? Sample of hourly event: prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{ if ( .STATUS ) { mes("[^FFA500Hide and Seek^000000]"); mes("Oh! You found me!"); mes("Here's your reward!"); announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all); #CASHPOINTS += 75; // Adds 75 Cash Points close2(); donpcevent("hourly_event::OnStopEvent"); } end(); OnInit: hideonnpc("hourly_event"); .STATUS = 0; end(); OnMinute00: //Every hour at this minute the event will begins donpcevent("hourly_event::OnStartEvent"); end(); OnStartEvent: initnpctimer(); setarray( .COORDINATES[0], // x, y (just for prontera) 119, 311, 105, 74, 129, 261, 188, 330, 241, 76, 205, 238, 60, 335, 240, 292 ); .@i = rand(getarraysize(.COORDINATES)); .@x = .COORDINATES[.@i]; .@y = .COORDINATES[.@i + 1]; movenpc("hourly_event", .@x, .@y); .STATUS = 1; announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all); hideoffnpc("hourly_event"); end(); OnStopEvent: stopnpctimer(); .STATUS = 0; hideonnpc("hourly_event"); end(); OnTimer1800000: donpcevent("hourly_event::OnStopEvent"); end(); } Goal: Find the NPC in Prontera. i wanted that like LMS Disguise Mushroom Hunting Dice Jumper Poring Catcher Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate - script AutoPickEvent -1,{ OnClock2000: while(1) { query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid; attachrid .@aid; if(CheckVending()) { DetachRID(); continue; } announce strcharinfo(0) +" won in Lucky Pick Event.", 0; #CASHPOINTS += 25; // Adds 25 Cash Points Rewards break; } end; } Lucky pick event try this Every 2hrs Quote Share this post Link to post Share on other sites
0 RhamXIV 0 Posted February 6, 2017 What kind of event do you want? What will be it's goals? Sample of hourly event: prontera,150,150,4 script Hide and Seek::hourly_event 1_M_01,{ if ( .STATUS ) { mes("[^FFA500Hide and Seek^000000]"); mes("Oh! You found me!"); mes("Here's your reward!"); announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all); #CASHPOINTS += 75; // Adds 75 Cash Points close2(); donpcevent("hourly_event::OnStopEvent"); } end(); OnInit: hideonnpc("hourly_event"); .STATUS = 0; end(); OnMinute00: //Every hour at this minute the event will begins donpcevent("hourly_event::OnStartEvent"); end(); OnStartEvent: initnpctimer(); setarray( .COORDINATES[0], // x, y (just for prontera) 119, 311, 105, 74, 129, 261, 188, 330, 241, 76, 205, 238, 60, 335, 240, 292 ); .@i = rand(getarraysize(.COORDINATES)); .@x = .COORDINATES[.@i]; .@y = .COORDINATES[.@i + 1]; movenpc("hourly_event", .@x, .@y); .STATUS = 1; announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all); hideoffnpc("hourly_event"); end(); OnStopEvent: stopnpctimer(); .STATUS = 0; hideonnpc("hourly_event"); end(); OnTimer1800000: donpcevent("hourly_event::OnStopEvent"); end(); } Goal: Find the NPC in Prontera. i wanted that like LMS Disguise Mushroom Hunting Dice Jumper Poring Catcher Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate > - script AutoPickEvent -1,{ OnClock2000: while(1) { query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid; attachrid .@aid; if(CheckVending()) { DetachRID(); continue; } announce strcharinfo(0) +" won in Lucky Pick Event.", 0; #CASHPOINTS += 25; // Adds 25 Cash Points Rewards break; } end; } Lucky pick event try this Every 2hrs here sir hope you can help me thanks Cluckers : 5 Cash Points ( every 5 hours ) Devil Square : 1 Cash Point ( every 2 hours ) Dice : 5 Cashpoints ( every 5 hours ) Disguise : 1 Cashpoint ( each round / 10 rounds every 2 hours ) LMS : 10 Cashpoints ( every 7 hours ) Lotti : 10 Cashpoints ( every 7 hours ) Mushroom : 1 Cashpoint ( 2 hours ) Poring Catcher : 5 cash points ( every 5 hours ) Hide And Seek : 1 cash point ( each round / 10 rounds ) Quote Share this post Link to post Share on other sites
Hi guys can i have automated event that can start hourly and the prize is Cashpoint please help me thank you
Share this post
Link to post
Share on other sites