Commit Graph

89 Commits

Author SHA1 Message Date
Spp-
bb921ae78c Core: Do not use STL container size method to check if container is empty 2011-07-01 14:58:44 +02:00
kaelima
142943d4c1 This reverts commit f580cddc09. 2011-06-28 13:05:15 +02:00
click
f580cddc09 Core: Add wintergrasp-patch to wintergrasp_cleanup branch - resurrected from an old work-repository, now over as a branch to work on.
Original patch by socolin, cand a ton of contributors :
mathman, joda, spp, silinoron, josh, malcrom, shauren, machiavelli, click, rat, leak, tobmaps, _manuel_, the tcfr team (via socolin), and tons of others for chiming in.

NOTE: THIS IS A WORKING-BRANCH, AND _NOT_ MENT FOR PUBLIC USE OR EVEN CONSIDERED STABLE!
2011-06-28 00:56:29 +02:00
click
8fc13f508f Core/Logs: Remove some excessive log-information regarding non-existing gameobjects. Removes angle and rotation-info, as it's useless. 2011-06-27 19:37:15 +02:00
Shauren
7bdc090681 Core/GameObject: Removed useless typecast 2011-06-25 15:39:43 +02:00
Shocker
c8233a543d Core/Logs: Small improvement to gameobject-use error log to include player/object name and entry 2011-06-16 00:33:30 +03:00
kaelima
b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
c77aa6e846 Core: And some more cleanups... 2011-06-12 02:00:43 +02:00
click
158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
Shauren
a28da3582e Core/Objects: Fixed linked respawn cases when linking to itself in order to prevent respawning 2011-05-16 15:36:02 +02:00
leak
dfacd287a4 Core/ObjectMgr: Refactor group related functions into dedicated class 2011-05-05 10:25:17 +02:00
tobmaps
6f154498e0 Core/Gameobject: Fix default cooldown on traps with no cooldown. Should stop you from stepping in camp fires and getting Spam(c) fried. (I prefer steak, thank you). 2011-05-02 13:36:17 -04:00
runningnak3d
f4a29646a5 Core/GameObject: Fix handling of cooldown for type 6 (trap) GOs. This should fix problems with of trap spamming, like Gift of the Harvester. 2011-05-02 12:30:05 -04:00
leak
1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
leak
01a79947d5 More cleanup after last commit spree 2011-04-29 19:59:40 +02:00
leak
e2e9431ca3 Core/ObjectMgr: Refactor sGOStorage 2011-04-28 22:54:30 +02:00
Shauren
890b1f6cc7 Core/GameObjects: Summon trigger for spellcast with at least spell cast time duration, also removed unneeded visibility hack 2011-04-18 22:29:17 +02:00
Supabad
3771798a2e Core/BattleGrounds: update Gameobject hook to support multiple destructable building events.
little cleanup in GameObject.cpp
2011-04-10 20:55:17 +02:00
Shauren
6a9fa42a60 Core/GameObjects: Destructible gameobjects now read display info from dbc files 2011-04-09 22:04:56 +02:00
Supabad
a5a545a403 Core/GameObjects: add script hook when destructable building is damaged. 2011-04-09 19:28:36 +02:00
Supabad
5f4337f7e9 Core/GameObjects: traps that dont have a owner should despawn after spell cast. 2011-04-08 18:33:13 +02:00
Supabad
66ca2a88c4 Scripts/Ulduar: Add proper support for Razorscale harpoon event.
Add script for Razorscale Controller.
Add spell script for Devouring Flame.
A little code cleanup in script
2011-03-24 01:13:53 +02:00
Shauren
2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Machiavelli
1c3082446e Core/Gameobject: Respect cooldown for trap and goober gameobjects.
Original patch by VladimirMangos
2011-03-14 23:16:34 +01:00
Shauren
6c020c72cc Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1 2011-03-02 16:50:09 +01:00
Azazel
4c8130235e Core/Logs: improve one more debug log entry (for Aokromes) 2011-02-22 01:46:19 +06:00
Machiavelli
e07e20ffca Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf. 2011-02-20 20:16:34 +01:00
Machiavelli
957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
79070ca820 Scripts/Serpentshrine Cavern: Fixed "The Lurker Above" achievement and removed hacks for the event
--HG--
branch : trunk
2010-12-26 16:35:29 +01:00
QAston
f4e46db38a Core/Auras: Add some asserions to hunt down reason of a crash in Aura::UpdateTargetMap. Thanks to Shauren for inspiration.
--HG--
branch : trunk
2010-12-26 00:14:13 +01:00
Machiavelli
06955a1113 Core/Entities: Fix guid lookup for linked respawn system
--HG--
branch : trunk
2010-12-25 02:22:35 +01:00
Machiavelli
c05ed659cb Core/Entities:
- Rename creature_linked_respawn to linked_respawn
- Update functionality: add field ´linkType´.
** 0 = creature respawn dependant on creature (default)
** 1 = creature respawn dependant on gameobject
** 2 = gameobject respawn dependant on gameobject
** 3 = gameobject respawn dependant on creature

--HG--
branch : trunk
2010-12-24 18:55:50 +01:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Xanadu
cfa26522ad Core: Fixed occasional wrong order of async operations at respawn time saving. Closes issue #5239.
DB schema: Sorted out a discrepancy in respawn time column format.

--HG--
branch : trunk
2010-12-23 05:49:23 +01:00
Shauren
0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
7b4e1c6387 Core/ObjectMgr: Static members are no longer accessed through singleton
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
Shauren
a4f437a523 Core/GameObject: Dismount the player when using spellcaster gameobject
Closes issue #2539.

--HG--
branch : trunk
2010-12-19 11:56:37 +01:00
Anubisss
942dadc6a9 Correctly fix my change (r10666 / 672c38da05).
Kudos go to QAston.

--HG--
branch : trunk
2010-12-16 19:23:58 +01:00
Anubisss
6d9029c12e Make some cleanup.
My thank goes to Az@zel for the code analysis.

--HG--
branch : trunk
2010-12-16 18:08:23 +01:00
click
2642894342 Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.

--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
leak
59d12e3b4a Core/Entities: Fixed a crash by accessing the GameObjectAI of a GameObject before the next Update cycle. Patch by Rat. Thanks to Visagalis for testing.
Fixes issue 4863

--HG--
branch : trunk
2010-12-06 04:52:33 +01:00
leak
6fe19b5a86 Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two virtual functions each.
Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal.
Closes issue 5011.

--HG--
branch : trunk
2010-12-05 18:04:10 +01:00
Spp
25ac835507 Core/Groups: Move all function definition from .h to .cpp
Core/Groups: Remove Group.h dependency from any .h file

--HG--
branch : trunk
2010-11-29 07:50:31 +01:00
linencloth
8fae0c176d Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility

--HG--
branch : trunk
2010-11-16 01:13:04 +01:00
click
80694546a3 Core: Fix non-PCH compile (include Unit.h so we don't get a forward declaration issue, and also include the necessary defines)
--HG--
branch : trunk
2010-11-13 20:06:19 +01:00
linencloth
bf888285aa Core:
- Redesigned stealth and invisibility handling
  - Implemented the handling of multiple stealth types
- Implemented fake inebriation
- The message deliverer no longer sends packets from a non-visible source
  - The server won't send that much garbage which just takes bandwith
  - It won't be possible to use cheats to detect invisible objects
- Removed a lot of checks for the Z-coord
  - Fixes visibility problems happening while flying
- Limited the grid activation range of creatures to use less resources
- Implemented Shroud of Death
- Implemented increased visibility range for active objects
- Removed visibility check at spellhit (only sanctuary effects should prevent it)
(And a lot of other changes...)

Closes issue 4208
Closes issue 3049
Closes issue 2097
Closes issue 2198
Closes issue 2384
Closes issue 2197
Closes issue 2319

--HG--
branch : trunk
2010-11-13 17:18:09 +01:00
Rat
064b3fd2b3 Core/AI: use NullGameObjectAI for gameobjects with ScriptName
- use GameObjectAI with Transports too

--HG--
branch : trunk
2010-10-25 18:11:52 +02:00
Spp
739f336618 Core: Fix warnings
--HG--
branch : trunk
2010-10-25 11:25:42 +02:00
Shauren
ae58481c21 Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile
--HG--
branch : trunk
extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
2010-10-24 22:03:53 +02:00
Rat
62739ed26f Core/AI: implemented basic class for GameObjectAI
--HG--
branch : trunk
2010-10-23 23:31:37 +02:00