At pre-period (when i wipe my db) i must participate to join but when the period start players without reg can tp at catas too
i have this html on Priest
i have try to take the java from other pack where it works but nothing ....
any help?
my config is this
#============================================================#
# Seven Signs #
#============================================================#
# Pack: l2jfrozen Site: www.l2jfrozen.com #
#============================================================#
# -----------------------
# Rule 7 Seals -
# -----------------------
# To join the warrior Dawn would require that the player is in the castle allied clan.
AltRequireCastleForDawn = False
# Definition for the ownership of the castle clan or alliance.
AltRequireClanCastle = False
# Need to be winner to enter in Catacombs/Necropolis in validation period
# Default: True
AltRequireWin7s = True
# --------------------------------------------
# The Rules Of The Festival -
# --------------------------------------------
# Minimum number of players to participate in the festival of the seven seals.
AltFestivalMinPlayer = 5
# The maximum contribution to the player during the festival
# This value does not affect the level of loot.
AltMaxPlayerContrib = 1000000
# The start time of the festival.
# Default: 2 minutes
AltFestivalManagerStart = 120000
# Duration of the festival.
# Default: 18 minutes
AltFestivalLength = 1080000
# The length of the cycle of the Festival.
# Default: 38 minutes (20 minutes of waiting time + festival)
AltFestivalCycleLength = 2280000
# Initial spawn festival.
# Default: 2 minutes
AltFestivalFirstSpawn = 120000
# The initial training of the Festival.
# Default: 5 minutes
AltFestivalFirstSwarm = 300000
# Following should spawn Festival.
# Default: 9 minutes
AltFestivalSecondSpawn = 540000
# The following preparation of the Festival.
# Default: 12 minutes
AltFestivalSecondSwarm = 720000
# Spawn Chests.
# Default: 15 minutes
AltFestivalChestspawn = 900000
TaskSevenSignsUpdate.java :
/* L2jFrozen Project - www.l2jfrozen.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
package com.l2jfrozen.gameserver.taskmanager.tasks;
import java.util.logging.Logger;
import com.l2jfrozen.Config;
import com.l2jfrozen.gameserver.model.entity.sevensigns.SevenSigns;
import com.l2jfrozen.gameserver.model.entity.sevensigns.SevenSignsFestival;
import com.l2jfrozen.gameserver.taskmanager.Task;
import com.l2jfrozen.gameserver.taskmanager.TaskManager;
import com.l2jfrozen.gameserver.taskmanager.TaskManager.ExecutedTask;
import com.l2jfrozen.gameserver.taskmanager.TaskTypes;
/**
* Updates all data for the Seven Signs and Festival of Darkness engines, when time is elapsed.
* @author Tempy
*/
public class TaskSevenSignsUpdate extends Task
{
private static final Logger _log = Logger.getLogger(TaskSevenSignsUpdate.class.getName());
public static final String NAME = "sevensignsupdate";
@Override
public String getName()
{
return NAME;
}
@Override
public void onTimeElapsed(final ExecutedTask task)
{
try
{
SevenSigns.getInstance().saveSevenSignsData(null, true);
if (!SevenSigns.getInstance().isSealValidationPeriod())
SevenSignsFestival.getInstance().saveFestivalData(false);
_log.info("[GlobalTask] SevenSigns save launched.");
}
catch (final Exception e)
{
if (Config.ENABLE_ALL_EXCEPTIONS)
e.printStackTrace();
_log.warning("SevenSigns: Failed to save Seven Signs configuration: " + e);
}
}
@Override
public void initializate()
{
super.initializate();
TaskManager.addUniqueTask(NAME, TaskTypes.TYPE_FIXED_SHEDULED, "1800000", "1800000", "");
}
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
It doesn't say that anywhere.
https://acis.i-live.eu/index.php?topic=30.0
check it from source java file names
example in 367 ->
https://acis.i-live.eu/index.php?topic=30.255 l2bufferinstance renamed to schemebuffer | l2pcinstance renamed to player
check changeset 367 to understand
Question
EloBoost
Hey guys i have a problem with seven signs
My problem is that i can tp without participate
At pre-period (when i wipe my db) i must participate to join but when the period start players without reg can tp at catas too
i have this html on Priest
i have try to take the java from other pack where it works but nothing ....
any help?
my config is this
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.