Jump to content
  • 0

Olympiad Period End Time When Char Login


Question

Posted

Someone know how to add somethink like this?

 

I think must add option to oliconfig.ini, config.java and i add to enterworld.java this code

		if(Config.OLYMPIAD_END_ANNOUNE && activeChar.isNoble())
		{
			Olympiad.olympiadEnd(activeChar);
		}

but still doesnt work, i think must add somethink else but dont know where :/ i learn java so stop spam post like "you are noob" or somethink like this :)

 

Here is image what i mean:

 

post-135130-0-19927400-1395168174_thumb.png

Recommended Posts

  • 0
Posted

Ok i make it, but 1 more problem, i have announce before sysmsg "welcome lineage II.." i want this announce to be last in announce list. I think i must make config for it so:

 

olympiad.properties

# Announce olympiad end on enter world.
# Default: False
AltOlyEndAnnounce = True

enterworld.java

		if (Config.ALT_OLY_END_ANNOUNCE && activeChar.isNoble() || activeChar.isGM())
		{
			Olympiad.olympiadEnd(activeChar);
		}

config.java

public static boolean ALT_OLY_END_ANNOUNCE;

 and

ALT_OLY_END_ANNOUNCE = Boolean.parseBoolean(OLYMPSetting.getProperty("AltOlyEndAnnounce", "False"));

 but no work, False, True announce still before welcome lineage. Someone know how fix it?

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock