Commit Graph
91 Commits
Author SHA1 Message Date
Spp c2413f2698 Core/Dungeon Finder: Fix players getting stuck after being teleported to dungeon while in a taxi flight
--HG--
branch : trunk
2010-10-19 12:39:03 +02:00
azazel 3bd1ee0665 Fix most of the recently introduced warnings
--HG--
branch : trunk
2010-10-16 13:32:30 +06:00
Spp aae2f3b48e Core/Dungeon Finder: Partial revert "cfad2a99ac" (remove use of Luck of the draw and Dungeon Deserter Spells)
Note: Will be readed later after some functions remake

--HG--
branch : trunk
2010-10-09 14:56:51 +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 a67d7c9afd Copyright header updates - part 3... (and some whitespace cleanups)
--HG--
branch : trunk
2010-10-07 14:00:52 +02:00
click df66aee929 Yet more copyright header updates
--HG--
branch : trunk
2010-10-07 13:38:35 +02:00
Spp c47c1b43cc Core/Dungeon Finder: Move all debug msgs to Debug.
--HG--
branch : trunk
2010-10-06 18:48:39 +02:00
Spp 5606bdd9ab Core/Dungeon Finder: Add log error when no areatrigger found for map and difficulty
--HG--
branch : trunk
2010-10-06 17:31:54 +02:00
Spp 58c535a7cd Core/Dungeon Finder: Move back some debug msgs to Debug level.
--HG--
branch : trunk
2010-10-06 17:26:12 +02:00
Spp e7817a4a49 Core/Dungeon Finder: After a new player have been found for a existing LFG group, teleport player to any of the players inside dungeon not to the entrance. Also do not teleport players inside dungeon to entrance
--HG--
branch : trunk
2010-10-06 15:52:39 +02:00
Spp 0f09690c5c Core/Dungeon Finder: Fix a typo in 7539ae56e9 that prevented individual players to join queue
Thanks to [email protected] for pointing the typo

--HG--
branch : trunk
2010-10-02 05:40:33 +02:00
_manuel_ 6246d79b55 Core/Dungeon Finder: Modified LFGMgr to use DF quests to reward.
* In this way we will store the character's day progress in the db, preventing to lose the information because of a crash/restart/shutdown.

Patch by Gyullo and me, thanks to Spp & linencloth for help.

* The next commit will modify the current Quest System to support DF quests.

--HG--
branch : trunk
2010-09-28 00:19:37 -03:00
Spp b6ebbd744c Core/Dungeon Finder: Fix some errors in Join
- return Internal error if group/player already in queue (They shouldn't be able to join when already queued)
- Fix crash when trying to delete player selected dungeons (cause was forcing a leave in join to keep consistency) and return a proper lfg error
- Fixes issue 4262

--HG--
branch : trunk
2010-09-30 13:52:29 +02:00
Spp b4b3eeee10 Core/Dungeon Finder: Do not allow to join LFG if queued to Battleground or Arena
--HG--
branch : trunk
2010-09-28 17:49:30 +02:00
Spp 1afdd143d9 Core/Dungeon Finder: Fix bad use of iterator that made LFG inconsistent and sometimes crash
Closes issue 4009

--HG--
branch : trunk
2010-09-27 23:19:22 +02:00
Spp ef74eb171d Core/Dungeon Finder: Fix a typo in 2a4986d5a0 that made server crash
Fixes issue 4193

--HG--
branch : trunk
2010-09-26 15:13:21 +02:00
Spp 2718701708 Core/Dungeon Finder: Add support for dungeon cooldown and luck of the draw spells
--HG--
branch : trunk
2010-09-26 14:49:55 +02:00
Spp ef16cc9109 Core/Dungeon Finder: Add lfg state to know if a player is using lfg or lfr
- Do not allow to join battleground if using lfg/lfr

Closes issue 4189

--HG--
branch : trunk
2010-09-26 13:59:51 +02:00
click 461590832a Core: Generic cleanup (tab2spaces/whitespace removal)
--HG--
branch : trunk
2010-09-25 22:03:57 +02:00
Spp 8ef673eda8 Core/Dungeon Finder: Check if system is enabled in some functions before doing anything else
--HG--
branch : trunk
2010-09-21 10:16:54 +02:00
Spp cd40ab6776 Core/Dungeon Finder: Change all debug msgs to error.
--HG--
branch : trunk
2010-09-20 14:55:01 +02:00
Spp 33dc6b9d5f Core/Dungeon Finder: Multiple changes
- Code Style
- Explicit removal of the proposal if player leaves the queue (do not waits to ::Update)
- Force to leave LFG system if group/player is joining and its already in
- Change some debug msgs and fix some typos (error --> debug)
- Offer to continue: Remove duplicate checks
- Move body functions from .h to .cpp
- Revert 11e39d620d and check if group recently joined by comparing joinTimes

--HG--
branch : trunk
2010-09-20 14:06:21 +02:00
Spp 502a813720 Core/Dungeon Finder: Use correct guids to readd or remove players when removing a failed proposal
- Also add Some debug and Error msgs

--HG--
branch : trunk
2010-09-16 18:55:24 +02:00
Spp c7354dd66b Core/Dungeon Finder: Ignore multiple join queue petitions while joining
--HG--
branch : trunk
2010-09-16 18:55:00 +02:00
Spp 0f4f00c592 Core/Dungeon Finder: Extend error info about duplicate player in queue
--HG--
branch : trunk
2010-09-16 18:54:36 +02:00
Spp 1531ef20e2 Core/Dungeon Finder: UpdateProposal: Use the proper guid when finding queue info
- Also add log info if system is inconsistent

--HG--
branch : trunk
2010-09-16 18:54:00 +02:00
Spp 5ec5d5b6be Core/Dungeon Finder: add safe check in first call to FindNewGroup (Avoids Thousands of recursive calls
)

--HG--
branch : trunk
2010-09-16 18:53:25 +02:00
Spp 3a890a16fc Core/Dungeon Finder: Redo update proposal algorithm when a group is found
- Store wait times earlier to form new group to ensure we don't miss it
- Fixes earlier removal of group/player from LFG system
- Fixes issue 4009

--HG--
branch : trunk
2010-09-14 20:04:00 +02:00
Spp 9a7990e4ed Core/Dungeon Finder: Restore consistency after an inconsistency is found while checking compatibilities
Closes issue 3950

--HG--
branch : trunk
2010-09-13 09:43:59 +02:00
Spp 1f9b2b5af7 Core/Dungeon Finder: Use proper function to find players
--HG--
branch : trunk
2010-09-13 09:20:07 +02:00
click bf664b7a44 Cleanup/Core: Remove whitespace and tabs
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Machiavelli a41e99223e Core/DBLayer:
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class

--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Spp a9782329ab Core/Dungeon Finder: Move all packet handling from Mgr to Handler (also minor cleanups)
--HG--
branch : trunk
2010-09-09 14:49:52 +02:00
Spp 8509d50a39 Core/Dungeon finder: Missing changes from previous commit
--HG--
branch : trunk
2010-09-08 13:44:57 +02:00
Spp fcc8d1e4a8 Core/Dungeon Finder: Properly expand random dungeons before adding to queue and minor cleanup
- Groups were being added to queue even with no dungeons. Client was not informed so group couldn't join queue anymore
- Some cleanup in error msgs and function order
Fixes issue 3851

--HG--
branch : trunk
2010-09-08 13:19:05 +02:00
Spp cdef980af4 Core: Fix some warnings
--HG--
branch : trunk
2010-09-06 15:23:08 +02:00
Spp 23b5ae9d37 Core/Dungeon Finder: Fix an error that made restriction ignored when expanding a random dungeon to the related dungeons
- Fixes selecting a dungeon not in the level bracket of the players
- Fixes matching incompatible groups
- Fixes heroic binds being ignored (Fixes issue 3845)

--HG--
branch : trunk
2010-09-06 04:42:02 +02:00
Spp c419c9f3cd Core/Dungeon Finder: Fix an error that made some groups being marked as compatibles when they are not
--HG--
branch : trunk
2010-09-06 03:51:08 +02:00
Spp a27f077197 Core/Dungeon Finder: Autodismount players when teleported to dungeon
--HG--
branch : trunk
2010-09-06 03:40:30 +02:00
Spp 56940bb4a4 Core/Dungeon Finder: Fix an error that prevented lfg groups to find a new proposal with queued groups
- Also fix a typo in previous Dungeon Finder commit

Updates issue 3465

--HG--
branch : trunk
2010-09-06 03:03:21 +02:00
Spp 4c393dc36b Fix typo in previous commit
--HG--
branch : trunk
2010-09-05 23:20:55 +02:00
Spp 26e3c5eb20 Core/Dungeon Finder: Redo find group algorithm
- Cache compatibilities to avoid doing calcs twice
- Algorithm will get all proposals (again)

Updates issue 3415

--HG--
branch : trunk
2010-09-05 22:05:14 +02:00
Spp b80e1b4b5b Core/Dungeon Finder: Minor cleanups
--HG--
branch : trunk
2010-09-05 21:29:52 +02:00
Spp 9e4dd760ba Code/Dungeon Finder: Move some packets from Mgr to Handler
--HG--
branch : trunk
2010-09-04 18:20:10 +02:00
Spp d566f8cccc Core/Dungeon Finder: Minor fixes to Reward system.
- Check if its random dungeon before giving rewards
- Update achievement only for heroic dungeons
- Other minor fixes

--HG--
branch : trunk
2010-09-04 15:40:43 +02:00
silinoron 5179d3149a Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
--HG--
branch : trunk
2010-09-03 21:55:57 -07:00
Shauren 8f1d660a4b Core/Dungeon Finder: Added missing check in previous revision and moved RewardDungeonDoneFor to proper place in the file
--HG--
branch : trunk
2010-09-03 20:25:03 +02:00
Shauren d5115ca687 Core/Dungeon Finder: Added support for rewards for random dungeons
Core/Quests: Simplified rewarding money from quests, now ModifyMoney and UpdateAchievementCriteria are called only once per quest
Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_LFD_TO_GROUP_WITH_PLAYERS

--HG--
branch : trunk
2010-09-03 20:11:14 +02:00
Spp 8333b1b23f Dungeon Finder: Fix incorrect use of guid
--HG--
branch : trunk
2010-08-27 19:27:50 +02:00
Spp eedce26148 Dungeon Finder: Limit the number of groups added to queue to one per update
--HG--
branch : trunk
2010-08-24 10:37:55 +02:00