Commit Graph

21083 Commits

Author SHA1 Message Date
pete318
b099e4e43a Only read and delete from corpse table for current map instance. Not for
all. Prevents assert stop upon entering an instance on second character
after first one is a corpse in the same dungeon on different instance ID.
2015-08-27 01:07:14 +01:00
Shauren
7c75160f59 Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors. 2015-08-27 00:54:49 +02:00
MitchesD
0327927fa6 Core/Player: fix typo in toybox
* it's kinda strange that it worked before, thanks @hondacrx for that catch
2015-08-26 19:21:18 +02:00
Shauren
65dbc7082a Core/DBLayer: Optimized prepared statement query results by eliminating unneeded buffer copies
* Improved error logs for using incorrect Field getters to also include table name, field name and field index.
2015-08-26 17:00:26 +02:00
MitchesD
614b5832ba Core/Player: implemented Toybox
* now you can use all the things in toybox - add new toys, set them as favorite and use them
2015-08-26 11:15:00 +02:00
Vincent-Michael
ca5c5221ba Core/Unit: Updated ReactStates for WoD 2015-08-25 13:20:54 +02:00
Shauren
ec5700c2a2 Core/Misc: Fixed macro redefinition warnings when building for running under helgrind 2015-08-25 00:37:55 +02:00
Shauren
b8e776a6c6 Core/DBLayer: Reordered table joins to work around a mysql bug
Closes #15259
2015-08-24 17:33:10 +02:00
StormBytePP
ba2e9fbe95 Core/BuildSystem: Merged crypto into common, cleaned include directory lists (to mimic 3.x buildsystem) 2015-08-24 03:35:19 +02:00
David Carlos Manuelda
e488470879 Core/Spell: Remove Rigor Mortis casting on DK creation and make Rigor Mortis spell be positive instead of negative by @Killyana and @killradio 2015-08-23 20:06:46 +02:00
Shauren
2b8d77cdf2 Core/SupportMgr: Fixed field type mismatches for tickets 2015-08-23 16:44:56 +02:00
Vincent-Michael
bc54df6ea5 Core/PacketIO: Enabled CMSG_FAR_SIGHT opcode 2015-08-23 05:18:17 +02:00
StormBytePP
595bb841a9 Core/Spells: Fixed gcc-4.7.x compile 2015-08-22 17:15:44 +02:00
David Girón
15dec9a76c Script/Commands: Add some sanity checks to cast commands
Closes #15061
2015-08-22 00:33:59 +02:00
Carbenium
e4c97f6652 Merge pull request #15312 from StormBytePP/6.x_merge_common_and_move_database_out_of_shared
Core/Build: Merge common library and move database out of shared
2015-08-21 17:54:47 +02:00
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00
StormBytePP
c1319ef07d Core/Tools: Fix connection_patcher bnet folder location default in linux 2015-08-21 13:42:21 +02:00
MitchesD
50bf874a77 Tools/ConnectionPatcher: fix typo 2015-08-21 12:48:25 +02:00
Carbenium
172293acee Tools/ConnectionPatcher: Fix downloading BNet modules on linux
Closes #15315
2015-08-21 00:01:35 +02:00
Shauren
7ef89fe142 Core/Logging: Fixed _maxFileSize being left uninitialized 2015-08-20 17:26:04 +02:00
Shauren
55a75db16b Build fixes 2015-08-19 17:16:33 +02:00
Shauren
5ef84bb699 Core/PacketIO: Updated and enabled CMSG_TRANSMOGRIFY_ITEMS
* Implemented transmogrification using void storage items as source
2015-08-18 17:45:30 +02:00
Shauren
f252019764 Build: Removed DBC dependency from collision project 2015-08-17 19:10:18 +02:00
DDuarte
f979b28402 Build fix 2015-08-16 22:51:08 +01:00
jackpoz
4617d65131 Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357)

Conflicts:
	src/server/authserver/Main.cpp
	src/server/database/Updater/DBUpdater.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/World/World.cpp
	src/server/shared/PrecompiledHeaders/sharedPCH.h
	src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP
6a9fc63e41 Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
(cherry picked from commit 94f69fb1bc)
2015-08-16 17:50:40 +02:00
DDuarte
b9106ee000 Add a missing include of d5cf594bfe
(cherry picked from commit 90c9290761)
2015-08-16 01:10:01 +01:00
DDuarte
5aaf44fc66 Fix build warnings addded in d5cf594bfe 2015-08-16 00:45:07 +01:00
Shauren
d5cf594bfe Core/Logging: Refactored appender creation to allow using logging without mysql dependency in tools (future task) 2015-08-16 00:12:18 +02:00
Kittnz
21e0880fba Core/Condition: Add In Water Condition
Updates #7019

(cherry picked from commit 5f8db04761)

Conflicts:
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h

Closes #15285

CONDITION_TERRAIN_SWAP (40) has been changed to 41 to keep compatibility with the 3.3.5 branch
2015-08-15 18:34:48 +01:00
Shauren
7632e11825 Core/PacketIO: Updated and enabled CMSG_WORLD_TELEPORT (GM opcode) 2015-08-15 14:24:42 +02:00
DDuarte
55acb20f6d Core/Bnetserver: Catch and log an exception that happens when WorldserverListenPort is already used
Closes #15284
2015-08-15 12:36:19 +01:00
MitchesD
7b491046e9 Core/SmartScripts: SMART_ACTION_TALK - added action param 3 to set target as talk target (used for $vars in texts and whisper target)
* by default (action param 3 is 0), it will try to trigger talk of the target
2015-08-14 22:50:28 +02:00
Shauren
89a8a7e1a4 Core/Misc: Build fix for VS 2013 2015-08-14 19:36:25 +02:00
Shauren
57624e0d53 Core/DataStores: Updated Mount.db2 structure
Closes #15113
2015-08-13 00:38:36 +02:00
Shauren
b81a136c3a Warning fix 2015-08-13 00:37:55 +02:00
Shauren
81abfe93bb Core/Void Storage: Implemented saving item upgrade and bonuses for items deposited in void storage 2015-08-12 23:05:36 +02:00
Duarte Duarte
f7a6a93dfb Merge pull request #15251 from xerkoss/patch-3
[Core\Quests] Add missing learn spell objective check.
2015-08-11 16:08:20 -07:00
Shauren
c6d15a9abc Core/PacketIO: Enabled CMSG_CANCEL_TEMP_ENCHANTMENT 2015-08-11 21:11:47 +02:00
stormbyte
c8950c55ef Core/Startup: Allow reading DBCs and DB2s files from locale subdirectories of /dbc
It is no longer required to have the dbc files in the root dir of /dbc (e.g /dbc/enUS) however this
depends on the value of the DBC.Locale in worldserver.conf

Fixes #15240
Closes #15253

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2015-08-11 16:12:17 +01:00
xerkoss
95ee7ebf62 [Core\Quests] Add missing learn spell objective check. 2015-08-10 20:25:17 +02:00
Shauren
f0e7ef1f9f Core/PacketIO: Exclude DamageDealt/DamageTaken script hook results from damage sent in SMSG_SPELL_NON_MELEE_DAMAGE_LOG 2015-08-10 17:46:31 +02:00
Vincent-Michael
93d555266c Core/Taxi: Update ActivateTaxiReply enum for 6.2.0 2015-08-09 19:40:41 +02:00
Duarte Duarte
8ad51b5a6e Merge pull request #15243 from StormBytePP/6.x
Fixed a warning about override keyword missing
2015-08-09 09:47:18 -07:00
David Carlos Manuelda
a10c53f34a Fixed a warning about override keyword missing 2015-08-09 20:36:31 +02:00
Vincent-Michael
edcbe1bf47 Core/Instances: Fix order (wrong build) in 57eae1dc13 2015-08-09 17:27:48 +02:00
Vincent-Michael
57eae1dc13 Core/Instances: Added ResetFailedReason enum for 6.2.0 2015-08-09 17:23:56 +02:00
Shauren
590c6e399d Core/Networking: Fixed possible crashes happening if async query retrieving account data takes too long
Closes #14944
2015-08-09 15:30:06 +02:00
Vincent-Michael
00a77230bd Core/PacketIO: Updated and enabled SMSG_RAID_GROUP_ONLY opcode 2015-08-09 01:30:58 +02:00
Vincent-Michael
a2969358d9 Core/Misc: Added RaidGroupReason enum for 6.2.0 2015-08-09 00:54:57 +02:00