BETA: Added new a method `Util#getNextClosestDateTime` to calculate the next closest date and time from specified days of week, hour and min.

Reviewed by: Zoey76, FBIagent, !UnAfraid, St3eT

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6542 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Core part for [DP10338].
	Reviewed by: Nos

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6543 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Changed console date format to fix problems of displaying month in different languages.

Reported by: JMD

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6544 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Removed useless/incorrect condition.

Reported by: jurchiks

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6545 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Fixed thread safety issue in `L2Character#doAttack` that was causing double attacks to happen.

Reported by: maxstyleboy
Reviewed by: !UnAfraid, Zoey76

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6546 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: After casting a target SELF buff while moving player should not take an extra step after cast finishes.

Reported by: Janiko
Reviewed by: Janiko, !UnAfraid
Tested by: Janiko

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6547 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Clean up.
	* Removed `IProcedure` class and replaced it with `Function` from Java 8.
	* Replaced some classes with lambdas.
	* Removed useless '''forEach''' methods where it was possible to call `Collection#forEach`.

Reviewed by: !UnAfraid

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6548 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Removed `L2FastList` class.

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6549 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: '''!PcRace''' to upper case.

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6550 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Fixed a bug where summons could not attack when player was in combat.
	* Fixed some forgotten time unit changes related to attack end time since [6546].
		* Patch by: FBIagent

Reviewed by: FBIagent
Reported by: Sdw, u3games



git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6551 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Reworking listeners:
	* Reimplemented all existing listeners and hooks implementations as one unified implementation.
	* The new implementation is using the functional interfaces of java 8 which makes them really easy to use.
	* Annotations binding is supported also.
	* There will be more documentation about them soon.
	* Reviewed by: Zoey76, Nos, DrHouse, Adry_85, FBIagent, St3eT, Tryskell, Nik

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6552 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Minor changes of TvTEvent listener.

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6553 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Adding more annotations for item and residence binding.

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6554 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Fixing minor issue causing problems when reloading scripts (Not getting properly unloaded)

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6555 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Fixing minor typo in Territory War flag respawn.
	* Reported by: Sdw
	* Patch by: Sdw

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6556 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Fixed a bug where servitor item consume and life time task could be started multiple times if servitor owner teleports.

Reported by: Zephyr

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6557 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Fixed a bug where monsters would not help their clans.

Patch by: Zephyr
Reported by: Zephyr, St3eT, Sdw

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6558 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Prevent multiple logins per account when client sends characters like â é ò as part of the account name.
* Split account retrival from account checkin.
* Remove unnessesary classes BanInfo and FailedLoginAttemp.
* Synchronized access to failed login attemps map.

Reported By: zurcnaner
Reviewed By: UnAfraid

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6559 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Catch RejectedExecutionException within ThreadPoolManager to prevent from spam when server is shutting down.

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6560 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad
BETA: Small rework to listeners:
	* Reworked Npc, Item, Residence annotations to one Id
	* Added new range annotations (id range and npc level range)
	* Prevented from starting event dispatching operations if containers doesn't contains this event type.

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6561 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad