Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Souler
0f9fc672d5
Core/Grids: Traps shouldn't target unattackable units.
...
Hunter traps and Basic Campfire will no longer activate unattackable creatures.
2011-09-29 10:53:27 +02:00
Shauren
63b62d4ad0
Core/Grids: Added GameObjectWorker
2011-09-17 13:18:42 +02:00
QAston
fe25ce4fa3
Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack.
2011-09-17 00:56:59 +02:00
QAston
c0b1823524
Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget
2011-09-16 23:49:31 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
3fac9914be
Core: Code cleanup (here and there)
2011-09-05 14:01:50 +02:00
QAston
71b9e0d8de
Core/Spells: Make mind sear aoe no longet target unit at which caster is channeling the spell.
2011-09-01 09:07:14 +02:00
QAston
e2d8faea09
Core/Spells: move Cannibalize and Carrion Feeder cast checks to SpellScripts.
2011-08-20 00:30:38 +02:00
Shauren
8e2a32906d
Core/Gridmonster: Increased upper value for search radius to size of grid
2011-08-08 13:16:03 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +02:00
Shauren
a80b36c2f3
Core/Spells: Limited SPELL_ATTR3_PLAYERS_ONLY attribute to only allow players, not pets and totems. This fixes many boss area spells incorrectly selecting pets and totems as their targets.
2011-08-01 11:17:34 +02:00
Machiavelli
0711746b57
Core/Visibility: Send object destroy packets to dead players. Fixes persistent visuals of no longer existing entities while dead.
...
Closes #2458
2011-07-31 21:58:28 +02:00
Spp-
f37a2030c0
Core: Minor optimization in AnyUnfriendlyAttackableVisibleUnitInObjectRangeCheck
2011-07-12 13:30:33 +02:00
Lopin
a233e7b9d8
Core/Misc: Add new function for selection nearest player in given distance
2011-07-11 16:17:21 +02:00
kaelima
9a67aaa8b8
DB/Creature:
...
- Nuke the hacky column DeathState.
- Removed some hacks from Kologarn script, including some cleanup.
- Removed set deathstate command.
BIG thanks to Malcrom for replacing all creatures that had deathstate with proper dynamicflags/auras.
2011-06-27 20:22:53 +02:00
Shocker
e05f608919
Core/Spells: Don't allow Killing Spree to hit unattackable targets
2011-06-26 16:06:23 +03:00
Shocker
6b0b21fea7
Core/Spells: Don't allow Killing Spree to hit critters (by correcting AnyUnfriendlyVisibleUnitInObjectRangeCheck, this notifier may be used in the future for similar expected results)
2011-06-26 15:54:19 +03:00
Shocker
ee717ad1ee
Core/Misc: Don't allow non-combat pets to trigger hunter traps
2011-06-15 23:56:47 +03:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
tobmaps
05ef35c355
Core/Auras/Totems: Fixed incorrect visibility checks in target searchers
2011-04-22 22:23:20 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01: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
QAston
d18193e52d
Core/DynamicObjects: Change the way how dynamic objects are bound to their owners, fixes some crashes in Aura::GetOwner.
2011-02-04 00:27:43 +01:00
Machiavelli
57ee357c02
Core/Maps: Fix a possible crash in ObjectGridStoper:Visit
...
Dump found here: http://pastebin.com/2GZ3t5v4
2011-01-13 21:33:56 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +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
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
82f45966fc
Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
...
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)
--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
Spp
408fce1de6
Core: Some optimizations
...
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file
--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
Machiavelli
737aeae50c
Core/Gridnotifiers: Fix a possible crash in MessageDistDeliverer::SendPacket
...
Updates issue #5016
Please try to re-reproduce
--HG--
branch : trunk
2010-12-04 10:14:12 +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
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
67346f449a
Core/Grids: implemented AllWorldObjectsInRange searcher, will be used in upcoming script engine
...
--HG--
branch : trunk
2010-10-25 18:13:49 +02:00
click
613b81f36f
REALLY fix the CRLF-crap...
...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
8ea4b32fab
Update copyright headers (following the same standard in all files = good)
...
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
linencloth
d8a854d6e0
Core: Cleanup locale handling.
...
It also fixes the recent problem of strange strings.
--HG--
branch : trunk
2010-09-17 07:04:29 +02:00
click
bf664b7a44
Cleanup/Core: Remove whitespace and tabs
...
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
silinoron
8649bee17f
Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig.
...
Also fix a warning from a previous commit.
--HG--
branch : trunk
2010-08-23 19:56:47 -07:00
silinoron
5cbae843d5
Core/Game: fix all warnings related to converting doubles and floats.
...
--HG--
branch : trunk
2010-08-22 12:39:39 -07:00
Spp
c3343638cb
Core: Remove lots warnings:
...
- All "'xxx' will be initialized after 'yyy' when initialized here"
- Some "unused variable"
- Some "enumeration value 'xxx' not handled in switch"
--HG--
branch : trunk
2010-08-21 20:08:47 +02:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
XTZGZoReX
9083271a2f
* Some singleton renames for consistency:
...
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr
--HG--
branch : trunk
2010-08-08 05:25:45 +02:00
Shauren
705de07e7e
Fixed Carrion Feeder pet talent
...
Removed useless code for Wolverine Bite
--HG--
branch : trunk
2010-08-04 12:12:58 +02:00
QAston
48b360097c
*use ASSERT macro instead of regular assert for better output.
...
--HG--
branch : trunk
2010-07-30 20:04:28 +02:00