Commit Graph
100 Commits
Author SHA1 Message Date
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
kaelima bdaf5e1341 DB/Creature: Fix the fly/land animations for Invincible 2012-04-12 08:05:22 +02:00
kaelima 2b2ebfaac0 DB/Spell Bonus Data: Fix more spell power stacking exploits (items & enchants)
Thanks Hitplusone, amort and SignFinder for the list
Closes #1701
2012-04-12 02:12:07 +02:00
kaelima 636d553aa8 DB/WDB: Remove temp entry 68686 and replace with existing wdbverified
(doesnt really fix anything, just for the sake of using proper entries)
2012-04-12 01:32:56 +02:00
kaelima f60e9a4f84 DB/Creature: Use proper model for Celestial Steed - fixes some animations
Closes #6166
2012-04-12 01:11:12 +02:00
kaelima 26ff19dbf8 Scripts/Silithus: Fix crash when doing "A Pawn on the Eternal Board"
Closes #6156
2012-04-11 13:40:17 +02:00
kaelima 3dabe220ce Cmake: Remove no longer existing */dep/mersennetwister include
Thanks Venugh for noticing
2012-04-09 16:03:22 +02:00
kaelima 1f1e243bfa Core/Movement: Fix some issues with ConfusedMovementGenerator from recent changes.
- Z position was not set if LOS-check failed, and thereafter causing a crash when trying to move to a uninitialized z-choord.
- Also fixes bad coords in water

Closes #6124
2012-04-09 15:00:52 +02:00
kaelima 4c961ff393 Core/Scripts: Remove some unnecessary creature/player casts in scripts and do some safer casting in a silithus script 2012-04-09 14:28:46 +02:00
kaelima 3988e8ed96 Core/DBLayer: Correct a type in HandleUnFreezeCommand (lowguid) 2012-04-09 14:26:50 +02:00
kaelima 5f52cb0d8c Core/Spell: fix crash from 268401029e 2012-04-09 13:39:52 +02:00
kaelima fe5a5de0f7 Tools/PlayerDump:
- Fixed field number for characters.deleteInfos_Account
- Add missing break for "receiver" (DTT_MAIL)
2012-04-09 04:17:12 +02:00
kaelima 7f903edcd9 Core/DBLayer: Fix two crashes when using pdump command
Closes #6107
2012-04-09 03:33:46 +02:00
kaelima 3bbabb1400 Core/Spell: Fix crash when blinking on transports in instancable maps
Closes #789
2012-04-09 03:02:45 +02:00
kaelima 93ca33a8cc Fix compile 2012-04-09 00:57:14 +02:00
kaelima a4a1e19f01 Core/Movement: Minor correction for last changeset 2012-04-09 00:32:15 +02:00
kaelima 8358af9759 Core/Movement: Use line of sight checks for movement waypoints generated for confused movement and raise the minimum movementtimer to 500 ms.
Should close #5301
2012-04-09 00:01:18 +02:00
kaelima 49e24e2dfb Core/Cleanup:
Mostly if(.. -> if (.. and for(.. -> for (..
but also some miscellaneous cleanup
2012-04-08 23:59:52 +02:00
kaelima afb202869d Core/Protocol: Rename opcode SMSG_LFG_BOOT_PLAYER to SMSG_LFG_BOOT_PROPOSAL_UPDATE. (same opcode had two different names in core) 2012-04-08 03:13:50 +02:00
kaelima a5a123197b Core/Item: Fix possible exploit stacking critical strike when switching weapons during disarm. Closes #3532 2012-04-08 03:12:40 +02:00
kaelima cadf311ac6 Core/Players: Reward XP to dead players inside battlegrounds
(29/05/2010)
2012-04-07 21:42:49 +01:00
kaelima ede839dd97 Core/Database: Some extended debug output for Field::GetXXX logs. 2012-04-02 03:30:19 +02:00
kaelima 72d3e856de Core/Grid: revert f9caf79b16 - led to some unexpected behavior. 2012-03-29 02:56:18 +02:00
kaelima 6613cbafa6 Core/Protocol:
- Correct the use of first byte in SMSG_NAME_QUERY_RESPONSE
- Send guid and name in SMSG_CHAR_RENAME for failing results too
2012-03-28 04:02:02 +02:00
kaelima 820f45c424 Core/Protocol:
- Correct and rename response message from creating/updating a ticket
- Prevent some trailing data in CMSG_GMTICKET_CREATE and add comment on stuff missing from its structure.
- Random cleanup
2012-03-28 03:59:03 +02:00
kaelima f9caf79b16 Core/Grid: Fix crashes when closing up to the edge of a map.
Closes #5085
2012-03-28 02:38:16 +02:00
kaelima 19f821d00a Auth/Realmlist: Make use of RealmFlags and rename color to flag (core- and dbwise)
Also fix connecting with realmflag & 4
2012-03-26 05:14:10 +02:00
kaelima c38bf4498a Fix compile and fix a possible crash for mob_kiljaeden_controller 2012-03-26 03:12:56 +02:00
kaelima 786c226b74 Core/CombatLog:
- Send more proper hitinfo values in SMSG_ATTACKERSTATEUPDATE (still lot of research todo)
- Some renaming and commenting

- Minor cleanup in Player::UpdateZone
2012-03-26 02:16:19 +02:00
Kaelima eff48a42d1 Core/Spell: Fix crash for Glyph of Divinity 2012-03-18 19:57:03 +01:00
kaelima e02cda54cd Core/Protocol: Have client displaying some graphic/audio when player increased its reputation rank 2012-03-17 13:05:21 +01:00
kaelima 6d95e2408a Core/Protocol: And correct the struct of SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT... 2012-03-16 23:46:13 +01:00
kaelima d810acdeea Core/InstanceScript: Encounterframe research - extended the EncounterFrameType enum 2012-03-16 23:16:49 +01:00
kaelima 23c5ce0e0a Core/Unit: Fix some movement issues when leaving vehicles introduced in dce0a7d184
Sorry about that.
2012-03-16 22:52:20 +01:00
kaelima ef53bde176 Core/Spell: Add some missing cast results which require additional data when sent. And rename two researched castflags (thanks TOMRUS) 2012-03-16 08:59:18 +01:00
kaelima dce0a7d184 Core/Misc: Random cleanup 2012-03-16 08:57:42 +01:00
kaelima acb3fde355 Core/DBC: added cloak mask to armorMod and did some cleanup in ScalingStatValuesEntry 2012-03-16 08:56:06 +01:00
kaelima 6217583627 Core/Map:
- Remove mysterious restriction in visibilityhelper for gameobjects
- Some cleanup in CheckAreaExploreAndOutdoor() and GridDefines.h
- Set nocreate for cells visited in Map::VisitNearbyCellsOf
2012-03-12 04:33:24 +01:00
kaelima 394dbf0cdc Core/Misc: Fix a crash in CalendarMgr::AddAction and initialize some wild pointers. 2012-03-02 12:23:16 +01:00
kaelima b939ea5951 Script/Commands: Some safer code in wp modify 2012-03-01 12:16:06 +01:00
kaelima b27bd661f0 Core/Object: Correct the updateflag order in SMSG_UPDATE_OBJECT. 2012-03-01 12:12:35 +01:00
kaelima eb1a2a3672 Core/Object:
- Corrected the flag and use of UPDATEFLAG_LOWGUID.
- Send proper positions for objects on transports.
- Rename UPDATEFLAG_HAS_POSITION -> UPDATEFLAG_STATIONARY_POSITION
- Added some comments
2012-02-29 12:43:59 +01:00
kaelima bc151a0453 Scripts/Zalazane's Fall: Fixed a logical mistake from last commit 2012-02-24 23:10:12 +01:00
kaelima c7ddb428b3 Scripts/Zalazane's Fall: Some cleanup and general code improvement 2012-02-24 22:56:41 +01:00
kaelima c15f7bfc19 Core/Pet: Fixed possible crash after swapping pet with stable master. Closes #5177 2012-02-21 16:50:45 +01:00
kaelima 7ce7853606 Core/Spells: Revert part of 65d269f6de. Solves some recent instant spell casting issues. 2012-02-16 20:38:48 +01:00
kaelima d336c9efc5 Core/Movement: Fix a crash when a player logout in a hostile area. The honorless spell should and is already casted after recieving CMSG_MOVE_SPLINE_DONE.
Closes #5245

- Also corrected an error message in auctionhousemgr.
2012-02-16 11:11:29 +01:00
kaelima 5684f39d58 Core/Protocol: Remove useless ResetInstances call inside WorldSession::HandleResetInstancesOpcode. 2012-02-10 12:52:30 +01:00
kaelima 03b2717931 Core/Map:
- Fixed crash when a player was disconnected during a transfer to another map.
- Only call OnPlayerLeaveMap if player is removed from map. (Ty QAston)
2012-02-10 12:43:13 +01:00
kaelima e7cd9f0b4c Core/Movement: Don't send heartbeat message only to self on movementflag update. Should solve some recent issues with vehicles. 2012-02-09 13:41:43 +01:00
kaelima b194070cd5 Script/Holiday: Cleanup and fix possible crash from 32b2fccf33 2012-02-08 16:06:37 +01:00
kaelima e602619912 Core/Player: Remove spell used to unlearn talents and replace with a direct packet send. Spell is not found casted in 3.3.5a sniffs. Thanks Malcrom for the hint. 2012-02-03 14:56:29 +01:00
kaelima 6c1815db7f Core/Battleground: Remove useless and unused function 2012-01-26 14:48:05 +01:00
Kaelima afc0d72761 Merge pull request #4789 from drskull/master
Spirit Hunt
2012-01-17 21:41:47 -08:00
Kaelima 1760970417 Merge pull request #4822 from Fredi/auction_owner_not
Core/IO: Corrected SMSG_AUCTION_OWNER_NOTIFICATION packet structure
2012-01-17 21:41:27 -08:00
kaelima 819da8af4d Core/Items: Attempt to fix crash in Player::SplitItem caused by 6a44399852.
And some random cleanup
2012-01-18 06:07:30 +01:00
kaelima f10e41ee41 Scripts/Trial of the Crusader: Fix crash in MovementInform for Frost Sphere in Anub'arak encounter.
Thanks Vincent-Michael!
Fixes #4834
2012-01-15 20:37:25 +01:00
kaelima 233d891952 Scripts/Achievements:
- Move achievement Shocking! to appropriate boss script instead of instance script.
- Split the polarity spellscript into two and move to proper boss file
- Fixed a typo in Loatheb's spore achievement.
2012-01-11 17:21:03 +01:00
Kaelima d007780ab6 Merge pull request #4740 from drskull/master
Shaman T10 Enhancement 4P Bonus
2012-01-09 12:31:27 -08:00
kaelima 051faf9835 SQL: Add map difficulty limitation for the achievement added in f850baeb30
Thanks Vincent-Michael
2012-01-09 14:30:22 +01:00
kaelima f850baeb30 Script/Naxxramas: Fixed "A Spore Loser", texts and timers for Loatheb encounter.
Creds to Warpten, thanks.
2012-01-09 10:07:46 +01:00
Kaelima e457649170 Merge pull request #4714 from elecyb/mover
Core-Vehicles: Change player mover when add/remove passenger (thanks Sub...
2012-01-08 06:41:02 -08:00
Kaelima 70d51e53c3 Merge pull request #4684 from Subv/fix1
Fixed the behaviour of SmartAI::RemoveAuras
2012-01-06 18:26:19 -08:00
Kaelima a79ea3dcdf Merge pull request #4672 from Subv/fix004
Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER
2012-01-06 06:37:20 -08:00
kaelima 9817771973 DB:
- Corrected the name of one recently pushed sql file.
- Added some stuff to 728c07b888 (for The Etymidian)
2012-01-05 21:56:18 +01:00
Kaelima b75a42f761 Merge pull request #4608 from elecyb/farsight
Core/Spells: Some corrections after viewpoint visibility fix
2012-01-03 12:56:18 -08:00
kaelima 07c294b0c2 Core/Vehicle: Corrected the flag of VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4 2011-12-23 14:32:32 +01:00
kaelima 398299084e Corrected some logic in my recent commits.
- ff2dbfc381 thanks LihO
- 6ccf95af4c thanks frostmourne
2011-12-22 18:48:06 +01:00
kaelima e9ee82daf7 Scripts/Forge of Souls: Fix a crash alert for entry 36535. (trying to change movementgenerator during the delete process) 2011-12-22 13:24:59 +01:00
kaelima ff2dbfc381 Core/Spells: Fix two signed / unsigned warnings from f8a13b401d 2011-12-22 13:22:18 +01:00
kaelima f8a13b401d Core/Spells:
- Fix channeling spells with infinite duration (-1)
- Allowed SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND and SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND in SendCastResult (more reasons todo)
2011-12-22 00:38:01 +01:00
kaelima 4b0acb7432 Core/Spells: Force Invisibility (mage) to leave combat. 2011-12-21 02:16:06 +01:00
kaelima 2f2b84f6e5 Core/Spells: Fix some possible crashes in HandleAuraDummy, caster can be null for auras. 2011-12-21 02:12:46 +01:00
kaelima 6ccf95af4c Scripts/Toc: Fix a possible crash with grand champions encounter. 2011-12-21 01:59:36 +01:00