Author Topic: Interlude (CTF) Dynamically load event locations  (Read 61 times)

Online pr1vetdruk

  • Vassal
  • *
  • Posts: 1
(CTF) Dynamically load event locations
« on: February 22, 2021, 08:47:08 PM »
Hi everyone.

Rewrote the core of the event engine to dynamically load event locations.
The current event engine was based on static objects, which did not allow loading different settings for the event when the game server was initialized.
So far, only CTF is working on the new engine, in the near future I will start transferring TvT.
There are two modes of loading locations - randomly and sequentially.
If the explanation is not available, I will give an example: now you have the opportunity to conduct CTF in several lokaki at once during the day. Those. at 10:00 am CTF will be held in Giran, at 12:00 in Aden, 16:00 in Gludio, etc.

The old code tried to refactor as much as possible, but in some places it was not possible, and sometimes laziness.

A list of bugs and your improvements are welcome.

https://github.com/pr1vetdruk/l2jspace-c6-interlude/commit/d2d2fd885f08cb32eba2dc9c293e3ef81eb8d1d9

Sorry for my English :)