Commit Graph

4695 Commits

Author SHA1 Message Date
Spp
3120364aff Core/Dungeon Finder: Prevent crash when Teleport opcode is received from client when is not supposed.
Note: In order to get teleported in/out you need to be in group
Closes #8183
2012-10-25 11:33:14 +02:00
Spp
9fbc4c0ae2 Core/Misc: reduced amount of string memory allocations (Step II) 2012-10-24 15:34:48 +02:00
Spp
013fb1f4d9 Core/Misc: reduced amount of string memory allocations (Step I) 2012-10-24 15:34:48 +02:00
Spp
ca85c3b475 Core/Dungeon Finder: Fix teleport to dungeon and add missing code from 1be638e731 2012-10-23 19:09:50 +02:00
Spp
663db1cee3 Core/Misc: Add default count param to HasItemCount 2012-10-23 13:11:57 +02:00
Kaelima
1ff5b83657 Merge pull request #8074 from Warpten/halionUpdate
Scripts/Ruby Sanctum: Misc fixes.
2012-10-23 03:58:48 -07:00
Spp
1be638e731 Core/Dungeon Finder: Add debugging commands 2012-10-23 11:44:02 +02:00
Spp
c1fada456b Core/Dungeon Finder: Correct rolechecks (4e8fa52)
- Fix bad sql (36806bf)
- Add better teleport debug messages
2012-10-23 09:48:08 +02:00
Warpten
a664a356e2 Scripts/Ruby Sanctum:
* Fixed a crash caused by the grid.
* Update spawnmasks.
* Misc updates and corrections.

Closes #8079.
Closes #8078.
Closes #8081.
Closes #8077.
2012-10-22 21:18:21 +02:00
Spp
316fc7c631 Core/Dungeon Finder: Corrections to 8622d49 (Fix teleport coors loading) 2012-10-22 13:48:07 +02:00
Subv
bc1714161a Merge pull request #8146 from Gacko/usetraps
Core: Implement Gameobject::Use() for traps
Closes #8137
Closes #4811
2012-10-21 15:10:42 -07:00
Subv
e475b50f58 Core/Conditions: Fixed a mistake in Conditions loading which didn't allow to use SAI conditions with negative source entry (guid) 2012-10-21 15:33:31 -05:00
Gacko
2c8c7a195d Core: Implement Gameobject::Use() for traps 2012-10-21 14:38:46 +02:00
Spp
8622d495bb Dungeon Finder: Fix teleport coords load 2012-10-21 13:18:56 +02: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