Jump to content

PVP, WoE, GVG: Automated GvG Event v2


Recommended Posts


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

This is awesome, nice release. I will try this @Mabuhay❤️ Thank you so much. I've been waiting this for so long.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

2 minutes ago, Ryo Osaki said:

I've been waiting this for so long.

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

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

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

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/26/19
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/23/20
  • Last Seen:  

Is there a possible way to allow maybe three to four guilds to participate in Guild vs Guild and battle at the same time? Thank you @Mabuhay

Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  27
  • Reputation:   2
  • Joined:  10/08/20
  • Last Seen:  

When i die, im warp out and tried to rebuff. everyone freeze over there and this came out. may i know what step did i miss?

questions.PNG

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

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

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

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

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