Shauren
a306c00d43
Core/LFGMgr: Added missing changes from previous commit
2012-03-24 18:01:39 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Shocker
08be716ef8
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:02:17 +02:00
kaelima
819da8af4d
Core/Items: Attempt to fix crash in Player::SplitItem caused by 6a44399852.
...
And some random cleanup
2012-01-18 06:07:30 +01:00
Subv2112
f4075f0f94
Core/LFG:
...
Fix priority of the player when its added to the lfg group
Better implementation of the Dungeon Deserter debuff
Rewrite the NeedBeforeGreed loot
Fixed players being shown as Unknown Entity when entering the lfg group
Some incremental optimizations after original patch
Thanks to Retriman and Paecman for base implementation
Signed-off-by: Machiavelli <[email protected] >
2012-01-14 17:37:28 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
Shauren
3ff67fb257
Core/Achievements: Refactored HasAchieved to take only achievement id as parameter
2011-12-12 18:19:26 +01:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
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
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
45af1238cf
Conditions/DisableMgr: converted from singleton to namespace with free functions.
2011-09-09 14:27:23 +02:00
Chaplain
f5a668ae8d
Core: Cleanup.
2011-08-30 23:09:39 +03:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Manuel Carrasco
763d59aeec
Core/Dungeon Finder: Added condition to avoid unnecessary checks to the joining result.
2011-08-05 21:47:12 -03:00
Spp
287b9e423c
Core/Dungeon Finder: Better solution for 24bb62e (fixed logic in dungeon selection)
2011-08-05 12:51:36 +02:00
LihO
24bb62ec44
Core/Dungeon Finder: fixed logic in dungeon selection
...
Random number should be generated only once.
2011-08-04 19:24:11 +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
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
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
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
leak
dfacd287a4
Core/ObjectMgr: Refactor group related functions into dedicated class
2011-05-05 10:25:17 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +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
leak
6a64c79d2a
Core/Groups: Group system cleaning sweep.
2011-02-18 18:35:52 +01:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
Spp
e05ab4b25a
Core/Dungeon Finder: Fix exploit that allowed players to get random reward after finish a dungeon they did not queue for. Note: lfg_dungeon_encounters MUST contain the correct dungeonId, no the random ones.
2011-01-17 12:27:44 -03:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Spp
9b73cb1694
Core/Dungeon Finder: Fix crash in Update after DF system gone inconsistent
...
Note: Reason that makes DF go inconsistent not fixed, as it's not identified
Closes issue 5293
Thanks to cyberbrest for open my eyes and make me spot the problem
--HG--
branch : trunk
2010-12-28 01:21:05 +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
Spp
95daf7998f
Core/Dungeon Finder: Fix a crash in rolecheck when a player is offline
...
Closes issue 5246
--HG--
branch : trunk
2010-12-23 21:11:11 +01:00
Spp
b6724bea03
Core/Dungeon Finder: Fix crash in recursive calls while joining
...
closes issue 5162
--HG--
branch : trunk
2010-12-23 15:26:41 +01:00
Spp
067984ba9f
Core/Dungeon Finder: Reset player Locked Dungeons after change level or bind to heroic instance
...
Note: Actual DF system is not supposed to select a dungeon you are already saved to (core does not support someone to have multiple saves on the same instance)
--HG--
branch : trunk
2010-12-23 06:06:24 +01:00
Spp
1f238d1700
Core/Dungeon Finder: Some cosmetic changes
...
- Drop pointer use in updateData struct
- Variable renaming
- Use of guid instead of group/player in rolecheck update
--HG--
branch : trunk
2010-12-23 06:06:19 +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
Spp
80a5cda77f
Core/Dungeon Finder: Fix wrong join result when joining with random dungeons and there are disabled dungeons. If no disabled dungeons players also got the same problem if they have done an heroic dungeon today
...
Thanks to j4r0d for the help spotting the error and testing
--HG--
branch : trunk
2010-12-22 13:20:18 +01:00
leak
6115b0bd5f
Removing ProgressBars as they are performing badly on startup.
...
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
2010-12-22 00:12:03 +01:00
Spp
a45a039e73
Fix typo in previous commit :S
...
--HG--
branch : trunk
2010-12-21 23:21:12 +01:00
Spp
f33f51c287
Core/Dungeon Finder: Fix problems when joining queue
...
- Fix Rolechecks
- Fix incorrect dungeon stored when queued as individual:
* Those that joined as random were only matching with others that joined random
* Teleport location was incorrect.
Closes issue 5161
Updates issue 5162
--HG--
branch : trunk
2010-12-21 23:16:09 +01:00
Spp
0c44943cd2
Core/Dungeon Finder: Multiple changes
...
- Simplify lock status calculations by caching player locked dungeons
- Fix incorrect Lfg State loading for groups
- All reference variables that are supposed not to be modified are declared as const
- Use full group guids in rolechecks
- Add some debug msgs
- Fix some warnings
--HG--
branch : trunk
2010-12-21 22:33:17 +01:00
leak
fd694cd232
Streamlining loading functions for server startup
...
- Added a couple of timer outputs
- Improved code consistency between loading functions
- Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files)
--HG--
branch : trunk
2010-12-19 17:06:33 +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
4671500172
Core/Dungeon Finder: Move all LFG data from Player and Group classes to internal LFG data classes.
...
--HG--
branch : trunk
2010-12-16 10:53:21 +01:00
Spp
451a6f40d4
Core/Dungeon Finder: Use full guid of players instead of lowguid
...
Note: This change is done in preparation of other changes that will come later.
--HG--
branch : trunk
2010-12-16 04:20:22 +01:00
Shauren
58a9b15443
Core: Fixes some warnings
...
Core/SmartAI: Fixed DamageTaken and DamageDealt hooks
--HG--
branch : trunk
extra : rebase_source : 062f1c68cd1d318d192b294a493db17a1943bee2
2010-12-14 22:45:23 +01:00