Commit Graph

2406 Commits

Author SHA1 Message Date
Osleyder85
3addbe7dd4 Core/AdventureJournal: Handle CMSG_ADVENTURE_JOURNAL_OPEN_QUEST and CMSG_ADVENTURE_JOURNAL_UPDATE_SUGGESTIONS
Merges #26000
2021-03-14 00:21:31 +01:00
Ovah
0aa3a0b0b9 fixed build 2021-03-09 17:06:34 +01:00
Ovah
e77100c923 Core/PacketIO: corrected setting the NowDead field in SMSG_ATTACK_STOP
This fixes a weird facing behavior for creatures which caused them to face to their spawn position when dying instead of facing their current victim's orientation
2021-03-09 17:02:23 +01:00
Shauren
55eef73c48 Core/PacketIO: Increase max allowed incoming packet size for CMSG_HOTFIX_REQUEST 2021-03-02 01:06:28 +01:00
Shauren
68bdf1c830 Core/PacketIO: Use hotfix status enum instead of magic numbers in SMSG_DB_REPLY 2021-02-28 20:58:03 +01:00
Shauren
c86cffe5ef Core/DataStores: Support all new hotfix status values 2021-02-28 01:14:33 +01:00
Shauren
3e3b93b509 Core/Scenes: Add support for encrypted scenes 2021-02-27 21:49:35 +01:00
Shauren
f269f60d8a Scripts/Quests: Implemented new quest scripting hook, OnQuestAcknowledgeAutoAccept, used when player closes quest frame after viewing details of autoaccept quests 2021-02-26 20:42:29 +01:00
jackpoz
f1388f37b6 Core/WorldSession: Fix idle WorldSessions getting kicked twice as fast as supposed
Fix SocketTimeOutTime and SocketTimeOutTimeActive settings being effectively halved by reducing the timeout time twice every update instead of just once, causing much faster kicks (i.e. after 30 seconds with 60 seconds set in the configs).

(cherry picked from commit 032194099e)
2021-02-25 18:50:55 +01:00
Shauren
49992508a4 Core/Movement: Refresh collision height on shapeshifting 2021-02-11 22:59:28 +01:00
Matan Shukry
6dbaba7669 Core/Player: remaining XP logging overflow correction (#25934) 2021-01-26 16:48:28 +01:00
Matan Shukry
bb24c6a11b Core/logs: added xp info on login & logout (#25867)
* Core/logs: added xp info on login & logout

* - Moved getters to header
- Changed %s to %u
2021-01-17 17:08:22 +01:00
Mikhail Redko
7625bd960e Core/WorldSession: Add RBAC permission for skipping idle connection check (#20595)
(cherry picked from commit 558382ed6d)
2020-12-31 23:23:50 +01:00
Shauren
2e4609f6e1 Core/Chat: Send broadcast text id in sound packets to allow playing encrypted sound files 2020-12-27 22:43:36 +01:00
Shauren
9e0eac83bf Core/PacketIO: Add missing ByteBuffer::ResetBitPos calls, fixes buying items from vendors
Closes #25729
2020-12-15 16:27:55 +01:00
Shauren
015666b044 Core/PacketIO: Enable CMSG_CHECK_CHARACTER_NAME_AVAILABILITY 2020-12-13 10:49:21 +01:00
Shauren
8a21f607a8 Core/PacketIO: Fixed SMSG_CHAR_FACTION_CHANGE_RESULT structure 2020-12-12 22:04:47 +01:00
Shauren
5f3a2d2abf Core/Quests: Fixed questgiver icons
Closes #25702
2020-12-11 22:19:19 +01:00
Shauren
364f6eec9a Core/GameObjects: Updated gameobject template structure to 9.0 2020-12-09 00:03:10 +01:00
Shauren
dc2eeee75b Core/PacketIO: Add opcode values for 9.0.2 2020-12-08 18:16:48 +01:00
Shauren
96d340f70c Core/PacketIO: Updated packet structures to 9.0.2 2020-12-08 18:16:47 +01:00
Shauren
b82a3a557a Core/DataStores: Updated db2 structures to 9.0.2
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren
cab4c87d2d Core/PacketIO: Updated most packet structures to 9.0.1 2020-12-08 18:16:41 +01:00
François B
acde5cc375 Core/PacketIO : Added SMSG_INTERRUPT_POWER_REGEN (#25539) 2020-10-05 17:26:11 +02:00
Shauren
1d04d5859a Core/PacketIO: One more opcode rename 2020-10-04 13:11:30 +02:00
Shauren
f922c6e7a4 Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0) 2020-09-19 12:44:42 +02:00
funjoker
7399062c63 Core/PacketIO: Add SMSG_QUEST_LINES_FOR_MAP_RESPONSE naming 2020-09-14 21:07:34 +02:00
Shauren
b231903932 Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port 2020-09-04 13:38:24 +02:00
Ovah
71db17220a Core/Spells: enable and implement SMSG_MISSILE_CANCEL (#25215) 2020-08-16 12:07:51 +02:00
Shauren
1c52d5fff7 Core/Misc: Replace NULL with nullptr 2020-08-14 17:06:03 +02:00
Shauren
2c99678118 Core/PacketIO: Send the expected value in available hotfixes packet - realm address, not arbitrary number (it no longer has any effect for clearing client cache) 2020-08-13 14:15:26 +02:00
Shauren
7e4fdf0522 Core/PacketIO: Fixed SMSG_WORLD_SERVER_INFO structure 2020-08-09 14:12:13 +02:00
Treeston
73922d2a85 Core/Authserver: Re-organize the accounts table (PR #25135)
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA)
- salt/verifier/session_key are now binary
- old s/v/sha_pass_hash fields kept around for backwards compatibility
- sha_pass_hash is still updated (for now), s/v are not
- sha_pass_hash is only read if s/v have been manually changed
- SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19)

(cherry picked from commit 3164b58c7d)
2020-08-03 22:37:47 +02:00
Treeston
77380f032b Core/Authserver: Split SRP6 into its own file (PR #25131)
(cherry picked from commit 7f7fa8b23d)
2020-08-03 21:16:30 +02:00
Treeston
e9392ad287 Core/Authserver: Authserver cleanup (PR#25093)
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above

(cherry picked from commit 210176fd91)
2020-08-03 19:39:00 +02:00
Shauren
8f9a69c9fa Core: Updated to 8.3.7.35249 2020-07-23 20:00:27 +02:00
Shauren
59d66041b1 Core/PacketIO: Add missing opcode handler/name definitions 2020-07-23 10:16:04 +02:00
Treeston
2c3fc47a96 Proper client timeout detection (#19906)
- Properly detect client timeout when logged into a character after a configurable time (default 60s) has passed without the client sending any packets.
- Fixes issues with crashed clients leaving characters in the world for a very long time (default 15 minutes), as well as edge case exploits involving intentionally pausing client execution for some amount of time.

(cherry picked from commit 7dfd472f8d)
2020-07-16 22:00:30 +02:00
Shauren
661470c658 Core/PacketIO: Convert all leftover packets to use packet classes 2020-07-02 00:07:38 +02:00
Peter Keresztes Schmidt
bab5fd87a3 Core/Misc: Replace Trinity::make_unique with std (#24869) 2020-06-23 08:54:12 +02:00
ForesterDev
01d098830a DB/Account: update account_access table (#24788)
* DB/Account: update account_access table:

- rename fields id -> AccountID, gmlevel -> SecurityLevel
- add Comment field
- rename command .acc set gmlevel to .acc set seclevel

* Update auth database

* Fix primary key

* Temporary restore old command account set gmlevel with same handler as account set seclevel

Use Optional  for realmID - if not set, use -1 (for all realms)

* Rename 2020_XX_XX_00_auth.sql to 2020_06_20_00_auth.sql

* Update auth_database.sql

* Rename 2020_XX_XX_00_world.sql to 2020_06_20_06_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 8e0365d8a6)
2020-06-22 11:03:31 +02:00
Shauren
5fce3604fc Core/PacketIO: Fixed receiving and sending db2 hotfix packets 2020-06-08 00:08:37 +02:00
Shauren
bf8714b870 Core/Battlegrounds: Queue updates
* Fixed battleground queues for battlegrounds with id higher than 255
* Fixed queue display ingame after entering bg
* Fixed ingame display after leaving bg queue
* Fixed bg scoreboard
2020-05-31 16:49:18 +02:00
Shauren
d435d5d5ba Core/PacketIO: Fixed BattlefieldStatusHeader structure and QueueID values for other battleground types 2020-05-27 00:29:13 +02:00
Shauren
4d69cc1c56 Core/Misc: GCC build and warning fixes 2020-05-21 22:15:58 +02:00
Shauren
aedab76a11 Core/Misc: Add extra ByteBuffer and WorldPacket constructors allowing to set size immediately 2020-05-20 17:28:38 +02:00
Shauren
3e83373907 Core/Achievements: Minor fixes
* Corrected criteria and modifier tree logic after implementing their operators
* Account wide achievements will now show progress ingame (even if we still treat them as per-character)
* Fixed more cases of achievements being granted automatically without satisfying modifier trees
2020-05-18 16:57:59 +02:00
Shauren
e3489c48ee Nopch fix 2020-05-02 23:34:07 +02:00
funjoker
314a35f0cd Core/Creatures: Update creature scaling to use content tuning
Closes #22831
2020-05-02 22:37:28 +02:00
xinef1
48a40fae0a Core/Misc: implemented petition manager (#19010)
- Implemented manager for petitions to perform all petition related tasks and synchronize data with database.
- This kills ugly synchronous querys on packet handlers

(cherry picked from commit a4aa95a5a3)
2020-05-01 19:32:11 +02:00