Skip to content

Commit 16e3736

Browse files
committed
Merge remote-tracking branch 'upstream/Playerbot' into Playerbot
2 parents 9ce21d5 + 4514980 commit 16e3736

92 files changed

Lines changed: 1091 additions & 748 deletions

File tree

Some content is hidden

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

apps/docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
ARG UBUNTU_VERSION=22.04 # lts
2-
ARG TZ=Etc/UTC
32

43
# This target lays out the general directory skeleton for AzerothCore,
54
# This target isn't intended to be directly used
65
FROM ubuntu:$UBUNTU_VERSION AS skeleton
76

7+
# Note: ARG instructions defined after FROM are available in this build stage.
8+
# Placing ARG TZ here (after FROM) ensures it is accessible for configuring the timezone below.
9+
ARG TZ=Etc/UTC
810
ARG DOCKER=1
911
ARG DEBIAN_FRONTEND=noninteractive
1012

apps/installer/includes/os_configs/windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
choco install -y --skip-checksums $INSTALL_ARGS cmake.install -y --installargs 'ADD_CMAKE_TO_PATH=System'
2626
choco install -y --skip-checksums $INSTALL_ARGS visualstudio2022-workload-nativedesktop
27-
choco install -y --skip-checksums $INSTALL_ARGS openssl --force --version=3.5.1
27+
choco install -y --skip-checksums $INSTALL_ARGS openssl --force --version=3.5.2
2828
choco install -y --skip-checksums $INSTALL_ARGS boost-msvc-14.3 --force --version=1.87.0
2929
choco install -y --skip-checksums $INSTALL_ARGS mysql --force --version=8.4.4
3030

apps/startup-scripts/src/simple-restarter

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ while true; do
6666
echo "$(basename "$BINARY") terminated after $DIFFERENCE seconds, restart count: $_restart_count"
6767

6868
# Crash loop detection
69-
if [ $DIFFERENCE -lt 10 ]; then
69+
if [ "$DIFFERENCE" -lt 10 ]; then
7070
# Increment instant crash count if runtime is lower than 10 seconds
7171
((_instant_crash_count++))
7272
echo "Warning: Quick restart detected ($DIFFERENCE seconds) - instant crash count: $_instant_crash_count"
@@ -76,11 +76,17 @@ while true; do
7676
fi
7777

7878
# Prevent infinite crash loops
79-
if [ $_instant_crash_count -gt 5 ]; then
79+
if [ "$_instant_crash_count" -gt 5 ]; then
8080
echo "Error: $(basename "$BINARY") restarter exited. Infinite crash loop prevented (6 crashes in under 10 seconds each)"
8181
echo "Please check your system configuration and logs"
8282
exit 1
8383
fi
84+
85+
# Exit cleanly if shutdown was requested by command or SIGINT (exit code 0)
86+
if [ "$_exit_code" -eq 0 ]; then
87+
echo "$(basename "$BINARY") shutdown safely"
88+
exit 0
89+
fi
8490

8591
echo "$(basename "$BINARY") will restart in 3 seconds..."
8692
sleep 3
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- DB update 2025_08_01_01 -> 2025_08_06_00
2+
3+
UPDATE `creature` SET `position_z` = 145.523 WHERE (`id1` = 26201) AND (`guid` IN (104059));
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-- DB update 2025_08_06_00 -> 2025_08_06_01
2+
3+
-- Set flag Only Swim (sniffed flags)
4+
UPDATE `creature_template` SET `unit_flags` = `unit_flags`|32768 WHERE (`entry` = 25479);
5+
6+
-- Remove Swim and Flight flags
7+
UPDATE `creature_template_movement` SET `Swim` = 0, `Flight` = 0 WHERE (`CreatureId` = 25479);
8+
9+
-- Set SmartAI
10+
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 25479;
11+
12+
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 25479);
13+
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
14+
(25479, 0, 0, 0, 0, 0, 100, 0, 2000, 3000, 9000, 11000, 0, 0, 11, 49816, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Kvaldir Mistweaver - In Combat - Cast \'Mist of Strangulation\''),
15+
(25479, 0, 1, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kvaldir Mistweaver - On Aggro - Set Fly Off'),
16+
(25479, 0, 2, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kvaldir Mistweaver - On Reset - Set Fly On');
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-- DB update 2025_08_06_01 -> 2025_08_06_02
2+
-- Captain Arathyn & Azurebeak
3+
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19635 AND `id` IN (5, 6, 7, 8));
4+
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21005 AND `id` IN (0, 1, 2, 5, 6, 7, 8));
5+
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
6+
(19635, 0, 5, 6, 0, 0, 100, 1, 500, 500, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Captain Arathyn - In Combat - Store Targetlist (No Repeat)'),
7+
(19635, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 204, 21005, 0, 0, 0, 0, 0, 0, 0, 'Captain Arathyn - In Combat - Send Target 1 (No Repeat)'),
8+
(19635, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 204, 21005, 0, 0, 0, 0, 0, 0, 0, 'Captain Arathyn - In Combat - Set Data 1 1 to Azurebeak (No Repeat)'),
9+
(19635, 0, 8, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 204, 21005, 0, 0, 0, 0, 0, 0, 0, 'Captain Arathyn - On Reset - Despawn Summons'),
10+
(21005, 0, 0, 0, 0, 0, 100, 0, 9100, 9100, 11000, 14000, 0, 0, 11, 31273, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Azurebeak - In Combat - Cast \'Screech\''),
11+
(21005, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Azurebeak - On Data Set 1 1 - Start Attacking'),
12+
(21005, 0, 2, 0, 1, 0, 100, 0, 2000, 2000, 2000, 2000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Azurebeak - Out of Combat - Despawn Instant');
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- DB update 2025_08_06_02 -> 2025_08_06_03
2+
UPDATE `creature_template` SET `skinloot` = 0 WHERE (`entry` = 6582);
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
-- DB update 2025_08_06_03 -> 2025_08_06_04
2+
3+
-- Edit creature_text tables (Anok'ra, Sinrok, Tivax)
4+
DELETE FROM `creature_text` WHERE (`CreatureID` IN (26769, 26770, 26771));
5+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
6+
(26769, 0, 0, 'I gladly die for the master...', 12, 0, 100, 0, 0, 0, 25937, 0, ''),
7+
(26769, 0, 1, 'Your victory is meaningless.', 12, 0, 100, 0, 0, 0, 25938, 0, ''),
8+
(26769, 0, 3, 'Anub\'et\'kan will... end you.', 12, 0, 100, 0, 0, 0, 25936, 0, ''),
9+
(26769, 0, 4, 'I will rise again, more powerful... much... more...', 12, 0, 100, 0, 0, 0, 25939, 0, ''),
10+
(26770, 0, 0, 'I gladly die for the master...', 12, 0, 100, 0, 0, 0, 25937, 0, ''),
11+
(26770, 0, 1, 'Your victory is meaningless.', 12, 0, 100, 0, 0, 0, 25938, 0, ''),
12+
(26770, 0, 3, 'Anub\'et\'kan will... end you.', 12, 0, 100, 0, 0, 0, 25936, 0, ''),
13+
(26770, 0, 4, 'I will rise again, more powerful... much... more...', 12, 0, 100, 0, 0, 0, 25939, 0, ''),
14+
(26771, 0, 0, 'I gladly die for the master...', 12, 0, 100, 0, 0, 0, 25937, 0, ''),
15+
(26771, 0, 1, 'Your victory is meaningless.', 12, 0, 100, 0, 0, 0, 25938, 0, ''),
16+
(26771, 0, 3, 'Anub\'et\'kan will... end you.', 12, 0, 100, 0, 0, 0, 25936, 0, ''),
17+
(26771, 0, 4, 'I will rise again, more powerful... much... more...', 12, 0, 100, 0, 0, 0, 25939, 0, '');
18+
19+
-- Add dialogue lines on Death (Anok'ra, Sinrok, Tivax)
20+
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE (`entry` IN (26769, 26770, 26771));
21+
22+
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 26769) AND (`source_type` = 0) AND (`id` IN (12));
23+
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 26770) AND (`source_type` = 0) AND (`id` IN (11));
24+
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 26771) AND (`source_type` = 0) AND (`id` IN (2));
25+
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
26+
(26769, 0, 12, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anok\'ra the Manipulator - On Just Died - Say Line 0'),
27+
(26770, 0, 11, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tivax the Breaker - On Just Died - Say Line 0'),
28+
(26771, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sinok the Shadowrager - On Just Died - Say Line 0');
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- DB update 2025_08_06_04 -> 2025_08_07_00
2+
3+
-- Init creature_template_addon (Wastes Scavenger)
4+
DELETE FROM `creature_template_addon` WHERE (`entry` = 28005);
5+
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
6+
(28005, 0, 0, 0, 0, 438, 0, '');
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-- DB update 2025_08_07_00 -> 2025_08_08_00
2+
3+
-- Edit SmartAI
4+
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 26769;
5+
6+
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 26769);
7+
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
8+
(26769, 0, 0, 0, 9, 0, 100, 0, 3500, 5000, 3500, 5000, 0, 30, 11, 13860, 64, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Anok\'ra the Manipulator - Within 0-30 Range - Cast \'Mind Blast\''),
9+
(26769, 0, 1, 0, 9, 0, 100, 0, 1500, 3000, 8000, 11000, 0, 20, 11, 16568, 64, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Anok\'ra the Manipulator - Within 0-20 Range - Cast \'Mind Flay\''),
10+
(26769, 0, 2, 0, 0, 0, 100, 0, 6000, 9000, 17000, 20000, 0, 0, 11, 51676, 1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Anok\'ra the Manipulator - In Combat - Cast \'Wavering Will\''),
11+
(26769, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anok\'ra the Manipulator - On Just Died - Say Line 0');

0 commit comments

Comments
 (0)