From 3dc02f583219b349dae1c8ddb2c138d547e12361 Mon Sep 17 00:00:00 2001 From: Nos <NosBit@users.noreply.github.com> Date: Sun, 15 Dec 2013 16:21:49 +0000 Subject: [PATCH] BETA: Changed title color to retail. Reported by: helldagger Reviewed by: !UnAfraid, Zoey76 --- L2J_DataPack_BETA/dist/game/config/accessLevels.xml | 8 ++++---- L2J_DataPack_BETA/dist/sql/game/characters.sql | 2 +- .../dist/sql/game/updates/20131215update.sql | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 L2J_DataPack_BETA/dist/sql/game/updates/20131215update.sql diff --git a/L2J_DataPack_BETA/dist/game/config/accessLevels.xml b/L2J_DataPack_BETA/dist/game/config/accessLevels.xml index b44e73bbe8..d6f7f9b006 100644 --- a/L2J_DataPack_BETA/dist/game/config/accessLevels.xml +++ b/L2J_DataPack_BETA/dist/game/config/accessLevels.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/accessLevels.xsd"> <!-- Access levels --> - <access level="-1" name="Banned" nameColor="FFFFFF" titleColor="FFFFFF" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="false" allowAltg="false" giveDamage="false" takeAggro="false" gainExp="false" /> - <access level="0" name="User" nameColor="FFFFFF" titleColor="FFFFFF" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" /> - <access level="1" name="Chat Moderator" nameColor="FFFFFF" titleColor="FFFFFF" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" /> - <access level="2" name="Test GM" nameColor="FFFFFF" titleColor="FFFFFF" childAccess="1" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" /> + <access level="-1" name="Banned" nameColor="FFFFFF" titleColor="ECF9A2" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="false" allowAltg="false" giveDamage="false" takeAggro="false" gainExp="false" /> + <access level="0" name="User" nameColor="FFFFFF" titleColor="ECF9A2" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" /> + <access level="1" name="Chat Moderator" nameColor="FFFFFF" titleColor="ECF9A2" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" /> + <access level="2" name="Test GM" nameColor="FFFFFF" titleColor="ECF9A2" childAccess="1" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" /> <access level="3" name="General GM" nameColor="0000C0" titleColor="0000C0" childAccess="2" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" /> <access level="4" name="Support GM" nameColor="000C00" titleColor="000C00" childAccess="3" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" /> <access level="5" name="Event GM" nameColor="00C000" titleColor="00C000" childAccess="4" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" /> diff --git a/L2J_DataPack_BETA/dist/sql/game/characters.sql b/L2J_DataPack_BETA/dist/sql/game/characters.sql index c20e6d9d26..86ab28d199 100644 --- a/L2J_DataPack_BETA/dist/sql/game/characters.sql +++ b/L2J_DataPack_BETA/dist/sql/game/characters.sql @@ -32,7 +32,7 @@ CREATE TABLE IF NOT EXISTS `characters` ( `deletetime` bigint(13) unsigned NOT NULL DEFAULT '0', `cancraft` TINYINT UNSIGNED DEFAULT NULL, `title` VARCHAR(21) DEFAULT NULL, - `title_color` MEDIUMINT UNSIGNED NOT NULL DEFAULT '16777079', + `title_color` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0xECF9A2, `accesslevel` MEDIUMINT DEFAULT 0, `online` TINYINT UNSIGNED DEFAULT NULL, `onlinetime` INT DEFAULT NULL, diff --git a/L2J_DataPack_BETA/dist/sql/game/updates/20131215update.sql b/L2J_DataPack_BETA/dist/sql/game/updates/20131215update.sql new file mode 100644 index 0000000000..e964d59716 --- /dev/null +++ b/L2J_DataPack_BETA/dist/sql/game/updates/20131215update.sql @@ -0,0 +1,2 @@ +ALTER TABLE `characters` ALTER `title_color` SET DEFAULT 0xECF9A2; +UPDATE `characters` SET `title_color` = 0xECF9A2 WHERE `title_color` = 0xFFFFFF; \ No newline at end of file -- GitLab