Commit Graph
100 Commits
Author SHA1 Message Date
megamage bd5a53a774 *Fix a crash by unit with 0 maxhealth.
--HG--
branch : trunk
2009-06-27 18:40:09 -05:00
megamage 05d4b02eee *Merge.
--HG--
branch : trunk
2009-06-27 18:36:54 -05:00
megamage fc0e8a251b [8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 18:28:26 -05:00
megamage 02a83001a4 [8083] New debug command: .debug setaurastate for test target/caster aura states. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 18:27:31 -05:00
megamage cf9c437d8e [8082] Update Diminishing Returns. Author: Lightguard
--HG--
branch : trunk
2009-06-27 18:24:40 -05:00
megamage 7d24efd16d [8080] Portability fixes for some Unix platforms. Author: VladimirMangos
* Add #include <stdio.h> to some fiels where related functions call.
    * Avoid template dependent lookup for fields in class LockedQueue.

--HG--
branch : trunk
2009-06-27 17:54:03 -05:00
megamage b9029be234 [8079] Fixed build errors at use old ACE versions (without ace/Stack_Trace.h). Author: VladimirMangos
*I am not sure if something needs to be done for cmake.

--HG--
branch : trunk
2009-06-27 17:52:36 -05:00
megamage 7c8f37abea [8078] Fixed typos in character data loading after recently added new field.
* Really use race/class/gender fields instead `data` field values.
    * Load extra flags (gm mode onm gm fly mode, gm invisibility and etc) from proper field.

    NOTE: recommedned reset characters.extra_flags field to 0 for all characters.
    It can be corrupted in time login/logout before this fix.

Author: VladimirMangos

--HG--
branch : trunk
2009-06-27 17:50:28 -05:00
megamage e5b982b0ef [8074] Fixed typo in money save. Author: nos4r2zod
--HG--
branch : trunk
2009-06-27 17:42:00 -05:00
megamage dc1de3e3be [8073] Use new database fields in offline player answer to CMSG_NAME_QUERY. Author: hunuza
*The author of 8072 is also hunuza.

--HG--
branch : trunk
2009-06-27 17:40:49 -05:00
megamage d9ec2d2196 [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

    The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

    It's recommended to backup your character database before applying this patch.

--HG--
branch : trunk
2009-06-27 17:39:51 -05:00
Kudlaty 6c1b64c45d Merge [SD2]
r1081 Fix spell/timers for dathrohan/balnazzar
r1082 Correct summon timer for jan'alai hatcher and summon different as spells suggest.
      Redesign waypoint for hatchers and set expected run movement.
      Adjust distance check function. - skip
r1083 Correct order of events for jan'alai 'bombing phase'. Remove not needed summons and summon only expected amount.
      Replace teleport code with spells - skip
r1084 Correct spell/timers for two SM bosses.
r1085 Provide updated .patch file (made for Mangos 7842+) - skip

--HG--
branch : trunk
2009-06-28 00:16:04 +02:00
megamage 02a5c2fcc6 [8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
--HG--
branch : trunk
2009-06-27 17:12:01 -05:00
megamage e4cfd63181 [8067] Fixed tabs and trailing whitespaces in code. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 17:10:17 -05:00
megamage c688528f72 *Remove some useless contents in sln files.
--HG--
branch : trunk
2009-06-27 16:24:44 -05:00
megamage a363df1836 *Fix a crash caused by player saves with incorrect instance id.
--HG--
branch : trunk
2009-06-27 16:18:08 -05:00
megamage 77cd4a8cb0 [8058] Avoid use error_log in non-scripting DLL code. Author: NoFantasy
--HG--
branch : trunk
2009-06-27 15:38:09 -05:00
megamage fe89fbfbdb [8057] Move code from Event AI to class Creature function for reuse in other scripting cases. Author: NoFantasy
--HG--
branch : trunk
2009-06-27 15:37:33 -05:00
megamage d401ede8f2 [8051] Fixed some drinking mana regen spells. Author: bobaz
--HG--
branch : trunk
2009-06-27 15:27:09 -05:00
QAston b925292f96 *Sql for DKs ghoul stats - by Astellar.
--HG--
branch : trunk
2009-06-27 19:15:17 +02:00
QAston 8be2a1f51b *Merge.
--HG--
branch : trunk
2009-06-27 18:00:15 +02:00
QAston 1592fe9aa3 Backed out changeset 97d8a5f6449c
--HG--
branch : trunk
2009-06-27 17:59:57 +02:00
QAston 122edd64fe *Do not allow triggered spells to remove stealth.
--HG--
branch : trunk
2009-06-27 17:43:00 +02:00
Machiavelli 6fd51a0273 *Add forgotten part of previous commit
--HG--
branch : trunk
2009-06-27 17:41:07 +02:00
Machiavelli 9040a32ed3 *Merge
--HG--
branch : trunk
2009-06-27 17:39:01 +02:00
Machiavelli dfe7b63899 * Fix message that gets sent to target when using .namego command.
* Re-add clean up in mute command

--HG--
branch : trunk
2009-06-27 17:38:18 +02:00
Drahy 548f857d97 *Fix crash in AV
--HG--
branch : trunk
2009-06-27 17:29:12 +02:00
QAston ab7e83a72c *Merge 1600 from tc1.
--HG--
branch : trunk
2009-06-27 17:15:38 +02:00
QAston e7e79ff8a4 *Merge.
--HG--
branch : trunk
2009-06-27 16:37:29 +02:00
QAston da3569402d *Merge tc1 1591 - 1599, skip 1596
--HG--
branch : trunk
2009-06-27 15:51:36 +02:00
QAston a74ae18739 *Merge tc1 commits 1582-1590
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
QAston 81042a1f4f *Allow aura type SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT to mod weapon damage effects.
--HG--
branch : trunk
2009-06-26 22:45:06 +02:00
krz 10ac2b73b8 Better check to prevent exploiting in BuyItemFromVendor
--HG--
branch : trunk
2009-06-26 20:58:39 +02:00
BroodWyrm 23a47bee35 * Use int32 not int (i think it makes no different)
--HG--
branch : trunk
2009-06-26 20:39:05 +02:00
BroodWyrm 62dc6eb7bb * Add textids to unworthy_initiate script - thx to crackm of SD2
* Fix a bug that unworthy_initiate is attackable after reset - thx to seirge

--HG--
branch : trunk
2009-06-26 20:35:15 +02:00
QAston 80fc3b5c95 *Fix build on *nix.
--HG--
branch : trunk
2009-06-26 20:25:05 +02:00
QAston ad182a6b2c *Add debug log for asserts in BattleGroundAV::AssaultNode
--HG--
branch : trunk
2009-06-26 19:35:17 +02:00
QAston 09717d7d81 *Fix Survival of the Fittest.
--HG--
branch : trunk
2009-06-26 19:17:57 +02:00
krz a494b0436c Fix exploit in BuyItemFromVendor
--HG--
branch : trunk
2009-06-26 18:20:42 +02:00
QAston 63a936b0b7 *Fix exorcism target check and crit chance calculation
*Do not apply spelldmg bonuses to conflagrate multiple times.

--HG--
branch : trunk
2009-06-26 17:16:32 +02:00
QAston c3516ad8f3 *Fix sweeping strikes.
--HG--
branch : trunk
2009-06-26 14:25:48 +02:00
Muhaha f5cbcb40cf Fix - Death Grip Spell [Have to Grip the Vehicle instead Passenger]
--HG--
branch : trunk
2009-06-25 23:55:43 +02:00
QAston 1b12e2def7 *Fix beacon of light.
*Fix energize spells which are not self target.

--HG--
branch : trunk
2009-06-25 20:03:20 +02:00
QAston 70379983c3 *Implement aura type SPELL_AURA_ABILITY_PERIODIC_CRIT (286).
--HG--
branch : trunk
2009-06-25 17:55:19 +02:00
krz 8334693fe7 Backported from TC2: *Fix typo causing problems with buying items.
--HG--
branch : trunk
2009-06-25 17:14:56 +02:00
QAston 642a343d98 *Fix Nurturing Instinct.
--HG--
branch : trunk
2009-06-25 16:34:49 +02:00
raczman b8a1ffcf50 Implemented separate connection for SqlDelayThread
This should result in less locking when accessing database,
  and improved performance.
* Changed SqlDelay queue type to monitored queue,
  and removed 10ms check period.
thanks to Derex, mknjc, Jeniczek and Christyan for ideas and tests.

--HG--
branch : trunk
2009-06-25 15:56:45 +02:00
QAston 4ca17d4137 *Fix Recently bandagd debuf - by Maxxie
*Prevent possible crash in Chimera Shot handler.

--HG--
branch : trunk
2009-06-25 15:34:08 +02:00
tlexii bbc1578ab5 *Fix Conflagrate damage calculation formula
--HG--
branch : trunk
2009-06-25 14:09:16 +02:00
QAston d234b35a0c *Fix typo causing problems with buying items.
--HG--
branch : trunk
2009-06-25 13:50:11 +02:00
QAston 5ae6467fc7 *Fix the bug that DKs Death Coil is not learnable
*Remove some obsolete entries from spell_proc_event table.

--HG--
branch : trunk
2009-06-25 13:06:50 +02:00
QAston d719f75842 *Merge.
--HG--
branch : trunk
2009-06-25 12:10:45 +02:00
QAston db0a78e658 Backed out changeset c101c0a0a589 - that shouldn't go to repo:)
--HG--
branch : trunk
2009-06-25 12:10:03 +02:00
Machiavelli 6bc7a8b2c5 * Fix windfury proccing from a two handed weapon
--HG--
branch : trunk
2009-06-25 09:48:37 +02:00
krz e92f3cf01f Fix damage backlash from Shadow Word: Death and ranks
--HG--
branch : trunk
2009-06-25 03:11:10 +02:00
Machiavelli b0e42c0256 * Fix .ticket delete and .ticket viewid
--HG--
branch : trunk
2009-06-24 21:47:41 +02:00
Machiavelli c3c0ff3f3f * Update log message, fix build
--HG--
branch : trunk
2009-06-24 21:30:34 +02:00
Machiavelli 3c40065564 * Crash safety check in Bag::StoreItem by Visagalis/QAston
--HG--
branch : trunk
2009-06-24 20:09:19 +02:00
Machiavelli 7fd26a5fee * Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets (Backported from TC2)
* Another crash exploit prevention using the same method in Bag::StoreItem, by Visagalis

--HG--
branch : trunk
2009-06-24 19:58:01 +02:00
QAston 3fcfbffde7 *Do not apply healing bonus for spells with SPELL_DAMAGE_CLASS_NONE
*Fix Heart of the Crusader.

--HG--
branch : trunk
2009-06-24 19:56:13 +02:00
Machiavelli 3c568253dc * Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets
--HG--
branch : trunk
2009-06-24 19:46:54 +02:00
QAston 5090a5967a *Fix king of the Jungle.
--HG--
branch : trunk
2009-06-24 17:45:15 +02:00
QAston d5c0337a5e *Apply 4x damage mod for Drain Soul at targets with low health.
--HG--
branch : trunk
2009-06-24 16:20:40 +02:00
QAston 33b2917bb7 *Fix Ferocious Bite energy to dmg conversion
*Remove duplicated AP coefficients for Hammer of Wrath and Avengers Shield
*Correctly do effectaddcombopoints for spells which take them.
*Do not proc spelleffects on player login.

--HG--
branch : trunk
2009-06-24 15:58:44 +02:00
krz 13110a35c4 Do not check cooldown for triggered spells (triggered spells shouldn't trigger if they have cooldown)
--HG--
branch : trunk
2009-06-24 12:53:22 +02:00
Rat 0319f6a269 - properly reset Shada of Akama after wipe
- despawn summons if Shade is killed, so Akama can complete the event

--HG--
branch : trunk
2009-06-24 09:33:20 +02:00
QAston 329b020af4 *Add delete query for data in 4212_world.sql.(if you had problems with 4212 use 4222).
--HG--
branch : trunk
2009-06-24 02:03:06 +02:00
QAston e58230d506 *Add security check to Vehicle::InstallAccessory.
--HG--
branch : trunk
2009-06-24 01:50:59 +02:00
QAston 0a7691083d *Fix the bug that player gets dismounted during taxi flights with many flymasters.
*Mana feed now gives pet mana during Drain Mana spell.

--HG--
branch : trunk
2009-06-24 00:12:09 +02:00
BroodWyrm d6a3770597 *Fix Item 30639
--HG--
branch : trunk
2009-06-23 20:32:33 +02:00
BroodWyrm 51de1cd636 *Fix Item 30639
--HG--
branch : trunk
2009-06-23 20:12:30 +02:00
Machiavelli 6a6add72f5 * Fix some typo's in LoadPetFromDB SQL, spotted by Drahy
--HG--
branch : trunk
2009-06-23 18:50:33 +02:00
QAston 06cc101f4a *Fix Improved Aspect of the Hawk.
--HG--
branch : trunk
2009-06-23 16:13:51 +02:00
QAston 0c36f2ab24 [8071] Restore work .modify tp command. Allow apply it to selected
character's pet. Author: VladimirMangos.

--HG--
branch : trunk
2009-06-23 15:05:40 +02:00
QAston f558a785fc [8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
[8070] Restore spell casting loot items and recipes.

* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without
template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with
  itemtype==0

Note: required DB support in `spell_loot_termplate` Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 14:44:16 +02:00
QAston cc986dbdf3 [8068] Fixed crash from 33201 and ranks, remove outdated rank case. Author: SeT.
--HG--
branch : trunk
2009-06-23 14:25:08 +02:00
QAston 09a4fdc1c7 [8066] Fixed typo in Teleport call. Author: Ambal
--HG--
branch : trunk
2009-06-23 14:21:14 +02:00
QAston c5413dc462 [8061] Fixed 12834 and ranks stacking behaviour. Author: hunuza
--HG--
branch : trunk
2009-06-23 14:18:20 +02:00
QAston f2ec641e42 [8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. Author:XTZGZoReX
[8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza.

--HG--
branch : trunk
2009-06-23 14:05:37 +02:00
QAston 64786941dd [8055] Now spell 20911 and variations provided only mana percent back. Author: Den
--HG--
branch : trunk
2009-06-23 13:06:42 +02:00
QAston ad91c6b1e2 [8052] Fixed typo in error log output. Author: The_Game_Master
[8049] Added energize effect after last heal tick for 33763 and ranks. Author: bobaz
[8053] At character talents reset using chat command also reset talents
for all character pets. Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 13:05:15 +02:00
krz 97e4a59a75 * Author of CastItemCombatSpell part was freeganja. Sorry for typo.
* Some cleanup

--HG--
branch : trunk
2009-06-23 04:59:28 +02:00
krz 738f3567ca * Missing part from previous commit.
* First DealDamage then call ProcDamageAndspell.
* Correctly trigger SPELL_EFFECT_ADD_EXTRA_ATTACKS from spells.
* Some changes for SPELL_EFFECT_ADD_EXTRA_ATTACKS to allow proc self if there is no hidden cooldown (for example 12815)

--HG--
branch : trunk
2009-06-23 04:52:39 +02:00
krz dd52461d40 * Allow spells to trigger ItemCombatSpells if spell is melee/ranged damage based. Original patch by freegajnja
* Tabs to spaces.

--HG--
branch : trunk
2009-06-23 04:47:46 +02:00
Machiavelli d1d26524d2 *merge
--HG--
branch : trunk
2009-06-22 23:55:00 +02:00
Machiavelli 2ce88f44aa * Update creature damage calculation by synchronising Creature::UpdateAttackPowerAndDamage and Creature::UpdateDamagePhysical with MaNGOS.
--HG--
branch : trunk
2009-06-22 23:53:37 +02:00
QAston e6d20d57de *Fix Death Pact and Corpse Explosion - original patch by Astellar, thanks for help in conversion for Azrael.
--HG--
branch : trunk
2009-06-22 23:30:17 +02:00
Machiavelli 8533946ac1 *Merge
--HG--
branch : trunk
2009-06-22 23:14:18 +02:00
Machiavelli 605b5670e3 * Update creature damage calculation.
--HG--
branch : trunk
2009-06-22 23:12:53 +02:00
Anubisss 7d8570f591 *Fix a typo in spell Rip. Thanks to Farah for found the incorrect SpellFamilyFlags value.
--HG--
branch : trunk
2009-06-22 23:00:47 +02:00
Machiavelli 2c7799bfef Backed out changeset 8569b2063da0
--HG--
branch : trunk
2009-06-22 22:44:07 +02:00
Machiavelli 9aa33f7a7b [7904] Change creature damage calculation formula. Author: Seizerkiller.
--HG--
branch : trunk
2009-06-22 22:04:24 +02:00
Machiavelli 662ef92caa *Clean up scripts, remove all per script declared functions to toggle gameobject state and use InstanceData::HandleGameObject instead.
--HG--
branch : trunk
2009-06-22 14:31:39 +02:00
Kudlaty e3d5e9af36 Remove option -DCENTOS, now should automaticaly check if its a CentOS system.
--HG--
branch : trunk
2009-06-22 03:45:47 +02:00
Kudlaty d05f86a182 Fix compile on CentOS(still need to use -DCENTOS=1)
--HG--
branch : trunk
2009-06-22 02:48:13 +02:00
Machiavelli 2660e0ff1c * Fix build, sorry
--HG--
branch : trunk
2009-06-22 02:23:12 +02:00
Anubisss 67e85144ef *Use macro GOLD in spell 46642.
--HG--
branch : trunk
2009-06-21 23:08:02 +02:00
Machiavelli 26b7e344db * Correctly update ticket status in database when closing via GM command.
--HG--
branch : trunk
2009-06-21 21:46:15 +02:00
Machiavelli 4a93373c06 * Use safer way to handle recently added mute reason command
--HG--
branch : trunk
2009-06-20 23:28:47 +02:00
Iskander a8d305c8c2 * fix of Spiritual Attunement
--HG--
branch : trunk
2009-06-20 21:53:59 +02:00