Commit Graph

7107 Commits

Author SHA1 Message Date
Gacko
2c8c7a195d Core: Implement Gameobject::Use() for traps 2012-10-21 14:38:46 +02:00
Gacko
9c4cf9b39c Core/DB: Children's Week 2012-10-21 14:33:20 +02:00
Spp
8622d495bb Dungeon Finder: Fix teleport coords load 2012-10-21 13:18:56 +02:00
Subv
9dc2b7ecd5 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into mmaps 2012-10-19 17:57:30 -05:00
Spp
0c909b2aed Fix crash on shutdown after last DF changes 2012-10-19 21:35:51 +02:00
Spp
67a03027ae Proper naming of LfgDungeon structures 2012-10-19 17:47:51 +02:00
Spp
36806bf5b3 Move LFG string out of Custom patch range 2012-10-19 17:36:24 +02:00
Spp
4e8fa520c8 Core/Dungeon Finder: Move queue related code to its own class.
- Use different queues for each team (or shared one if two-side interaction is enabled)
- Some optimizations in matching algorithm
2012-10-19 14:00:40 +02:00
Spp
479d34d2a0 Core/Dungeon Finder: Minor optimizations
- Internal changes in store types
- Remove of (Player *) and (Group *) From LFGMgr.cpp (step 2)
2012-10-18 14:31:28 +02:00
Spp
d0334bf948 Core/Dungeon Finder: Some optimizations.
- Store teleport coordinates to avoid recalculations each time someone has to be teleported
- Correct teleport error msg when player is charming or using vehicle
- Internal changes in storage types
- Proper code for missing achievement lock type
- Better debug msgs
- Trying to get rid of "Player*" and "Group*" inside LFGMgr as much as possible (Step 1)
2012-10-18 09:15:10 +02:00
kaelima
ca276292dc Core/BG:
- Force removal of stealth and invisible auras when using gameobjects with type GAMEOBJECT_TYPE_FLAGSTAND and GAMEOBJECT_TYPE_FLAGDROP
- Do not allow players to use unfriendly battleground objects (prevents flag cap with Nitro Boosts active for example)
2012-10-17 16:56:35 +02:00
Subv
27f091806a Core/SpellAreas: Changed the way quest_start and quest_end works.
They now follow this rule:
The player's quest status of quest_start must have the mask defined in quest_start_status in order for the spell to be applied/kept.
The player's quest status of quest_end must _NOT_ have the mask defined in quest_end_status in order for the spell to be removed
To generate the mask:
Take the QuestStatus enum in QuestDef.h, use (1 << theValueYouWant) to obtain a mask and you can use | to combine masks.
This expands the usage of the spell_area table, making possible to give a player an aura while he has a quest, but remove it as soon as the quest is completed (not rewarded).
Feature request by @Svannon
2012-10-16 21:44:28 -05:00
kaelima
98588aa192 Core/Ticket:
- Fully parse CMSG_GMTICKET_CREATE, use GmTicket::GetChatLog() to access the reporters chat log from this session (unused atm, possible useful to detect chat harassment)
- Simplify SMSG_GMTICKET_GETTICKET and fix "category" field (renamed it same as in blizz LUA files)
- Store response in DB
2012-10-17 00:53:55 +02:00
kaelima
4ec23cdba5 Core/PacketIO: Automatically set field count in SMSG_INIT_WORLD_STATES instead of manual switch. 2012-10-17 00:46:11 +02:00
kaelima
88ddc9662e Core/Battleground: Allow players to start capping flags stealthed or invisible - gameobject should remove the stealth/invis aura on use. 2012-10-17 00:44:16 +02:00
Subv
8536b360a0 Core/Spells: Fix a possible crash in Light's Beacon when a player logged in with the aura. 2012-10-16 09:24:53 -05:00
Nay
6f0a8040d8 Core/SpellMgr: Replace magic number by constant
Thanks 2010phenix
2012-10-13 17:36:19 +02:00
Nay
c25a0bac72 Merge pull request #8053 from tibbi/rep_fix
renaming GetBaseReputation used for offline players
2012-10-12 16:29:13 -07:00
Nay
e60aafcf35 Merge pull request #8065 from MrSmite/PetAI_Cleanup_1
PetAI Cleanup
2012-10-12 16:27:35 -07:00
Elron103
ae4f5f3dee Core/Spells: Fix power drain effect for heroic versions of spell 70759 (72015, 72016) - thanks to Shauren 2012-10-13 00:43:20 +02:00
MrSmite
d28a62e579 Cleanup PetAI, remove unnecessary and broken JustDied(). Closes #7242
Thanks to Oiler2112 for suggestions and testing.
2012-10-12 16:48:33 -04:00
Subv
b06e9cfd41 Revert "Core/Entities: Do not create the model twice for a GameObject."
This reverts commit 0f166336ca.
2012-10-12 09:33:34 -05:00
tibbi
4a332082f9 renaming GetBaseReputation used for offline players 2012-10-12 13:47:57 +01:00
Aokromes
948f9d11f2 Core/Battlefield: Compile Fix 2012-10-12 04:32:14 +03:00
Kandera
923cad31f3 Wintergrasp: move keep banner spawns to db. fix invisible stalker position. 2012-10-11 11:33:22 -04:00
kandera
104b86f3d4 Merge pull request #8042 from Retriman/SpellBarkskin
Core/Spell:
2012-10-11 05:41:24 -07:00
Retriman
d02298509f Core/Spell:
*Barkskin can be used to stun and sleep.
2012-10-11 01:32:28 -04:00
Subv
c51f984837 Core/Misc: Only remove auras in arenas for non-gm players.
Closes #7559
2012-10-10 15:12:05 -05:00
Subv
970009cb3b Core/Players: Remove the mute from the DB when the timer expires. 2012-10-10 11:49:51 -05:00
Subv
ef6e7e0914 Merge pull request #8001 from tibbi/reputation_convert
correct reputation converting at faction change
2012-10-10 06:43:47 -07:00
Subv
3e5af53bf7 Core/Achievements: ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL doesn't require a killing blow anymore, only a honorable kill.
Author: @tibbi
Closes #6224
2012-10-09 22:59:18 -05:00
Subv
b75b6d33b0 Core/Achievements: Fixed achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_ARENA
Closes #6339
2012-10-09 22:50:02 -05:00
Subv
0620d22491 Core/SAI: Added a missing break. 2012-10-08 18:38:15 -05:00
Nay
a3aebf7790 Merge pull request #8005 from tibbi/sota
correcting SotA demolisher spawn, adding preparation buff to 2nd round t...
2012-10-08 16:35:05 -07:00
tibbi
05eaf75501 adding forgotten UpdateCharacterNameDataLevel call 2012-10-08 20:02:11 +01:00
tibbi
405c3b09aa adding a new prepared statement for selecting char at_login and titles 2012-10-08 17:29:02 +01:00
tibbi
5896da6689 some optimization + adding level to CharacterNameData 2012-10-08 17:21:09 +01:00
Kaelima
5c98a43852 Merge pull request #8010 from Retriman/SpellsSIIII
Core/Misc:
2012-10-07 22:44:03 -07:00
Kaelima
17568c03b3 Merge pull request #8014 from Retriman/MasSpells
Core/Misc:
2012-10-07 22:43:44 -07:00
Subv
00373eee90 Merge pull request #8015 from Retriman/masspellsTIII
Core/Spells:
2012-10-07 17:52:14 -07:00
trickerer
0f166336ca Core/Entities: Do not create the model twice for a GameObject.
Should fix #5218 (Still need to check)
2012-10-07 19:42:06 -05:00
Subv
4dc28e9420 Core/SAI: Fixes crashes when using SMART_EVENT_[IC/OOC]_LOS
It should also fix some wrong behaviors in scripts that use these events.
2012-10-07 19:31:13 -05:00
Subv
42d606a81b Core/Spells: Fixed a crash caused by Beacon of Light.
GroupReference sources should always be checked against NULL pointers.
2012-10-07 19:02:59 -05:00
Retriman
3c2a523980 Core/Spells:Ranged spells cant be parried or dodged. 2012-10-07 14:46:29 -04:00
Retriman
76d19ede4f Core/Misc: Shapeshift druid flying now displays an animation of falling. 2012-10-07 14:36:53 -04:00
Retriman
0aa6398865 Core/Misc: Not produce the error "can not do that while moving" to dismount. 2012-10-07 11:51:56 -04:00
tibbi
9835f4098f correcting SotA demolisher spawn, adding preparation buff to 2nd round too, lowering start height for attackers 2012-10-07 16:06:40 +01:00
Nay
972b418103 Merge remote-tracking branch 'origin/master' into mmaps
Conflicts:
	src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
2012-10-07 14:51:21 +01:00
tibbi
d49c2a5e4d correct reputation converting at faction change 2012-10-07 13:55:04 +01:00
kaelima
8c013955ac Core/Misc: Fix some possible issues detected by static code analysis 2012-10-07 01:31:43 +02:00