Commit Graph
100 Commits
Author SHA1 Message Date
kaelima ef7f6b7c1e Merge branch 'mmaps' of github.com:TrinityCore/TrinityCore into mmaps 2012-11-13 15:45:01 +01:00
kaelima 94cca94017 Core/Movement: General improvements for confused/fleeing movement 2012-11-13 15:44:42 +01:00
kaelima 68291eed03 Merge git://github.com/TrinityCore/TrinityCore into mmaps 2012-11-07 16:43:13 +01:00
kaelima 677ee02b8e Core/Movement: MovementGenerator fixes.
- vmap height search in FleeingMovementGenerator and ConfusedMovementGenerator (until we can search for a nearby position properly) Should solve #7704, needs testing
- Removed some unused code in CalculatePath and TargetedMovementGenerator. Ty faramir118
- Allow players to charge through slime and lava liquids. Closes #7967
2012-11-07 16:42:22 +01:00
kaelima 3c13454ad7 Merge git://github.com/TrinityCore/TrinityCore into mmaps
Conflicts:
	src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
	src/server/game/Movement/Spline/MoveSplineInit.cpp
2012-11-05 12:02:08 +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 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 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 753f43718e Address a few compile errors. Correct spacing in HandleMmapPathCommand. 2012-09-28 15:04:47 +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 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 f237a57f51 Fix compile. Closes #7718 2012-09-10 13:24:01 +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 2e80503283 Typo 2012-09-07 12:54:54 +02:00
kaelima a2d533752c Core/MMaps: Add several safety checks to confirm a valid path generation.
- Address some issues in TargetMovementGenerator. Thanks Chevron
2012-09-07 04:21:11 +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 c2f446ded9 Core/MMaps: Minor warning fix 2012-09-05 17:07:47 +02:00
kaelima b8d55cc019 Core/BG: Refix cf711ffbe5 Thanks Kiddie 2012-09-05 00:08:22 +02:00
kaelima 69602df833 Core/MMaps: Fix some uninitialized variable complaints in PathGenerator 2012-09-04 23:33:11 +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 a9e672ab1d Core/MMaps: Prevent path generation when falling or exiting vehicle 2012-09-03 20:34:07 +02:00
kaelima d7eeebe0f3 Core/MMaps: Implement pathed charge effect 2012-09-03 20:30:47 +02:00
kaelima a5d977c90e Core/Config: Disable petlos by default 2012-08-31 12:06:12 +02:00
kaelima 58d250ce83 Core/Mmaps: Use mmaps if enabled when re-generating point-movement path after speed changes. (often used by pets) 2012-08-31 11:58:45 +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 78fdeca851 Core/Logging: Fix crash in AppenderFile deconstructor when logfile is uninitialized 2012-08-09 12:54:35 +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 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 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 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
kaelima 1fec4a5af2 Core/Gameobject: Set artkit once in GameObject::Create 2012-05-09 13:52:31 +02:00
kaelima cb36825a3a Script/Wormhole: Correct randomize logic for underground option 2012-05-09 13:49:49 +02:00
kaelima d50b23d9f9 Core/Transport: Set GAMEOBJECT_FLAGS from DB for transports, not hardcoded 2012-05-09 03:08:34 +02:00
kaelima 7d561c884e Correct typo from 1af30a9ea2 2012-05-09 02:25:46 +02:00
kaelima 1af30a9ea2 Scripts/Wormhole: Add rare 6th option to "Underground". Fixed some teleport positions (from sniffs)
And made some random cleanup for npc_shadowfiend and npc_lightwell
2012-05-09 01:48:42 +02:00
kaelima 7be70393e5 Movement/WaypointGenerator: Fix issue where waypoints with delay always would turn to 0.0 orientation 2012-05-07 14:33:24 +02:00
kaelima f34e650fe0 Core/Accounts: Delete all bans related to an account when it has been deleted. 2012-05-06 02:37:31 +02:00
kaelima 7f51c399c6 Core/DBLayer: CHAR_DEL_CHAR_AURA_FROZEN query should be asynchronous
Closes issue #6273

Also corrected one opcode name in Opcodes.cpp (changes nothing)
2012-04-30 02:07:59 +02:00
kaelima 9559a48877 Core/Spell: Attempt to fix some rare steady shot crashes
ref issue #5689
2012-04-21 02:42:59 +02:00
kaelima d97f9c37bb DB/Creature: Set correct spellclick spell and ability spell for Valkyrion Harpoon Gun 2012-04-18 02:43:00 +02:00
kaelima a998554f8f Script/Pit of Saron: Fix logic in spell_tyrannus_overlord_brand
should fix #6247
2012-04-17 22:34:06 +02:00
kaelima 3189b57bf5 Core/Unit: Always initialize a pointer before using it.
(less segfaults, more fun)
2012-04-17 02:14:41 +02:00
kaelima 71bf2684be Core/Script: Use DoMeleeAttackIfReady in default ScriptedAI::UpdateAI method (fixes offhand attacks if not UpdateAI is overridden) 2012-04-12 17:53:52 +02:00