Skip to content

Commit 41bb32a

Browse files
author
Github Actions
committed
Merge 3.3.5 to 3.3.5-vas-autobalance
2 parents 6d8de00 + 96b2385 commit 41bb32a

File tree

68 files changed

+3653
-2450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+3653
-2450
lines changed

cmake/compiler/clang/settings.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,12 @@ endif()
129129

130130
# -Wno-narrowing needed to suppress a warning in g3d
131131
# -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems.
132-
# -Wno-deprecated-copy needed to suppress a warning in g3d
132+
# -Wno-undefined-inline needed for a compile time optimization hack with fmt
133133
target_compile_options(trinity-compile-option-interface
134134
INTERFACE
135135
-Wno-narrowing
136-
-Wno-deprecated-register)
136+
-Wno-deprecated-register
137+
-Wno-undefined-inline)
137138

138139
if(BUILD_SHARED_LIBS)
139140
# -fPIC is needed to allow static linking in shared libs.

contrib/extractor.sh

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@
22

33
# Set client and server directories as environment variables
44
# if you don't want to enter them here
5-
if [ -z $CLIENT_DIR ]; then
5+
if [ -z "$CLIENT_DIR" ]; then
66
echo -n "Enter directory where client files are located: "
77
read CLIENT_DIR
88

9-
if ! cd $CLIENT_DIR; then
9+
if ! cd "$CLIENT_DIR"; then
1010
echo "Cannot access $CLIENT_DIR"
1111
exit 1
1212
fi
13-
if [ ! -d $CLIENT_DIR/Data ]; then
13+
if [ ! -d "$CLIENT_DIR/Data" ]; then
1414
echo "Cannot find client files in $CLIENT_DIR"
1515
exit 1
1616
fi
1717
fi
1818

19-
if [ -z $SERVER_DIR ]; then
19+
if [ -z "$SERVER_DIR" ]; then
2020
echo -n "Enter directory where server files are located: "
2121
read SERVER_DIR
2222

23-
if ! cd $SERVER_DIR; then
23+
if ! cd "$SERVER_DIR"; then
2424
echo "Cannot access $SERVER_DIR"
2525
exit 1
2626
fi
2727
fi
2828

2929
# These should all be correct on a standard installation
30-
DATA_DIR=${SERVER_DIR}/data
31-
MAPEXTRACTOR=${SERVER_DIR}/bin/mapextractor
32-
VMAP4EXTRACTOR=${SERVER_DIR}/bin/vmap4extractor
33-
VMAP4ASSEMBLER=${SERVER_DIR}/bin/vmap4assembler
34-
MMAPS_GENERATOR=${SERVER_DIR}/bin/mmaps_generator
30+
DATA_DIR="${SERVER_DIR}/data"
31+
MAPEXTRACTOR="${SERVER_DIR}/bin/mapextractor"
32+
VMAP4EXTRACTOR="${SERVER_DIR}/bin/vmap4extractor"
33+
VMAP4ASSEMBLER="${SERVER_DIR}/bin/vmap4assembler"
34+
MMAPS_GENERATOR="${SERVER_DIR}/bin/mmaps_generator"
3535

3636
check_files() {
37-
for i in $MAPEXTRACTOR $VMAP4EXTRACTOR $VMAP4ASSEMBLER $MMAPS_GENERATOR
37+
for i in "$MAPEXTRACTOR" "$VMAP4EXTRACTOR" "$VMAP4ASSEMBLER" "$MMAPS_GENERATOR"
3838
do
3939
if [[ ! -x $i ]]
4040
then
@@ -62,23 +62,23 @@ echo "Extracting DBC, Camera and Maps files"
6262
echo
6363
echo "-- Using $MAPEXTRACTOR"
6464
echo "-- Copying extracted data to ${DATA_DIR}"
65-
if [[ ! -d ${DATA_DIR} ]]
65+
if [[ ! -d "${DATA_DIR}" ]]
6666
then
6767
echo "-- Creating ${DATA_DIR}"
68-
mkdir ${DATA_DIR}
68+
mkdir "${DATA_DIR}"
6969
fi
7070
echo "-- Starting in 5 seconds"
7171
sleep 5
7272

73-
cd ${CLIENT_DIR}
74-
$MAPEXTRACTOR
73+
cd "${CLIENT_DIR}"
74+
"$MAPEXTRACTOR"
7575

7676
echo "-- Extraction complete, copying dbc and maps files"
77-
cp -r dbc maps ${DATA_DIR}
78-
if [[ -d ${CLIENT_DIR}/Cameras ]]
77+
cp -r dbc maps "${DATA_DIR}"
78+
if [[ -d "${CLIENT_DIR}/Cameras" ]]
7979
then
8080
echo "-- Camera files found, copying"
81-
cp -r Cameras ${DATA_DIR}
81+
cp -r Cameras "${DATA_DIR}"
8282
fi
8383

8484
echo "-- Done"
@@ -95,13 +95,13 @@ echo "-- Copying extracted data to ${DATA_DIR}/vmaps"
9595
echo "-- Starting in 5 seconds"
9696
sleep 5
9797

98-
cd ${CLIENT_DIR}
99-
$VMAP4EXTRACTOR
98+
cd "${CLIENT_DIR}"
99+
"$VMAP4EXTRACTOR"
100100
mkdir vmaps
101-
$VMAP4ASSEMBLER Buildings vmaps
101+
"$VMAP4ASSEMBLER" Buildings vmaps
102102

103103
echo "-- Extraction complete, copying files"
104-
cp -r vmaps ${DATA_DIR}
104+
cp -r vmaps "${DATA_DIR}"
105105
echo "-- Done"
106106
echo
107107
}
@@ -115,11 +115,11 @@ echo "-- Copying extracted data to ${DATA_DIR}/mmaps"
115115
echo "-- Starting in 5 seconds"
116116
sleep 5
117117

118-
cd ${CLIENT_DIR}
118+
cd "${CLIENT_DIR}"
119119
mkdir mmaps
120-
$MMAPS_GENERATOR
120+
"$MMAPS_GENERATOR"
121121
echo "-- Extraction complete, copying files"
122-
cp -r mmaps ${DATA_DIR}
122+
cp -r mmaps "${DATA_DIR}"
123123
echo "-- Done"
124124
echo
125125
}
@@ -135,7 +135,7 @@ echo "Enter y to continue or anything else to cancel"
135135
read a
136136
if [[ ${a} = "y" ]]
137137
then
138-
cd ${CLIENT_DIR}
138+
cd "${CLIENT_DIR}"
139139
rm -fr Buildings Cameras dbc maps mmaps vmaps
140140
echo "Done"
141141
fi
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--
2+
DELETE FROM `creature_formations` WHERE `leaderGUID` = 7483;
3+
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
4+
(7483,7483,0,0,3,0,0),
5+
(7483,81643,0,0,3,0,0),
6+
(7483,48348,0,0,3,0,0),
7+
(7483,81652,0,0,3,0,0),
8+
(7483,81651,0,0,3,0,0);
9+
10+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gruul_gronn_lords_grasp';
11+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
12+
(33572, 'spell_gruul_gronn_lords_grasp');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE `quest_offer_reward` SET `RewardText`='Wintergarde is saved because of you, $n. To think that one $g man:woman; could so swiftly turn the tides of battle is hard for most to comprehend; yet here we are - victorious! You have managed to restore the faith of these people and earned the respect of your commanding officers.$B$B<Halford salutes.> $B$BLord Fordragon has returned to Angrathar to prepare our forces for the destruction of the Wrathgate and has requested that you join him! I couldn\'t recommend a better soldier for the job, $n.\n',`VerifiedBuild`=65893 WHERE `ID`=12473;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE `quest_offer_reward` SET `Emote1`=4,`Emote2`=1,`Emote3`=66,`Emote4`=1 WHERE `ID`=12473;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--
2+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=40969;
3+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
4+
(17, 0, 40969, 0, 0, 31, 1, 3, 23689, 0, 0, "Malister's Frost Wand only hits Proto-Drake");
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Changed restock value from 2.5 hours (9000) to 30 mins (1800)
2+
UPDATE `npc_vendor` SET `incrtime` = 1800 WHERE `entry` = 14860 AND `item` = 11027;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 10928 AND `source_type` = 0;
2+
UPDATE `creature_template` SET `AIName` = '' WHERE `entry` = 10928;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- PrevQuestID 11239 to 11231, make Of Keys and Cages the prerequisite, not In Service to the Light
2+
UPDATE `quest_template_addon` SET `PrevQuestID` = 11231 WHERE `ID` = 11432;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Remove Disarm Immunity
2+
UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask` & ~4 WHERE `entry` IN (31368, 29306);

0 commit comments

Comments
 (0)