Support for Classic client.
This commit is contained in:
parent
cac02e4140
commit
e096946601
18
trunk/dist/game/config/General.properties
vendored
18
trunk/dist/game/config/General.properties
vendored
@ -13,24 +13,6 @@
|
||||
# Default: False
|
||||
EverybodyHasAdminRights = False
|
||||
|
||||
# Setting for serverList
|
||||
# Displays [] in front of server name on character selection
|
||||
# Default: False
|
||||
ServerListBrackets = False
|
||||
|
||||
# Displays server type next to the server name on character selection.
|
||||
# Notes:
|
||||
# Accepted Values: Normal, Relax, Test, Broad, Restricted, Event, Free, World, New, Classic
|
||||
# Default: Normal
|
||||
ServerListType = Normal
|
||||
|
||||
# Displays server minimum age to the server name on character selection.
|
||||
# Notes:
|
||||
# Accepted values: 0, 15, 18
|
||||
# Default: 0
|
||||
ServerListAge = 0
|
||||
|
||||
|
||||
# If True, only accounts with GM access can enter the server.
|
||||
# Default: False
|
||||
ServerGMOnly = False
|
||||
|
20
trunk/dist/game/config/Server.properties
vendored
20
trunk/dist/game/config/Server.properties
vendored
@ -84,9 +84,27 @@ MaximumOnlineUsers = 2000
|
||||
# Numbers of protocol revisions that server allows to connect.
|
||||
# Delimiter is ;
|
||||
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
|
||||
# Default: 603;606;607;610
|
||||
# Ertheia: 603;606;607;610
|
||||
# Classic: 19
|
||||
AllowedProtocolRevisions = 603;606;607;610
|
||||
|
||||
# Displays server type next to the server name on character selection.
|
||||
# Notes:
|
||||
# Accepted Values: Normal, Relax, Test, Broad, Restricted, Event, Free, World, New, Classic
|
||||
# Default: Free
|
||||
ServerListType = Free
|
||||
|
||||
# Displays server minimum age to the server name on character selection.
|
||||
# Notes:
|
||||
# Accepted values: 0, 15, 18
|
||||
# Default: 0
|
||||
ServerListAge = 0
|
||||
|
||||
# Setting for serverList
|
||||
# Displays [] in front of server name on character selection
|
||||
# Default: False
|
||||
ServerListBrackets = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Misc Player Settings
|
||||
|
@ -20,6 +20,7 @@ package ai.npc.Nomi;
|
||||
|
||||
import ai.npc.AbstractNpcAI;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.model.Location;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -76,6 +77,11 @@ public final class Nomi extends AbstractNpcAI
|
||||
addTalkId(NOMI);
|
||||
addFirstTalkId(NOMI);
|
||||
|
||||
if (Config.SERVER_CLASSIC_SUPPORT)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for (Location loc : SPAWN_LOCATIONS)
|
||||
{
|
||||
addSpawn(NOMI, loc, false, 0);
|
||||
|
14510
trunk/dist/game/data/skillTrees/classicSkillTree.xml
vendored
Normal file
14510
trunk/dist/game/data/skillTrees/classicSkillTree.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
80
trunk/dist/game/data/stats/classic_experience.xml
vendored
Normal file
80
trunk/dist/game/data/stats/classic_experience.xml
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<table maxLevel="75" maxPetLevel="76" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/experience.xsd">
|
||||
<experience level="1" tolevel="0" />
|
||||
<experience level="2" tolevel="68" />
|
||||
<experience level="3" tolevel="363" />
|
||||
<experience level="4" tolevel="1168" />
|
||||
<experience level="5" tolevel="2884" />
|
||||
<experience level="6" tolevel="6038" />
|
||||
<experience level="7" tolevel="11287" />
|
||||
<experience level="8" tolevel="19423" />
|
||||
<experience level="9" tolevel="31378" />
|
||||
<experience level="10" tolevel="48229" />
|
||||
<experience level="11" tolevel="71202" />
|
||||
<experience level="12" tolevel="101677" />
|
||||
<experience level="13" tolevel="141193" />
|
||||
<experience level="14" tolevel="191454" />
|
||||
<experience level="15" tolevel="254330" />
|
||||
<experience level="16" tolevel="331867" />
|
||||
<experience level="17" tolevel="426288" />
|
||||
<experience level="18" tolevel="540000" />
|
||||
<experience level="19" tolevel="675596" />
|
||||
<experience level="20" tolevel="835862" />
|
||||
<experience level="21" tolevel="920357" />
|
||||
<experience level="22" tolevel="1015431" />
|
||||
<experience level="23" tolevel="1123336" />
|
||||
<experience level="24" tolevel="1246808" />
|
||||
<experience level="25" tolevel="1389235" />
|
||||
<experience level="26" tolevel="1554904" />
|
||||
<experience level="27" tolevel="1749413" />
|
||||
<experience level="28" tolevel="1980499" />
|
||||
<experience level="29" tolevel="2260321" />
|
||||
<experience level="30" tolevel="2634751" />
|
||||
<experience level="31" tolevel="2844287" />
|
||||
<experience level="32" tolevel="3093068" />
|
||||
<experience level="33" tolevel="3389496" />
|
||||
<experience level="34" tolevel="3744042" />
|
||||
<experience level="35" tolevel="4169902" />
|
||||
<experience level="36" tolevel="4683988" />
|
||||
<experience level="37" tolevel="5308556" />
|
||||
<experience level="38" tolevel="6074376" />
|
||||
<experience level="39" tolevel="7029248" />
|
||||
<experience level="40" tolevel="8342182" />
|
||||
<experience level="41" tolevel="8718976" />
|
||||
<experience level="42" tolevel="12842357" />
|
||||
<experience level="43" tolevel="14751932" />
|
||||
<experience level="44" tolevel="17009030" />
|
||||
<experience level="45" tolevel="19686117" />
|
||||
<experience level="46" tolevel="22875008" />
|
||||
<experience level="47" tolevel="26695470" />
|
||||
<experience level="48" tolevel="31312332" />
|
||||
<experience level="49" tolevel="36982854" />
|
||||
<experience level="50" tolevel="44659561" />
|
||||
<experience level="51" tolevel="48128727" />
|
||||
<experience level="52" tolevel="52277875" />
|
||||
<experience level="53" tolevel="57248635" />
|
||||
<experience level="54" tolevel="63216221" />
|
||||
<experience level="55" tolevel="70399827" />
|
||||
<experience level="56" tolevel="79078300" />
|
||||
<experience level="57" tolevel="89616178" />
|
||||
<experience level="58" tolevel="102514871" />
|
||||
<experience level="59" tolevel="118552044" />
|
||||
<experience level="60" tolevel="140517709" />
|
||||
<experience level="61" tolevel="153064754" />
|
||||
<experience level="62" tolevel="168231664" />
|
||||
<experience level="63" tolevel="186587702" />
|
||||
<experience level="64" tolevel="208840245" />
|
||||
<experience level="65" tolevel="235877658" />
|
||||
<experience level="66" tolevel="268833561" />
|
||||
<experience level="67" tolevel="309192920" />
|
||||
<experience level="68" tolevel="358998712" />
|
||||
<experience level="69" tolevel="421408669" />
|
||||
<experience level="70" tolevel="493177635" />
|
||||
<experience level="71" tolevel="555112374" />
|
||||
<experience level="72" tolevel="630494192" />
|
||||
<experience level="73" tolevel="722326994" />
|
||||
<experience level="74" tolevel="834354722" />
|
||||
<experience level="75" tolevel="971291524" />
|
||||
<experience level="76" tolevel="1139165674" />
|
||||
<experience level="77" tolevel="1345884863" />
|
||||
</table>
|
245
trunk/dist/tools/sql/game/classic_raidboss_spawnlist.sql
vendored
Normal file
245
trunk/dist/tools/sql/game/classic_raidboss_spawnlist.sql
vendored
Normal file
@ -0,0 +1,245 @@
|
||||
DROP TABLE IF EXISTS classic_raidboss_spawnlist;
|
||||
CREATE TABLE classic_raidboss_spawnlist (
|
||||
`boss_id` smallint(5) unsigned NOT NULL,
|
||||
`amount` tinyint(1) unsigned NOT NULL DEFAULT '1',
|
||||
`loc_x` mediumint(6) NOT NULL,
|
||||
`loc_y` mediumint(6) NOT NULL,
|
||||
`loc_z` mediumint(6) NOT NULL,
|
||||
`heading` mediumint(6) NOT NULL DEFAULT '0',
|
||||
`respawn_delay` mediumint(6) unsigned NOT NULL DEFAULT '129600', -- 36 Hours
|
||||
`respawn_random` mediumint(6) unsigned NOT NULL DEFAULT '86400', -- (24 Hours)
|
||||
`respawn_time` bigint(13) unsigned NOT NULL DEFAULT '0',
|
||||
`currentHp` decimal(8,0) DEFAULT NULL,
|
||||
`currentMp` decimal(8,0) DEFAULT NULL,
|
||||
PRIMARY KEY (`boss_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO `classic_raidboss_spawnlist` VALUES
|
||||
(25001,1,-54416,146480,-2887,0,43200,129600,0,95986,545), -- Greyclaw Kutus (23)
|
||||
(25004,1,-94208,100240,-3520,0,43200,129600,0,168366,763), -- Turek Mercenary Captain (30)
|
||||
(25007,1,124240,75376,-2800,0,43200,129600,0,331522,1062), -- Retreat Spider Cletu (42)
|
||||
(25010,1,113920,52960,-3735,0,43200,129600,0,624464,2039), -- Furious Thieles (55)
|
||||
(25013,1,169744,11920,-2732,0,43200,129600,0,507285,1722), -- Ghost Of Peasant Leader (50)
|
||||
(25016,1,76787,245775,-10376,0,43200,129600,0,188376,2368), -- The 3rd Underwater Guardian (60)
|
||||
(25019,1,7376,169376,-3600,0,43200,129600,0,206185,606), -- Pan Dryad (25)
|
||||
(25020,1,90384,125568,-2128,0,43200,129600,0,156584,893), -- Breka Warlock Pastu (34)
|
||||
(25023,1,27280,101744,-3696,0,43200,129600,0,208019,1415), -- Stakato Queen Zyrnna (34)
|
||||
(25026,1,92976,7920,-3914,0,43200,129600,0,352421,1660), -- Katu Van Leader Atui (49)
|
||||
(25029,1,54941,206705,-3728,0,43200,129600,0,156190,1911), -- Atraiban (53)
|
||||
(25032,1,88532,245798,-10376,0,43200,129600,0,229722,2707), -- Eva's Guardian Millenu (58)
|
||||
(25035,1,180968,12035,-2720,0,43200,129600,0,888658,3058), -- Shilen's Messenger Cabrio (70)
|
||||
(25038,1,-57360,186272,-4967,0,43200,129600,0,116581,699), -- Tirak (28)
|
||||
(25041,1,10416,126880,-3676,0,43200,129600,0,165289,927), -- Remmel (35)
|
||||
(25044,1,107792,27728,-3488,0,43200,129600,0,319791,1296), -- Barion (47)
|
||||
(25047,1,116352,27648,-3319,0,43200,129600,0,352421,1660), -- Karte (49)
|
||||
(25050,1,125520,27216,-3632,0,43200,129600,0,771340,2039), -- Verfa (51)
|
||||
(25051,1,117760,-9072,-3264,0,43200,129600,0,818959,2707), -- Rahha (65)
|
||||
(25054,1,113432,16403,3960,0,43200,129600,0,945900,3420), -- Kernon (75)
|
||||
(25057,1,107056,168176,-3456,0,43200,129600,0,288415,2235), -- Biconne Of Blue Sky (45)
|
||||
(25060,1,-60428,188264,-4512,0,43200,129600,0,99367,575), -- Unrequited Kael (24)
|
||||
(25063,1,-91024,116304,-3466,0,43200,129600,0,330579,927), -- Chertuba Of Great Soul (35)
|
||||
(25064,1,92528,84752,-3703,0,43200,129600,0,218810,1120), -- Wizard Of Storm Teruk (40)
|
||||
(25067,1,94992,-23168,-2176,0,43200,129600,0,554640,1598), -- Captain Of Red Flag Shaka (52)
|
||||
(25070,1,125600,50100,-3600,0,43200,129600,0,451391,2039), -- Enchanted Forest Watcher Ruell (55)
|
||||
(25073,1,143265,110044,-3944,0,43200,129600,0,875948,2987), -- Bloody Priest Rudelto (69)
|
||||
(25076,1,-60976,127552,-2960,0,43200,129600,0,103092,606), -- Princess Molrang (25)
|
||||
(25079,1,53712,102656,-1072,0,43200,129600,0,168366,763), -- Cat's Eye Bandit (30)
|
||||
(25082,1,88512,140576,-3483,0,43200,129600,0,206753,1062), -- Leader Of Cat Gang (39)
|
||||
(25085,1,66944,67504,-3704,0,43200,129600,0,371721,1355), -- Timak Orc Chief Ranger (44)
|
||||
(25088,1,90848,16368,-5296,0,43200,129600,0,702418,2039), -- Crazy Mechanic Golem (43)
|
||||
(25089,1,165424,93776,-2992,0,43200,129600,0,512194,2301), -- Soulless Wild Boar (59)
|
||||
(25092,1,116151,16227,1944,0,43200,129600,0,888658,3058), -- Korim (70)
|
||||
(25095,1,-37856,198128,-2672,0,43200,129600,0,121941,731), -- Elf Renoa (29)
|
||||
(25098,1,123536,133504,-3584,0,43200,129600,0,330579,927), -- Sejarr's Servitor (35)
|
||||
-- (25098,1,-5937,175004,-2940,59144,43200,129600,0,330579,927), -- Sejarr's Servitor (35) -- 2nd spawn?
|
||||
(25099,1,64048,16048,-3536,0,43200,129600,0,273375,1355), -- Rotten Tree Repiro (44)
|
||||
(25102,1,113840,84256,-2480,0,43200,129600,0,576831,1722), -- Shacram (45)
|
||||
(25103,1,135872,94592,-3735,0,43200,129600,0,451391,2039), -- Sorcerer Isirr (55)
|
||||
(25106,1,173880,-11412,-2880,0,43200,129600,0,526218,2570), -- Ghost Of The Well Lidia (60)
|
||||
(25109,1,152660,110387,-5520,0,43200,129600,0,935092,3347), -- Antharas Priest Cloe (74)
|
||||
(25112,1,116128,139392,-3640,0,43200,129600,0,127782,763), -- Agent Of Beres, Meana (30)
|
||||
(25115,1,94000,197500,-3300,0,43200,129600,0,294846,1120), -- Icarus Sample 1 (40)
|
||||
(25118,1,50896,146576,-3645,0,43200,129600,0,330579,1415), -- Guilotine, Warden Of The Execution Grounds (35)
|
||||
(25119,1,121872,64032,-3536,0,43200,129600,0,507285,1722), -- Messenger Of Fairy Queen Berun (50)
|
||||
(25122,1,86300,-8200,-3000,0,43200,129600,0,467209,2235), -- Refugee Hopeful Leo (56)
|
||||
(25125,1,170656,85184,-2000,0,43200,129600,0,1637918,2707), -- Fierce Tiger King Angel (65)
|
||||
(25126,1,116263,15916,6992,0,43200,129600,0,1974940,3718), -- Longhorn Golkonda (79)
|
||||
(25127,1,-47552,219232,-2413,0,43200,129600,0,198734,763), -- Langk Matriarch Rashkos (24)
|
||||
(25128,1,17696,179056,-3520,0,43200,129600,0,148507,860), -- Vuku Grand Seer Gharmash (33)
|
||||
(25131,1,75488,-9360,-2720,0,43200,129600,0,369009,1415), -- Carnage Lord Gato (50)
|
||||
(25134,1,87536,75872,-3591,0,43200,129600,0,218810,1722), -- Leto Chief Talkin (40)
|
||||
(25137,1,125280,102576,-3305,0,43200,129600,0,451391,2039), -- Beleth's Seer Sephia (55)
|
||||
(25140,1,191975,56959,-7616,0,43200,129600,0,818959,2707), -- Hekaton Prime (65)
|
||||
(25143,1,113102,16002,6992,0,43200,129600,0,977229,3718), -- Fire Of Wrath Shuriel (78)
|
||||
(25146,1,-13056,215680,-3760,0,43200,129600,0,90169,485), -- Serpent Demon Bifrons (21)
|
||||
(25149,1,-12656,138176,-3584,0,43200,129600,0,103092,606), -- Zombie Lord Crowl (25)
|
||||
(25152,1,43872,123968,-2928,0,43200,129600,0,165289,927), -- Flame Lord Shadar (35)
|
||||
(25155,1,73520,66912,-3728,0,43200,129600,0,294846,1120), -- Shaman King Selu (40)
|
||||
(25158,1,77104,5408,-3088,0,43200,129600,0,920790,1722), -- King Tarlk (48)
|
||||
(25159,1,124984,43200,-3625,0,43200,129600,0,435256,1975), -- Paniel The Unicorn (54)
|
||||
(25162,1,194107,53884,-4368,0,43200,129600,0,1461912,2368), -- Giant Marpanak (60)
|
||||
(25163,1,130500,59098,3584,0,43200,129600,0,888658,3058), -- Roaring Skylancer (70)
|
||||
(25166,1,-21800,152000,-2900,0,43200,129600,0,134813,606), -- Ikuntai (25)
|
||||
(25169,1,-54464,170288,-3136,0,43200,129600,0,336732,763), -- Ragraman (30)
|
||||
(25170,1,26064,121808,-3738,0,43200,129600,0,195371,1028), -- Lizardmen Leader Hellion (38)
|
||||
(25173,1,75968,110784,-2512,0,43200,129600,0,288415,1415), -- Tiger King Karuta (45)
|
||||
(25176,1,92544,115232,-3200,0,43200,129600,0,451391,2039), -- Black Lily (55)
|
||||
(25179,1,181814,52379,-4344,0,43200,129600,0,526218,2368), -- Guardian Of The Statue Of Giant Karum (60)
|
||||
(25182,1,41966,215417,-3728,0,43200,129600,0,512194,2707), -- Demon Kurikups (59)
|
||||
(25185,1,88123,166312,-3412,0,43200,129600,0,165289,927), -- Tasaba Patriarch Hellena (35)
|
||||
(25188,1,88256,176208,-3488,0,43200,129600,0,255564,763), -- Apepi (30)
|
||||
(25189,1,68832,203024,-3547,0,43200,129600,0,156584,893), -- Cronos's Servitor Mumu (34)
|
||||
(25192,1,125920,190208,-3291,0,43200,129600,0,258849,1296), -- Earth Protector Panathen (43)
|
||||
(25198,1,102656,157424,-3735,0,43200,129600,0,1777317,2639), -- Fafurion's Herald Lokness (70)
|
||||
(25199,1,108096,157408,-3688,0,43200,129600,0,912634,2707), -- Water Dragon Seer Sheshark (72)
|
||||
(25202,1,119760,157392,-3744,0,43200,129600,0,935092,2777), -- Krokian Padisha Sobekk (74)
|
||||
(25205,1,123808,153408,-3671,0,43200,129600,0,956490,3274), -- Ocean Flame Ashakiel (76)
|
||||
(25208,1,73776,201552,-3760,0,43200,129600,0,218810,1722), -- Water Couatle Ateka (40)
|
||||
(25211,1,76352,193216,-3648,0,43200,129600,0,174646,1975), -- Sebek (36)
|
||||
(25214,1,112112,209936,-3616,0,43200,129600,0,218810,2368), -- Fafurion's Page Sika (40)
|
||||
(25217,1,89904,105712,-3292,0,43200,129600,0,369009,1722), -- Cursed Clara (50)
|
||||
(25220,1,113551,17083,-2120,0,43200,129600,0,924022,3274), -- Death Lord Hallate (73)
|
||||
(25223,1,43152,152352,-2848,0,43200,129600,0,165289,1237), -- Soul Collector Acheron (35)
|
||||
(25226,1,104240,-3664,-3392,0,43200,129600,0,768537,2502), -- Roaring Lord Kastor (62)
|
||||
(25229,1,137568,-19488,-3552,0,43200,129600,0,1891801,3420), -- Storm Winged Naga (75)
|
||||
(25230,1,66672,46704,-3920,0,43200,129600,0,482650,2169), -- Timak Seer Ragoth (57)
|
||||
(25233,1,185800,-26500,-2000,0,43200,129600,0,1256671,3643), -- Spirit Of Andras, The Betrayer (69)
|
||||
(25234,1,120080,111248,-3047,0,43200,129600,0,1052436,2707), -- Ancient Weird Drake (60)
|
||||
(25235,1,116400,-62528,-3264,0,43200,129600,0,912634,3202), -- Vanor Chief Kandra (72)
|
||||
(25238,1,155000,85400,-3200,0,43200,129600,0,512194,2846), -- Abyss Brukunt (59)
|
||||
(25241,1,165984,88048,-2384,0,43200,129600,0,624464,2639), -- Harit Hero Tamash (55)
|
||||
(25244,1,187360,45840,-5856,0,43200,129600,0,1891801,3420), -- Last Lesser Giant Olkuth (75)
|
||||
(25245,1,172000,55000,-5400,0,43200,129600,0,977229,3643), -- Last Lesser Giant Glaki (78)
|
||||
(25248,1,127903,-13399,-3720,0,43200,129600,0,1825269,3274), -- Doom Blade Tanatos (72)
|
||||
(25249,1,147104,-20560,-3377,0,43200,129600,0,945900,3420), -- Palatanos Of Horrific Power (75)
|
||||
(25252,1,192376,22087,-3608,0,43200,129600,0,888658,3058), -- Palibati Queen Themis (70)
|
||||
(25255,1,170048,-24896,-3440,0,43200,129600,0,1637918,2707), -- Gargoyle Lord Tiphon (65)
|
||||
(25256,1,170320,42640,-4832,0,43200,129600,0,526218,2368), -- Taik High Prefect Arak (60)
|
||||
(25259,1,42050,208107,-3752,0,43200,129600,0,1248928,2039), -- Zaken's Butcher Krantz (55)
|
||||
(25260,1,93120,19440,-3607,0,43200,129600,0,392985,1722), -- Iron Giant Totem (45)
|
||||
(25263,1,144400,-28192,-1920,0,43200,129600,0,848789,2846), -- Kernon's Faithful Servant Kelone (67)
|
||||
(25266,1,188983,13647,-2672,0,43200,129600,0,945900,3420), -- Bloody Empress Decarbia (75)
|
||||
(25269,1,123504,-23696,-3481,0,43200,129600,0,888658,3058), -- Beast Lord Behemoth (70)
|
||||
(25272,1,49248,127792,-3552,0,43200,129600,0,233163,1415), -- Partisan Leader Talakin (28)
|
||||
-- (25273,1,23800,119500,-8976,0,43200,129600,0,507285,2104), -- Carnamakos (50) -- (Spawn by Quest)
|
||||
(25276,1,154088,-14116,-3736,0,43200,129600,0,1891801,3420), -- Death Lord Ipos (75)
|
||||
(25277,1,54651,180269,-4976,0,43200,129600,0,507285,1722), -- Lilith's Witch Marilion (50)
|
||||
(25280,1,85622,88766,-5120,0,43200,129600,0,1248928,2039), -- Pagan Watcher Cerberon (55)
|
||||
(25281,1,151053,88124,-5424,0,43200,129600,0,1777317,3058), -- Anakim's Nemesis Zakaron (70)
|
||||
(25282,1,179311,-7632,-4896,0,43200,129600,0,1891801,3420), -- Death Lord Shax (75)
|
||||
-- (25283,1,184410,-10111,-5488,0,43200,129600,0,1639146,3793), -- Lilith (80) -- (Spawn by Seven Signs)
|
||||
-- (25286,1,185000,-13000,-5488,0,43200,129600,0,1639146,3793), -- Anakim (80) -- (Spawn by Seven Signs)
|
||||
-- (25290,1,186304,-43744,-3193,0,43200,129600,0,977229,3718), -- Daimon The White-Eyed (78) -- (Spawn by Quest)
|
||||
(25293,1,134672,-115600,-1216,0,43200,129600,0,977229,3718), -- Hestia, Guardian Deity Of The Hot Springs (78)
|
||||
-- (25296,1,158352,-121088,-2240,0,43200,129600,0,935092,3718), -- Icicle Emperor Bumbalump (74) -- (Spawn by Quest)
|
||||
(25299,1,148160,-73808,-4919,0,43200,129600,0,714778,3718), -- Ketra's Hero Hekaton (80)
|
||||
(25302,1,145504,-81664,-6016,0,43200,129600,0,743801,3718), -- Ketra's Commander Tayr (84)
|
||||
(25305,1,145008,-84992,-6240,0,43200,129600,0,1532678,3718), -- Ketra's Chief Brakki (87)
|
||||
-- (25306,1,142368,-82512,-6487,0,43200,129600,0,534922,3718), -- Soul Of Fire Nastron (87) -- (Spawn by Quest)
|
||||
(25309,1,115552,-39200,-2480,0,43200,129600,0,714778,3718), -- Varka's Hero Shadith (80)
|
||||
(25312,1,109216,-36160,-938,0,43200,129600,0,743801,3718), -- Varka's Commander Mos (84)
|
||||
(25315,1,105584,-43024,-1728,0,43200,129600,0,1532678,3718), -- Varka's Chief Horus (87)
|
||||
-- (25316,1,105452,-36775,-1050,0,43200,129600,0,534922,3718), -- Soul Of Water Ashutar (87) -- (Spawn by Quest)
|
||||
(25319,1,184542,-106330,-6304,0,43200,129600,0,1048567,3718), -- Ember (85)
|
||||
(25322,1,93296,-75104,-1824,0,43200,129600,0,834231,3718), -- Demon's Agent Falston (66)
|
||||
(25325,1,91008,-85904,-2736,0,43200,129600,0,888658,3718), -- Flame Of Splendor Barakiel (70)
|
||||
-- (25328,1,59331,-42403,-3003,0,7200,10800,0,900867,3718), -- Eilhalder Von Hellmann (71) -- (Only Spawn at Night)
|
||||
-- (25333,1,000000,000000,000000,0,43200,129600,0,193763,3718), -- Anakazel (28) -- (Spawn by Dimensional Instance)
|
||||
-- (25334,1,000000,000000,000000,0,43200,129600,0,306698,3718), -- Anakazel (38) -- (Spawn by Dimensional Instance)
|
||||
-- (25335,1,000000,000000,000000,0,43200,129600,0,494363,3718), -- Anakazel (48) -- (Spawn by Dimensional Instance)
|
||||
-- (25336,1,000000,000000,000000,0,43200,129600,0,705074,3718), -- Anakazel (58) -- (Spawn by Dimensional Instance)
|
||||
-- (25337,1,000000,000000,000000,0,43200,129600,0,865808,3718), -- Anakazel (68) -- (Spawn by Dimensional Instance)
|
||||
-- (25338,1,000000,000000,000000,0,43200,129600,0,977523,3718), -- Anakazel (78) -- (Spawn by Dimensional Instance)
|
||||
-- (25339,1,191544,-85575,-7184,-33016,60,60,0,211425,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25339,1,189801,-88965,-7184,-33016,60,60,0,243663,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25339,1,173193,-76299,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25339,1,175610,-72453,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25342,1,191544,-85575,-7184,-33016,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25342,1,189801,-88965,-7184,-33016,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25342,1,173193,-76299,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25342,1,175610,-72453,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25346,1,191544,-85575,-7184,-33016,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25346,1,189801,-88965,-7184,-33016,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25346,1,173193,-76299,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25346,1,175610,-72453,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25349,1,191544,-85575,-7184,-33016,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25349,1,189801,-88965,-7184,-33016,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25349,1,173193,-76299,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
-- (25349,1,175610,-72453,-7184,-15992,60,60,0,96646,3718), -- Shadow Of Halisha (81) -- (Spawn by Quest)
|
||||
(25352,1,-16912,174912,-3264,0,43200,129600,0,127782,3718), -- Giant Wasteland Basilisk (30)
|
||||
(25354,1,-16096,184288,-3817,0,43200,129600,0,165289,3718), -- Gargoyle Lord Sirocco (35)
|
||||
(25357,1,-3456,112864,-3456,0,43200,129600,0,90169,3718), -- Sukar Wererat Chief (21)
|
||||
(25360,1,29216,179280,-3624,0,43200,129600,0,107186,3718), -- Tiger Hornet (26)
|
||||
(25362,1,-55920,186768,-3336,0,43200,129600,0,95986,3718), -- Tracker Leader Sharuk (23)
|
||||
(25365,1,-62000,190256,-3687,0,43200,129600,0,214372,3718), -- Patriarch Kuroboros (26)
|
||||
(25366,1,-62368,179440,-3594,0,43200,129600,0,95986,3718), -- Kuroboros' Priest (23)
|
||||
(25369,1,-45616,111024,-3808,0,43200,129600,0,103092,3718), -- Soul Scavenger (25)
|
||||
(25372,1,48000,243376,-6611,0,43200,129600,0,175392,3718), -- Discarded Guardian (20)
|
||||
(25373,1,9649,77467,-3808,0,43200,129600,0,90169,3718), -- Malex Herald Of Dagoniel (21)
|
||||
(25375,1,22500,80300,-2772,0,43200,129600,0,87696,3718), -- Zombie Lord Farakelsus (20)
|
||||
(25378,1,-54096,84288,-3512,0,43200,129600,0,87696,3718), -- Madness Beast (20)
|
||||
(25380,1,-47367,51548,-5904,0,43200,129600,0,90169,3718), -- Kaysha Herald Of Icarus (21)
|
||||
(25383,1,51632,153920,-3552,0,43200,129600,0,156584,3718), -- Revenant Of Sir Calibus (34)
|
||||
(25385,1,53600,143472,-3872,0,43200,129600,0,174646,3718), -- Evil Spirit Tempest (36)
|
||||
(25388,1,40128,101920,-1241,0,43200,129600,0,165289,3718), -- Red Eye Captain Trakia (35)
|
||||
(25391,1,45600,120592,-2455,0,43200,129600,0,297015,3718), -- Nurka's Messenger (33)
|
||||
(25392,1,29928,107160,-3708,0,43200,129600,0,141034,3718), -- Captain Of Queen's Royal Guards (32)
|
||||
(25394,1,101888,200224,-3680,0,43200,129600,0,390743,3718), -- Premo Prime (38)
|
||||
(25395,1,15000,119000,-11900,0,43200,129600,0,288415,3718), -- Archon Suscepter (45)
|
||||
(25398,1,5000,189000,-3728,0,43200,129600,0,165289,3718), -- Eye Of Beleth (35)
|
||||
(25401,1,117808,102880,-3600,0,43200,129600,0,141034,3718), -- Skyla (32)
|
||||
(25404,1,35992,191312,-3104,0,43200,129600,0,148507,3718), -- Corsair Captain Kylon (33)
|
||||
(25407,1,115072,112272,-3018,0,43200,129600,0,526218,3718), -- Lord Ishka (60)
|
||||
(25410,1,72192,125424,-3657,0,43200,129600,0,218810,3718), -- Road Scavenger Leader (40)
|
||||
(25412,1,81920,113136,-3056,0,43200,129600,0,319791,3718), -- Necrosentinel Royal Guard (47)
|
||||
(25415,1,128352,138464,-3467,0,43200,129600,0,218810,3718), -- Nakondas (40)
|
||||
(25418,1,62416,8096,-3376,0,43200,129600,0,273375,3718), -- Dread Avenger Kraven (44)
|
||||
(25420,1,42032,24128,-4704,0,43200,129600,0,335987,3718), -- Orfen's Handmaiden (48)
|
||||
(25423,1,113600,47120,-4640,0,43200,129600,0,539706,3718), -- Fairy Queen Timiniel (61)
|
||||
(25426,1,-18048,-101264,-2112,0,43200,129600,0,103092,3718), -- Betrayer Of Urutu Freki (25)
|
||||
(25429,1,172064,-214752,-3565,0,43200,129600,0,103092,3718), -- Mammon Collector Talos (25)
|
||||
(25431,1,79648,18320,-5232,0,43200,129600,0,273375,3718), -- Flamestone Golem (44)
|
||||
(25434,1,104096,-16896,-1803,0,43200,129600,0,451391,3718), -- Bandit Leader Barda (55)
|
||||
(25437,1,67296,64128,-3723,0,43200,129600,0,576831,3718), -- Timak Orc Gosmos (45)
|
||||
(25438,1,107000,92000,-2272,0,43200,129600,0,273375,3718), -- Thief Kelbar (44)
|
||||
(25441,1,111440,82912,-2912,0,43200,129600,0,288415,3718), -- Evil Spirit Cyrion (45)
|
||||
(25444,1,113232,17456,-4384,0,43200,129600,0,588136,3718), -- Enmity Ghost Ramdal (65)
|
||||
(25447,1,113200,17552,-1424,0,43200,129600,0,645953,3718), -- Immortal Savior Mardil (71)
|
||||
(25450,1,113600,15104,9559,0,43200,129600,0,987470,3718), -- Cherub Galaxia (79)
|
||||
(25453,1,156704,-6096,-4185,0,43200,129600,0,888658,3718), -- Meanas Anor (70)
|
||||
(25456,1,133632,87072,-3623,0,43200,129600,0,352421,3718), -- Mirror Of Oblivion (49)
|
||||
(25460,1,150304,67776,-3688,0,43200,129600,0,385670,3718), -- Deadman Ereve (51)
|
||||
(25463,1,166288,68096,-3264,0,43200,129600,0,467209,3718), -- Harit Guardian Garangky (56)
|
||||
(25467,1,186192,61472,-4160,0,43200,129600,0,576851,3718), -- Gorgolos (64)
|
||||
(25470,1,186896,56276,-4576,0,43200,129600,0,598898,3718), -- Last Titan Utenus (66)
|
||||
(25473,1,175712,29856,-3776,0,43200,129600,0,402319,3718), -- Grave Robber Kim (52)
|
||||
(25475,1,183568,24560,-3184,0,43200,129600,0,451391,3718), -- Ghost Knight Kabed (55)
|
||||
(25478,1,168288,28368,-3632,0,43200,129600,0,588136,3718), -- Shilen's Priest Hisilrome (65)
|
||||
(25481,1,53517,205413,-3728,0,43200,129600,0,66938,3718), -- Magus Kenishee (53)
|
||||
(25484,1,43160,220463,-3680,0,43200,129600,0,369009,3718), -- Zaken's Chief Mate Tillion (50)
|
||||
(25487,1,83056,183232,-3616,0,43200,129600,0,218810,3718), -- Water Spirit Lian (40)
|
||||
(25490,1,86528,216864,-3584,0,43200,129600,0,218810,3718), -- Gwindorr (40)
|
||||
(25493,1,83174,254428,-10873,0,43200,129600,0,451391,3718), -- Eva's Spirit Niniel (55)
|
||||
(25496,1,88300,258000,-10200,0,43200,129600,0,402319,3718), -- Fafurion's Envoy Pingolpin (52)
|
||||
(25498,1,126624,174448,-3056,0,43200,129600,0,288415,3718), -- Fafurion's Henchman Istary (45)
|
||||
-- (25501,1,48575,-106191,-1568,0,43200,129600,0,127782,9999), -- Boss Akata (30) -- stats to be done
|
||||
-- (25504,1,123000,-141000,-1100,0,43200,129600,0,206753,9999), -- Nellis' Vengeful Spirit (39) -- stats & proper coords to be done
|
||||
-- (25506,1,127900,-160600,-1100,0,43200,129600,0,184670,9999), -- Rayito The Looter (37) -- stats & proper coords to be done
|
||||
-- (25509,1,74000,-102000,900,0,43200,129600,0,418874,9999), -- Dark Shaman Varangka (53) -- stats & proper coords to be done
|
||||
-- (25512,1,96524,-111070,-3335,0,43200,129600,0,804638,9999), -- Gigantic Chaos Golem (52) -- stats to be done
|
||||
(25514,1,79635,-55434,-6135,0,43200,129600,0,714778,3718), -- Queen Shyeed (80)
|
||||
-- (25517,1,113000,-76000,200,0,43200,129600,0,1069643,9999), -- Master Anays (87) -- (Spawn by Quest)
|
||||
-- (25523,1,170000,-60000,-3500,0,43200,129600,0,1848045,9999), -- Plague Golem (73) -- stats & proper coords to be done
|
||||
(25524,1,144143,-5731,-4722,0,43200,129600,0,956490,3247), -- Flamestone Giant (76)
|
||||
(25527,1,3776,-6768,-3288,0,43200,129600,0,1532678,3718); -- Uruka (86)
|
||||
|
||||
|
||||
--
|
||||
-- Following mobs need their type checked, corrected & determined whether they actually belong in here
|
||||
--
|
||||
-- (29054,1,11882,-49216,-3008,0,43200,129600,0,1352750,1494), -- Benom (75) (spawn 1hr before siege in rune start)
|
||||
-- (29056,1,102800,-126000,-2500,0,43200,129600,0,350000,9999), -- Ice Fairy Sirra (60) -- stats to be done (Spawn by Quest)
|
||||
-- (29060,1,106000,-128000,-3000,0,43200,129600,0,350000,9999), -- Captain Of The Ice Queen's Royal Guard (59) -- stats to be done
|
||||
-- (29062,1,-16382,-53450,-10432,0,43200,129600,0,400000,9999), -- High Priestess Van Halter (87) -- stats to be done (Spawn by Quest)
|
||||
-- (29065,1,26528,-8244,-20,0,43200,129600,0,400000,9999), -- Sailren (87) -- stats to be done (Spawn by Quest)
|
||||
-- (29095,1,147408,-43552,-2328,0,129600,86400,2289038,4553); -- Gordon (87) -- walking arround Goddard
|
38168
trunk/dist/tools/sql/game/classic_spawnlist.sql
vendored
Normal file
38168
trunk/dist/tools/sql/game/classic_spawnlist.sql
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -432,9 +432,6 @@ public final class Config
|
||||
// General Settings
|
||||
// --------------------------------------------------
|
||||
public static boolean EVERYBODY_HAS_ADMIN_RIGHTS;
|
||||
public static boolean SERVER_LIST_BRACKET;
|
||||
public static int SERVER_LIST_TYPE;
|
||||
public static int SERVER_LIST_AGE;
|
||||
public static boolean SERVER_GMONLY;
|
||||
public static boolean GM_HERO_AURA;
|
||||
public static boolean GM_STARTUP_INVULNERABLE;
|
||||
@ -993,6 +990,10 @@ public final class Config
|
||||
public static int REQUEST_ID;
|
||||
public static boolean RESERVE_HOST_ON_LOGIN = false;
|
||||
public static List<Integer> PROTOCOL_LIST;
|
||||
public static int SERVER_LIST_TYPE;
|
||||
public static int SERVER_LIST_AGE;
|
||||
public static boolean SERVER_LIST_BRACKET;
|
||||
public static boolean SERVER_CLASSIC_SUPPORT = false;
|
||||
public static boolean LOGIN_SERVER_SCHEDULE_RESTART;
|
||||
public static long LOGIN_SERVER_SCHEDULE_RESTART_TIME;
|
||||
|
||||
@ -1235,6 +1236,9 @@ public final class Config
|
||||
_log.log(Level.WARNING, "Wrong config protocol version: " + protocol + ". Skipped.");
|
||||
}
|
||||
}
|
||||
SERVER_LIST_TYPE = getServerTypeId(serverSettings.getString("ServerListType", "Free").split(","));
|
||||
SERVER_LIST_AGE = serverSettings.getInt("ServerListAge", 0);
|
||||
SERVER_LIST_BRACKET = serverSettings.getBoolean("ServerListBrackets", false);
|
||||
|
||||
// Hosts and Subnets
|
||||
IPConfigData ipcd = new IPConfigData();
|
||||
@ -1766,9 +1770,6 @@ public final class Config
|
||||
// Load General L2Properties file (if exists)
|
||||
final PropertiesParser General = new PropertiesParser(GENERAL_CONFIG_FILE);
|
||||
EVERYBODY_HAS_ADMIN_RIGHTS = General.getBoolean("EverybodyHasAdminRights", false);
|
||||
SERVER_LIST_BRACKET = General.getBoolean("ServerListBrackets", false);
|
||||
SERVER_LIST_TYPE = getServerTypeId(General.getString("ServerListType", "Normal").split(","));
|
||||
SERVER_LIST_AGE = General.getInt("ServerListAge", 0);
|
||||
SERVER_GMONLY = General.getBoolean("ServerGMOnly", false);
|
||||
GM_HERO_AURA = General.getBoolean("GMHeroAura", false);
|
||||
GM_STARTUP_INVULNERABLE = General.getBoolean("GMStartupInvulnerable", false);
|
||||
@ -3897,6 +3898,7 @@ public final class Config
|
||||
break;
|
||||
case "classic":
|
||||
serverType |= 0x400;
|
||||
SERVER_CLASSIC_SUPPORT = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -25,6 +25,7 @@ import org.w3c.dom.Document;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.util.data.xml.IXmlReader;
|
||||
|
||||
/**
|
||||
@ -50,7 +51,7 @@ public final class ExperienceData implements IXmlReader
|
||||
public void load()
|
||||
{
|
||||
_expTable.clear();
|
||||
parseDatapackFile("data/stats/experience.xml");
|
||||
parseDatapackFile(Config.SERVER_CLASSIC_SUPPORT ? "data/stats/classic_experience.xml" : "data/stats/experience.xml");
|
||||
LOGGER.info(getClass().getSimpleName() + ": Loaded " + _expTable.size() + " levels.");
|
||||
LOGGER.info(getClass().getSimpleName() + ": Max Player Level is: " + (MAX_LEVEL - 1));
|
||||
LOGGER.info(getClass().getSimpleName() + ": Max Pet Level is: " + (MAX_PET_LEVEL - 1));
|
||||
|
@ -145,7 +145,14 @@ public final class SkillTreesData implements IXmlReader
|
||||
_dualClassSkillTree.clear();
|
||||
|
||||
// Load files.
|
||||
parseDatapackDirectory("data/skillTrees/", true);
|
||||
if (Config.SERVER_CLASSIC_SUPPORT)
|
||||
{
|
||||
parseDatapackDirectory("data/skillTrees/", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
parseDatapackDirectory("data/skillTrees/", true);
|
||||
}
|
||||
|
||||
// Generate check arrays.
|
||||
generateCheckArrays();
|
||||
|
@ -53,7 +53,7 @@ public final class SpawnTable implements IXmlReader
|
||||
{
|
||||
private static final Logger LOGGER = Logger.getLogger(SpawnTable.class.getName());
|
||||
// SQL
|
||||
private static final String SELECT_SPAWNS = "SELECT count, npc_templateid, locx, locy, locz, heading, respawn_delay, respawn_random, loc_id, periodOfDay FROM spawnlist";
|
||||
private static final String SELECT_SPAWNS = "SELECT count, npc_templateid, locx, locy, locz, heading, respawn_delay, respawn_random, loc_id, periodOfDay FROM " + (Config.SERVER_CLASSIC_SUPPORT ? "classic_spawnlist" : "spawnlist");
|
||||
private static final String SELECT_CUSTOM_SPAWNS = "SELECT count, npc_templateid, locx, locy, locz, heading, respawn_delay, respawn_random, loc_id, periodOfDay FROM custom_spawnlist";
|
||||
|
||||
private static final Map<Integer, Set<L2Spawn>> _spawnTable = new ConcurrentHashMap<>();
|
||||
|
@ -77,7 +77,7 @@ public class RaidBossSpawnManager
|
||||
_schedules.clear();
|
||||
|
||||
try (Connection con = L2DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement statement = con.prepareStatement("SELECT * FROM raidboss_spawnlist ORDER BY boss_id");
|
||||
PreparedStatement statement = con.prepareStatement("SELECT * FROM " + (Config.SERVER_CLASSIC_SUPPORT ? "classic_raidboss_spawnlist" : "raidboss_spawnlist") + " ORDER BY boss_id");
|
||||
ResultSet rset = statement.executeQuery())
|
||||
{
|
||||
while (rset.next())
|
||||
@ -98,7 +98,7 @@ public class RaidBossSpawnManager
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
_log.warning(getClass().getSimpleName() + ": Couldnt load raidboss_spawnlist table");
|
||||
_log.warning(getClass().getSimpleName() + ": Couldnt load raidboss spawnlist table.");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -266,7 +266,7 @@ public class RaidBossSpawnManager
|
||||
if (storeInDb)
|
||||
{
|
||||
try (Connection con = L2DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement statement = con.prepareStatement("INSERT INTO raidboss_spawnlist (boss_id,amount,loc_x,loc_y,loc_z,heading,respawn_time,currentHp,currentMp) VALUES(?,?,?,?,?,?,?,?,?)"))
|
||||
PreparedStatement statement = con.prepareStatement("INSERT INTO " + (Config.SERVER_CLASSIC_SUPPORT ? "classic_raidboss_spawnlist" : "raidboss_spawnlist") + " (boss_id,amount,loc_x,loc_y,loc_z,heading,respawn_time,currentHp,currentMp) VALUES(?,?,?,?,?,?,?,?,?)"))
|
||||
{
|
||||
statement.setInt(1, spawnDat.getId());
|
||||
statement.setInt(2, spawnDat.getAmount());
|
||||
@ -327,7 +327,7 @@ public class RaidBossSpawnManager
|
||||
if (updateDb)
|
||||
{
|
||||
try (Connection con = L2DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement statement = con.prepareStatement("DELETE FROM raidboss_spawnlist WHERE boss_id=?"))
|
||||
PreparedStatement statement = con.prepareStatement("DELETE FROM " + (Config.SERVER_CLASSIC_SUPPORT ? "classic_raidboss_spawnlist" : "raidboss_spawnlist") + " WHERE boss_id=?"))
|
||||
{
|
||||
statement.setInt(1, bossId);
|
||||
statement.execute();
|
||||
@ -346,7 +346,7 @@ public class RaidBossSpawnManager
|
||||
private void updateDb()
|
||||
{
|
||||
try (Connection con = L2DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement statement = con.prepareStatement("UPDATE raidboss_spawnlist SET respawn_time = ?, currentHP = ?, currentMP = ? WHERE boss_id = ?"))
|
||||
PreparedStatement statement = con.prepareStatement("UPDATE " + (Config.SERVER_CLASSIC_SUPPORT ? "classic_raidboss_spawnlist" : "raidboss_spawnlist") + " SET respawn_time = ?, currentHP = ?, currentMP = ? WHERE boss_id = ?"))
|
||||
{
|
||||
for (Integer bossId : _storedInfo.keySet())
|
||||
{
|
||||
@ -385,7 +385,7 @@ public class RaidBossSpawnManager
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": Couldnt update raidboss_spawnlist table " + e.getMessage(), e);
|
||||
_log.log(Level.WARNING, getClass().getSimpleName() + ": Couldnt update raidboss spawnlist table " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -299,6 +299,44 @@ public final class CharacterCreate extends L2GameClientPacket
|
||||
{
|
||||
newChar.setXYZInvisible(Config.FACTION_STARTING_LOCATION.getX(), Config.FACTION_STARTING_LOCATION.getY(), Config.FACTION_STARTING_LOCATION.getZ());
|
||||
}
|
||||
else if (Config.SERVER_CLASSIC_SUPPORT)
|
||||
{
|
||||
switch (template.getRace())
|
||||
{
|
||||
case HUMAN:
|
||||
{
|
||||
if (template.getClassId().isMage())
|
||||
{
|
||||
newChar.setXYZInvisible(-90875, 248162, -3570);
|
||||
}
|
||||
else
|
||||
{
|
||||
newChar.setXYZInvisible(-71338, 258271, -3104);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELF:
|
||||
{
|
||||
newChar.setXYZInvisible(46045, 41251, -3440);
|
||||
break;
|
||||
}
|
||||
case DARK_ELF:
|
||||
{
|
||||
newChar.setXYZInvisible(28295, 11063, -4224);
|
||||
break;
|
||||
}
|
||||
case ORC:
|
||||
{
|
||||
newChar.setXYZInvisible(-56733, -113459, -690);
|
||||
break;
|
||||
}
|
||||
case DWARF:
|
||||
{
|
||||
newChar.setXYZInvisible(108644, -173947, -400);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Location createLoc = template.getCreationPoint();
|
||||
@ -359,7 +397,7 @@ public final class CharacterCreate extends L2GameClientPacket
|
||||
EventDispatcher.getInstance().notifyEvent(new OnPlayerCreate(newChar, newChar.getObjectId(), newChar.getName(), client), Containers.Players());
|
||||
|
||||
newChar.setOnlineStatus(true, false);
|
||||
if (Config.SHOW_GOD_VIDEO_INTRO)
|
||||
if (Config.SHOW_GOD_VIDEO_INTRO && !Config.SERVER_CLASSIC_SUPPORT)
|
||||
{
|
||||
newChar.getVariables().set("intro_god_video", true);
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ public class NpcInfo extends AbstractMaskPacket<NpcInfoType>
|
||||
addComponentType(NpcInfoType.CURRENT_MP);
|
||||
}
|
||||
|
||||
if (npc.getTemplate().getDisplayId() != npc.getTemplate().getId())
|
||||
if ((npc.getTemplate().getDisplayId() != npc.getTemplate().getId()) || Config.SERVER_CLASSIC_SUPPORT)
|
||||
{
|
||||
addComponentType(NpcInfoType.NAME);
|
||||
}
|
||||
|
@ -149,6 +149,10 @@ public interface IXmlReader
|
||||
{
|
||||
for (File f : files)
|
||||
{
|
||||
if (!Config.SERVER_CLASSIC_SUPPORT && f.getName().contains("classic"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (recursive && f.isDirectory())
|
||||
{
|
||||
parseDirectory(f, recursive);
|
||||
|
Loading…
Reference in New Issue
Block a user