Commit Graph

13412 Commits

Author SHA1 Message Date
StormBytePP
056d7f8e5d Core/Build: Fix nonPCH compile 2015-09-10 16:44:19 +02:00
horn
e8b1faa156 Core/BattlePets: Basics for Battle Pets 2015-09-09 14:52:32 +02:00
Shauren
e0fcb410b4 Core/Players: Removed obsolete class member 2015-09-09 00:12:38 +02:00
Shauren
8aba20ce3a Core/Misc: Updated SpellCastResult, TradeStatus, InventoryResult and defined PlayerFlagsEx 2015-09-08 00:08:49 +02:00
Shauren
8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
Shauren
344c32c123 Core/PacketIO: Fixed a bunch of swapped opcode values
Closes #15447
2015-09-06 15:34:36 +02:00
Shauren
ed633e5d31 Core/PacketIO: Corrected data sent in SMSG_LOOT_RESPONSE
Closes #15438
2015-09-06 00:26:11 +02:00
Vincent-Michael
b5dc7761ba Core/PacketIO: Fix chat message opcodes for 6.2.2 2015-09-05 16:54:39 +02:00
Vincent-Michael
3ed84dad88 Core/PacketIO: Updated TutorialAction enum for 6.2.2 2015-09-05 15:46:13 +02:00
Vincent-Michael
be6827335a Core/PacketIO: Updated base build for pkt log 2015-09-05 15:42:22 +02:00
Shauren
663cff2195 Core: Updated to 6.2.2.20444.
* This includes all known packet structures, nothing has been disabled.
* worldserver still expects 6.2.0 DBC/DB2 files - do not reextract
2015-09-05 00:09:38 +02:00
Shauren
8652f4b4de Core/DBLayer: Allocate a single buffer for entire prepared result set instead of separate ones for each field 2015-09-04 00:18:12 +02:00
Shauren
d7af1e33ec Core/Auras: Warning fix 2015-09-03 17:13:16 +02:00
Shauren
4c851d985e Core/DataStores: Corrected memory allocation for DB2 files. Non-localized strings no longer reserve memory for all locales 2015-09-02 23:16:35 +02:00
MitchesD
61256f5f8d Core/Spell: don't interrupt spells with attribute SPELL_ATTR8_RAID_MARKER
* needed for example when creating heirlooms from collection (or when upgrading)
2015-09-02 22:58:04 +02:00
Shauren
191d2c7262 Core/Spells: Extended spell required shapeshift masks to 64 bits and defined a new spell attribute 2015-09-01 16:59:28 +02:00
StormBytePP
f5d707f1ae Core/DB2Structure: Add missing include that triggers compile error when including it but no Util.h first. (it uses flag128 from Util.h) 2015-09-01 09:58:32 +02:00
Thomas33
1ad11b6b46 Core/Spells: Fix Tauren and Night Elf Moonkin form
Closes #15392

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2015-08-31 16:43:25 +01:00
Shauren
7b5e7e0898 Core/DataStores
* Changed loading dbc/db2. Worldserver no longer accepts dbc and db2 files directly inside '/dbc/*/ folder but expects them to be structured exactly as mapextractor creates them 'dbc/locale/*'
* Fixed loading locale db2 files if they were not placed in root dbc directory
Tools/Mapextractor: Fixed extracting locale dbcs

It is recommended to re-extract dbc files by running 'mapextractor -e 2' instructing the tool to only create dbc/db2 files skipping maps.
2015-08-31 00:03:53 +02:00
Shauren
3308a90fee Build fixes 2015-08-30 00:49:40 +02:00
Shauren
b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
Shauren
b010780206 Core/Players: Fixed warnings about incorrect creator guid when loading void storage 2015-08-29 14:06:13 +02:00
StormBytePP
235a639162 Core/Unit: Prevent AoE damage to have effect in some cases when faction is unfriendly but they don't attack you and you don't have at war enabled (Example, Sporaggar faction)
Fixes #15374
2015-08-29 05:13:02 +02:00
StormBytePP
f96c08d27e Core/Vehicles: Fix CanEnterOrExit by implying that if a vehicle seat have anim for enter/ride means it can be entered/exited even in cases where it lacks VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT flag 2015-08-29 01:10:35 +02:00
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
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
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +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