Jump to content

Question

Posted

How can i make the "Welcome.htm" to start from Community Board
 

I Chance the: final String Welcome_Path = "data/html/welcome.htm"; to > final String Welcome_Path = "data/html/CommunityBoard/index.htm";

but still open HTML Boarn not "the large board (of Community) :S

		if (Config.WELCOME_HTM && isValidName(activeChar.getName()))
		{
			final String Welcome_Path = "data/html/welcome.htm";
			final File mainText = new File(Config.DATAPACK_ROOT, Welcome_Path);
			if (mainText.exists())
			{
				final NpcHtmlMessage html = new NpcHtmlMessage(1);
				html.setFile(Welcome_Path);
				html.replace("%name%", activeChar.getName());
				sendPacket(html);
			}
		}

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...