Jump to content

Quests, Games: Bombring


Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

File Name: Bombring

File Submitter: jezznar

File Submitted: 06 Oct 2015

File Category: Games, Events, Quests

Content Author: Jezznar




Features
1. 5-minute wait time
2. 5 rounds of 30 seconds each
3. Mechanics:
Win conditions:
only 1 player left
or all rounds finished
# of bombrings spawned:
if players <= 20: 3 * #of players
if players > 20: 60
Frequency of bombring spawn:
Round 1: every 4 seconds
Round 2: every 3 seconds
Round 3: every 2 seconds
Round 4: every 1.5 seconds
Round 5: every 1 second
4. rewards: (configurable, just search for "CASHPOINTS")
winner(s): 250 CASHPOINTS + configurable item
non-winners: 100 CASHPOINTS
5. GM commands:
@enablebombring to start
@disablebombring to interrupt

Click here to download this file

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

Hi.. 

Thanks for the script. 

I need autostart event on minutes 14. 

Where to add ? 

Thanks you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

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. :)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

 

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:
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  


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:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

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 by jezznar
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

Thanks for replying so fast, I'll test it out when I get home from work

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

let me know if it worked for you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

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 by Emistry
codebox
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

alright:)

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/16/15
  • Last Seen:  

Hi Jezz, i wanted to know how to let the npc always visible, and how can I let it with fix time

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

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 time

Not Sure what you mean about this?
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/30/15
  • Last Seen:  

when i try to use @enablebombring .. is a unknown command

 

please help me bro

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/30/15
  • Last Seen:  

 

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 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

 

 

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.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  150
  • Reputation:   11
  • Joined:  12/03/18
  • Last Seen:  

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.

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
Reply to this topic...

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