Commit Graph
4761 Commits
Author SHA1 Message Date
Spp cd2b79f8d4 Fix compile under windows 2012-11-20 20:45:10 +01:00
Spp 7bef4ce401 Core/Misc: Reduce header dependencies - Step III 2012-11-20 15:03:56 +01:00
Shauren 70d44f97dc Core/ObjectMgr: Fixed crash on shutdown
Closes #8362
2012-11-20 12:48:00 +01:00
Spp b5c9ab8802 Core/Misc: Reduction of header dependencies - Step II 2012-11-20 12:30:30 +01:00
Spp 81606e5d1e Core/Misc: Define some methods const 2012-11-20 09:29:52 +01:00
MrSmite ced723a53a Core/Pets: Pet "at rest" distance from owner is now closer as it should be
Original PR modified

Closes #8358
Closes #8181

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-19 23:55:42 +00:00
horn 4a86b83cb6 Core/Calendar: Minor change. 2012-11-19 22:28:53 +01:00
Spp bf8b642a47 Fix compile without PCH (Also added some minor changes to minimize differences with 4.3.4) 2012-11-19 12:02:33 +01:00
Subv d42212b595 Core/Battlegrounds: Add methods for determining the winner of a BG if it has ended due to not enough players.
Implemented for Arathi Basin, Alterac Valley, Warsong Gulch and Eye Of The Storm.
All other BGs winner are currently decided based on the number of players of each side, they will be implemented later.
2012-11-18 22:07:44 -05:00
Nay 4294ccf95d Misc: Whitespace and tabs cleanup 2012-11-19 01:00:47 +00:00
tibbi 1f9db80b69 Scripts/ToC: Trial of the Crusader rewrite
Closes #8272
Closes #7013
Closes #7552
Closes #5561
Closes #4221
Closes #2701
Closes #2079
Closes #5082
Closes #6503
Closes #6784

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-19 00:42:25 +00:00
horn 771aafc499 Core/Calendar: Completely rewrite and fix most of the calendar system
There are still some issues that need to be fixed, for more info see CalendarHandler.cpp TODO part.
Some unblizzlike behaviour possible, we don't have a lot of sniffs.
Big thanks to @Warpten, he joined my project and helped a lot.

IMPORTANT NOTE: Read / append packed time functions in ByteBuffer.h are not correct, they need to be fixed in order to have event times accurate

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-18 22:42:28 +00:00
Nay 47fcf4ce58 Merge pull request #8330 from MrSmite/PetAI_TargetSelect
[Core/Pet] PetAI_TargetSelect
2012-11-18 13:52:58 -08:00
Spp e60d26f36b Another crash fix after b99c347 2012-11-18 13:50:14 +01:00
MrSmite 0dfac02446 Fix PetAI missing aggressive pet target select
PetAI minor cleanup of target selection
2012-11-18 00:24:24 -05:00
LordUsagi cee9c3885d Core/Entities: AoE spells should be able to hit invisible targets.
Closes #7712
2012-11-17 19:46:05 -05:00
Subv b768ebc68f Fixed build.
Thanks vincent-michael
2012-11-17 15:21:05 -05:00
Subv 01d2126e7c Core/SAI: Allow the actions CALL_KILLEDMONSTER, CALL_GROUPEVENTHAPPENS and CALL_AREAEXPLOREDOREVENTHAPPENS to be used on vehicles, affecting all of their passengers. 2012-11-17 14:57:20 -05:00
Spp db4a69f773 Crash Fix after b99c347 2012-11-17 14:34:25 +01:00
Spp b99c347747 Core: Remove Player.h dependency from all the possible headers 2012-11-17 05:18:37 +01:00
Subv d55771267a Core/EventAI: Removed table creature_ai_summons. 2012-11-16 12:30:48 -05:00
Shauren dd80b76cbb Merge pull request #8247 from ille/recursivedeadlock
Core/Maps: Use Thread-Safe Interface design pattern to allow recursive calls on non...
2012-11-16 08:44:48 -08:00
Subv d13ca54ecc Core/Log: Added more information to the log in MoveSplineInitArgs::Validate 2012-11-15 08:27:23 -05:00
Spp d10ba397b6 Core/Warden: Remove warning 2012-11-15 14:13:58 +01:00
Spp 58c60c70cc Core: Move a couple of log messages to debug 2012-11-15 13:42:24 +01:00
Spp 01a745d279 Core/Battleground: Crash fix after ba20aa809f 2012-11-15 13:38:12 +01:00
Spp ba20aa809f Core/Battleground: Fix arena battlemaster gossip (reverts 028b6e7)
Closes #8046
2012-11-14 19:33:56 +01:00
Subv cb9dd9bd7e Merge pull request #8280 from DjYXA/patch-1
Daze mechanics Fix - By Arrakio
2012-11-14 07:59:17 -08:00
Subv 6325060804 Core/Spells: Enslave Demon shouldn't be usable on player pets.
Closes #7133
2012-11-14 10:33:56 -05:00
Subv 10a8a4f8f6 Missing variable in the function call. 2012-11-14 09:42:05 -05:00
Subv 51414967c4 Core/Build: Fixed a little mistake. 2012-11-14 09:35:45 -05:00
vlad852 a8ef3013f0 Core/SAI: Fix SMART_ACTION_SIMPLE_TALK for players. 2012-11-14 09:15:31 -05:00
kaelima 3c3d4f4c99 Script/Commands: Reimplemented ".lookup map" command. 2012-11-13 15:56:15 +01:00
Shauren 85f5a189de Core/Warden: Add minimal verification of OS used by client for warden module loading 2012-11-12 00:31:08 +01:00
Spp 333b8e5159 Core/Build: Enable Clang PCH support and OS X specific features
Core: Fix warnings here and there
2012-11-09 13:13:45 +01:00
Lorenzo J. Gonzalez Cabrera 532077de4f Doze mechanics Fix - By Arrakio
Info here:
https://github.com/TrinityCore/TrinityCore/issues/8277
2012-11-09 11:37:31 +01:00
Spp 90c95806a7 Core/Guilds: Use correct variable type when saving guild bank tab rigths to DB 2012-11-09 08:22:03 +01:00
Spp fcc524d598 Core/Guilds: Send correct opcode when purchasing a new tab and fix data not being saved in db after purchasing the new tab 2012-11-08 11:13:46 +01:00
Spp bde6b76b2d Core/Guild: Fix transaction not being properly closed and improve error message when fixing missing bank tabs 2012-11-07 09:49:31 +01:00
Kaelima c5fdb02305 Merge pull request #8246 from ille/fishing
fishing: set respawntime to now when cant loot, for correct despawn of b...
2012-11-04 05:47:29 -08:00
Kaelima 6b2fd2c261 Merge pull request #8245 from ille/randomtypos02
fix random typos (f.i. blocked activation autocast petspells from spellb...
2012-11-04 05:46:07 -08:00
MrSmite 69377bc1d2 Pets should face same direction as owner after follow.
Fixes #8248
2012-11-04 04:32:25 -05:00
ille 573cd7dde2 fix random typos (f.i. blocked activation autocast petspells from spellbook) 2012-11-03 16:01:46 +01:00
ille 9ee32331d7 use Thread-Safe Interface design pattern to allow recursive calls on non windows os
described here http://wiki.hsr.ch/PnProg/files/ThreadSafeInterface.pdf
http://www.aoc.nrao.edu/php/tjuerges/ALMA/ACE-5.5.2/html/ace/classACE__Thread__Mutex.html#_details
recursion in :
EnsureGridCreated() -> LoadMapAndVMap() -> LoadMap() -> EnsureGridCreated()
2012-11-03 15:48:27 +01:00
ille 2450f4ea56 fishing: set respawntime to now when cant loot, for correct despawn of bobber
removegameobject from player instead cancel spell, for correct remove of fishing aura
2012-11-03 15:31:14 +01:00
click e587d8c1af Core. Fix non-PCH building (again)... 2012-11-03 15:04:30 +01:00
Spp 58ec4e5319 Core/Guild: Code Refactor
- Send correct events when modifiying Ranks (Add, modify, delete)
- Store money/slots withdraw, not remaining slots. This will update remaining slots/money properly.
- Reset daily slots/money withdraw for all members at same time, configurable
- Better debug messages
2012-11-02 22:26:10 +01:00
kaelima 3ee840a9be Core/Spline: Change recently added error output to print DB GUID for creatures 2012-11-02 20:33:59 +01:00
leak 6bf9cb56a9 Core/Chat: Prevent client crashes with invalid chat language and message type combinations
Fixes #8083
2012-11-01 20:04:35 +01:00
Mislav Blazevic 4af0809155 Prevent warnings 2012-10-31 22:26:40 +01:00