Commit Graph

1082 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
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
Shauren
e596504d93 * Auth/Battle.net Added missing build check to JoinRequest handler
* Core/Commands: Battle.net account command changesisting accounts

(6584995c11)
(0c27ffaa49)
2019-10-08 15:26:06 +02:00
Ovahlord
8bec6af24a Core/NetworkIO: implement 2nd connection 2019-10-03 22:32:24 +02:00
Ovahlord
0299e10945 Core/Servers: nuke authserver 2019-09-30 07:26:54 +02:00
Treeston
90540d684b Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
- Map::RemoveRespawnTime(SpawnObjectType, LowType, doRespawn) split into Map::Respawn and Map::RemoveRespawnTime, without the extra boolean
- Map::RemoveRespawnTime(RespawnInfo*) merged into Map::DeleteRespawnInfo(RespawnInfo*) and is now private
- Map::DeleteRespawnInfo(void) renamed to Map::UnloadAllRespawnInfos to properly describe what it does
- Map::ProcessRespawns now actually saves the delayed respawn time to DB if the respawn was delayed
- Map::AddRespawnInfo now takes const reference, and returns success as a boolean
- Map::AddRespawnInfo no longer offers an unused "replace" parameter
- Map::DeleteRespawnInfo no longer offers a variety of unused private overloads
- Map::SaveRespawnTime no longer offers a tantalizing writeDB parameter. Parameter is now called "startup" to properly describe what it does.
- Map::SaveRespawnInfoDB now takes RespawnInfo reference instead of all the various fields. Still public because compatibility mode. QQ.
- Map::GetWorldObjectBySpawnId sanitized
- Map::GetXRespawnTime methods sanitized to all go through Map::GetRespawnTime

----------

Core/DB: Unify `creature_respawn` and `gameobject_respawn` into a single `respawn` table
2019-08-18 12:47:10 +02:00
Treeston
f9184f026b Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
- .npc respawn no longer causes stupid things to happen (Fixes #23014)
- ::DeleteFromDB methods on Creature and GameObject rewritten to be as sensible as such a colossally stupid method can ever be. They're static now.
- .npc delete and .gobj delete ported to new argument handling, and rewritten as per above. They can no longer crash the server when used in instances, too. Yay for that.
- Adjusted various dusty cobwebbed hacks around the core (why does waypoint visualization use permanent spawns *shudder*) to still work too.
2019-08-18 12:12:09 +02:00
Shauren
0b8ab68eb3 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster 2019-08-18 11:51:09 +02:00
Ovahlord
4df96f8126 Core/Scripts: removed an unintended change from last commit 2019-08-13 18:16:15 +02:00
Ovahlord
680d82db4e Core/Spells: added a missing breakpoint that was granting Death's Embrace more bonus values than it should get 2019-08-13 17:53:34 +02:00
Ovahlord
c074c3a9c6 Revert "Core/Misc: Replace time(NULL) with GameTime::GetGameTime()"
This reverts commit 5fe3a1f7f9.
2019-07-08 15:56:29 +02:00
Ovahlord
5fe3a1f7f9 Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
(ported commit: 12701cb0c6)
2019-07-08 12:19:19 +02:00
Ovahlord
f846a17c3e Core/Quests: fix money reward for quests turned in at level cap
(ported commit: 670085d8c0)
2019-07-06 16:05:24 +02:00
Ovahlord
e5d59d5f98 Core/Object: Range check (#23179) (ported commit: 32e1de39a2) 2019-04-26 18:41:31 +02:00
Ovahlord
fda1f556af Core/DataStores: use generated member names for AreaTable.dbc
*load all fields of AreaTable.dbc
2019-02-24 00:51:54 +01:00
Ovahlord
1e4cc2293a Core/Datastores: use generated member names for MapEntry fields
* load all dbc fields of MapEntry
2019-02-24 00:14:44 +01:00
Ovahlord
9ce72fa1d9 Core/Creatures: Reworked setting move types in database (ported commit: 592516ae69)
*merged followup commits
2019-02-18 07:52:25 +01:00
Ovahlord
f763095de9 Core: merged some analysis issue fixup commits from master and 335 2019-02-18 04:15:05 +01:00
Ovahlord
50a91bd590 Core/Movement: merged Collision height handling from 335 branch to reduce the probability that creatures are falling under the map 2019-02-17 23:40:24 +01:00
Ovahlord
7edabcbd88 Core/Movement: ported and merged Follow and Chase movement generator rewrite 2019-02-07 23:51:45 +01:00
Ovahlord
e6e2421fd1 Core/Phases: synch phasing files with master branch 2019-02-03 21:18:59 +01:00
Ovahlord
9377ce2528 Scripts/Commands: fixed returning height values in gps command when the target is not on transport 2019-01-21 11:08:08 +01:00
Ovahlord
af3981d71b Scripts/Commands: fixed a crash happening when trying to appear at invalid map coordinates or trying to appear near a transport passenger 2018-11-21 16:29:00 +01:00
Ovahlord
5229a734dd Core/Transports: ported transport refactoring
* this implements full support for stoppable transports as well as serverside transport position tracking
* fixed several vehicle related issues
* fixed gameobject passengers not being displayed as transport passengers
* pets, dynamic objects and other summons are not added as transport passengers and will now properly be displayed
Todo:
- Deeprun Tram visual issues needs to be resolved
- Lady Deathwhisper's elevator needs some additional research
2018-11-21 12:04:26 +01:00
Ovahlord
1a1790b737 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/Skills/Archaeology/ArchaeologySites.cpp
#	src/server/scripts/Spells/spell_mage.cpp
2018-09-17 15:43:22 +02:00
Aokromes
47d7f7be1c kill whitespaces 2018-09-09 16:41:58 +02:00
Treeston
c843f2b7e2 Core/ChatCommands: Implement achievement link parsing 2018-09-09 15:05:25 +02:00
Treeston
e97e4e4605 another build fix 2018-09-09 14:56:00 +02:00
Aokromes
ca23ed1f6c Scripts/Commands: Rewrite .account commands to new model 2018-09-09 14:54:43 +02:00
Aokromes
6815c24be1 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
2018-09-09 14:31:14 +02:00
Aokromes
88e1b344cb Core/RBAC: Simplification part 1. Nobody needs different permissions …
…for each type of .go command.
2018-09-09 13:19:23 +02:00
Ovahlord
65a0dbadd3 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-09-03 07:14:17 +02:00
Aokromes
9a8db98c94 build fix 2018-09-02 22:28:44 +02:00
Aokromes
77c9d5c43e Scripts/Commands: Cleanup and trinity_string for .go instance. Hi sha…
…uren.
2018-09-02 21:51:46 +02:00
Aokromes
861f114d5d Scripts/Commands: New command ".go instance". Goes to an instance. 2018-09-02 21:45:47 +02:00
Ovahlord
5e380763aa Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/DungeonFinding/LFGMgr.h
#	src/server/game/Maps/Map.h
#	src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp
2018-08-28 04:41:18 +02:00
Ovahlord
10e866aae9 Scripts/Commands: fixed layout of returned values when using .npc info 2018-08-26 23:02:39 +02:00
Ovahlord
d27baf2e36 Scripts/Commands: fixed a crash in .gobject near command 2018-08-26 23:00:50 +02:00
Shauren
5a7a83f520 Core/Commands: Fixed .damage command to work with spell schools caused by bad strtok usage
Closes #22280
2018-08-20 04:45:08 +02:00
Treeston
8bb732b951 Scripts/Commands: Fix .quest complete to properly work with PvP kill quests. Closes #16321. 2018-08-15 13:37:41 +02:00
Ovahlord
3f53afd39e Core/Maps: fixed several issues with liquids by merging some 335 branch commits that are taking mopg flags into account 2018-08-07 12:35:02 +02:00
Ovahlord
e03e3ca639 Core/Spells: corrected flag applying for SPELL_AURA_MOD_UNATTACKABLE. Also do not clear combat states for affected units 2018-08-03 16:44:58 +02:00
Ovahlord
78e0328356 Core/Movement: fixed waypoint movement commits up to 2ce9a0a094 2018-08-02 16:20:02 +02:00
Ovahlord
c808b981f7 Core/Movement: merged smooth waypoint movement. Followup commits will be merged soon (tm) 2018-08-02 15:38:35 +02:00
Ovahlord
83fb611b47 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-07-26 17:37:05 +02:00
Ovahlord
12ccecf756 Scripts/Commands: fixed a crash in .gobject near command 2018-07-25 18:17:01 +02:00
Ovahlord
bf68acea1f Core/Transports: force transport spawns into legacy group 2018-07-25 14:44:47 +02:00
Ovahlord
b6fa50b11c Scripts/Commands: fixed layout of returned values when using .npc info 2018-07-23 16:52:46 +02:00
Aokromes
5d60d1980a warning fix 2018-07-23 16:16:37 +02:00
Ovahlord
6320bb6a46 Revert "fix warnings" and fix warning properly 2018-07-23 15:59:32 +02:00