Commit Graph
11875 Commits
Author SHA1 Message Date
Ovahlord 15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
Shauren 43a18dae7f Core/PacketIO: Restrict CMSG_STANDSTATECHANGE to only allow the same stand states that client can send by itself 2019-11-05 16:05:54 +01:00
Shauren ff018e4d75 Core/PacketIO: Restrict CMSG_EMOTE to only allow emotes that are hardcoded in client 2019-11-05 16:04:52 +01:00
Ovahlord cca7e81895 Core/Transports: split passenger position update into two seperate functions to enable updating positions of single passengers instead of iterating through the entire passenger set 2019-11-04 15:01:21 +01:00
Ovahlord 517a4581ad Core/Transports: fixed a crash happening when logging in while saved on a transport 2019-11-04 01:42:32 +01:00
Ovahlord b65291112f Core/Transports: update passenger positions when adding a passenger to a transport 2019-11-04 00:16:38 +01:00
Ovahlord 3dd63ff980 Scripts/BWD: initial work on phase three mechanics for Nefarian's End encounter 2019-11-01 23:36:12 +01:00
Artamedes f8f1701189 Core/Movement: Fix SMSG_MOVE_UPDATE_SWIM_SPEED structure (#14)
* Core/MovementStructures: Fix SMSG_MOVE_UPDATE_SWIM_SPEED structure

* Change spacing

* rename a movement status element and add a comment to a nyi movement status element
2019-10-31 03:06:22 +01:00
Ovahlord 7b5ee673fb Core/Movement: renamed MSEHasTransportTime3 to MSEHasVehicleId 2019-10-31 01:51:14 +01:00
Ovahlord 72b10106f6 Scripts/BWD: implement normal difficulty mechanics for phase two and scripted intro for phase three and add timers for phase three tail lash and shadowflame breath 2019-10-31 00:48:56 +01:00
Ovahlord 7f1b3cf52c Core/Transports: use additional anim node data for GO_STATE_TRANSPORT_ACTIVE to handle serverside position updates properly 2019-10-30 16:36:33 +01:00
Ovahlord c26b2bc819 Core/Transports: corrected travel time alignment time handling 2019-10-30 04:32:07 +01:00
Ovahlord 385d2b2b27 Core/Transports: fixed a typo that was causing transports to move faster than intended after making them return to stop frame 0 via GO_STATE_TRANSPORT_ACTIVE 2019-10-30 03:36:25 +01:00
Ovahlord e30d474aa6 Core/Transports: handle GO_STATE_TRANSPORT_ACTIVE properly now and clarified some code in transport position update handling 2019-10-29 19:24:52 +01:00
Ovahlord 55d4990949 Scripts/BWD: finish base work on phase one of Nefarian's End encounter 2019-10-29 00:17:11 +01:00
Ovahlord a2654c32fc Core/Movement: fixed linux build 2019-10-25 13:05:52 +02:00
Wyrserth 279a45e23c Core/Script: add script hook to allow overriding of a vehicle passenger's exit position (#23322)
* Core/Script: add script hook to allow overriding of a vehicle passenger's exit position.

* Allow to change orientation, and fix nopch.

* Keep original orientation, thanks jackpoz!

* Update Unit.cpp

Code cleanup

* Update Unit.cpp
2019-10-17 03:45:49 +02:00
ccrs 83c0bb1f93 Core/Movement: handle Resume/Pause on RandomMovementGenerator 2019-10-17 03:44:29 +02:00
ccrs 8cb10a38a4 Core/Unit: f869c49 followup
Movement Pause/Clear is already handled in Unit::SetCharmedBy and Unit::RemoveCharmedBy, respectively

TODO: missing PAUSE handling in RandomMovementGenerator
2019-10-17 03:32:45 +02:00
Wyrserth d19d0dc29e Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
Closes #21731 and #22368.
2019-10-17 03:32:15 +02:00
Artamedes 57992c4f0d Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update (#9)
* Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update

* 1

* Core/NetworkOI: corrected connection type for SMSG_MOVE_UPDATE

* suggestions
2019-10-15 19:11:15 +02:00
Ovahlord 535cbc3cac Core/Guilds: fixed a typo in rewarding challenge gold rewards 2019-10-14 01:17:55 +02:00
Ovahlord 8d29de88a2 Core/Guilds: updated guild challenge system
* converted guild challenge packets to packet class
* moved guild challenge reward data to database
2019-10-14 00:56:48 +02:00
Ovahlord 0a71e7c2c2 Core/Spells: Nature's Blessing will now correctly grant its bonus only for eligible direct healing spells 2019-10-14 00:56:47 +02:00
Ovahlord ba85a5ec9f Core/Spells: corrected a typo that was causing Earth Shield to gain additional spell power benefits from the heal target's spellpower 2019-10-09 13:59:25 +02:00
funjoker c1e5c17613 Fix mistake in Language.h 2019-10-08 19:48:13 +02:00
Ovah 159b858035 Merge pull request #10 from funjoker/4.3.4
Porting several commits
2019-10-08 19:19:56 +02:00
Artamedes 87c6cc19e5 Core/PacketIO: Handle CMSG_REQUEST_PET_INFO, so pet/vehicle/charm/possess bar shows after a client /reload (#7)
* Core/PacketIO: Handle CMSG_REQUEST_PET_INFO, so pet/vehicle/charm/possess bar shows after a client /reload

* Core/Handlers: added additional checks for PetSpellInitialize() call in HandleRequestPetInfoOpcode and apply codestyle standards
2019-10-08 16:53:55 +02:00
Shauren e596504d93 * Auth/Battle.net Added missing build check to JoinRequest handler
* Core/Commands: Battle.net account command changesisting accounts

(6584995c11a02478671656ea6955db7a645b57ce)
(0c27ffaa49c7e3e6880051ac74581cae51d83351)
2019-10-08 15:26:06 +02:00
sun 0f05657fb6 Remove whitespace 2019-10-07 14:57:46 -04:00
sun c98c92b902 Core/PacketIO: Restore SMSG_DESTROY_OBJECT removed in 92816c0f17
- this packet was removed in WoD not 4.3.4...
2019-10-07 14:53:36 -04:00
Ovah eecc496001 Merge pull request #5 from Artamedes/patch-1
Server/PacketIO: Fix S->C logging
2019-10-07 10:21:19 +02:00
Ovahlord ca07c38a3f Core/Packets: order system status packet members by size 2019-10-07 08:26:58 +02:00
Artamedes daa58b574b Server/PacketIO: Fix S->C logging
Wrong static cast
2019-10-06 23:59:36 -04:00
Giacomo Pozzoni e73c7dc2e4 Core/LFG: Fix re-queueing while in a dungeon (#23862)
Fix an issue that wouldn't allow to re-queue after joining a dungeon, having 1 member leave/get kicked, queue, leave, queue.
In this case a message "One or more dungeons was not valid" would be displayed because LFG would try to queue the group as "continue dungeon" but the current group was not marked as "in dungeon" state anymore.
2019-10-07 00:45:56 +02:00
Giacomo Pozzoni 354927050b Core/LFG: Remove Dungeon Cooldown when getting kicked 2019-10-07 00:44:24 +02:00
Ovahlord 5cd48b2afc Core/Movement: fixed a typo in MoveTakeoff that was causing flying creatures not lifting off properly 2019-10-06 06:57:18 +02:00
Ovahlord 6fe707532f Core/NetworkOI: corrected more connection types 2019-10-06 06:38:37 +02:00
Treeston 3edbb05425 Core/Movement: Properly resume chase/follow movement if it was paused by a spell cast 2019-10-06 06:32:51 +02:00
Ovahlord 6c2b9fd213 Core/NetworkOI: updated connection types for many opcodes 2019-10-06 06:24:00 +02:00
Ovahlord 009cffd1d8 fixed codystyle in last commit 2019-10-06 05:19:42 +02:00
Ovahlord 94295f3c16 Core/NetworkOI: send SMSG_MONSTER_MOVE and SMSG_MONSTER_MOVE_TRANSPORT on CONNECTION_TYPE_INSTANCE to fix a visual issue that is causing splines not getting displayed right away when sent after spawn 2019-10-06 05:19:27 +02:00
ccrs 94980ab362 Core/Movement: move MoveSplineInit (#21857)
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.

Core/Movement: use helpers for validation

Core/Movement: crashfix workaround
2019-10-06 04:55:46 +02:00
Ovahlord 48f2738b30 Core/Spells: removed a wotlk leftover for spell scaling 2019-10-05 20:22:42 +02:00
Ovahlord b40b738975 Core/Movement: fixed an issue in the spline synch packet that was causing cyclic splines to get asynch 2019-10-05 07:47:29 +02:00
Ovahlord e135d35551 Core/Movement: implement cyclic path motion master helper to allow creatures to move along hardcoded spline points that are perfect circles 2019-10-05 06:30:55 +02:00
Ovahlord adec9f98e0 Core/Transports: fixed displaying transport movement after relogging with a already moved transport 2019-10-05 05:23:59 +02:00
Ovahlord c68e39d074 Core/Transports: solved all remaining visual issues for transports 2019-10-05 03:46:31 +02:00
Ovahlord 846b5d1841 Core/NetworkOI: send SMSG_UPDATE_OBJECT on the instance connection 2019-10-05 00:58:41 +02:00
Ovahlord 8e8c870a47 Core/Players: corrected field order for feature status packet 2019-10-05 00:43:43 +02:00