Jump to content
  • 0

GM Event Manager


Kami675

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

Does anyone have a script where it announces an event and spawns a portal for 1 or 2 minutes in prontera then after 1 or 2 minutes the portal will close? I found this forum post http://rathena.org/board/topic/53664-karuls-scripts-latest-game-master-event-starter/ it contains a Game Master Event Starter (http://pastebin.com/raw.php?i=c8jRJsYM) but, it is outdated I believe and won't work :( so if anyone can make a script or update the one I just posted that would be great thanks!

 

Thanks in advance

- Kris

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/21/13
  • Last Seen:  

-	script	EManager	-1,{
	end;


OnWhisperGlobal:
	if(getgmlevel()>=60) {
		goto M_EVENTS;
	mes "ACCESS DENIED";
	}

M_EVENTS:
	menu "Hide and Seek",M_HAS,"Maze Event",M_MAZE,"King of the Hill",M_KOTH,"Cancel",M_EXIT;

// -- Event Menu's -- //

M_HAS:
	mes "[Event Manager]";
	mes "What would you like to do?";
	next;
	menu "Start Event",M_STARTHAS,"End Event",M_ENDHAS,"Cancel",M_EXIT;

M_MAZE:
	mes "[Event Manager]";
	mes "What would you like to do?";
	next;
	menu "Start Event",M_STARTMAZE,"End Event",M_ENDMAZE,"Cancel",M_EXIT;

M_KOTH:
	mes "[Event Manager]";
	mes "What would you like to do?";
	next;
	menu "Start Event",M_STARTKOTH,"End Event",M_ENDKOTH,"Cancel",M_EXIT;

// -- Event Start Menus -- //

M_STARTHAS:
	mes "[Event Manager]";
	mes "Please select a map.";
	next;
	menu "Prontera Field",M_PRTFILD,"Cancel",M_EXIT;

M_STARTMAZE:
	mes "[Event Manager]";
	mes "Please select a map.";
	next;
	menu "Nighoggur's Nest",M_NIDNEST,"Cancel",M_EXIT;

M_STARTKOTH:

	warp "mjolnir_04",69,301;

	announce "A GM has started the King of the Hill Event!",0;
	sleep 5000;

	announce "Please make your way to Ayothaya to join.",0;
	enablenpc "KOTHWARP"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
	sleep 5000;

	announce "The portal will close in 3 minutes.",0;
	sleep 60000;

	announce "The portal will close in 2 minutes. Make your way to Ayothaya to join.",0;
	sleep 60000;

	announce "The portal will close in 1 minute. Make your way to Ayothaya to join.",0;
	sleep 60000;
	
	disablenpc "KOTHWARP";
	announce "The portal is now closed.",0;
	end;

// -- Map Menu's -- //

M_PRTFILD:

	warp "prt_fild01",328,82;

	announce "A GM Has started the Hide and Seek Event.",0;
	sleep 5000;

	announce "Gather in Ayothaya, the portal will open in 2 Minutes.",0;
	sleep 60000;

	announce "Gather in Ayothaya, the portal will open in 1 minute.",0;
	sleep 60000;

	enablenpc "PRTFILD"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
	announce "The portal is open! Go find the GM!",0;
	end;

M_NIDNEST:
	
	warp "2@nyd",199,178;

	announce "A GM Has started the Maze Event.",0;
	sleep 5000;

	announce "All players must wait in the starting area until the portal closes.",0;
	sleep 5000;

	enablenpc "NIDNEST"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
	announce "Make your way to Ayothaya to join. The portal will close in 3 minutes",0;
	sleep 60000;

	announce "Make your way to Ayothaya to join. The portal will close in 2 minutes.",0;
	sleep 60000;

	announce "Make your way to Ayothaya to join. The portal will close in 1 minute.",0;
	sleep 60000;

	disablenpc "NIDNEST";
	announce "The portal is now closed.",0;
	end;

// -- Ending Event Menu's -- //

M_ENDHAS:
	
	warp "ayothaya",208,166; <--- CHANGE TO YOUR MAIN TOWN
	
	disablenpc "PRTFILD";
	announce "A player has found the GM! The Hide and Seek event is now over.",0;
	end;

M_ENDMAZE:
	
	warp "ayothaya",208,166; <--- CHANGE TO YOUR MAIN TOWN

	enablenpc "RTNAYOTHAYA"; <---- ADD THIS TO SCRIPTS_WARPS.TXT
	announce "A player has reached the GM! The Maze event is now over.",0;
	sleep 20000;

	disablenpc "RTNAYOTHAYA";
	end;

M_ENDKOTH:
	
	warp "ayothaya",208,166; <--- CHANGE TO YOUR MAIN TOWN

	announce "A player has reached the top of the hill! The King of the Hill event is now over.",0;
	end;

// -- Closing Menu -- //

M_EXIT:
	close;

}

This is the script that I use, you'll just have to change the warps to match your main town and add warps to your scripts_warps.txt so that the warp portals appear in your main town when you start the event.

 

Add any events you wish that are not in the NPC.

Edited by Enigma
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
Answer this question...

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