Commit Graph
100 Commits
Author SHA1 Message Date
Shauren f6fc81fed7 SQL: Moved file to proper location 2014-07-23 19:28:21 +02:00
Shauren 42eeec12bf Core/Mains: Handle SIGBREAK to achieve clean shutdown when users click X button on windows 2014-07-23 19:04:07 +02:00
Shauren 22e16b2460 Core/Players: Set fist weapon skill value equal to current unarmed skill when learning fist weapons for the first time 2014-07-23 11:20:50 +02:00
Shauren 0b236d480a Core/Authserver: Fixed changing realms 2014-07-22 20:15:11 +02:00
Shauren 4f6db255a2 Core/NetworkIO: Restored world packet compression 2014-07-21 18:54:48 +02:00
Shauren b43a46e449 Core/Maps: Fixed crash caused by using invalid coordinates
Closes #12532
2014-07-20 16:12:23 +02:00
Shauren c0eba6a127 Fixed gcc build without pch 2014-07-20 16:06:35 +02:00
Shauren abe8dd7abf Build fix (gcc) 2014-07-19 20:05:36 +02:00
Shauren 0bcc92d900 Part 3: Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4 2014-07-19 17:03:32 +02:00
Shauren 2452cfb98e Part 2: Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4 2014-07-19 15:26:06 +02:00
Shauren 3e56a4b8d7 Part 1: Merge branch 'master' into 4.3.4 2014-07-19 13:40:14 +02:00
Shauren 99dd35da14 Buildsystem/MSVC: Disable C4512 warning 2014-07-19 13:31:17 +02:00
Shauren 57cf08f86e Core/Logging: Changed format of packet log file from .bin to .pkt and restored packet logging - PacketLogFile extension must now be .pkt to allow WowPacketParser to use it 2014-07-19 13:30:51 +02:00
Shauren 909acdbac3 Merge remote-tracking branch 'origin/master' into 4.3.4
Conflicts:
	src/server/authserver/Main.cpp
	src/server/authserver/Realms/RealmList.cpp
	src/server/authserver/Realms/RealmList.h
	src/server/authserver/Server/AuthSession.cpp
	src/server/authserver/Server/AuthSocket.h
	src/server/authserver/Server/RealmAcceptor.h
	src/server/game/Accounts/AccountMgr.h
	src/server/game/Achievements/AchievementMgr.cpp
	src/server/game/Achievements/AchievementMgr.h
	src/server/game/Battlegrounds/ArenaTeamMgr.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/DungeonFinding/LFGMgr.h
	src/server/game/Entities/Object/Object.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Handlers/BattleGroundHandler.cpp
	src/server/game/Movement/Spline/MoveSplineFlag.h
	src/server/game/Quests/QuestDef.cpp
	src/server/game/Quests/QuestDef.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSession.h
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Server/WorldSocket.h
	src/server/game/Spells/Spell.cpp
	src/server/scripts/Commands/cs_debug.cpp
	src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
	src/server/scripts/Spells/spell_mage.cpp
	src/server/scripts/Spells/spell_rogue.cpp
	src/server/scripts/Spells/spell_shaman.cpp
	src/server/scripts/Spells/spell_warrior.cpp
	src/server/shared/Cryptography/BigNumber.h
	src/server/worldserver/RemoteAccess/RASocket.cpp
	src/server/worldserver/worldserver.conf.dist
2014-07-19 03:51:11 +02:00
Shauren 5daf3d3606 Merge branch 'master' into 4.3.4 2014-07-18 21:21:17 +02:00
Shauren 0a3d1a35cd Buildsystem: Removed debugging message from cmake output 2014-07-17 15:43:39 +02:00
Shauren 7532864264 Buildsystem/MSVC: Warning fixes
C4800 'type' : forcing value to bool 'true' or 'false' (performance warning)
C4127 conditional expression is constant
2014-07-17 15:42:57 +02:00
Shauren 3249986ba8 Buildsystem/GCC: Fixed release linking errors 2014-07-16 13:09:56 +02:00
Shauren 6d8dbb5c4a Core/Misc: Renamed a few spell and skill line related methods to follow tc coding standards 2014-07-12 17:28:35 +02:00
Shauren d91964912e Core/Skills: Fixed spells automatically learned from skill lines adding more skill lines 2014-07-12 17:27:26 +02:00
Shauren de82146df8 Core/Commands: Fixed crashes caused by using .account lock ip and .account lock country commands from console - these commands apply to currently logged account so they cannot be used from console 2014-07-12 01:17:46 +02:00
Shauren 302169fd12 Buildsystem: Lowered required boost version to 1.49 2014-07-11 22:28:28 +02:00
Shauren 264363e76c Core/Misc: Fixed another compiler segmentation fault when compiling AsyncAcceptor with gcc 4.7.2 2014-07-11 22:24:22 +02:00
Shauren eaee0f5dd0 Core/Misc: Fixed compiler segmentation fault when compiling AsyncAcceptor with gcc 4.7.2 2014-07-11 22:07:48 +02:00
Shauren 6664b7ecd4 Core/Instances: Enable automatic changing dungeon difficulty to a lower one when currently selected difficulty does not exist for entered instance 2014-07-09 13:57:38 +02:00
Shauren 408b490851 Scripts/Magister's Terrace: Fixed typo in SetEncounterState 2014-07-06 00:01:24 +02:00
Shauren 53a469a52b DB/Skills: Corrected languages for night elves, taurens and blood elves 2014-07-04 18:03:59 +02:00
Shauren d28b66bca8 Core/Skills: Fixed players getting all ranged skills when learning one of bows/crossbows/guns 2014-07-04 17:27:22 +02:00
Shauren 70daf21554 Rename 2014_07_01_02_world playercreateinfo_skills.sql to 2014_07_01_02_world_playercreateinfo_skills.sql 2014-07-04 14:27:27 +02:00
Shauren abb16a521a Update 2014_07_01_02_world playercreateinfo_skills.sql
Fixed table name
2014-07-01 17:33:44 +02:00
Shauren 2a3546ca36 Core/Skills: Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table playercreateinfo_skills
* Removed DK start skill hacks
* Resolved missing skills in character skill tab

Closes #12311
2014-07-01 17:20:48 +02:00
Shauren fd910567ec Core/Loot: Fixed looting creatures that have only quest items in their loot
Closes #12400
2014-06-30 00:24:40 +02:00
Shauren 4c1ccc36a2 Core/PacketIO: Enabled a few movement opcodes (they are mostly skipped anyway, just like for 3.3.5a) 2014-06-28 16:24:54 +02:00
Shauren af10f2807e Core/PacketIO: Added value for SMSG_BUY_BANK_SLOT_RESULT and enabled it 2014-06-28 13:36:16 +02:00
Shauren a2b860b781 Core/DataStores: Implemented uint64 field type for DBC files and fixed structure of Achievement_Criteria.dbc 2014-06-27 00:37:17 +02:00
Shauren 21687aa857 Core/Battle.net: Fixed password change prepared statement 2014-06-27 00:35:47 +02:00
Shauren 74850abcfc Core/Loot: Skinning improvements
* Set skinnable flag only after all loot was taken
* Creatures are skinnable only once - after skinning, the player only has to loot the creature again if he did not take all skinning loot
2014-06-26 22:01:55 +02:00
Shauren 224b5c08df Core/Spells: Fixed professions resetting back to 1 when learning new level (expert/artisan) 2014-06-26 17:39:09 +02:00
Shauren afd931550b Core/Skills: Check if a skill can be unlearned with SkillRaceClassInfo.dbc data and use max skill level from SkillTiers.dbc 2014-06-25 20:34:10 +02:00
Shauren 2ae5036ad9 SQL: Renamed updates to follow naming convention 2014-06-25 19:54:30 +02:00
Shauren 05ea2f76b8 Core/Misc: Fixed warnings 2014-06-24 02:01:40 +02:00
Shauren 5e80f86514 Core/Spells: Defined unknown attribute 2014-06-22 12:40:34 +02:00
Shauren ec49d510fc Core/Battle.net: Defined more communication channels 2014-06-21 23:45:06 +02:00
Shauren ffcdcea13a Core/Players: Fixed Death Knight starting First Aid skill max value 2014-06-20 21:34:30 +02:00
Shauren fccdba3842 Core/Players: Fixed trainers still displaying profession skills after learning
Closes #8103
2014-06-19 15:30:07 +02:00
Shauren 6dfc6b145c Added missing changes for previous commit 2014-06-18 16:31:30 +02:00
Shauren 41daea5b4e Core/Mail: Implemented sending battle.net account bound items 2014-06-18 00:19:00 +02:00
Shauren 232eaae69c Scripts/Icecrown Citadel: Fixed a possibility to start the encounter again if Tirion evades during outro RP
Closes #10060
2014-06-18 00:00:41 +02:00
Shauren 0f0cea104d Scripts/Misc: Fixed training dummies not entering combat 2014-06-17 21:13:40 +02:00
Shauren 646fa3cb99 Merge pull request #12301 from Unholychick/patch-3
Core/Spells fix 0442ff5c99
2014-06-17 17:24:52 +02:00
Shauren d60f959fce Core/Pets: Fixed pet power regeneration
Closes #12292
2014-06-17 17:23:30 +02:00
Shauren 9c6b541776 Core/Transports: Fixed crashes caused by invalid leftover transport references
Closes #12282
2014-06-16 22:50:47 +02:00
Shauren 85e37db96a Core/PacketIO: Updated and enabled MSG_LIST_STABLED_PETS 2014-06-16 12:02:18 +02:00
Shauren 3899d451f9 SQL: Restored file that was not supposed to be renamed 2014-06-15 00:00:31 +02:00
Shauren cc3caa1b32 Merge pull request #12278 from MitchesD/misc
Scripts/Misc: random fixes
2014-06-14 18:26:34 +02:00
Shauren 712bb19ec3 Fixed typo in 2014_06_14_00_world_creature_template.sql 2014-06-14 17:57:00 +02:00
Shauren 2d5b54a69d Replaced calls to ceilf (msvc extension) with ceil - fixes build 2014-06-14 17:27:28 +02:00
Shauren ae608218a9 DB/Instance: Fixed mutated abomination regenerating power clientside 2014-06-14 17:14:00 +02:00
Shauren f39a66d082 SQL: Renamed files to match the naming rules 2014-06-14 17:13:11 +02:00
Shauren 08edc7d630 Core/Vehicles: Fixed power issues
* Regenerate powers only if vehicle has UNIT_FLAG2_REGENERATE_POWER
* Removed old pyrite power hack
* Apply creature_template.ManaMod to all power types

Closes #12141
2014-06-14 17:09:35 +02:00
Shauren e9c9e36265 Scripts/Icecrown Citadel: Fixed possible crash in blood nova target selection 2014-06-14 11:48:07 +02:00
Shauren 31c987ad8a Core/Battle.net: Fixed scripts linking by adding a completely unrelated function to a completely unrelated file in game project 2014-06-13 17:56:44 +02:00
Shauren 5804372042 Core/Transports: Fixed crash happening during teleporting transports
Closes #11793
2014-06-13 11:16:17 +02:00
Shauren 3b940a2766 Core/Misc: Warning fixes 2014-06-12 17:51:57 +02:00
Shauren e55555ed8c Fixed windows nopch build 2014-06-11 23:08:32 +02:00
Shauren 0a6e81989a Core/Battle.net: Sorted out includes in BattlenetBitStream.h 2014-06-11 22:56:34 +02:00
Shauren 3ba1232310 SQL: Reordered statements to fix import 2014-06-11 20:54:18 +02:00
Shauren 2b6575692b Core/Battle.net: Added missing include and fixed a warning 2014-06-11 20:51:48 +02:00
Shauren 06962b16f1 Core/PacketIO: Fixed logic in DosProtection::EvaluateOpcode 2014-06-11 19:28:25 +02:00
Shauren 2ba05406ce Fixed typo, spotted by @Gooyeth 2014-06-11 18:21:00 +02:00
Shauren fea9995797 Build fix 2014-06-11 18:17:45 +02:00
Shauren b5278ef160 Core/Vehicles: Fixed channeled spells being interrupted for passengers when vehicle moves 2014-06-09 23:11:09 +02:00
Shauren f81635ebe5 Core/Vehicles: Fixed channeled spells being interrupted for passengers when vehicle moves 2014-06-09 21:08:19 +02:00
Shauren 434b3a80e1 Core/Commands: Added a set of commands to manage battle.net accounts
TODO: Ban commands, linking game accounts to battle.net accounts
2014-06-08 17:58:28 +02:00
Shauren 7dd552c826 Merge branch 'battle.net' into 4.3.4 2014-06-08 16:14:24 +02:00
Shauren 9f69eda67f Core/Battle.net: Additional checks
* Force grunt login for versions < 15595
* Force bn login if supported and game account is linked to bn account
2014-06-08 15:34:24 +02:00
Shauren 05c0524bf3 Core/Battle.net: Refactored handling multiple game accounts 2014-06-08 14:54:37 +02:00
Shauren 372f043a68 SQL: Sorted out temporary names and added missing statements 2014-06-08 13:02:16 +02:00
Shauren 22b04d39bf Merge pull request #12220 from Trisjdc/spelll_triggerflag_check
Core/Spells: *Properly* solve the Disarm vs Bladestorm issue
2014-06-05 14:07:48 +02:00
Shauren 5bb86ca7db Merge pull request #12218 from Trisjdc/tocr_despawn_time
Scripts/ToCr: Bosses shouldn't despawn so quickly
2014-06-05 14:06:34 +02:00
Shauren 84d0094ffa Core/Tickets: Sprinkled some transaction magic on HandleGMSurveySubmit 2014-06-03 23:24:00 +02:00
Shauren 6eee75a4f7 Core/Battle.net: Removed sending "b", it's supposed to stay secret 2014-06-03 19:15:12 +02:00
Shauren 7a27492071 Core/Crypto: Refactored HmacHash to make it easier to use with different hash algorithms 2014-06-03 18:15:35 +02:00
Shauren 9fcd607e78 Core/Misc: Added utility method for checking is two sorted containers have a common element 2014-06-01 19:20:49 +02:00
Shauren c98853ca1c Core/Authserver: Added game account flags 2014-06-01 15:03:22 +02:00
Shauren bdd6e9aa8a Core/Battle.net: Implemented reconnects 2014-06-01 13:56:36 +02:00
Shauren dc5c5ef636 Core/Authserver: Refactoring - moved GetAddressForClient to Realm structure, changed BigNumber string methods to return std::string, added missing prepared statement 2014-06-01 13:03:30 +02:00
Shauren db2cb70120 Core/Battle.net: Refactored ModuleInfo creation 2014-06-01 02:39:55 +02:00
Shauren a860d5ca47 Core/Crypto: Fixed values returned by HmacHash::GetLength 2014-06-01 02:37:40 +02:00
Shauren 914d5d5366 Core/Battle.net: Fixed size check in bit stream 2014-06-01 02:36:50 +02:00
Shauren cc748e2ba4 Core/Battle.net: Prevent joining invalid/offline realms 2014-05-31 18:19:53 +02:00
Shauren d6414bd9a5 Merge pull request #12131 from Trisjdc/resting
Core/Players: Implement resting for areas with AREA_FLAG_REST_ZONE_ALLIANCE or AREA_FLAG_REST_ZONE_HORDE
2014-05-25 16:17:58 +02:00
Shauren 8ddb112569 Merge pull request #12107 from Trisjdc/nitro_jump
Core/Spells: Nitro Boost should not fail in dungeon maps
2014-05-22 17:28:48 +02:00
Shauren b83cff2a85 Core/Vehicles: Set proper power type using PowerDisplay.dbc
Original commit by Xfurry - cmangos/mangos-wotlk/bef8c99cc07c96d4e2f45e0ff6bc107068555ffb
2014-05-19 15:42:51 +02:00
Shauren b41de6cb38 Core/Misc: Removed remnants of old db threading model 2014-05-19 14:48:10 +02:00
Shauren a078c1555c Contrib/Patcher: Make the client use realmListBn config instead of having to deal with portal and hosts rewrites 2014-05-18 22:29:26 +02:00
Shauren f9c7bb4171 Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Shauren 8eeec647d1 Fixed build without pch 2014-05-17 21:35:39 +02:00
Shauren a62f95e4c2 Core/Calendar: Use single database transaction for adding multiple invites when creating new event 2014-05-17 21:02:01 +02:00
Shauren 1705bfce2c Core/Movement: Fixed flying mount speed not persisting after relogging/teleporting 2014-05-17 16:25:18 +02:00