Removal of hardcoded events and addition of player isOnCustomEvent methods.

This commit is contained in:
MobiusDevelopment
2021-10-28 21:26:33 +00:00
parent d0c5cfe4c7
commit 8fdb4899ac
323 changed files with 580 additions and 40245 deletions

View File

@@ -1,28 +0,0 @@
-- --------------------------------
-- Table structure for table `ctf`
-- Created by SqueezeD & Serpent for l2jfree
-- --------------------------------
DROP TABLE IF EXISTS `ctf`;
CREATE TABLE `ctf` (
`eventName` varchar(255) NOT NULL default '',
`eventDesc` varchar(255) NOT NULL default '',
`joiningLocation` varchar(255) NOT NULL default '',
`minLevel` int(4) NOT NULL default '0',
`maxLevel` int(4) NOT NULL default '0',
`npcId` int(8) NOT NULL default '0',
`npcX` int(11) NOT NULL default '0',
`npcY` int(11) NOT NULL default '0',
`npcZ` int(11) NOT NULL default '0',
`npcHeading` int(11) NOT NULL default '0',
`rewardId` int(11) NOT NULL default '0',
`rewardAmount` int(11) NOT NULL default '0',
`teamsCount` int(4) NOT NULL default '0',
`joinTime` int(11) NOT NULL default '0',
`eventTime` int(11) NOT NULL default '0',
`minPlayers` int(4) NOT NULL default '0',
`maxPlayers` int(4) NOT NULL default '0',
`delayForNextEvent` BIGINT NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `ctf` (`eventName`, `eventDesc`, `joiningLocation`, `minLevel`, `maxLevel`, `npcId`, `npcX`, `npcY`, `npcZ`, `npcHeading`, `rewardId`, `rewardAmount`, `teamsCount`, `joinTime`, `eventTime`, `minPlayers`, `maxPlayers`, `delayForNextEvent`) VALUES
('Capture the flag', 'CTF', 'Giran', 1, 80, 70011, 82580, 148552, -3468, 16972, 8752, 1, 2, 5, 5, 2, 50, 300000);

View File

@@ -1,21 +0,0 @@
-- --------------------------------
-- Table structure for ctf_teams
-- Created by SqueezeD & Serpent for l2jfree
-- --------------------------------
DROP TABLE IF EXISTS `ctf_teams`;
CREATE TABLE `ctf_teams` (
`teamId` int(4) NOT NULL default '0',
`teamName` varchar(255) NOT NULL default '',
`teamX` int(11) NOT NULL default '0',
`teamY` int(11) NOT NULL default '0',
`teamZ` int(11) NOT NULL default '0',
`teamColor` int(11) NOT NULL default '0',
`flagX` int(11) NOT NULL default '0',
`flagY` int(11) NOT NULL default '0',
`flagZ` int(11) NOT NULL default '0',
PRIMARY KEY (`teamId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `ctf_teams` (`teamId`, `teamName`, `teamX`, `teamY`, `teamZ`, `teamColor`, `flagX`, `flagY`, `flagZ`) VALUES
(0, 'Blue', 87357, -145722, -1288, 16711680, 87358, -145979, -1291),
(1, 'Red', 87351, -139984, -1536, 255, 87359, -139584, -1536);

View File

@@ -53,9 +53,4 @@ INSERT ignore INTO custom_npc values
('50000', '31228', 'Dom the Cat', '1', 'Merchant', '1', 'Monster.cat_the_cat', '9.00', '16.00', '70', 'male', 'Merchant', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '490', '10', '1335', '470', '780', '382', '278', '0', '333', '0', '0', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT'),
('50007', '31324', 'Andromeda', '1', 'Wedding Manager', '1', 'NPC.a_casino_FDarkElf', '8.00', '23.00', '70', 'female', 'WeddingManager', '40', '3862', '1493', '500', '500', '40', '43', '30', '21', '20', '10', '0', '0', '9999', '9999', '999', '999', '278', '0', '333', '316', '0', '0', '55', '132', null, '0', '1', '0', 'LAST_HIT'),
('50008', '31228', 'Rex the Cat', '1', 'Buffer', '1', 'Monster.cat_the_cat', '9.00', '16.00', '70', 'male', 'SchemeBuffer', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '490', '10', '1335', '470', '780', '382', '278', '0', '333', '0', '0', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT'),
('55555', '22124', 'Totor', '1', 'Rebirth Manager', '1', 'NPC.a_fighterguild_master_FHuman', '11.00', '27.00', '83', 'male', 'Merchant', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT'),
('70010', '31606', 'Catrina', '1', 'TvT Event Manager', '1', 'Monster2.queen_of_cat', '8.00', '15.00', '70', 'female', 'Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '28', '132', null, '0', '0', '0', 'LAST_HIT'),
('70011', '31606', 'Catretta', '1', 'CTF Event Manager', '1', 'Monster2.queen_of_cat', '8.00', '15.00', '70', 'female', 'Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '28', '132', null, '0', '0', '0', 'LAST_HIT'),
('70012', '31606', 'Catrosa', '1', 'VIP Join Manager', '1', 'Monster2.queen_of_cat', '8.00', '15.00', '70', 'female', 'Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '28', '132', null, '0', '0', '0', 'LAST_HIT'),
('70013', '31606', 'Catrigna', '1', 'VIP End Manager', '1', 'Monster2.queen_of_cat', '8.00', '15.00', '70', 'female', 'Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '28', '132', null, '0', '0', '0', 'LAST_HIT'),
('70014', '31606', 'Catrieta', '1', 'DM Event Manager', '1', 'Monster2.queen_of_cat', '8.00', '15.00', '70', 'female', 'Npc', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '28', '132', null, '0', '0', '0', 'LAST_HIT');
('55555', '22124', 'Totor', '1', 'Rebirth Manager', '1', 'NPC.a_fighterguild_master_FHuman', '11.00', '27.00', '83', 'male', 'Merchant', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT');

View File

@@ -1,31 +0,0 @@
-- --------------------------------
-- Table structure for table `dm`
-- Created by SqueezeD from l2jfree
-- --------------------------------
DROP TABLE IF EXISTS `dm`;
CREATE TABLE `dm` (
`eventName` varchar(255) NOT NULL default '',
`eventDesc` varchar(255) NOT NULL default '',
`joiningLocation` varchar(255) NOT NULL default '',
`minLevel` int(4) NOT NULL default '0',
`maxLevel` int(4) NOT NULL default '0',
`npcId` int(8) NOT NULL default '0',
`npcX` int(11) NOT NULL default '0',
`npcY` int(11) NOT NULL default '0',
`npcZ` int(11) NOT NULL default '0',
`npcHeading` int(11) NOT NULL DEFAULT '0',
`rewardId` int(11) NOT NULL default '0',
`rewardAmount` int(11) NOT NULL default '0',
`joinTime` int(11) NOT NULL DEFAULT '0',
`eventTime` int(11) NOT NULL DEFAULT '0',
`minPlayers` int(11) NOT NULL DEFAULT '0',
`maxPlayers` int(11) NOT NULL DEFAULT '0',
`color` int(11) NOT NULL default '0',
`playerX` int(11) NOT NULL default '0',
`playerY` int(11) NOT NULL default '0',
`playerZ` int(11) NOT NULL default '0',
`delayForNextEvent` BIGINT NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `dm` values
('DM', 'A PvP Event', 'Giran', 1, 81, 70014, 82580, 148552, -3468, 1, 8752, 1, 2, 5, 2, 50, 2552550, 116615, 76200, -2729, 300000);

View File

@@ -1,9 +0,0 @@
#----------------------------
# Table structure for pkkills
#----------------------------
CREATE TABLE IF NOT EXISTS `pkkills` (
`killerId` varchar(45) NOT NULL,
`killedId` varchar(45) NOT NULL,
`kills` decimal(11,0) NOT NULL,
PRIMARY KEY (`killerId` ,`killedId` )
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

View File

@@ -1,30 +0,0 @@
-- -----------------------
-- Table structure for tvt
-- -----------------------
DROP TABLE IF EXISTS `tvt`;
CREATE TABLE `tvt` (
`eventName` varchar(255) NOT NULL DEFAULT '',
`eventDesc` varchar(255) NOT NULL DEFAULT '',
`joiningLocation` varchar(255) NOT NULL DEFAULT '',
`minLevel` int(4) NOT NULL DEFAULT '0',
`maxLevel` int(4) NOT NULL DEFAULT '0',
`npcId` int(8) NOT NULL DEFAULT '0',
`npcX` int(11) NOT NULL DEFAULT '0',
`npcY` int(11) NOT NULL DEFAULT '0',
`npcZ` int(11) NOT NULL DEFAULT '0',
`npcHeading` int(11) NOT NULL DEFAULT '0',
`rewardId` int(11) NOT NULL DEFAULT '0',
`rewardAmount` int(11) NOT NULL DEFAULT '0',
`teamsCount` int(4) NOT NULL DEFAULT '0',
`joinTime` int(11) NOT NULL DEFAULT '0',
`eventTime` int(11) NOT NULL DEFAULT '0',
`minPlayers` int(4) NOT NULL DEFAULT '0',
`maxPlayers` int(4) NOT NULL DEFAULT '0',
`delayForNextEvent` BIGINT NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ---------------------
-- Records for table tvt
-- ---------------------
INSERT INTO `tvt` values
('TVT', 'A PvP Event', 'Giran', 1, 81, 70010, 82688, 148677, -3469, 0, 8752, 1, 2, 5, 5, 2, 50, 300000);

View File

@@ -1,21 +0,0 @@
-- -----------------------------
-- Table structure for tvt_teams
-- -----------------------------
DROP TABLE IF EXISTS `tvt_teams`;
CREATE TABLE `tvt_teams` (
`teamId` int(4) NOT NULL DEFAULT '0',
`teamName` varchar(255) NOT NULL DEFAULT '',
`teamX` int(11) NOT NULL DEFAULT '0',
`teamY` int(11) NOT NULL DEFAULT '0',
`teamZ` int(11) NOT NULL DEFAULT '0',
`teamColor` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`teamId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ---------------------------
-- Records for table tvt_teams
-- ---------------------------
INSERT INTO `tvt_teams` VALUES
('0', 'Blue', '148179', '45841', '-3413', '16711680'),
('1', 'Red', '150787', '45822', '-3413', '255'),
('2', 'Green', '149496', '47826', '-3413', '26367');

View File

@@ -1,20 +0,0 @@
CREATE TABLE `VIPinfo` (
`teamID` int(11) NOT NULL,
`endx` int(11) NOT NULL,
`endy` int(11) NOT NULL,
`endz` int(11) NOT NULL,
`startx` int(11) NOT NULL,
`starty` int(11) NOT NULL,
`startz` int(11) NOT NULL,
PRIMARY KEY (`teamID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `VIPinfo`
--
INSERT INTO `VIPinfo` VALUES (1, -84583, 242788, -3735, -101319, 213272, -3100);
INSERT INTO `VIPinfo` VALUES (2, 45714, 49703, -3065, 55782, 81597, -3610);
INSERT INTO `VIPinfo` VALUES (3, 11249, 16890, -4667, -22732, 12586, -2996);
INSERT INTO `VIPinfo` VALUES (4, -44737, -113582, -204, 27053, -88454, -3286);
INSERT INTO `VIPinfo` VALUES (5, 116047, -179059, -1026, 121145, -215673, -3571);

View File

@@ -67,43 +67,6 @@
<admin command="admin_create_coin" accessLevel="80" />
<admin command="admin_mass_create" accessLevel="100" />
<!-- Section: CTF -->
<admin command="admin_ctf" accessLevel="80" />
<admin command="admin_ctf_name" accessLevel="80" />
<admin command="admin_ctf_desc" accessLevel="80" />
<admin command="admin_ctf_join_loc" accessLevel="80" />
<admin command="admin_ctf_edit" accessLevel="80" />
<admin command="admin_ctf_control" accessLevel="80" />
<admin command="admin_ctf_minlvl" accessLevel="80" />
<admin command="admin_ctf_maxlvl" accessLevel="80" />
<admin command="admin_ctf_tele_npc" accessLevel="80" />
<admin command="admin_ctf_tele_team" accessLevel="80" />
<admin command="admin_ctf_tele_flag" accessLevel="80" />
<admin command="admin_ctf_npc" accessLevel="80" />
<admin command="admin_ctf_npc_pos" accessLevel="80" />
<admin command="admin_ctf_reward" accessLevel="80" />
<admin command="admin_ctf_reward_amount" accessLevel="80" />
<admin command="admin_ctf_team_add" accessLevel="80" />
<admin command="admin_ctf_team_remove" accessLevel="80" />
<admin command="admin_ctf_team_pos" accessLevel="80" />
<admin command="admin_ctf_team_color" accessLevel="80" />
<admin command="admin_ctf_team_flag" accessLevel="80" />
<admin command="admin_ctf_join" accessLevel="80" />
<admin command="admin_ctf_teleport" accessLevel="80" />
<admin command="admin_ctf_start" accessLevel="80" />
<admin command="admin_ctf_abort" accessLevel="80" />
<admin command="admin_ctf_finish" accessLevel="80" />
<admin command="admin_ctf_sit" accessLevel="80" />
<admin command="admin_ctf_dump" accessLevel="80" />
<admin command="admin_ctf_save" accessLevel="80" />
<admin command="admin_ctf_load" accessLevel="80" />
<admin command="admin_ctf_jointime" accessLevel="80" />
<admin command="admin_ctf_eventtime" accessLevel="80" />
<admin command="admin_ctf_autoevent" accessLevel="80" />
<admin command="admin_ctf_minplayers" accessLevel="80" />
<admin command="admin_ctf_maxplayers" accessLevel="80" />
<admin command="admin_ctf_interval" accessLevel="80" />
<!-- Section: Delete -->
<admin command="admin_delete" accessLevel="80" />
@@ -116,29 +79,6 @@
<!-- Section: Disconnect -->
<admin command="admin_character_disconnect" accessLevel="90" />
<!-- Section: DMEngine -->
<admin command="admin_dmevent" accessLevel="80" />
<admin command="admin_dmevent_name" accessLevel="80" />
<admin command="admin_dmevent_desc" accessLevel="80" />
<admin command="admin_dmevent_join_loc" accessLevel="80" />
<admin command="admin_dmevent_minlvl" accessLevel="80" />
<admin command="admin_dmevent_maxlvl" accessLevel="80" />
<admin command="admin_dmevent_npc" accessLevel="80" />
<admin command="admin_dmevent_npc_pos" accessLevel="80" />
<admin command="admin_dmevent_reward" accessLevel="80" />
<admin command="admin_dmevent_reward_amount" accessLevel="80" />
<admin command="admin_dmevent_spawnpos" accessLevel="80" />
<admin command="admin_dmevent_color" accessLevel="80" />
<admin command="admin_dmevent_join" accessLevel="80" />
<admin command="admin_dmevent_teleport" accessLevel="80" />
<admin command="admin_dmevent_start" accessLevel="80" />
<admin command="admin_dmevent_abort" accessLevel="80" />
<admin command="admin_dmevent_finish" accessLevel="80" />
<admin command="admin_dmevent_sit" accessLevel="80" />
<admin command="admin_dmevent_dump" accessLevel="80" />
<admin command="admin_dmevent_save" accessLevel="80" />
<admin command="admin_dmevent_load" accessLevel="80" />
<!-- Section: Donator -->
<admin command="admin_setdonator" accessLevel="100" />
@@ -253,29 +193,6 @@
<admin command="admin_setba" accessLevel="90" />
<admin command="admin_enchant" accessLevel="90" />
<!-- Section: EventEngine -->
<admin command="admin_event" accessLevel="80" />
<admin command="admin_event_new" accessLevel="80" />
<admin command="admin_event_choose" accessLevel="80" />
<admin command="admin_event_store" accessLevel="80" />
<admin command="admin_event_set" accessLevel="80" />
<admin command="admin_event_change_teams_number" accessLevel="80" />
<admin command="admin_event_announce" accessLevel="80" />
<admin command="admin_event_panel" accessLevel="80" />
<admin command="admin_event_control_begin" accessLevel="80" />
<admin command="admin_event_control_teleport" accessLevel="80" />
<admin command="admin_add" accessLevel="80" />
<admin command="admin_event_see" accessLevel="80" />
<admin command="admin_event_del" accessLevel="80" />
<admin command="admin_delete_buffer" accessLevel="80" />
<admin command="admin_event_control_sit" accessLevel="80" />
<admin command="admin_event_name" accessLevel="80" />
<admin command="admin_event_control_kill" accessLevel="80" />
<admin command="admin_event_control_res" accessLevel="80" />
<admin command="admin_event_control_prize" accessLevel="80" />
<admin command="admin_event_control_chatban" accessLevel="80" />
<admin command="admin_event_control_finish" accessLevel="80" />
<!-- Section: ExpSp -->
<admin command="admin_add_exp_sp_to_character" accessLevel="90" />
<admin command="admin_add_exp_sp" accessLevel="90" />
@@ -535,59 +452,6 @@
<admin command="admin_st" accessLevel="80" />
<admin command="admin_mp" accessLevel="80" />
<!-- Section: TownWar -->
<admin command="admin_townwar_start" accessLevel="80" />
<admin command="admin_townwar_end" accessLevel="80" />
<!-- Section: TvTEngine -->
<admin command="admin_tvt" accessLevel="80" />
<admin command="admin_tvt_name" accessLevel="80" />
<admin command="admin_tvt_desc" accessLevel="80" />
<admin command="admin_tvt_join_loc" accessLevel="80" />
<admin command="admin_tvt_minlvl" accessLevel="80" />
<admin command="admin_tvt_maxlvl" accessLevel="80" />
<admin command="admin_tvt_npc" accessLevel="80" />
<admin command="admin_tvt_npc_pos" accessLevel="80" />
<admin command="admin_tvt_reward" accessLevel="80" />
<admin command="admin_tvt_reward_amount" accessLevel="80" />
<admin command="admin_tvt_team_add" accessLevel="80" />
<admin command="admin_tvt_team_remove" accessLevel="80" />
<admin command="admin_tvt_team_pos" accessLevel="80" />
<admin command="admin_tvt_team_color" accessLevel="80" />
<admin command="admin_tvt_join" accessLevel="80" />
<admin command="admin_tvt_teleport" accessLevel="80" />
<admin command="admin_tvt_start" accessLevel="80" />
<admin command="admin_tvt_abort" accessLevel="80" />
<admin command="admin_tvt_finish" accessLevel="80" />
<admin command="admin_tvt_sit" accessLevel="80" />
<admin command="admin_tvt_dump" accessLevel="80" />
<admin command="admin_tvt_save" accessLevel="80" />
<admin command="admin_tvt_load" accessLevel="80" />
<admin command="admin_tvt_jointime" accessLevel="80" />
<admin command="admin_tvt_eventtime" accessLevel="80" />
<admin command="admin_tvt_autoevent" accessLevel="80" />
<admin command="admin_tvt_minplayers" accessLevel="80" />
<admin command="admin_tvt_maxplayers" accessLevel="80" />
<admin command="admin_tvtkick" accessLevel="80" />
<!-- Section: VIPEngine -->
<admin command="admin_vip" accessLevel="80" />
<admin command="admin_vip_setteam" accessLevel="80" />
<admin command="admin_vip_randomteam" accessLevel="80" />
<admin command="admin_vip_settime" accessLevel="80" />
<admin command="admin_vip_endnpc" accessLevel="80" />
<admin command="admin_vip_setdelay" accessLevel="80" />
<admin command="admin_vip_joininit" accessLevel="80" />
<admin command="admin_vip_joinnpc" accessLevel="80" />
<admin command="admin_vip_joinlocxyz" accessLevel="80" />
<admin command="admin_vip_setarea" accessLevel="80" />
<admin command="admin_vip_vipreward" accessLevel="80" />
<admin command="admin_vip_viprewardamount" accessLevel="80" />
<admin command="admin_vip_thevipreward" accessLevel="80" />
<admin command="admin_vip_theviprewardamount" accessLevel="80" />
<admin command="admin_vip_notvipreward" accessLevel="80" />
<admin command="admin_vip_notviprewardamount" accessLevel="80" />
<!-- Section: Walker -->
<admin command="admin_walker_setmessage" accessLevel="80" />
<admin command="admin_walker_menu" accessLevel="80" />

View File

@@ -223,47 +223,6 @@ DonatorDropRate = 1.5
DonatorSpoilRate = 1.5
# ---------------------------------------------------------------------------
# Commands
# ---------------------------------------------------------------------------
# Allow players to use command .farm1
AllowFarm1Command = False
# Put your Farm1 Location ( x,y,z )
farm1_X = 81304
farm1_Y = 14589
farm1_Z = -3469
# Message after successful TP
Farm1CustomMeesage = You have been teleported to Farm Zone 1!
# Allow players to use command .farm2
AllowFarm2Command = False
# Put your Farm2 Location ( x,y,z )
farm2_X = 81304
farm2_Y = 14589
farm2_Z = -3469
# Message after successful TP
Farm2CustomMeesage = You have been teleported to Farm Zone 2!
# Allow players to use command .pvp1
AllowPvP1Command = False
# Put your Farm1 Location ( x,y,z )
pvp1_X = 81304
pvp1_Y = 14589
pvp1_Z = -3469
# Message after successful TP
PvP1CustomMeesage = You have been teleported to PvP Zone 1!
# Allow players to use command .pvp2
AllowPvP2Command = False
# Put your Farm2 Location ( x,y,z )
pvp2_X = 81304
pvp2_Y = 14589
pvp2_Z = -3469
# Message after successful TP
PvP2CustomMeesage = You have been teleported to PvP Zone 2!
# ---------------------------------------------------------------------------
# Protector
# ---------------------------------------------------------------------------

View File

@@ -1,51 +0,0 @@
#============================================================#
# CTF Event Engine #
#============================================================#
# CTF(Capture the flag) Event: Two teams with one flag.
# Setting for Capture The Flag
# CTFEvenTeams = NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to tzhe event and not
# direct to a team. Teams will be schuffeled in teleporting teams.
CTFEvenTeams = SHUFFLE
# Players there not participated in ctf can target ctf participants?
CTFAllowInterference = False
# Ctf participants can use potions?
CTFAllowPotions = False
# Ctf participants can summon by item?
CTFAllowSummon = False
# Remove all effects of ctf participants on event start?
CTFOnStartRemoveAllEffects = True
# Unsummon pet of ctf participants on event start?
CTFOnStartUnsummonPet = True
# On revive participants regain full hp/mp/cp ?
CTFReviveRecovery = False
# Announce all team statistics
CTFAnnounceTeamStats = False
# Announce Reward
CTFAnnounceReward = False
# Enable voice command to register on tvt/ctf events
CTFCommand = True
# Place an aura on participants team ?
CTFAura = False
# Enable event stats logger
CTFStatsLogger = True
# Spawn Team Offset to distribute players
CTFSpawnOffset = 300
# Remove Buffs on player die
CTFRemoveBuffsOnPlayerDie = False

View File

@@ -1,52 +0,0 @@
#============================================================#
# DM Event Engine #
#============================================================#
# DM(DeathMatch) Event: All vs All.
# Players there not participated in DM can target DM participants?
DMAllowInterference = False
# DM participants can use potions?
DMAllowPotions = False
# DM participants can summon by item?
DMAllowSummon = False
# Remove all effects of DM participants on event start?
DMOnStartRemoveAllEffects = True
# Unsummon pet of DM participants on event start?
DMOnStartUnsummonPet = True
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
DMReviveDelay = 20000
# On revive participants regain full hp/mp/cp ?
DMReviveRecovery = False
# Enable voice command to register on dm events (.dmjoin / .dmleave / .dminfo)
DMCommand = True
# Announce Reward
DMAnnounceReward = False
# Enable Kill Reward?
DMEnableKillReward = False
# Kill Reward ID
DMKillRewardID = 6392
# Kill Reward Amount
DMKillRewardAmount = 1
# Offset from center DM Spawn
DMSpawnOffset = 100
# Enable event stats logger
DMStatsLogger = True
# Enable healer classes into DM
DMAllowedHealerClasses = True
# Remove Buffs on player die
DMRemoveBuffsOnPlayerDie = False

View File

@@ -1,19 +0,0 @@
#============================================================#
# Event Manager #
#============================================================#
# Enable auto events and start time.
# TvT auto start
# Example TVTStartTime = 20:00;21:00;22:00;
TVTEventEnabled = False
TVTStartTime = 20:00;
# CTF auto start
# Example CTFStartTime = 20:00;21:00;22:00;
CTFEventEnabled = False
CTFStartTime = 20:30;
# DM auto start
# Example DMStartTime = 20:00;21:00;22:00;
DMEventEnabled = False
DMStartTime = 21:00;

View File

@@ -1,48 +0,0 @@
#============================================================#
# Town War #
#============================================================#
# TW (Town War): Town can became PvP Zone.
# ATTENTION:
# GM char can't be hit during Town war.
# //townwar_start - Starts town war in Giran
# //townwar_end - Ends townwar in Giran
# Town id
# 2: // Talking Island
# 3: // Elven village
# 1: // Dark elf village
# 4: // Orc village
# 6: // Dwarven village
# 7: // Gludio
# 5: // Gludin
# 8: // Dion
# 9: // Giran
# 10: // Oren
# 12: // Aden
# 11: // Hunters village
# 9: // Giran Harbour
# 15: // Heine
# 14: // Rune
# 13: // Goddard
# 17: // Schuttgart
# 16: // Floran
# 20: //Kamael Village
TWTownId = 9
# Set all towns?
TWAllTowns = False
# Reward for each kill
TownWarItemId = 57
TownWarItemAmount = 5000
# Give PKers karma during townwar?
AllowKarma = False
# Disable GK while in event?
DisableGK = True
# If yes it will send a ressurect ask on death.
# If no when you die youll be there dead until the event ends.
# Set to false if you want KOTH town.
SendRessOnDeath = True

View File

@@ -1,71 +0,0 @@
#====================================#
# Team vs Team #
#====================================#
# TvT(Team vs Team) Event: Blue vs Red.
# Setting for Team vs. Team pvp
# TvTEvenTeams = NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to tzhe event and not direct to a team. Teams will be schuffeled in teleporting teams.
TvTEvenTeams = SHUFFLE
# players there not participated in tvt can target tvt participants?
TvTAllowInterference = False
# tvt participants can use potions?
TvTAllowPotions = True
# tvt participants can summon by item?
TvTAllowSummon = True
# remove all effects of tvt participants on event start?
TvTOnStartRemoveAllEffects = True
# unsummon pet of tvt participants on event start?
TvTOnStartUnsummonPet = True
# on revive participants regain full hp/mp/cp ?
TvTReviveRecovery = True
# announce all team statistics
TvTAnnounceTeamStats = True
# announce reward
TvTAnnounceReward = True
# give price with 0 kills
TvTPriceNoKills = True
# Enable voice command to register on tvt event
TvTCommand = True
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
TvTReviveDelay = 10000
# Open Western Fortress doors on tvt finish
TvTOpenFortDoors = False
# Close Western Fortress doors on tvt start
TvTCloseFortDoors = False
# Open Aden Colosseum doors on tvt finish
TvTOpenAdenColosseumDoors = True
# Close Aden Colosseum doors on tvt start
TvTCloseAdenColosseumDoors = True
# TvT Top Killer reward id
TvTTopKillerRewardId = 5575
# TvT Top Killer reward quantity
TvTTopKillerRewardQty = 5000000
# Place an aura on participants team ?
TvTAura = False
# Enable event stats logger
TvTStatsLogger = True
# Remove Buffs on player die
TvTRemoveBuffsOnPlayerDie = False

View File

@@ -350,18 +350,6 @@ TimeOfWarmUp = 2
NumberOfNecessaryPartyMembers = 4
# ---------------------------------------------------------------------------
# Quake / Killing Spree System
# ---------------------------------------------------------------------------
# Enable The Killing Spree System
# When a Player Hits an Amount of pvp's an announcement appears
AllowQuakeSystem = False
# Enable Messages to GMs on 4-5 consecutive pvp of a player
# Why? to see if a char are farming!
EnableAntiPvpFarmMsg = True
# ---------------------------------------------------------------------------
# Aio System
# ---------------------------------------------------------------------------

View File

@@ -126,16 +126,6 @@ TitleForAmount4 = 00FF00
PkAmount5 = 5000
TitleForAmount5 = 00FF00
# -----------------------------
# PK Info Settings
# -----------------------------
# If it is enabled then it shows pk info to the players everytime
# A pk or pvp is done. Messages are:
# "You have killed PlayerX y times".
# OR
# "You have been killed y times by PlayerX.
EnablePkInfo = False
# ----------------------------
# Custom Reward
# ----------------------------

View File

@@ -46,19 +46,5 @@
<td><button value="ItmQty" action="bypass -h admin_set_mod ChampionRewardQty=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="AtkSpd" action="bypass -h admin_set_mod ChampionSpdHp=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
</tr></table><br>
<br><font color="aadd77">Team Vs. Team</font>
<a action="bypass -h admin_help help/l2jmod/tvt.htm"><font color="LEVEL">Help</font></a>
<table width=240><tr>
<td><button value="Enable" action="bypass -h admin_set_mod TvTEventEnabled=true" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="Interval" action="bypass -h admin_set_mod TvTEventInterval=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="PartTime" action="bypass -h admin_set_mod TvTEventParticipationTime=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="RunnTime" action="bypass -h admin_set_mod TvTEventRunningTime=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
</tr><tr>
<td><button value="Disable" action="bypass -h admin_set_mod TvTEventEnabled=false" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td><button value="EventNpc" action="bypass -h admin_set_mod TvTEventParticipationNpcId=$menu_command" width=55 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr></table>
<br>
</center>
</body></html>

View File

@@ -1,20 +0,0 @@
<html><body>Treasure Chest:<br>
<table width=100% border=1><tr><td>top left<br>
<a action="bypass -h npc_%objectId%_Deposit top-left">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw top-left">Withdraw</a></td>
<td align="right">top right<br>
<a action="bypass -h npc_%objectId%_Deposit top-right">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw top-right">Withdraw</a></td></tr>
<tr><td>mid left<br>
<a action="bypass -h npc_%objectId%_Deposit mid-left">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw mid-left">Withdraw</a></td>
<td align="right">mid right<br>
<a action="bypass -h npc_%objectId%_Deposit mid-right">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw mid-right">Withdraw</a></td></tr>
<tr><td>bottom left<br>
<a action="bypass -h npc_%objectId%_Deposit bottom-left">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw bottom-left">Withdraw</a></td>
<td align="right">bottom right<br>
<a action="bypass -h npc_%objectId%_Deposit bottom-right">Deposit</a><br>
<a action="bypass -h npc_%objectId%_Withdraw bottom-right">Withdraw</a></td></tr>
</table></body></html>

View File

@@ -1,9 +0,0 @@
<html><body>
Welcome in our server :)! I'm the Ancient World Master and I don't like if you leave the game for a long time or if you use bot... So, you have <font color="LEVEL">%Time%</font> seconds to demonstrate you are really here,
selecting the correct world I'm saying: <font color="LEVEL">%Word%</font>. Now Select the correct answer .<br>
<a action="link 100001">%Word1%</a><br>
<a action="link 100002">%Word2%</a><br>
<a action="link 100003">%Word3%</a><br>
<a action="link 100004">%Word4%</a><br>
<a action="link 100005">%Word5%</a>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><title>TvT Event Manager</title><body>
Registration for TvT Event:<br><br><center>
%team1name%&nbsp;&nbsp;&nbsp;&nbsp;(%team1playercount% players in)<br1>
%team2name%&nbsp;&nbsp;&nbsp;&nbsp;(%team2playercount% players in)<br>
<button value="Participate" action="bypass -h npc_%objectId%_tvt_event_participation" width=50 height=15 back="sek.cbui94" fore="sek.cbui92">
<button value="Close" action="bypass -h npc_%objectId%_Close" width=50 height=15 back="sek.cbui94" fore="sek.cbui92">
</center></body></html>

View File

@@ -1,6 +0,0 @@
<html><title>TvT Event</title><body>
Cancel Registration yourself for TvT Event:<br1>
You are already registered for this event. Do you wish to cancel your participation in this Event?<br><br><center>
<button value="Yes" action="bypass -h npc_%objectId%_tvt_event_remove_participation" width=40 height=15 back="sek.cbui94" fore="sek.cbui92">
<button value="No" action="bypass -h npc_%objectId%_Close" width=40 height=15 back="sek.cbui94" fore="sek.cbui92">
</center></body></html>

View File

@@ -1,5 +0,0 @@
<html><title>TvT Event</title><body>
TvT Status:<br><br><center>
%team1name% with %team1playercount% players and %team1points% points.<br1>
%team2name% with %team2playercount% players and %team2points% points.<br>
</center></body></html>