Ninja Posted October 8, 2015 Posted October 8, 2015 File Name: Bombring File Submitter: jezznar File Submitted: 06 Oct 2015 File Category: Games, Events, Quests Content Author: Jezznar Features1. 5-minute wait time2. 5 rounds of 30 seconds each3. Mechanics:Win conditions:only 1 player leftor all rounds finished# of bombrings spawned:if players <= 20: 3 * #of playersif players > 20: 60Frequency of bombring spawn:Round 1: every 4 secondsRound 2: every 3 secondsRound 3: every 2 secondsRound 4: every 1.5 secondsRound 5: every 1 second4. rewards: (configurable, just search for "CASHPOINTS")winner(s): 250 CASHPOINTS + configurable itemnon-winners: 100 CASHPOINTS5. GM commands:@enablebombring to start@disablebombring to interruptClick here to download this file Quote
mrlongshen Posted October 8, 2015 Posted October 8, 2015 Hi.. Thanks for the script. I need autostart event on minutes 14. Where to add ? Thanks you Quote
Ninja Posted October 8, 2015 Author Posted October 8, 2015 Hi.. Thanks for the script. I need autostart event on minutes 14. Where to add ? Thanks you Hi, just look for the "OnGmStart" block and add OnMinute14 at the end. It should look something like this: OnMinute14: OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; Please let me know if it solved your problem. Quote
Rain408 Posted October 9, 2015 Posted October 9, 2015 Hi.. Thanks for the script. I need autostart event on minutes 14. Where to add ? Thanks you Hi, just look for the "OnGmStart" block and add OnMinute14 at the end. It should look something like this: OnMinute14: OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; Please let me know if it solved your problem. it didnt do the trick for me set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnMinute31 OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; OnTimer60000: Quote
Stolao Posted October 9, 2015 Posted October 9, 2015 set .eventstarted, 0; OnMinute31 OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; OnTimer60000: Quote
Ninja Posted October 9, 2015 Author Posted October 9, 2015 (edited) I forgot to add the set .eventstarted, 0; here's the final code: just search for OnEventStarted then add two lines before it OnMinute14: set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; Edited October 9, 2015 by jezznar Quote
Rain408 Posted October 9, 2015 Posted October 9, 2015 Thanks for replying so fast, I'll test it out when I get home from work Quote
Rain408 Posted October 10, 2015 Posted October 10, 2015 (edited) So i tried writing the script like this OnInit: set .eventstarted, 0; set $bombring_reward,12256; bindatcmd "enablebombring","Bombring::OnGMStart"; bindatcmd "disablebombring","Bombring::OnGMStop"; hideonnpc "The Baaam#qz"; hideonnpc "The Baaam#prt"; end; OnGMStart: if (getgroupid() < 99){ dispbottom "You are not eligible for this command.", RED; end; } OnMinute04 set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; & This OnInit: set .eventstarted, 0; set $bombring_reward,12256; bindatcmd "enablebombring","Bombring::OnGMStart"; bindatcmd "disablebombring","Bombring::OnGMStop"; hideonnpc "The Baaam#qz"; hideonnpc "The Baaam#prt"; end; OnGMStart: if (getgroupid() < 99){ dispbottom "You are not eligible for this command.", RED; end; } set .eventstarted, 0; OnMinute04 set .eventstarted, 0; OnEventStart: initnpctimer; hideoffnpc "The Baaam#prt"; set .x, 5; OnTimer0000: if (.eventstarted == 1) end; announce "The Baaam: The bombring event has started!",bc_all; announce "The Baaam: Come to prontera and talk to me to join!",bc_all; announce "The Baaam: "+.x+" minutes remaining before it starts!",bc_all; set .x, .x - 1; end; OnTimer60000: OnTimer120000: OnTimer180000: OnTimer240000: And in both scenario the script wont start on a timer. Nvm figure it out, i had a syntax error. Thanks for the aid ^^ Edited October 10, 2015 by Emistry codebox Quote
zShion Posted October 20, 2015 Posted October 20, 2015 Hi Jezz, i wanted to know how to let the npc always visible, and how can I let it with fix time Quote
Ninja Posted October 21, 2015 Author Posted October 21, 2015 Hi Jezz, i wanted to know how to let the npc always visible Here try this. http://pastebin.com/raw.php?i=pT0VXPfh how can I let it with fix timeNot Sure what you mean about this? Quote
dyas1995 Posted January 4, 2016 Posted January 4, 2016 when i try to use @enablebombring .. is a unknown command please help me bro Quote
Ninja Posted January 7, 2016 Author Posted January 7, 2016 when i try to use @enablebombring .. is a unknown command please help me bro what emulator are you using? This currently works only on rathena and hercules. Quote
dyas1995 Posted January 7, 2016 Posted January 7, 2016 when i try to use @enablebombring .. is a unknown command please help me bro what emulator are you using? This currently works only on rathena and hercules. sorry .. solved ! LOL that's my fault ! haha forget to @reloadscript Quote
Ninja Posted January 8, 2016 Author Posted January 8, 2016 when i try to use @enablebombring .. is a unknown command please help me bro what emulator are you using? This currently works only on rathena and hercules. sorry .. solved ! LOL that's my fault ! haha forget to @reloadscript Great! Have Fun. Quote
PsyOps Posted January 3, 2019 Posted January 3, 2019 tried the script but it seems after 1 round of game, it does not hide the NPC. the NPC that gives out the prize and it is bugged. Quote
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.