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
tobmaps
42fc72447b
Core/Dungeon Finder: Fix instances unlock after level change
2011-05-29 22:49:05 +07:00
tobmaps
209b5313ff
Core/Dungeon Finder: Fix required votes to kick
2011-05-25 20:00:22 +07: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
click
b181ba21d9
Core: Fix a few warnings here and there.
...
--HG--
branch : trunk
2010-12-25 06:28:38 +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
Spp
fa6f2ee9d9
Core/Dungeon Finder: Fix typo, debug msg was supposed to be logged to debug (not error)
...
--HG--
branch : trunk
2010-12-17 13:45:41 +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
a47150abb3
Core: Fix non-PCH build
...
--HG--
branch : trunk
2010-12-17 08:54:15 +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
Spp
89a33bbf61
Core/Dungeon Finder: Fix a crash in Join when there are no dungeons available for that group (And probably other random crashes that appear when having DF enabled)
...
Core/Dungeon Finder: Tab2spaces + remove trailing spaces in LFG* files.
Notes to self:
- assign NULL to a pointer parameter will not change the pointer value outside the scope of the function
- deleting a const_iterator can lead to mem corruption
--HG--
branch : trunk
2010-12-13 21:31:55 +01:00
Spp
865f35a637
Core/Dungeon Finder: Minor optimization in handler code
...
Note: LfgDungeonSet and LfgLockStatusMap were being used without using the existing typedef (to avoid including LFGMgr.h).
Now those functions use a struct as param that is forward declared so still LFGMgr.h is not needed and redefinition of LfgDungeonSet/LfgLockStatusMap is removed.
--HG--
branch : trunk
2010-12-13 21:28:36 +01:00
Spp
9815847511
Core/Dungeon Finder: Return a copy of cached dungeons set (to avoid being cleared later in code)
...
--HG--
branch : trunk
2010-12-13 21:28:33 +01:00
Spp
a791df6415
Core/Dungeon Finder: Fix crash in Join
...
(trying to delete a const iterator)
Closes issue 5083
--HG--
branch : trunk
2010-12-10 14:58:45 +01:00
Spp
be73926ab3
Core/Dungeon Finder: Fix incorrect Lfg state after multiple actions.
...
- Clear state after get out DF system
- Fix player not getting reward after finish a random dungeon
- Remove OnDisband Hook, it's already handled by OnRemoveMember
--HG--
branch : trunk
2010-12-09 19:13:11 +01:00
Spp
4914ca575b
Core/Dungeon Finder: Fix a crash in Join
...
After a random dungeon is expanded to the corresponding dungeons and checked compatible dungeons of players joining. We have no dungeons and no lockmap.
This may only happen when a random dungeon is expanded to no dungeon. And this may be impossible to happen
Closes issue 5066
--HG--
branch : trunk
2010-12-09 14:25:48 +01:00
Spp
4537ba2766
Core/Dungeon Finder: Fix a possible crash in rolechecks when not success
...
--HG--
branch : trunk
2010-12-09 13:49:04 +01:00
Spp
b434273ed8
Core/Dungeon Finder: Some optimizations
...
- Reduce core dependencies with LFGMgr
- Remove reduntant calculations in RoleCheck code
- Remove no longer needed functions
- Fix some packet data (Missing 0 when arrays were null)
- Add some debug msgs
closes issue 5042
--HG--
branch : trunk
2010-12-08 21:29:43 +01:00
Spp
fbf525218b
Core/Dungeon Finder: revert r14440b0b82 and fix it properly.
...
That msg was just for debugging purposed and its not needed anymore
--HG--
branch : trunk
2010-12-06 17:23:52 +01:00
Spp
2581c2f70f
Core/Dungeon Finder: Fix console spam msg in Leave
...
--HG--
branch : trunk
2010-12-06 16:48:23 +01:00
Spp
090fb3572f
Core: Fix non-PCH build
...
--HG--
branch : trunk
2010-12-06 02:35:28 +01:00