Jump to content

Recommended Posts

Posted

Automated GvG Event v2


Version 1.0 = stop support

Spoiler

 


// Automated GvG Event 1.0
// Event runs every hour via OnMinute timer.
// Feel free to edit as you wish
// By : Mabuhay
// Free release
// Dont remove credit
// Response to : https://rathena.org/board/topic/121522-7v7-or-guild-vs-guild-automated-event-script/

NPC Header


-	script	gvg_event	-1,{
OnInit:
	// How many guild members are required?
	.membercount = 1; 
	
	// registration timer in mins.
	.timer = 3; 
	
	// how much points to win? Points is earned per kill
	.win_points = 2; 
	
	// item reward
	// <item_id>, <amount>
	setarray .item,
		501, 10,
		502, 5;
	
	// how much cash points earned
	// set to 0 to disable
	.cash = 100; 
	
	.size = getarraysize(.item);
	bindatcmd "gvgeventstart", strnpcinfo(0)+"::OnStartEvent",60,60;
	bindatcmd "gvgeventend", strnpcinfo(0)+"::OnEndEvent",60,60;
	bindatcmd "gvgeventjoin", strnpcinfo(0)+"::OnJoinEvent";
	end;

 

This request is done as per the original post here: 

For modifications, you can freely adjust by yourself. I may or may not upgrade this script.

Compatibility is your responsibility. 

Tested and Working on latest rathena as of 11 -  06 - 2019.

 

UPDATED to 2.0

// Automated GvG Event 2.0 Beta version
// Event runs every hour via OnMinute timer.
// Feel free to edit as you wish
// By : Mabuhay
// Free release
// Dont remove credit
// Updated to v 2.0
/*
	- Added gepard support and check to every members
	- More flexible options
	- Can set cash, members, timer, and winpoints if gm starts the command.
	
	New mechanics.
	
	- When using @gvgeventjoin, all your members must be around you by 5x5 cell.
	
	NOTE:
		item rewards are only to be set here in script because adding them
		in the GM option would be quite troublesome for me :D
*/
//

 

Tested and working except for Gepard function. ( But it must be working without any problem )

Compatibility is your responsibily.

Backward compatibility is not supported. Update your trunk to latest for this to work.

Enjoy


 

  • Upvote 3
  • Love 1
Posted (edited)
2 minutes ago, Mabuhay said:

Its only been like hours since i promised to make this script >.<

Your amazing, it's works fine now.

PS:  Recommend this guy! 

Edited by Ryo Osaki
  • 2 weeks later...
Posted

Thank you for this! Haven't tested but have a question, if there are minimum of 7 guild members to join the event - who qualified in the guild? or they just need to use the @gvgeventjoin command?

Also, if we set the win points to 10, but there are only 7 enemy guild members, how would they achieve the 10 pts? If no one got resurrected, and no other enemy guild member is left alive on the map, does the script automatically confirms the winner?

Posted (edited)

Thank you for this awesome script. I wish there was a setting for
MAX Guild members so we can set (3v3,5v5,7v7)
Maybe let guild members queue instead of guild leader? when it reaches minimum # then those who registered get ported inside?(gepard protection on queue setting?)
It's 1 point per kill correct?

Maybe last man standing setting.

Edited by spinzaku
double posted
Posted

@Veilside

1.They need to be in the guild. Prior to that, guild leader should register their guild first.

2. Dying players will automatically respawn after x seconds back to the event map.

 

@spinzaku

1. Max guild member registration and Gepard Check might or might not be added. Depends on my mood actually xD. As I said on the original post :

On 11/6/2019 at 3:40 PM, Mabuhay said:

For modifications, you can freely adjust by yourself. I may or may not upgrade this script.

 

2. Yes.. 1 kill = 1 point.

  • 3 months later...
  • 8 months later...
  • 1 month later...
Posted
On 11/6/2019 at 3:40 PM, Mabuhay said:

Automated GvG Event v2


Version 1.0 = stop support

  Hide contents

 



// Automated GvG Event 1.0
// Event runs every hour via OnMinute timer.
// Feel free to edit as you wish
// By : Mabuhay
// Free release
// Dont remove credit
// Response to : https://rathena.org/board/topic/121522-7v7-or-guild-vs-guild-automated-event-script/

NPC Header



-	script	gvg_event	-1,{
OnInit:
	// How many guild members are required?
	.membercount = 1; 
	
	// registration timer in mins.
	.timer = 3; 
	
	// how much points to win? Points is earned per kill
	.win_points = 2; 
	
	// item reward
	// <item_id>, <amount>
	setarray .item,
		501, 10,
		502, 5;
	
	// how much cash points earned
	// set to 0 to disable
	.cash = 100; 
	
	.size = getarraysize(.item);
	bindatcmd "gvgeventstart", strnpcinfo(0)+"::OnStartEvent",60,60;
	bindatcmd "gvgeventend", strnpcinfo(0)+"::OnEndEvent",60,60;
	bindatcmd "gvgeventjoin", strnpcinfo(0)+"::OnJoinEvent";
	end;

 

This request is done as per the original post here: 

For modifications, you can freely adjust by yourself. I may or may not upgrade this script.

Compatibility is your responsibility. 

Tested and Working on latest rathena as of 11 -  06 - 2019.

 

UPDATED to 2.0


// Automated GvG Event 2.0 Beta version
// Event runs every hour via OnMinute timer.
// Feel free to edit as you wish
// By : Mabuhay
// Free release
// Dont remove credit
// Updated to v 2.0
/*
	- Added gepard support and check to every members
	- More flexible options
	- Can set cash, members, timer, and winpoints if gm starts the command.
	
	New mechanics.
	
	- When using @gvgeventjoin, all your members must be around you by 5x5 cell.
	
	NOTE:
		item rewards are only to be set here in script because adding them
		in the GM option would be quite troublesome for me :D
*/
//

 

Tested and working except for Gepard function. ( But it must be working without any problem )

Compatibility is your responsibily.

Backward compatibility is not supported. Update your trunk to latest for this to work.

Enjoy


 

thank you sir for this nice gvg event script i wish you can increase the team/guild that can join the event until 4 team/guilds below <3<3

  • 1 year later...
Posted
On 11/19/2019 at 8:07 PM, Mabuhay said:

@Veilside

1.They need to be in the guild. Prior to that, guild leader should register their guild first.

2. Dying players will automatically respawn after x seconds back to the event map.

 

@spinzaku

1. Max guild member registration and Gepard Check might or might not be added. Depends on my mood actually xD. As I said on the original post :

 

2. Yes.. 1 kill = 1 point.

is this script only the guild leader can register or any of the guild members

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...