Skip to content

Commit

Permalink
Merge branch '3.3.5' into npcbots_3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed Sep 21, 2024
2 parents 7fe7142 + 2e17b32 commit edc0b1d
Show file tree
Hide file tree
Showing 34 changed files with 385 additions and 270 deletions.
43 changes: 18 additions & 25 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,16 @@ Versions of AzerothCore:
| AzerothCore Branch | Supported |
| ------------------ | ------------------ |
| master | :white_check_mark: |
| Any playerbot fork | :red_circle: |
| Any NPCBot fork | :red_circle: |

Versions of MySQL:

| MySQL Version | Supported |
| ------------- | ------------------ |
| 8.1 | :white_check_mark: |
| 8.4 | :white_check_mark: |
| 8.0 | :white_check_mark: |
| 5.7 | :white_check_mark: |
| 5.6 and lower | :red_circle: |

Versions of MariaDB:

| MariaDB Version | Supported |
| --------------- | ------------------ |
| 10.6 | :white_check_mark: |
| 10.5 | :white_check_mark: |
| 10.4 and lower | :red_circle: |
| 5.7 and lower | :red_circle: |

Versions of CLang:

Expand All @@ -43,26 +36,26 @@ Versions of CLang:

Versions of GCC:

| GCC Version | Supported |
| ----------- | ------------------ |
| 14 | :white_check_mark: |
| 12 | :white_check_mark: |
| 11 and lower| :red_circle: |
| GCC Version | Supported |
| ------------ | ------------------ |
| 14 | :white_check_mark: |
| 12 | :white_check_mark: |
| 11 and lower | :red_circle: |

Versions of Ubuntu:

| Ubuntu version | Supported |
| -------------- | ------------------ |
| 24.04 | :white_check_mark: |
| 22.04 | :white_check_mark: |
| 20.04 and lower| :red_circle: |
| Ubuntu version | Supported |
| --------------- | ------------------ |
| 24.04 | :white_check_mark: |
| 22.04 | :white_check_mark: |
| 20.04 and lower | :red_circle: |

Versions of macOS:

| macOS Version | Supported |
| -------------- | ------------------ |
| 12 | :white_check_mark: |
| 11 and lower | :red_circle: |
| macOS Version | Supported |
| ------------- | ------------------ |
| 12 | :white_check_mark: |
| 11 and lower | :red_circle: |

**Note**: We do NOT support any repacks that may or may not have been made based on AzerothCore. This is because they are usually based on older versions and there is no way to know what is in the precompiled binaries. Instead, you should compile your binaries from the AzerothCore source. To get started, read the [Installation Guide](https://www.azerothcore.org/wiki/installation).

Expand Down
4 changes: 2 additions & 2 deletions apps/installer/includes/os_configs/debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ sudo apt-get update -y
sudo apt-get install -y gdbserver gdb unzip curl \
libncurses-dev libreadline-dev clang g++ \
gcc git cmake make ccache \
default-libmysqlclient-dev libssl-dev libbz2-dev \
libssl-dev libbz2-dev \
libboost-all-dev gnupg wget

# run noninteractive install for MYSQL 8.4 LTS
wget https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i ./mysql-apt-config_0.8.32-1_all.deb
sudo apt-get update
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server libmysqlclient-dev
14 changes: 1 addition & 13 deletions data/sql/create/drop_mysql.sql
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
REVOKE ALL PRIVILEGES ON * . * FROM 'acore'@'localhost';

REVOKE ALL PRIVILEGES ON `acore_world` . * FROM 'acore'@'localhost';

REVOKE GRANT OPTION ON `acore_world` . * FROM 'acore'@'localhost';

REVOKE ALL PRIVILEGES ON `acore_characters` . * FROM 'acore'@'localhost';

REVOKE GRANT OPTION ON `acore_characters` . * FROM 'acore'@'localhost';

REVOKE ALL PRIVILEGES ON `acore_auth` . * FROM 'acore'@'localhost';

REVOKE GRANT OPTION ON `acore_auth` . * FROM 'acore'@'localhost';
REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'acore'@'localhost';

DROP USER 'acore'@'localhost';

Expand Down
9 changes: 0 additions & 9 deletions data/sql/create/drop_mysql_8.sql

This file was deleted.

8 changes: 6 additions & 2 deletions data/sql/updates/db_characters/2024_09_03_00.sql
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
-- DB update 2024_07_05_00 -> 2024_09_03_00
DROP TABLE IF EXISTS `character_achievement_offline_updates`;
CREATE TABLE `character_achievement_offline_updates` (
`guid` BIGINT UNSIGNED NOT NULL COMMENT 'Character\'s GUID',
`guid` INT UNSIGNED NOT NULL COMMENT 'Character\'s GUID',
`update_type` TINYINT UNSIGNED NOT NULL COMMENT 'Supported types: 1 - COMPLETE_ACHIEVEMENT; 2 - UPDATE_CRITERIA',
`arg1` INT UNSIGNED NOT NULL COMMENT 'For type 1: achievement ID; for type 2: ACHIEVEMENT_CRITERIA_TYPE',
`arg2` INT UNSIGNED DEFAULT NULL COMMENT 'For type 2: miscValue1 for updating achievement criteria',
`arg3` INT UNSIGNED DEFAULT NULL COMMENT 'For type 2: miscValue2 for updating achievement criteria',
INDEX `idx_guid` (`guid`)
)
COMMENT = 'Stores updates to character achievements when the character was offline';
COMMENT = 'Stores updates to character achievements when the character was offline'
CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci
ENGINE = InnoDB
;
3 changes: 3 additions & 0 deletions data/sql/updates/db_world/2024_09_15_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- DB update 2024_09_11_01 -> 2024_09_15_00
--
UPDATE `creature_text` SET `TextRange` = 3 WHERE `CreatureId` = 22984;
8 changes: 8 additions & 0 deletions data/sql/updates/db_world/2024_09_15_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- DB update 2024_09_15_00 -> 2024_09_15_01
-- implement QUEST_SPECIAL_FLAGS_NO_LOREMASTER_COUNT
-- extend column datatype from tinyint to int
ALTER TABLE `quest_template_addon` MODIFY COLUMN `SpecialFlags` INT UNSIGNED DEFAULT 0 NOT NULL;

-- add flag to Corrupted Flower Quests in Felwood
UPDATE `quest_template_addon` SET `SpecialFlags` = (`SpecialFlags` | 256)
WHERE (`ID` IN (996, 998, 1514, 2523, 2878, 3363, 4113, 4114, 4115, 4116, 4117, 4118, 4119, 4221, 4222, 4343, 4401, 4403, 4443, 4444, 4445, 4446, 4447, 4448, 4461, 4462, 4464, 4465, 4466, 4467));
172 changes: 172 additions & 0 deletions data/sql/updates/db_world/2024_09_16_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
-- DB update 2024_09_15_01 -> 2024_09_16_00
-- wp modify

UPDATE `command` SET `help` = 'Syntax: .gobject set $subcommand
Type .gobject set to see the list of possible subcommands or .help gobject set $subcommand to see info on subcommands.' WHERE `name` = 'gobject set';

UPDATE `command` SET `help` = 'Syntax: .skirmish [arena] [XvX] [Nick1] [Nick2] ... [NickN]
[arena] can be \"all\" or comma-separated list of possible arenas (NA, BE, RL, DS, RV).
[XvX] can be 1v1, 2v2, 3v3, 5v5. After [XvX] specify enough nicknames for that mode.' WHERE `name` = 'skirmish';

UPDATE `command` SET `help` = 'Syntax: .bf $subcommand
Type .bf to see the list of possible subcommands or .help bf $subcommand to see info on subcommands.' WHERE `name` = 'bf';

UPDATE `command` SET `help` = 'Syntax: .debug entervehicle #entry #seatID
Enter the targeted or given vehicle ID in the given seat.' WHERE `name` = 'debug entervehicle';

UPDATE `command` SET `help` = 'Syntax: .debug getitemstate #itemState [unchanged/changed/new/removed/queue/check_all]
Returns all items in a given player''s inventory with a given item state.' WHERE `name` = 'debug getitemstate';

UPDATE `command` SET `help` = 'Syntax: .debug getitemvalue #GUID #index
Returns the value of the given index for the given item GUID.' WHERE `name` = 'debug getitemvalue';

UPDATE `command` SET `help` = 'Syntax: .debug getvalue #index #isInt
Returns either an integer or float value at a given index of your target.' WHERE `name` = 'debug getvalue';

UPDATE `command` SET `help` = 'Syntax: .debug hostile
Returns the hostile reference list of a given player.' WHERE `name` = 'debug hostile';

UPDATE `command` SET `help` = 'Syntax: .debug itemexpire #GUID
Destroy an item with the given GUID.' WHERE `name` = 'debug itemexpire';

UPDATE `command` SET `help` = 'Syntax: .debug lootrecipient
Returns the loot recipient of the targeted creature.' WHERE `name` = 'debug lootrecipient';

UPDATE `command` SET `help` = 'Syntax: .debug los
Returns line of sight status between you and your target.' WHERE `name` = 'debug los';

UPDATE `command` SET `help` = 'Syntax: .debug play $subcommand
Type .debug play to see the list of possible subcommands or .help debug play $subcommand to see info on subcommands.' WHERE `name` = 'debug play';

UPDATE `command` SET `help` = 'Syntax: .debug send $subcommand
Type .debug send to see the list of possible subcommands or .help debug send $subcommand to see info on subcommands.' WHERE `name` = 'debug send';

UPDATE `command` SET `help` = 'Syntax: .debug send buyerror #error
Sends the given buy error result.' WHERE `name` = 'debug send buyerror';

UPDATE `command` SET `help` = 'Syntax: .debug send channelnotify #type
Sends a channel notify message of the given type.' WHERE `name` = 'debug send channelnotify';

UPDATE `command` SET `help` = 'Syntax: .debug send chatmessage #type
Sends a chat message of the given type.', `name` = 'debug send chatmessage' WHERE `name` = 'debug send chatmmessage';

UPDATE `command` SET `help` = 'Syntax: .debug send equiperror #error
Sends the given equip error result.' WHERE `name` = 'debug send equiperror';

UPDATE `command` SET `help` = 'Syntax: .debug send largepacket
Sends a system message of 128 kilobytes.' WHERE `name` = 'debug send largepacket';

UPDATE `command` SET `help` = 'Syntax: .debug send opcode
Sends opcodes contained in "opcode.txt".' WHERE `name` = 'debug send opcode';

UPDATE `command` SET `help` = 'Syntax: .debug send qinvalidmsg #error
Sends the given quest error result.' WHERE `name` = 'debug send qinvalidmsg';

UPDATE `command` SET `help` = 'Syntax: .debug send qpartymsg #message
Sends the given party quest share message.' WHERE `name` = 'debug send qpartymsg';

UPDATE `command` SET `help` = 'Syntax: .debug send sellerror #error
Sends the given sell error result.' WHERE `name` = 'debug send sellerror';

UPDATE `command` SET `help` = 'Syntax: .debug send setphaseshift #phaseShift
Sends a phase shift message with the given phase shift value.' WHERE `name` = 'debug send setphaseshift';

UPDATE `command` SET `help` = 'Syntax: .debug send spellfail #result #failArgument1 #failArgument2
Sends a spell failure message with the given result and argument values.' WHERE `name` = 'debug send spellfail';

UPDATE `command` SET `help` = 'Syntax: .debug setaurastate #state #apply
Sets the selected units aura state using the given apply value.' WHERE `name` = 'debug setaurastate';

UPDATE `command` SET `help` = 'Syntax: .debug setbit #index #bit
Sets the unsigned 32-bit integer value of the target at the given index to the given bit.' WHERE `name` = 'debug setbit';

UPDATE `command` SET `help` = 'Syntax: .debug setitemvalue #GUID #index #value
Sets the value of the given index for the given item GUID to the given value.' WHERE `name` = 'debug setitemvalue';

UPDATE `command` SET `help` = 'Syntax: .debug setvalue #index #value
Sets the unsigned 32-bit integer or float value of the target at the given index to the given value.' WHERE `name` = 'debug setvalue';

UPDATE `command` SET `help` = 'Syntax: .debug setvid #ID
Currently disabled.
Sets the given target''s vehicle ID to the given value.' WHERE `name` = 'debug setvid';

UPDATE `command` SET `help` = 'Syntax: .debug spawnvehicle #entry #ID
Creates a vehicle with the given ID.' WHERE `name` = 'debug spawnvehicle';

UPDATE `command` SET `help` = 'Syntax: .debug threat
Returns the threat list of a given creature.' WHERE `name` = 'debug threat';

UPDATE `command` SET `help` = 'Syntax: .debug update #index #value
Sets the unsigned 32-bit integer value of the target at the given index to the given bit.' WHERE `name` = 'debug update';

UPDATE `command` SET `help` = 'Syntax: .debug uws #variable #value
Sends a worldstate update for the given variable to the given value.' WHERE `name` = 'debug uws';

UPDATE `command` SET `help` = 'Syntax: .gobject set state #GUIDLow, #objectType, #objectState
Sets the byte value or sends a custom animation for a given gameobject GUID.' WHERE `name` = 'gobject set state';

UPDATE `command` SET `help` = 'Syntax: .learn all $subcommand
Type .learn all to see the list of possible subcommands or .help learn all $subcommand to see info on subcommands.' WHERE `name` = 'learn all';

UPDATE `command` SET `help` = 'Syntax: .learn all my $subcommand
Type .learn all my to see the list of possible subcommands or .help learn all my $subcommand to see info on subcommands.' WHERE `name` = 'learn all my';

UPDATE `command` SET `help` = 'Syntax: .lfg $subcommand
Type .lfg to see the list of possible subcommands or .help lfg $subcommand to see info on subcommands.' WHERE `name` = 'lfg';

UPDATE `command` SET `help` = 'Syntax: .lookup player $subcommand
Type .lookup player to see the list of possible subcommands or .help lookup player $subcommand to see info on subcommands.' WHERE `name` = 'lookup player';

UPDATE `command` SET `help` = 'Syntax: .npc near #distance
Returns all database creature spawns in a given distance.' WHERE `name` = 'npc near';

UPDATE `command` SET `help` = 'Syntax: .npc set $subcommand
Type .npc set to see the list of possible subcommands or .help npc set $subcommand to see info on subcommands.' WHERE `name` = 'npc set';

UPDATE `command` SET `help` = 'Syntax: .npc tame
Creates a player pet of the targeted creature.' WHERE `name` = 'npc tame';

UPDATE `command` SET `help` = 'Syntax: .reload npc_spellclick_spells
Reload npc_spellclick_spells table.' WHERE `name` = 'reload npc_spellclick_spells';

UPDATE `command` SET `help` = 'Syntax: .spect $subcommand
Type .spect to see the list of possible subcommands or .help spect $subcommand to see info on subcommands.' WHERE `name` = 'spect';

UPDATE `command` SET `help` = 'Syntax: .spect leave
Leave an arena you are spectating.' WHERE `name` = 'spect leave';

UPDATE `command` SET `help` = 'Syntax: .spect reset
Reset various values related to spectating.' WHERE `name` = 'spect reset';

UPDATE `command` SET `help` = 'Syntax: .spect spectate #name
Begin spectating the given player.' WHERE `name` = 'spect spectate';

UPDATE `command` SET `help` = 'Syntax: .spect version #version
Verify addon version for arena spectating.' WHERE `name` = 'spect version';

UPDATE `command` SET `help` = 'Syntax: .spect watch #name
Begin watching the given player.' WHERE `name` = 'spect watch';

UPDATE `command` SET `help` = 'Syntax: .ticket complete #ticketID
Mark a ticket of the given ID as complete.' WHERE `name` = 'ticket complete';

UPDATE `command` SET `help` = 'Syntax: .ticket escalate #ticketID
Add a ticket of the given ID to the escalation queue.' WHERE `name` = 'ticket escalate';

UPDATE `command` SET `help` = 'Syntax: .ticket escalatedlist
Return all open tickets in the escalation queue.' WHERE `name` = 'ticket escalatedlist';

UPDATE `command` SET `help` = 'Syntax: .ticket response $subcommand
Type .ticket response to see the list of possible subcommands or .help ticket response $subcommand to see info on subcommands.' WHERE `name` = 'ticket response';

UPDATE `command` SET `help` = 'Syntax: .ticket togglesystem
Toggle whether tickets are allowed or disallowed.' WHERE `name` = 'ticket togglesystem';

UPDATE `command` SET `help` = 'Syntax: .titles $subcommand
Type .titles to see the list of possible subcommands or .help titles $subcommand to see info on subcommands.' WHERE `name` = 'titles';

UPDATE `command` SET `help` = 'Syntax: .titles set $subcommand
Type .titles set to see the list of possible subcommands or .help titles set $subcommand to see info on subcommands.' WHERE `name` = 'titles set';

UPDATE `command` SET `help` = 'Syntax: .unban playeraccount #name
Unban accounts for character name pattern.' WHERE `name` = 'unban playeraccount';
6 changes: 6 additions & 0 deletions data/sql/updates/db_world/2024_09_20_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- DB update 2024_09_16_00 -> 2024_09_20_00
UPDATE `creature_template` SET `flags_extra` = `flags_extra` | 134217728 WHERE `entry` = 23403;

DELETE FROM `smart_scripts` WHERE (`entryorguid` = 23403) AND (`source_type` = 0) AND (`id` IN (2));
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
(23403, 0, 2, 0, 0, 0, 100, 0, 0, 15000, 30000, 40000, 0, 0, 11, 41392, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Illidari Assassin - In Combat - Cast Riposte');
Loading

0 comments on commit edc0b1d

Please sign in to comment.