Spp
e621f5fe98
Core/Dungeon Finder: Code cleanup and minor optimizations
...
- Extend LfgState to keep control of the state of group and players using LFG
- Move scripts to its own class and initialize only if Dungeon finder is enabled
- Updated comments to doxygen format
- Use constructor initialization list
- All variables are declared in the inner most scope
- Fix some mem leaks
- Remove no longer needed code (Cleaner)
- Normalize handler function names
--HG--
branch : trunk
2010-12-05 17:50:26 +01:00
Spp
916c0f98df
Core/Dungeon Finder: Fix members of premade group not being teleported to dungeon after a proposal success
...
--HG--
branch : trunk
2010-11-28 14:11:22 +01:00
Spp
c2791232c3
Core/Dungeon Finder: After a proposal success only teleport new players
...
--HG--
branch : trunk
2010-11-28 00:43:21 +01:00
Spp
74ddff0c4e
Core/Dungeon Finder: Fix role check algorithm (Some valid combinations were
...
being marked as invalid)
--HG--
branch : trunk
2010-11-27 22:41:49 +01:00
Spp
c628685d59
Core/Dungeon Finder: Fix a crash in Join
...
Closes issue 4939
--HG--
branch : trunk
2010-11-26 17:16:21 +01:00
Spp
4ace88e909
Core/Dungeon Finder: Properly remove players from queue (or readd) after a proposal failed
...
--HG--
branch : trunk
2010-11-26 04:44:57 +01:00
Spp
bbe955c5ab
Core/Dungeon Finder: Multiple changes in Join function
...
- Reformat some code to make it easier to read
- Safe leave and rejoin queue when already queued and trying to rejoin to different dungeons (it was giving error earlier)
- Do not allow to select another dungeon while im the middle of a Lfg dungeon not completed (any dungeon selected is changed by current dungeon)
- Fix error that prevented groups to join another dungeon after completing the current lfg dungeon
Core/Dungeon Finder: Remove references to player from SendLfgUpdateParty and SendLfgUpdatePlayer handlers
--HG--
branch : trunk
2010-11-26 04:43:07 +01:00
Spp
90bf2d93ba
Core/Dungeon Finder: Do not allow to join Queue if someone in party is using Battleground/Arena System
...
Core/Dungeon Finder: Minor code style fix
--HG--
branch : trunk
2010-11-24 15:37:03 +01:00
Spp
825dcbec53
Fix typo in previous commit
...
--HG--
branch : trunk
2010-11-23 15:57:43 +01:00
Spp
4dcdb396ad
Core/Dungeon Finder: Fix role check algorithm (Some valid combinations were being marked as invalid)
...
--HG--
branch : trunk
2010-11-23 15:01:15 +01:00
Spp
9ec77e0b63
Core/Dungeon Finder: Add missing change from 653b579755 that prevented to join random dungeons
...
--HG--
branch : trunk
2010-11-22 18:36:08 +01:00
Spp
f9d38be8c1
Core/Dungeon Finder: Fix a crash when trying to join raid browser as a group
...
--HG--
branch : trunk
2010-11-22 17:00:31 +01:00
Spp
abb4f8f551
Core/Dungeon Finder: Fix visual bug that showed wrong needed roles after joined queue
...
--HG--
branch : trunk
2010-11-22 14:20:48 +01:00
Spp
a5833f2307
Core/Dungeon Finder: Check lock status of dungeons when joining non-random dungeons (Fixes not checking if raid was closed for the selected difficulty)
...
Core/Dungeon Finder: Fix some memory leaks when Joining
Core/Dungeon Finder: Do not allow to join dungeon raid browser (Not supported yet)
--HG--
branch : trunk
2010-11-22 13:16:09 +01:00
Spp
a7d262ce03
Core/Dungeon Finder: Do not allow to join if selected dungeons and raids
...
--HG--
branch : trunk
2010-11-22 12:28:06 +01:00
Spp
a2ef7e18a1
Core/Dungeon Finder: Give rewards only to players that joined selecting random dungeon
...
--HG--
branch : trunk
2010-11-22 10:19:54 +01:00
Spp
6b6d992d55
Core/Dungeon Finder: Fix 'unknown' player names after group being formed and teleported to dungeon
...
Original Patch by danik
Closes issue 3846
--HG--
branch : trunk
2010-11-03 14:21:59 +01:00
Spp
1d7100b67f
Core/Dungeon Finder: Fix a crash when someone leaves the group while a Rolecheck is active
...
--HG--
branch : trunk
2010-10-28 17:14:18 +02:00
Spp
3ac979e624
Core/Dungeon Finder: Fix a crash in UpdateProposal (added in 66a8af8214)
...
Closes issue 4564
--HG--
branch : trunk
2010-10-25 12:21:42 +02:00
Spp
b1d759e79f
Core/Dungeon Finder: Fix proposal window now being removed after a proposal success
...
--HG--
branch : trunk
2010-10-25 11:26:22 +02:00
Spp
18de18e7b9
Core/Dungeon Finder: Prevent a crash in Leave by checking Player or Group exist
...
--HG--
branch : trunk
2010-10-25 11:26:01 +02:00
Spp
4cd2431cd7
Core/Dungeon Finder: Redo Find algorithm to select one proposal (not all and later pick one)
...
--HG--
branch : trunk
2010-10-25 07:16:46 +02:00
Spp
131fb1580b
Core/Dungeon Finder: Use internal Teleport function when teleporting someone out of the dungeon after a kick (To ensure all spells are being properly removed)
...
--HG--
branch : trunk
2010-10-19 12:39:24 +02:00
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