Commit Graph
30447 Commits
Author SHA1 Message Date
Discover- 3802cc2904 Core/Creature: Fix compile and logic in previous pull request. Also implemented UNIT_NPC_FLAG_MAILBOX.
Thanks @Shauren
2014-01-19 16:51:53 +01:00
Dehravor 00f5460530 Core/Misc: Fix crash 2014-01-19 16:44:03 +01:00
Discover- f6264169d8 Merge pull request #11299 from Carbenium/MailboxCmd
Core/Command: Add mailbox command
2014-01-19 07:29:11 -08:00
jackpoz 939a25346b Core/CrashHandler: Fix issues on Windows crash handler
Fix few issues on WheatyExceptionReport:
- fix NULL dereference exception in GetLogicalAddress() when TC assert in triggered ( *((volatile int*)NULL) = 0; )
- fix infinite loop in DumpTypeIndex() when dumping std types like std::string
- fix FormatSymbolValue() pointing to wrong address when accessing local variable values
- use portable types instead of x86 specific types, this fixes some wrong address issues on x86 platform
- use bigger buffers to format symbols to avoid buffer overflows
2014-01-19 14:05:07 +01:00
Discover- c7b78a2b4e Core/Commands: Using the '.gm vis off' command now instantly makes the GM invisible to non-GM players, instead of waiting until Player::UpdateObjectVisibility was called from a different method.
Ref. #11467
2014-01-19 14:03:09 +01:00
Discover- e1f1e0cef5 Core/Misc: Split the calculating of the corpse reclaim delay and sending of SMSG_CORPSE_RECLAIM_DELAY in two different methods. 2014-01-19 13:50:30 +01:00
Discover- 55bde59a92 Merge pull request #10386 from Discover-/Health-Funnel
Core/Spells: Health Funnel now always damages the warlock, even if it do...
2014-01-19 04:19:58 -08:00
Discover- 18ab91bd1d Core/Misc: The timer that indicates how long it takes until the player can reclaim their corpse now starts counting down when the player releases its spirit instead of when they die. Fixes an issue where the 'Accept' button in the reclaim corpse window would already be clickable but have no effect (WorldSession::HandleReclaimCorpseOpcode::L754). 2014-01-19 12:36:51 +01:00
w1sht0l1v3 c18fd0378d Core/Scripts: Fix the cleanup in 54dbf870b8. 2014-01-19 03:20:36 +02:00
w1sht0l1v3 8367944171 Core/Scripts: Fix kill credit for quest The Hunter and the Prince(13400). 2014-01-19 00:30:25 +02:00
Vincent_Michael 93a97a9922 Core: Fix warning 2014-01-18 21:31:47 +01:00
Dehravor e60977911a Core/Tickets: Fix memory leak when malformed CMSG_GMTICKET_CREATE is received 2014-01-18 21:12:56 +01:00
Vincent_Michael e26dcbe2f5 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/scripts/Commands/cs_misc.cpp
2014-01-18 20:43:06 +01:00
Vincent_Michael 20c3eebfa7 Fix revert fail in ad8c046916 2014-01-18 20:31:41 +01:00
Machiavelli 68af9376f6 Core/Calendar: Add documentation regarding fix in previous commit 2014-01-18 14:00:19 +01:00
Machiavelli ca6fd8aad2 Merge pull request #11462 from Dehravor/add-event-memleaks
Core/Calendar: Fix memory leaks due to BytebufferException thrown
2014-01-18 04:57:29 -08:00
Shauren c431f463a1 Core/Items: Fixed swapping equipment sets in combat 2014-01-18 12:58:01 +01:00
Dehravor 3a9a634a91 Core/Calendar: Fix memory leak when guild announcement is created 2014-01-18 11:47:05 +01:00
Dehravor 51e38872c7 Core/Calendar: Fix memory leak when malformed CMSG_CALENDAR_ADD_EVENT is received 2014-01-18 10:30:39 +01:00
Bonitas 09a73a398a Core/Spells: Fix proc for spells that should trigger on taken hots 2014-01-18 01:50:19 +01:00
Vincent_Michael ad8c046916 Core/Revert: ... 2014-01-18 01:36:12 +01:00
Discover- 735cebf7a3 Core/Commands: The .setskill command is now usable even if the player doesn't already have the skill learned. 2014-01-18 01:05:03 +01:00
Vincent_Michael 3276a786cc Merge branch '4.3.4' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-01-18 01:03:24 +01:00
Vincent_Michael 4027686b5b Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Guilds/Guild.cpp
	src/server/game/Guilds/Guild.h
	src/server/game/Handlers/ItemHandler.cpp
2014-01-18 01:01:11 +01:00
Discover- bbd84d211d Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2014-01-17 18:44:01 +01:00
Discover- ebfdeb067f Core/Spells: Rename Spell::EffectSummonDeadPet with Spell::EffectResurrectPet and get rid of two TODO's that are already done. 2014-01-17 17:54:52 +01:00
Discover- de7a43a157 Merge pull request #11455 from Dekadencee/fix_void_storage
[4.3.4] Core/VoidStorage: Fix SMSG_VOID_STORAGE_CONTENTS structure
2014-01-17 04:49:49 -08:00
Dekadence eb2818e74a Core/VoidStorage: Fix SMSG_VOID_STORAGE_CONTENTS structure
* If you have items stored in void storage with owner guid, the void storage appear empty or partitial emplty
2014-01-17 13:33:02 +01:00
Machiavelli e2376fcb72 Merge pull request #11397 from Dehravor/guild-view-offinote
Core/Guild: Don't allow players to view officer notes without proper rights
2014-01-17 03:47:01 -08:00
Aokromes ea740deb26 Rename 2014_01_02_00_trinity_string.sql to 2014_01_17_00_trinity_string.sql 2014-01-17 12:29:48 +01:00
Zabustak 101cad1f28 Show Kick, Mute and Ban in world 2014-01-17 12:23:36 +01:00
Discover- c1a468365b Core/Misc: When a player changes its faction its only removed from all its arena teams if cross-faction interaction is turned off. 2014-01-17 08:17:09 +01:00
joschiwald 940e52236b Core/Entities: bg vehicle will also have charmer's faction (save faction before charm and restore old faction after charm) 2014-01-17 01:07:37 +01:00
Discover- 45dc95c8dc Core/Items: Fix an exploit where the player was able to send CMSG_SET_AMMO with items they didn't have in their bags. Only a visual bug (not sure if it gave bonuses too, which iirc do appear in later expansions). 2014-01-16 20:48:37 +01:00
Discover- 61f45283ef Core/Misc: Fix an exploit where moving while consuming something that would fade when the player stands up would stay if the player started moving and using the effect at the same time. Thanks to @FrozenSoul and @jildor.
Fixes #6271
2014-01-16 20:44:03 +01:00
jackpoz cbba22ba68 Core/SAI: Fix assertion triggered in SmartScript
Remove assertion in SmartScript added in b8625f41bd and handle SmartScripts with GetBaseObject() returning NULL , like SmartTrigger . In this case SmartScript::mTargetStorage cannot be sanitized and might contain references to free'd WorldObjects if the script doesn't last a single Map::Update() call.
2014-01-15 20:20:01 +01:00
Warpten 2d54b88d57 Core/Spells: Crash fix for f9ccb6f585.
Closes #11447. My bad.
2014-01-15 19:39:11 +01:00
joschiwald 6e01c0b0b4 DB: update more creature templates 2014-01-15 18:21:13 +01:00
Aokromes 5299d1187e Merge pull request #10984 from armano2/arena_badge
Core/Arena Fix Arena badge
2014-01-15 07:03:15 -08:00
Duarte Duarte d5dbd95197 Merge pull request #11130 from Dekadencee/4.3.4
[4.3.4] Fix SMSG_REQUEST_PVP_REWARDS_RESPONSE structure
2014-01-15 07:01:18 -08:00
Warpten b2de15ef88 Core/Players: Fixed some more "issues" with resilience. 2014-01-14 20:44:56 +01:00
Warpten f9ccb6f585 Core/Spells: Fixed issues with spells using MaxRadius not considering radius spellmods. 2014-01-14 20:37:17 +01:00
Shauren 4d80611a10 Core/Chat: Fixed chat packets structure 2014-01-14 16:31:45 +01:00
joschiwald 5b6b26262f Misc: missing changes after merge 2014-01-14 12:38:19 +01:00
jackpoz d78e69cdc6 Core/Instances: Fix memory leak in InstanceSaveMgr
Fix memory leak in InstanceSaveMgr added in 1f170c99ef .
Make InstanceSave::SetToDelete() private since it's not supposed to be used by anything other than InstanceSave or its friend class InstanceSaveMgr .
2014-01-13 22:52:35 +01:00
Vincent_Michael f2fd1e3b2a Revert "Build/CMake: Enabled c++11 on gcc for testing purposes."
This reverts commit 0e58f5ad24.
2014-01-13 21:14:03 +01:00
Vincent_Michael cc85d1b5b7 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/SpellMgr.cpp
	src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
	src/server/scripts/World/npcs_special.cpp
	src/server/worldserver/worldserver.conf.dist
2014-01-13 20:34:21 +01:00
Elron103 88ecc9533a Core/Entities: Fix combat state setting when FFA PvP flag is set
Description:
Currently there is an issue, when you are in FFA areas, but you dont have PvP flag activated.

You should get the PvP-In-Combat delay timer, but instead you just get the usual timer as if you would not fight in PvP.

Reproduction:
1) Get two players in FFA area Gurubashi arena down in the battle area (.tele Gurubashi)

2) Fight each other

3) When stopping combat, the combat state will switch off immediately. But it is supposed to switch off after some delay, because it was a PvP fight.

Closes #11103

Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
2014-01-13 17:03:43 +00:00
Duarte Duarte 80a398372d Core/Player: Fix compile error introduced in ##11377 merge 2014-01-13 16:50:07 +00:00
Duarte Duarte 949dc9bf16 Merge pull request #11377 from Yelvann/master
Core/Instances: Fix exploit too much players in instances/raids
2014-01-13 08:33:29 -08:00