Commit Graph
100 Commits
Author SHA1 Message Date
kaelima a8cd34c4a4 Core/Battleground: Rename and correct usage of opcode 1223 and increase the timer before arena/bg invitation window is removed to its proper value. Closes #6725 2012-12-26 04:02:42 +01:00
Kaelima b566f544df Merge pull request #8771 from NorthStrider/Holy_Power
[4.3.4] Core/Unit: Fixed Holy Power gain
2012-12-25 18:58:39 -08:00
Kaelima 05c38b20ea Merge pull request #8668 from joschiwald/random_changes
Core/Misc:
2012-12-19 23:48:00 -08:00
kaelima 1f869ce3a5 DB/SpellClick: Remove redundant spellclick spell for npc 30228, as it is already indirectly applied from npc 30500 2012-12-14 02:37:36 +01:00
kaelima 9731607c9d Core/Protocol: Enable SMSG_RESURRECT_REQUEST 2012-12-13 17:53:52 +01:00
kaelima fc974d6fbe Core/Movement: Remove deprecated method Creature::AI_SendMoveToPacket. 2012-11-23 20:18:55 +01:00
kaelima 7fcdbdd3ae Core/Scripts: Fix typo in boss_lethon script 2012-11-23 20:17:19 +01:00
kaelima c9801e83c6 Script/Emerald Dragons: Fixed a couple of issues with emerald dragon world bosses and some cleanup.
Renamed one sql from yesterday
2012-11-14 09:02:17 +01:00
kaelima 3c3d4f4c99 Script/Commands: Reimplemented ".lookup map" command. 2012-11-13 15:56:15 +01:00
kaelima 08f6d3e975 Merge git://github.com/TrinityCore/TrinityCore into 4.3.4 2012-11-10 04:39:46 +01:00
Kaelima c5fdb02305 Merge pull request #8246 from ille/fishing
fishing: set respawntime to now when cant loot, for correct despawn of b...
2012-11-04 05:47:29 -08:00
Kaelima 6b2fd2c261 Merge pull request #8245 from ille/randomtypos02
fix random typos (f.i. blocked activation autocast petspells from spellb...
2012-11-04 05:46:07 -08:00
Kaelima 69aa94f8ee Merge pull request #8249 from MrSmite/Pet_Facing
Pets should face same direction as owner after follow.
2012-11-04 05:45:08 -08:00
kaelima 3ee840a9be Core/Spline: Change recently added error output to print DB GUID for creatures 2012-11-02 20:33:59 +01:00
kaelima cedf0855e8 Core/Handlers: Fixed CharFactionOrRaceChange for goblins/worgens after merge 2012-11-02 00:18:44 +01:00
kaelima b28499ac77 Core/Protocol: Enabled a couple of (confirmed) opcodes.
Removed SMSG_SETUP_RESEARCH_HISTORY, as it is redundant to SMSG_RESEARCH_SETUP_HISTORY.
2012-11-02 00:17:59 +01:00
Kaelima 76bdeb5c44 Merge pull request #8230 from krofna/dead_code
Remove some dead code
2012-10-31 15:52:15 -07:00
kaelima 9d81c763fe Core/Player: Fix crash in Player::CanUseBattlegroundObject when called from certain spells 2012-10-30 22:30:24 +01:00
Kaelima 1ff5b83657 Merge pull request #8074 from Warpten/halionUpdate
Scripts/Ruby Sanctum: Misc fixes.
2012-10-23 03:58:48 -07:00
kaelima 2f4d7fc8e8 DB: Update period timer for icecrown ship transports 2012-10-20 03:42:15 +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
kaelima 6abc6253a6 DB: Add gm_tickets changes to base character db 2012-10-17 02:56:07 +02: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
kaelima a1c0d81fd6 Fix build
Remove 2 unused header includes
2012-10-11 08:34:00 +02:00
kaelima 2958f64ffc Scripts/Misc: Correct two wrong urand's
(found by Aokromes)
2012-10-09 14:53:29 +02: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
kaelima 8c013955ac Core/Misc: Fix some possible issues detected by static code analysis 2012-10-07 01:31:43 +02:00
kaelima bb08d429a3 Fix non-pch build 2012-10-07 00:53:37 +02:00
kaelima 5273949315 Fixed compile and renamed one sql files 2012-10-07 00:08:04 +02:00
Kaelima 6b56acaa28 Merge pull request #7913 from Warpten/theRubySanctum
Scripts/Ruby Sanctum: Halion, the Twilight Destroyer.
2012-10-06 14:27:59 -07:00
kaelima 5d71a544d2 Script/Ruby Sanctum: Smoother lifting/landing transition for Saviana Ragefire. 2012-10-02 15:33:54 +02:00
kaelima 138c52c967 Core/Battleground: Change notice about unhandled areatriggers to debug info and removed the GM notice.
Added comment for a field in HandleBattlefieldListOpcode. And removed useless bool in BattlefieldWG::OnGameObjectCreate.
2012-09-27 22:15:06 +02:00
kaelima b5af7c5c2e Core/Defines: Updated SpellCustomErrors and HolidayIds to 4.3.4 2012-09-18 01:31:38 +02:00
kaelima c83d2dc406 Core/Protocol: Implemented CMSG_OPENING_CINEMATIC and enabled CMSG_GUILD_BANK_WITHDRAW_MONEY 2012-09-18 01:30:17 +02:00
kaelima 639f1b6788 Core/BG: Fix logical mistake in b8d55cc019.
Making it again possible to leave arena queues when status is STATUS_WAIT_NONE.
Closes #7749
2012-09-17 12:06:30 +02:00
kaelima b6ff06a796 Script/Misc: Fix two script crashes when spawned outside instance
also remove redundant null check in boss_lich_king_toc and an unused variable in npc_announcer_toc10
Closes #7785
2012-09-16 17:56:18 +02:00
kaelima f746c2d975 Core/ItemTemplate:
Rename unk0 column.
Weapons have special sounds on impact. This column is used to override these sounds by specifying another subclass. For example an item with misc subclass can sound like a stave on impact by overriding the subclass here.
2012-09-13 11:38:50 +02:00
kaelima d0f4526d71 Core/Vehicle: Improved the position fix when changing vehicle from 5eb22e5b64
Thanks Shauren
2012-09-07 14:00:24 +02:00
kaelima f685e9fb2a Core/Vehicle: Correction to 5eb22e5b64. Thanks joschiwald (and slap some others) for noticing 2012-09-07 03:31:46 +02:00
kaelima 5eb22e5b64 Core/Vehicles:
- Send proper triggering flag when casting spellclick spells on vehicles (should not be fully triggered)
- Only compute non-transport positions when not finalized. (Fixes changing seat on vehicles, or changing vehicle from vehicle)
2012-09-07 03:17:04 +02:00
kaelima bf84a0a97a Core/Misc: Fix typo from 7c971be3c5. Thanks Shauren 2012-09-05 17:34:25 +02:00
kaelima 7c971be3c5 Core/Misc: Fix some warnings and logic mistakes found by static code analysis 2012-09-05 17:18:05 +02:00
kaelima b8d55cc019 Core/BG: Refix cf711ffbe5 Thanks Kiddie 2012-09-05 00:08:22 +02:00
kaelima cf711ffbe5 Core/BG: Prevent players from using macro to exploit leaving BG queues when they already have entered.
- Cleanup and add some comments to MSG_BATTLEGROUND_PLAYER_POSITIONS
Closes #7633
2012-09-04 22:37:27 +02:00
kaelima a3f9eee4e5 Core/Spells: Fix memory leak when Load() fails from spell/aura-scripts 2012-09-04 17:03:30 +02:00
kaelima 76be70a4dc Core/Battlefield: Fix some memory leaks 2012-09-04 00:37:40 +02:00
kaelima 859b706079 Core/PacketIO: Refix SMSG_TRAINER_BUY_SUCCEEDED and actually activate SMSG_PLAY_SPELL_VISUAL_KIT
ref commit c0602889b5
2012-09-01 05:39:19 +02:00
kaelima c0602889b5 Core/PacketIO:
- Rename and fix: CMSG_INSPECT_HONOR_STATS and SMSG_INSPECT_HONOR_STATS.
- Replaced SMSG_TRAINER_BUY_SUCCEEDED with new SMSG_TRAINER_SERVICE.
- Fix sending SMSG_PLAY_SPELL_VISUAL_KIT and removed obsolate SMSG_PLAY_SPELL_IMPACT.
Thanks to mangos
2012-09-01 05:03:15 +02:00
Kaelima dd98331999 Merge pull request #7566 from Souler/fix_copy_weapon_auras
Scripts/Spells: Fix Weapon Copy related auras.
2012-08-30 03:36:40 -07:00
kaelima bdfae83898 Core/Creature: Added DB support for UNIT_FIELD_FLAGS_2. Thanks cyberbrest
- Added more flags to UnitFlags2 enum (Thanks wpp)
2012-08-30 04:52:56 +02:00
kaelima f92946e128 Core/Misc: Fix some mem-leaks and uninitialized variables. 2012-08-12 20:06:12 +02:00
kaelima a3adf6a2b9 Scripts/Grizzly Hills: Fix uninitialized variable in npc_venture_co_straggler. minor cleanup 2012-08-11 16:54:08 +02:00
kaelima 878f88b250 Core/PacketIO:
- Enable a bunch of spline packets.
- Correct emblems written in SMSG_GUILD_INVITE
- Revert changes in GuildCommandType and add more errors to GuildCommandError
- Rename Powers to match names in Lua code from client
2012-08-10 14:25:04 +02:00
kaelima 78fdeca851 Core/Logging: Fix crash in AppenderFile deconstructor when logfile is uninitialized 2012-08-09 12:54:35 +02:00
kaelima 5cfb52997e Core/DBC: Corrected highest lookup entries for 434 and added cataclysm to GetContentLevelsForMapAndZone 2012-08-07 13:22:04 +02:00
kaelima f5d19939bf Core/Guilds: Implemented some guild packets, some basic guild functions is working, though most are still WIP/TODO 2012-08-04 18:41:18 +02:00
kaelima e72f01650c Core/Misc: Minor update to SMSG_GUILD_QUERY_RESPONSE, added a value to enum MailStationery, some comments to a few dbcs.
DB: Renamed merged sql files
2012-08-02 08:04:12 +02:00
Kaelima 6ae147aa80 Merge pull request #7065 from Vincent-Michael/PainAndSuffering
Core/Spells: Fix Pain and Suffering reduces damage
2012-08-01 22:56:51 -07:00
Kaelima 99d3918d34 Merge pull request #6800 from Vincent-Michael/cod
Core/Spells: Fix Curse of Doom (thx to Warpten / joschiwald for helping)
2012-08-01 22:56:30 -07:00
Kaelima 41da3fedc8 Merge pull request #7212 from Pesthuf/master
NPC knockback visual
2012-07-28 08:49:36 -07:00
kaelima 0d6e2d5e86 Core/PacketIO: Verified and enabled a couple of server messages 2012-07-25 16:14:10 +02:00
Kaelima 49d8836f9d Merge pull request #7182 from horn/4.3.4
[4.3.4] Core/PacketIO: Fix and enable few speed changes related opcodes
2012-07-25 06:53:26 -07:00
kaelima 443f1e71d8 Core/PacketIO: Fix a couple of spline packets 2012-07-25 11:59:05 +02:00
Kaelima 63d5a90394 Merge pull request #7134 from acrathos/master
SmartScripts: added new parameter to actions 90 & 91
2012-07-23 01:19:16 -07:00
kaelima fc1b3968a9 Core/PacketIO: Enabled a couple of opcodes and renamed guildfinder ones 2012-07-19 14:40:38 +02:00
kaelima 6fe1657fe9 Core/Protocol: Added a couple of opcodes 2012-06-28 11:45:13 +02:00
kaelima 9cdf3fb4c0 Core/DungeonFinder:
- Corrections to c6c23b7f7e: Properly fixed #6748 after misunderstanding the issue.
- Display proper error message when teleportating as fatigued
2012-06-13 08:21:29 +02:00
kaelima c6c23b7f7e Core/DungeonFinder:
- Prevent players from vote kicking in combat (basic implementation, still needs a timer) partially closes #2563
- Prevent players from teleporting to a finished dungeon using macro commands. Closes #6748

Also add a missing change for ff77610e1d thanks 2010phenix for the hint.
2012-06-12 18:14:52 +02:00
kaelima 8c841d12b3 Scripts/Ulduar: Fixed some various bugs with XT-002 Deconstructor.
He will now properly reset if he evades while being submerged.
He will not always die directly after heart phase.
Adds will now despawn on reset.
Heart will now change seat and set unit flags properly, but is still not attackable by melee (seems like a vehicle flag bug)
2012-06-05 20:44:30 +02:00
kaelima 7e71488a1e Fixed build (forgot to save file) 2012-06-05 13:23:37 +02:00
kaelima a43c3e815a Core/Protocol: Correct cooldowns sent with SMSG_PET_SPELLS and add summon duration 2012-06-05 13:17:43 +02:00
kaelima 933fad5183 Core/Loot: Correct some values sent for roll packets 2012-06-05 13:14:15 +02:00
kaelima ff77610e1d Core/Quests: Fixed auto-accepting chain quests
Closes #6475
2012-06-05 10:31:03 +02:00
kaelima d3c45cc3f2 Fixed build and removed an unused variable 2012-06-04 09:14:31 +02:00
kaelima d86246b861 Core/Logging: Add optional binary packet logger usable with WowPacketParser, and remove the now useless WorldLog.
TODO: Port this to .pkt 3.1 format
2012-06-04 08:52:12 +02:00
kaelima 1dc6bd69aa Core/Auth: Correct a bad error log during authentication 2012-06-03 23:34:24 +02:00
kaelima fa1375b7d6 Script/Shadowfiend: Use PetAI for shadowfiends, fixes shadowcrawl autocasting 2012-06-03 23:12:21 +02:00
kaelima 820ce26277 DB/Quests: Fix quest Magic Carpet Ride 2012-06-03 15:12:32 +01:00
kaelima a32f4f439b Core/Protocol: Move some debug messages to their appropriate debug output mask. 2012-06-03 05:41:30 +02:00
kaelima c9efe05751 Core/Visibility: Change the default visibility distance for instances and battlegrounds to blizz-like values. 2012-06-03 05:36:27 +02:00
kaelima 774f3cdc9b Fixed some merging errors, there could be more, but at least it compiles. 2012-05-30 09:22:56 +02:00
kaelima f40e0d0a9a Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x
Conflicts:
	src/server/game/Instances/InstanceScript.cpp
	src/server/game/Instances/InstanceScript.h
2012-05-30 08:03:08 +02:00
kaelima 3d14384c32 Merge git://github.com/TrinityCore/TrinityCore into 4.x
Conflicts:
	dep/PackageList.txt
	sql/base/auth_database.sql
	src/server/authserver/Server/AuthSocket.cpp
	src/server/game/Battlegrounds/BattlegroundMgr.cpp
	src/server/game/Chat/Commands/Level1.cpp
	src/server/game/Chat/Commands/Level3.cpp
	src/server/game/DataStores/DBCEnums.h
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStores.h
	src/server/game/DataStores/DBCStructure.h
	src/server/game/DataStores/DBCfmt.h
	src/server/game/Entities/Corpse/Corpse.cpp
	src/server/game/Entities/Creature/Creature.cpp
	src/server/game/Entities/DynamicObject/DynamicObject.cpp
	src/server/game/Entities/GameObject/GameObject.cpp
	src/server/game/Entities/Item/Item.cpp
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Entities/Object/Updates/UpdateData.h
	src/server/game/Entities/Pet/Pet.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Entities/Transport/Transport.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Globals/ObjectMgr.cpp
	src/server/game/Globals/ObjectMgr.h
	src/server/game/Guilds/Guild.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Handlers/MovementHandler.cpp
	src/server/game/Handlers/QuestHandler.cpp
	src/server/game/Loot/LootMgr.cpp
	src/server/game/Miscellaneous/SharedDefines.h
	src/server/game/Quests/QuestDef.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
	src/server/game/Server/Protocol/Opcodes.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/Spell.h
	src/server/game/Spells/SpellEffects.cpp
	src/server/game/Tickets/TicketMgr.cpp
	src/server/scripts/Commands/cs_gps.cpp
	src/server/scripts/Commands/cs_modify.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Logging/Log.h
	src/tools/map_extractor/CMakeLists.txt
	src/tools/map_extractor/System.cpp
	src/tools/map_extractor/mpq_libmpq04.h
	src/tools/vmap4_extractor/CMakeLists.txt
2012-05-30 08:01:02 +02:00
kaelima f1e6601032 Core/Protocol:
- Allow CMSG_LOGOUT_CANCEL to be recieved during serverside logout process (ignore it however, it's too late to abort)
- Fix STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT opcodes because of m_playerRecentlyLogout being set false too early in some cases
2012-05-27 19:57:49 +02:00
kaelima 624aab7d77 Core/Session: Fixed error "received unexpected opcode CMSG_CANCEL_TRADE" when a player is logging out. 2012-05-26 18:15:07 +02:00
kaelima c40d86f05f Core/Protocol: Fix struct and make use of CMSG_UPDATE_PROJECTILE_POSITION. 2012-05-25 16:44:34 +02:00
kaelima 84b420160d Core/Pets: Some minor corrections to 3ea75c50d0 2012-05-24 16:29:43 +02:00
Kaelima 7a24a16e0b Merge pull request #6438 from MrSmite/PetAI_autocast_fix
Fix pet autocast spells such as Furious Howl and Leap
2012-05-24 07:16:33 -07:00
kaelima 2ae0cfc8b6 Core/GuardAI: General cleanup and removed some unnecessary code. 2012-05-23 16:40:44 +02:00
kaelima dbe8034ec2 Core/Calendar: Fix crash when deleting an event on the calendar. Should also stop the error message from appearing.
Thanks elecyb
Closes #6570

- Corrected some code from 66d42b4f29
2012-05-23 16:37:22 +02:00
kaelima 419d537bc8 Core/Global: Cleanup in MovementHandler and some assertions 2012-05-23 15:02:54 +02:00
kaelima 037f37ac65 Core/Protocol: correct SMSG_CALENDAR_RAID_LOCKOUT_UPDATED struct (and SMSG_CALENDAR_SEND_CALENDAR if no invite was found) 2012-05-23 14:56:22 +02:00
kaelima f424052f82 Core/Spells: Make spellclick spells non triggered 2012-05-23 14:28:38 +02:00
kaelima 66d42b4f29 Core/Protocol: Process CMSG_UPDATE_MISSILE_TRAJECTORY packets 2012-05-23 14:24:45 +02:00
kaelima c3287fee06 Core/SmartAI:
- Improve an error msg in ProcessAction
- Allow dist/angle to be 0.0f and set default if negative when using SMART_ACTION_FOLLOW
- Some minor cleanup in Opcodes.cpp, all smsg's should have Handle_ServerSide
2012-05-19 13:04:58 +02:00
kaelima b72c690905 Fixed compile 2012-05-15 00:03:18 +02:00
kaelima a1ff27a1c6 Core/Threat: Some corrections to 5709929d2b
Fixes HandleChannelDeathItem (spells such as Drain Soul), which got broken by moving m_deathState = s, thanks Shauren
2012-05-13 17:47:27 +02:00