Commit Graph
100 Commits
Author SHA1 Message Date
megamage 3eab803495 [8121] Cleanup and more safe code in Player::BuyItemFromVendor use. Author: VladimirMangos
* Move bag search by bag guid code to WorldSession::HandleBuyItemInSlotOpcode
    * Really reject unexisted bag cases.

--HG--
branch : trunk
2009-07-07 07:08:36 +08:00
megamage d8da7f99d9 [8118] More diminishing returns for mage case. Author: Lightguard
--HG--
branch : trunk
2009-07-07 07:04:01 +08:00
megamage eec93e0852 [8116] Fixed low ranks relearn bug, correctly show tlanes at command spell learn. By VladimirMangos
* Bug showup as paladin talents reset. Thanks to ApoC for reseach problem.
    * Now at .learn command use for learn some talent this talent must correctly show as learned in talent dialog.

--HG--
branch : trunk
2009-07-07 06:59:03 +08:00
megamage 6b40a74b4c [8115] Replace table contecnt by expected data from mangos.sql Author: VladimirMangos
For finally fix problem with new crated characters in addition to [8107].

--HG--
branch : trunk
2009-07-07 06:38:24 +08:00
megamage 3c00ba37ca [8114] Fixed uint16 to uint32 for spell id in SkillDiscoveryEntry Author: ApoC
--HG--
branch : trunk
2009-07-07 06:32:26 +08:00
megamage da2f27cb42 [8109] Implement some more PvP aura duration limits. Author: Lightguard
Thanks for reseach to Alez.

--HG--
branch : trunk
2009-07-07 06:08:15 +08:00
megamage 9418053b37 [8108] Fixed a case in resetting group binds where the actual map reset was done even though it had permanent binds.
This is a temp fix as the function should be rewritten to be more clear / less error prone.
Author: lukaasm

--HG--
branch : trunk
2009-07-07 06:05:30 +08:00
QAston cd0111c3ea *Allow Earth Shield to crit.
--HG--
branch : trunk
2009-07-06 21:37:13 +02:00
Destalker 8eb7f903ff *Spell_proc_event entry for Shield of the Templar
--HG--
branch : trunk
2009-07-06 19:20:17 +02:00
QAston 5e51b3d7cb *Fix client-server movement sync after knockback effect - by smellbee
*Fix the bug that sometimes creature don't evade, and chase for player to death - by smellbee
*Do not set creature home position to place of engaging in combat

--HG--
branch : trunk
2009-07-06 19:04:44 +02:00
QAston 855c0dc3b2 [8134] Fixed typo in ACTION_T_MORPH_TO_ENTRY_OR_MODEL check. Author: VladimirMangos
--HG--
branch : trunk
2009-07-06 17:41:45 +02:00
bigjohnson4 7d39f4ab22 *Fix client crash with barbershop chair
--HG--
branch : trunk
2009-07-06 17:03:08 +02:00
QAston b46ee65dc0 *PRevent crash with proc of melee based destination targetted spells.
--HG--
branch : trunk
2009-07-06 13:36:28 +02:00
Drahy 6ee9ed4478 * Fixed typo in world.sql
--HG--
branch : trunk
2009-07-06 02:22:22 +02:00
QAston c3b93baf49 *Fix Improved Moonkin Form and Blood Boil disease bonus.
--HG--
branch : trunk
2009-07-06 00:51:50 +02:00
QAston c86bdd2d40 *Fix a typo breaking compile on Linux.
--HG--
branch : trunk
2009-07-05 20:21:25 +02:00
QAston 402a6354e0 *Correctl update speed rate of creatures - original patch by smellbee.
--HG--
branch : trunk
2009-07-05 19:21:55 +02:00
thenecromancer ea7ac26e72 *Allow totems to cast spell2 from DB instantnly when put down
--HG--
branch : trunk
2009-07-05 17:29:28 +02:00
QAston 67f8ec608c *Allow dest target spells to proc spellcast.
*Allow source target spells to be triggered during spellproc if no unit target avalible.

--HG--
branch : trunk
2009-07-05 16:58:42 +02:00
Anubisss a7f55ece55 *Correct error message in command lookup taxinode.
--HG--
branch : trunk
2009-07-05 01:51:09 +02:00
Anubisss 1ca3728059 *Move command lookup faction's code to the correct file.
--HG--
branch : trunk
2009-07-05 01:41:27 +02:00
Anubisss bf697be6f3 *Change uint32 counter to bool found in lookup commands.
--HG--
branch : trunk
2009-07-05 01:19:49 +02:00
Anubisss d78c917eff *Print the account's email in command pinfo. Based on Charlie's patch.
--HG--
branch : trunk
2009-07-05 00:37:05 +02:00
Joro 07e441fe57 *Correct mana return amount for spell Judgements of the Wise.
--HG--
branch : trunk
2009-07-04 22:12:39 +02:00
QAston 6af144277d *Temporary fix for crash caused by object list update.
--HG--
branch : trunk
2009-07-04 21:07:06 +02:00
QAston 9d3c9af594 Add spell_proc_event entries for some spells.
--HG--
branch : trunk
2009-07-03 02:14:33 +02:00
Anubisss 9a6fa5cf3c *Add a delete query in a sql file.
--HG--
branch : trunk
2009-07-02 23:13:35 +02:00
QAston 3225eb9648 *Redefine procflags:
PROC_FLAG_SUCCESSFUL_POSITIVE_MAGIC_SPELL = 0x00004000
PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL      = 0x00008000
PROC_FLAG_SUCCESSFUL_NEGATIVE_MAGIC_SPELL = 0x00010000
PROC_FLAG_TAKEN_NEGATIVE_MAGIC_SPELL      = 0x00020000
*Add procEx flag:
PROC_EX_NOT_ACTIVE_SPELL    = 0x0008000 for spells which proc on spells not doing damage and not specified by familyflags.

--HG--
branch : trunk
2009-07-02 21:32:19 +02:00
QAston de721d1b86 *Some research about aura types.
--HG--
branch : trunk
2009-07-02 18:34:19 +02:00
thenecromancer 66e890b470 *Fix application of thread mod auras.
--HG--
branch : trunk
2009-07-02 15:24:24 +02:00
QAston 1f899caf75 *Remove debug log unintentionally pushed in latest rev.
--HG--
branch : trunk
2009-07-02 14:15:40 +02:00
QAston 7a4d99cc90 *Fix 'crazy procs' issue and shadowstep remove on stealth.
--HG--
branch : trunk
2009-07-02 14:13:30 +02:00
QAston ce7699af54 [8107] Fixed sql queries included in [8098]. Author: GriffonHeart.
--HG--
branch : trunk
2009-07-02 11:00:48 +02:00
Drahy a4d72565a7 * Redone all spell_bonus_table according to 3.1.3 data
* Add Item - Gnomish Lightning Generator bonus data

--HG--
branch : trunk
2009-07-02 01:58:46 +02:00
megamage 9385a01a38 [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. Author: VladimirMangos
--HG--
branch : trunk
2009-07-01 18:37:45 -05:00
megamage 4a8a89e1db [8103] More wide use IsInWorld checks and delayed at teleport operations. Author: Ambal
* IsInWorld used to prevent return unexpected not in world objects.
    * Delayed operations need to process its in world state.

--HG--
branch : trunk
2009-07-01 18:36:03 -05:00
megamage 111dac5f94 [8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete Author: VladimirMangos
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
    * Create Gameobject version to make GO with owner more safe for remove

--HG--
branch : trunk
2009-07-01 18:23:36 -05:00
megamage 9a2588a454 *Fix a crash caused by archaedas script.
--HG--
branch : trunk
2009-07-01 18:14:46 -05:00
megamage de4faabbcb [8101] Prevent use talents as quest rewards or spell_learn_spell learned spells. Author: VladimirMangos
--HG--
branch : trunk
2009-07-01 18:07:57 -05:00
megamage e1d93bd00f *Backup your DB!
[8098] Support uint32 spell ids in code. Author: VladimirMangos

    * Propertly work with uint32 spell ids in player action bar
    * Fix in same time bug with not save equipment set button with id==0
    * Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
    * Propertly load uint32 spell ids from character_spell
    * Fixed types for some pet/creature related structure for spell id storing.

--HG--
branch : trunk
2009-07-01 18:07:20 -05:00
megamage 8122a15f46 [8097] Updated comment based on research. Author: ApoC
--HG--
branch : trunk
2009-07-01 17:52:58 -05:00
megamage e379be0349 [8094] Overwrite max durability for item at item loading from prototype. Author: VladimirMangos
--HG--
branch : trunk
2009-07-01 17:50:59 -05:00
megamage bc2b02708f [8093] Fixed effect of spell 25771. Author: ApoC
--HG--
branch : trunk
2009-07-01 17:50:26 -05:00
megamage 8b0e141226 *Fix build.
--HG--
branch : trunk
2009-07-01 17:47:31 -05:00
megamage bea88590c7 [8092] Check bag size at item protos loading and item slots at invetory loading. Author: VladimirMangos
--HG--
branch : trunk
2009-07-01 17:38:38 -05:00
megamage 9c9c9f5078 [8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects. Author: VladimirMangos
Last fix let for example correct charge for flight creatures...

--HG--
branch : trunk
2009-07-01 17:36:34 -05:00
megamage 255d21b52b [8088] Fixed min_range checking for spell casts. Author: ApoC
Skip in check values 0.0f from DBC, this spells
    do not have min range limitation.

    This should fix some inappropriate target too close messages.

--HG--
branch : trunk
2009-07-01 17:34:09 -05:00
megamage 8521b39af6 [8087] Cleanup code. Author: NoFantasy
--HG--
branch : trunk
2009-07-01 17:32:20 -05:00
megamage 1102623072 Allow NPCs to apply taunt. Author: ApoC
--HG--
branch : trunk
2009-07-01 17:31:52 -05:00
megamage b71d479e2a [8086] Restore work spell 11196. Author: Maxxie
--HG--
branch : trunk
2009-07-01 17:31:20 -05:00
megamage 95ef8634c4 [8085] Apply talent rate to all talents points. Author: duckman
--HG--
branch : trunk
2009-07-01 17:30:37 -05:00
megamage 177297973a *Fix a crash caused by charm spells.
--HG--
branch : trunk
2009-07-01 17:30:01 -05:00
QAston 69f36d7af4 *Send threat messages to client - thanks to megamage for research.
--HG--
branch : trunk
2009-07-02 00:03:57 +02:00
QAston fd86e6a369 *Fix possible exploits with flying paths.
--HG--
branch : trunk
2009-07-01 16:18:37 +02:00
Drahy 6c7e41cf87 * Fixed typu in world_script_full thx to liszt
--HG--
branch : trunk
2009-06-30 20:41:25 +02:00
QAston e644f04b4f *Make spell 1122 summon only one infernal.
--HG--
branch : trunk
2009-06-30 15:55:02 +02:00
QAston 55a4458009 *Fix a typo causing problems with triggered spell procing.
*More correct damage calculation for conflagrate - by tlexii

--HG--
branch : trunk
2009-06-30 15:45:47 +02:00
QAston 6faa99e009 *Correct typo in spellid check for Corpse Explosion.
--HG--
branch : trunk
2009-06-30 13:58:39 +02:00
QAston 24efcabdd9 Remove cooldown of spells triggered on stance change - this fixes shadowform dot crit.
--HG--
branch : trunk
2009-06-30 13:51:53 +02:00
QAston 788a699ae8 *Prevent some possible crashes with charm auras.
*Allow non-dmg spells to proc dmg requiring effects if spellfamily specified in spell_proc_event table.

--HG--
branch : trunk
2009-06-30 12:59:21 +02:00
QAston 97027e0ff3 *Fix some problems with healing procs targetting.
--HG--
branch : trunk
2009-06-30 12:05:06 +02:00
thenecromancer 44815a83c4 *Fix Unrelenting Assault
--HG--
branch : trunk
2009-06-30 10:26:27 +02:00
Drahy 966a5374cc * Merge
--HG--
branch : trunk
2009-06-29 22:26:41 +02:00
Drahy 7b1e0b8e0d * Second part of trinity sql coding style - now complete
--HG--
branch : trunk
2009-06-29 22:26:01 +02:00
Drahy 57ab0f01f3 * Used finally after long time trinity sql coding style
* Missing data are now in 4321_world - just import this
* Updated all FULL sqls to 4321

--HG--
branch : trunk
2009-06-29 22:25:16 +02:00
QAston 527f36108b *PPM for instant and wound poison.
--HG--
branch : trunk
2009-06-29 22:17:26 +02:00
thenecromancer ac29891279 Apply movement impairing debuffs to backwards movement
--HG--
branch : trunk
2009-06-29 21:16:28 +02:00
Muhaha ccc197b56b * Fix Spell [Focused Assault - Brutal Assault] Have to be Debuff. Original Author: Nevan
--HG--
branch : trunk
2009-06-29 21:02:45 +02:00
QAston 8609527066 *Fix the issue of water elemental GCD preventing freeze to be casted - by Larva
*Correct a typo in prev commit.

--HG--
branch : trunk
2009-06-29 20:50:38 +02:00
QAston 4067989096 *Implement aura rank selection for aoe auras casted by player
*More correct level requirement checks for unit target
*Fix some visual issues with spells which are interrupted after SendSpellStart but before SendSpellGo
*Prevent adding spellmods permamently to already finished spells.

--HG--
branch : trunk
2009-06-29 20:32:56 +02:00
Machiavelli cf414bb7ca * Minor typo cleanup
--HG--
branch : trunk
2009-06-29 15:03:07 +02:00
Kudlaty 0df76804c4 Merge [SD2]
r1086 Add long time needed grid search functions for closest creature and gameobject - skip, we have better function in core
r1087 Remove no longer needed grid search code and use functions instead.

--HG--
branch : trunk
2009-06-29 06:31:05 +02:00
raczman 229dbd814f Added check for ace/Stack_Trace.h header file,
cleanup in config.h.cmake

--HG--
branch : trunk
2009-06-29 00:47:19 +02:00
QAston 81ac49f00a *Fix rend and tear talent.
*Allow hots to proc only if spellfamilyflags are specified in spell_proc_event.

--HG--
branch : trunk
2009-06-28 19:39:15 +02:00
megamage 70ac70208c *Fix a crash caused by spell 34665.
--HG--
branch : trunk
2009-06-28 12:12:36 -05:00
QAston 3e07966986 *Fix the bug that pet is still attacking his enemy even if enemy has just entered sanctuary.
--HG--
branch : trunk
2009-06-28 17:18:46 +02:00
QAston d529ab76c5 *Do not allow periodic aoe auras to stack.
--HG--
branch : trunk
2009-06-28 15:13:56 +02:00
QAston 26dfd9df17 *Spell_bonus_data for Judgement of Righteousness.
--HG--
branch : trunk
2009-06-28 14:32:25 +02:00
QAston 3909fb7f83 *Correct damage of Faerie Fire (feral)
*Trigger passive aura for shadowform.

--HG--
branch : trunk
2009-06-28 14:21:35 +02:00
QAston 95a755170e *Author of 4305 is thenecromancer
*Fix the bug that Intimidating shout aoe isn't removed by damage.

--HG--
branch : trunk
2009-06-28 13:11:49 +02:00
QAston fa4838de21 *Fix for Windfury Weapon: prevent triggering other weapon enchant by checking item guids.
--HG--
branch : trunk
2009-06-28 10:34:22 +02:00
QAston 3e895d2b66 *Allow 2 mind flay auras to stack.
*Rollback my last change about Conflagrate dmg calculation.

--HG--
branch : trunk
2009-06-28 10:14:19 +02:00
megamage d87133961a *Add some error log for debug.
--HG--
branch : trunk
2009-06-27 18:56:47 -05:00
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