Jump to content

Automated GvG Event v2 2.0.0 BETA


1 Screenshot

About This File

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


What's New in Version 2.0.0 BETA   See changelog

Released

Updated to version 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.

  • Upvote 2

×
×
  • Create New...