Commit Graph

19310 Commits

Author SHA1 Message Date
Naios
03d249f063 CMake: Use inherited dependencies in worldserver and authserver
* Closes #1679
2016-03-18 14:27:43 +01:00
Naios
96bc31924a CMake: Use inherited dependencies in scripts
* Removes the circular dependency between game <-> scripts
2016-03-18 02:53:00 +01:00
Naios
469f2d3ade CMake: Use inherited dependencies in database, shared and game 2016-03-18 02:52:59 +01:00
Naios
abda7a910a CMake: Use inherited dependencies in common and tools 2016-03-18 02:52:57 +01:00
Vincent-Michael
5e74c2223b Core: Remove whitespaces 2016-03-16 21:40:15 +01:00
blub
8050f58b21 Merge pull request #16649 from ForesterDev/3.3.5
Scripts/Commands: Modify ".debug anim" command to target any selected unit
2016-03-16 20:56:16 +01:00
Naios
f52495c66b Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c 2016-03-16 15:36:32 +01:00
jackpoz
912514c198 Core/Creatures: Fix dead creatures spawn position on restart
Fix dead flying creatures ignoring being spawned below the floor in instances on server restart because of not taking into account vmap height.
Fix #16777
2016-03-15 22:02:14 +01:00
joschiwald
3e7b7e415e Merge pull request #16785 from Keader/AlgalonStars
[3.3.5/Core/Scripts] Fix Living Constellation not activating during Algalon encounter
2016-03-15 21:11:16 +01:00
Keader
8a95417fce Fix Living Constellation not activating during Algalon encounter. 2016-03-15 17:09:06 -03:00
Duarte Duarte
632e66784b Core/PacketIO: Revert STATUS_UNHANDLED logging back to debug
Ref 5a6db6e84d
Closes #16773
2016-03-15 01:12:21 +00:00
r00ty-tc
971f4ccab8 Core/Maps: Implement optional pre-loading of maps.
- Option to preload basemaps upon server load (BaseMapLoadAllGrids)
- Option to preload instance maps upon map load (InstanceMapLoadAllGrids)
- Change default logging to only log mmap errors to server log
- Add new public to map to load all cells in map
- change debug loadcells to use new function instead
2016-03-15 02:05:13 +01:00
Shauren
9a01b47d48 Core/Players: Removed pointless log - this is not an error
Closes #16781
2016-03-14 17:24:21 +01:00
Shauren
fdc8b7b38a Merge branch '3.3.5' of https://github.com/TrinityCore/TrinityCore into 3.3.5 2016-03-13 20:18:22 +01:00
Shauren
1925778e44 Core/Players: Split playerBytes fields in characters table
(cherry picked from commit 2a6f65fddc)
2016-03-13 20:18:05 +01:00
Shauren
c344961e3f Merge pull request #16775 from chaodhib/opcode_setspeed_fix
Fix MSG_MOVE_SET_* opcodes. The GUID was missing.
2016-03-13 16:55:45 +01:00
chaodhib
303f0a4430 Fix MSG_MOVE_SET_* opcodes. The GUID of the concerned unit was missing from the packet. 2016-03-13 15:34:23 +01:00
Golrag
00c5eb70f2 Scripts/Icecrown Citadel: Fixed Sindragosa ice tomb targets
* Also changed the way NonTankTargetSelector checks who is the tank.
2016-03-13 11:21:03 +01:00
r00ty-tc
7d092567f9 Another build fix 2016-03-13 03:32:19 +01:00
Vincent-Michael
7f1cef3fa7 Core: Fixed build 2016-03-13 00:57:23 +01:00
Shauren
e32bb4de9c Build fix 2016-03-13 00:22:53 +01:00
Shauren
5a6db6e84d Core/Misc: Minimize differences between branches in WorldSession::Update
This commit removes OnUnknownPacketReceive script hook - it could never be fired anyway at that point
2016-03-13 00:12:09 +01:00
Shauren
811b29c8e1 Core/Networking: Added new AsyncRead method to Socket class allowing to pass a custom completion handler
(Partially cherry-picked from f123c39659)
2016-03-12 23:56:18 +01:00
RelevantJesse
55bb3fb00c Update PetAI.cpp
Pulled check for IsReady to outside of the IsPositive check

(cherry picked from commit a71ea54a3a)
2016-03-12 23:54:24 +01:00
MitchesD
caef32d375 Core/Misc: fix build
(cherry picked from commit ce5def332f)
2016-03-12 23:52:51 +01:00
Shauren
fd819b0919 Core/Debugging: Make abort() less bad on windows by forcing crash log generation
(cherry picked from commit dea7d429ab)

# Conflicts:
#	src/server/bnetserver/Main.cpp
2016-03-12 23:52:35 +01:00
Shauren
c71987b1a1 Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown
(cherry picked from commit a0b2be6c1d)
2016-03-12 23:49:56 +01:00
Shauren
9fc5c4bc41 Core/PacketIO: Requeue packets handled with STATUS_LOGGEDIN received before player is fully loaded in one step after packet processing loop - reduces used locks from 3 per packet to 1 per packet
(cherry picked from commit 8086a39210)
2016-03-12 23:49:39 +01:00
Shauren
67aa8cabce Warning fix
(cherry picked from commit 983635458b)
2016-03-12 23:45:42 +01:00
Shauren
3ed41235f3 Core/Misc: Removed unneccessary boost/asio/buffer.hpp include
(cherry picked from commit 01be486f2f)
2016-03-12 23:44:49 +01:00
Shauren
39dd376c40 Core/Logging: Include more info in bad realm log
(cherry picked from commit a6dd6d7841)
2016-03-12 23:43:08 +01:00
Andrew Letson
c83f29d2c4 AHBot item class modifiers
Adds missing modifiers to worldserver.conf

(cherry picked from commit e5c9997362)
2016-03-12 23:41:14 +01:00
Software Engineer
b9839f5148 Server/ObjectMgr: Added Error Log And Server Shutdown At ID Overflow
(cherry picked from commit 0d8b5c2142)
2016-03-12 23:39:48 +01:00
Cosmo Orzechovsky
b13e664e5d Misc: Removed unneeded info about character escaping from .conf.dist and improved example MotD
(cherry picked from commit c731bd5d59)
2016-03-12 23:34:29 +01:00
Shocker
7093c16c5d Core/RBAC: Fix revoking permissions
(cherry picked from commit cb911cad00)
2016-03-12 23:33:03 +01:00
Carbenium
b637c198af Core/Player: Update some function declarations
(cherry picked from commit 0064fc2336)
2016-03-12 23:25:01 +01:00
Carbenium
bff45bbb14 Core/Player: Improve log messages 2016-03-12 23:22:10 +01:00
Carbenium
f29e380797 Core/Player:
* sprinkle some consts
* replace some C-style casts by static_cast
* replace NULL by nullptr

(cherry picked from commit b705ebeb7f)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
2016-03-12 22:36:45 +01:00
Vincent-Michael
f81488b90e Core: Revert fail
(cherry picked from commit b5329d8a03)
2016-03-12 21:46:56 +01:00
Vincent-Michael
d6f093681e Core: Added missing overrides
(cherry picked from commit 5d584116fe)
2016-03-12 21:46:37 +01:00
Vincent-Michael
509e54423a Scripts: Added missing overrides
(cherry picked from commit 00b4e8b6cc)
2016-03-12 21:45:37 +01:00
Vincent-Michael
782bc7cfaa Core/Commands: Added transport position for command .gps
(cherry picked from commit 9c99a1d0c7)
2016-03-12 21:37:40 +01:00
Shauren
2a37266269 Core/Auth: Fixed login for accounts with accented characters
Closes #16770
2016-03-12 21:22:16 +01:00
Shauren
298d70476e Core/Misc: Partial port of d9f1d6466d (refactoring) 2016-03-12 21:21:41 +01:00
Shauren
9b5adcc6fc Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
Closes #16769

(cherry picked from commit 0daba931ef)
2016-03-12 19:44:06 +01:00
Naios
cebe6122ad Core/Worldserver: Move the Realm instance into the game library
(cherry picked from commit 7c257aab5e)
2016-03-11 20:03:13 +01:00
Naios
b7f936891a Core/Game: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)

(cherry picked from commit 329225b40d)
2016-03-11 20:03:12 +01:00
Naios
3a4ec8bcbe Core/Database: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
* Also instantiate the database worker pools in DatabaseEnv.cpp now.

(cherry picked from commit a8fe7f6eb7)
2016-03-11 19:51:07 +01:00
Naios
fbe724fab9 Core/Common: Generalize platform specific includes in common/Platform
(cherry picked from commit 30517cb1d3)
2016-03-11 19:09:56 +01:00
Naios
998607b106 Core/Common: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)

(cherry picked from commit 5c91586797)
2016-03-11 18:55:33 +01:00