Commit Graph
375 Commits
Author SHA1 Message Date
Karrz1 82b30ef184 Day and night: a realm-wide sky speed and a sky of your own
Forever.DayCycle.Speed (worldserver.conf, default 1) makes the sky run
1x (the realm's clock, as before) up to 24x for the whole realm. The time
of day shown is worked out from the realm's local time alone, so every
player sees the same sky, also after a restart. Only the sky changes:
events, resets, respawns and scripts keep the realm's own time.

.time day and .time night keep noon or midnight for one character,
wherever it goes, and .time auto brings the realm's sky back; .time says
which one is set. Every player may use it (permission 1000, Role:
Player). The choice is kept in character_day_cycle, loaded with the other
login queries and saved with prepared async statements, and goes when
the character is deleted.

The clock is sent at login and at every map change, as before, and right
away by .time. The pure part (DayCycle.h) has unit tests.
2026-11-14 09:08:43 +00:00
Karrz1 4e7a436213 Account data: store up to 1 MiB per type, warn when data is dropped
The handler dropped any upload that decompressed to more than 64 KiB
without a reply or a warning, and both account data tables used a
64 KiB blob. Raise the limit to 1 MiB, widen the columns to mediumblob,
log a warning with account, player, type and size whenever data is
dropped, and store only the bytes zlib actually produced.
2026-10-27 15:04:16 +00:00
Duy Hoang fdf4c99fcc Classic 1.60: store all 360 action buttons (#109)
The 1.60 client sends 360 action buttons (SMSG_UPDATE_ACTION_BUTTONS decoder
asserts 8 * 360 + 1). The server only stored 180 (MAX_ACTION_BUTTONS) and the
packet zero-padded 180-359, so anything bound above 180 was dropped: the
controller UI bound CMSG_SET_ACTION_BUTTON button 187 and it came back blank
on every relog.

Raise MAX_ACTION_BUTTONS to 360, send 360 real buttons, key ActionButtonList
and Add/Remove/GetActionButton/IsActionButtonDataValid by uint16, accept the
full uint16 button index from the client, and widen character_action.button
to SMALLINT (base schema + a re-runnable custom characters update).
2026-10-23 19:00:34 +08:00
Shauren 4732fd807f Core/Mail: Define new mail flags
(cherry picked from commit 01a2b9594173cb7f13a91349d29babcb0f92b2fc)
2026-09-22 20:07:05 +02:00
TDB Release 272ab63e6a TDB 1210.26091 - 2026/09/09 2026-09-09 08:29:11 +00:00
Gildor 6a06c659b8 DB/Channels: Allow name to be accent-sensitive (#29668)
(cherry picked from commit f647199e22a411a7822502ae15ffb6b4f9009bb9)
2026-05-26 23:08:28 +02:00
Kitzunu 07d60e2a9b DB: Allow reserved_name to be accent-sensitive
Closes #29310

(cherry picked from commit fe084836c5686e4494429e8e11277c74d63d5dd1)
2026-05-26 23:08:27 +02:00
Shauren 4c86cfa5d1 DB: Fix base/characters_database.sql 2026-04-30 16:13:37 +02:00
Shauren edbe16839c DB: Remove use of CREATE FUNCTION (requires SUPER privilege)
Closes #31822
2026-04-29 17:08:38 +02:00
Shauren a23aeafde7 SQL: Fix missing ; 2026-04-22 21:09:45 +02:00
Shauren 4c14988578 Core: Updated to 12.0.5 2026-04-22 20:20:11 +02:00
Shauren 8225b5b71c Core/Spells: Change spell effect value type to double 2026-04-08 18:40:58 +02:00
Shauren db8552567d Core/Transmog: Update transmog system to 12.0 2026-03-21 13:41:42 +01:00
Shauren f59ff04a3a DB: Make some updates possible to rerun 2026-02-07 16:26:25 +01:00
TDB Release 4489f8c786 TDB 1200.26021 - 2026/02/06 2026-02-06 12:50:58 +00:00
Shauren b0a596908d Core: Updated to 12.0.0 2026-01-29 00:22:24 +01:00
TDB Release 8d31f000f7 TDB 1127.26011 - 2026/01/14 2026-01-14 23:46:07 +00:00
Ovahlord fb88f3c975 Core/Warden: Removed implementation not compatible with modern client versions (#30491) 2025-11-25 23:55:32 +01:00
TDB Release cca05feeb4 TDB 1125.25101 - 2025/10/29 2025-10-29 07:02:07 +00:00
Shauren 53068a94e8 Core: Updated to 11.2.5.63704 2025-10-10 16:21:55 +02:00
Shauren 1113338d79 DB: Add index to quest_tracker
Closes #31241

(cherry picked from commit f9a6d912891294e2b13f18356784f1d94a743586)
2025-09-09 14:12:20 +02:00
Shauren 57b49419d7 DB: Drop temporary procedure 2025-08-19 18:07:34 +02:00
Shauren 55be2976b0 SQL: Fix 2025_08_13_00_characters for characters that had items in bank but not unlocked any bank bags
Closes #31219
2025-08-19 00:51:18 +02:00
TDB Release b4d69dfd6d TDB 1120.25081 - 2025/08/16 2025-08-16 15:03:50 +00:00
Shauren 5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
TDB Release cba7c3ab5e TDB 1117.25071 - 2025/07/21 2025-07-21 22:56:17 +00:00
Shauren 60400d25f5 Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter 2025-06-27 15:29:30 +02:00
TDB Release 5cdf27be3a TDB 1115.25051 - 2025/05/31 2025-05-31 19:50:55 +00:00
TDB Release 5641955918 TDB 1110.25031 - 2025/03/29 2025-03-29 01:17:19 +00:00
Meji c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
TDB Release 76d16440dc TDB 1107.24121 - 2024/12/22 2024-12-22 03:01:09 +00:00
Shauren f92b5316ab Core/Achievements: Implemented CriteriaType::ReachMaxLevel 2024-12-13 13:28:35 +01:00
TDB Release 407e1fb87c TDB 1105.24111 - 2024/11/16 2024-11-16 22:02:37 +00:00
Shauren 9bab2801c6 Core/Players: Don't flag unlearned talents and specialization spells as disabled since they are learned with "dependent" flag (and not saved in database) 2024-11-04 17:36:45 +01:00
Shauren 49ab2bbe38 Core/Players: Prevent creation of characters with duplicate names
Closes #30299
2024-10-03 12:22:22 +02:00
TDB Release acf1ec4e2f TDB 1102.24092 - 2024/09/23 2024-09-23 22:53:02 +00:00
TDB Release c722ff3a68 TDB 1102.24091 - 2024/09/03 2024-09-03 00:52:11 +00:00
Shauren 3e28ee080a Core/Loot: Implemented currency loot 2024-08-26 15:02:22 +02:00
Shauren dabe1f85df Core/Players: Remove duplicated trait configs 2024-08-05 12:26:46 +02:00
Shauren a7c8ac3505 Core/Players: Fixed trait configs getting into invalid state after talent tree changes between client patches
Closes #29398
2024-08-04 18:24:10 +02:00
Shauren 21fc0bfbf3 Fix typo in base sql 2024-08-02 14:42:48 +02:00
Shauren e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
TDB Release a5d61a9d2b TDB 1027.24051 - 2024/05/11 2024-05-11 03:11:14 +00:00
Shauren cc92417844 Core/Items: Implemented packets setting up inventory cleanup parameters 2024-04-29 00:06:02 +02:00
Shauren 69da702b93 Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline 2024-04-12 00:18:20 +02:00
Shauren 9ac03bf2b8 DB: Drop columns unused for almost 8 years 2024-04-09 12:55:31 +02:00
TDB Release 6ba7572d4a TDB 1025.24021 - 2024/02/08 2024-02-08 01:00:58 +00:00
TDB Release ac05316743 TDB 1020.23111 - 2023/11/15 2023-11-15 01:03:38 +00:00
Shauren 1eea1d11b1 Core: Update to 10.2.0 2023-11-09 13:33:26 +01:00
Shauren 31da896eb2 Core/Spells: Prevent duplicating trait configs for Generic type 2023-11-02 20:05:29 +01:00