Commit Graph
100 Commits
Author SHA1 Message Date
Machiavelli 3c40065564 * Crash safety check in Bag::StoreItem by Visagalis/QAston
--HG--
branch : trunk
2009-06-24 20:09:19 +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
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
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
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
Muhaha b3711b9581 * Akama is summoned after the illidari council has been defeated. (remove your akama spawn from creature db)
--HG--
branch : trunk
2009-06-20 03:42:02 +02:00
megamage 06123fa3af *Add config option Arena.QueueAnnouncer.PlayerOnly
--HG--
branch : trunk
2009-06-19 19:30:32 -05:00
megamage 2940aeb681 [8048] Fixed typo in HandleBuyItemInSlotOpcode. Author: nos4r2zod
[8047] Little cleanup in C++ manner. Author: ApoC

--HG--
branch : trunk
2009-06-19 19:01:25 -05:00
megamage 8adfaceadf *Some cleanup of eventAI.
[8046] Use float for store AttackDistance as expected by using calls. Author: NoFantasy
[8045] Cleanup expression. Author: VladimirMangos

--HG--
branch : trunk
2009-06-19 17:34:24 -05:00
megamage 39d3b492fe *Update creature damage calculation.
--HG--
branch : trunk
2009-06-19 17:13:36 -05:00
megamage 8f0cb4a3a2 *Fix a crash caused by vehicles.
--HG--
branch : trunk
2009-06-19 17:04:45 -05:00
megamage 07c59aeff5 *Fix a crash caused by item
--HG--
branch : trunk
2009-06-19 17:01:45 -05:00
Machiavelli 3155500096 Merge
--HG--
branch : trunk
2009-06-19 20:08:09 +02:00
Machiavelli 5cc4b07a57 * Omit closed tickets when checking for an active GM ticket.
--HG--
branch : trunk
2009-06-19 20:07:29 +02:00
megamage 48ea016135 *Fix bg queue announce.
--HG--
branch : trunk
2009-06-19 12:41:16 -05:00
megamage 64bb4bce04 *Fix a crash in 4181. sorry
--HG--
branch : trunk
2009-06-19 12:11:16 -05:00
megamage c17e9d62ab *Fix incorrect level in the bg queue announce
--HG--
branch : trunk
2009-06-19 11:29:34 -05:00
megamage 15a753351c *Fix or add debug message for crash caused by controlled creatures
--HG--
branch : trunk
2009-06-19 11:19:23 -05:00
megamage b86ef4c3a8 *Lower creature damage.
--HG--
branch : trunk
2009-06-19 11:17:58 -05:00
megamage dbdc2db5f7 *Fix a crash caused by ~item.
--HG--
branch : trunk
2009-06-19 10:15:08 -05:00
Kudlaty 88137c07b9 Merge [SD2]
r1080 Update code with new and faster functions for distance checks.

--HG--
branch : trunk
2009-06-19 16:42:48 +02:00
Anubisss 9926aed1a6 *Move a SQL for the correct directory. Thanks Aokromes.
--HG--
branch : trunk
2009-06-19 11:06:30 +02:00
Anubisss 609986afed *Better reset time format in command .lookup map
--HG--
branch : trunk
2009-06-19 09:00:29 +02:00
Kudlaty 827d296372 Merge [SD2]
r1066 Added a few more encounters to SetData ZA instance - Skip
r1067 Added end boss' in ZA adds with random selection and their abilities. - Skip
r1068 Added support for quest 10994 (basic parts)
r1069 Added instance script for BFD
r1070 Remove enum type not related to boss/encounter.
r1071 Fix misunderstanding committed in 1067. Spawn 1 of 2 possible adds, each from 4 different groups instead of 4 random of 8 possible. - Skip
r1072 Save instance data for TYPE_EVENT_RUN in ZA when expected and not allow it to reset on Load(). Remove useless code for goFlags. - Skip
r1073 Added struct and enum for misc npc/go entries used in naxx instance - Skip
r1074 Restore Windows build after changes in Mangos rev 7810 - Skip
r1075 Added 6 new taxi paths (wyrmrest temple) - Skip, already implemented
r1076 Correcting berserk spell for najentus, also make sure spell are actually casted.
r1077 Update sources and use enum GossipOptionIcon instead of magic number.
r1078 Provide new .diff file to use with Mangos 7812+ - Skip
r1079 Update one old boss script, clean code.

--HG--
branch : trunk
2009-06-19 05:17:25 +02:00
megamage e5d56a23d4 *Fix the bug that player turn is not updated in server side.
--HG--
branch : trunk
2009-06-18 20:53:32 -05:00
megamage 8397da15e5 *Change creature damage calculation.
--HG--
branch : trunk
2009-06-18 20:43:48 -05:00
megamage 9008c0a838 *Merge.
--HG--
branch : trunk
2009-06-18 20:28:16 -05:00
megamage e0553121f2 *Merge
--HG--
branch : trunk
2009-06-18 20:26:49 -05:00
megamage a49c2982ba *Merge.
*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h
*mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting.

--HG--
branch : trunk
2009-06-18 19:27:17 -05:00
Anubisss ee6126dd50 *Implement command .lookup map
--HG--
branch : trunk
2009-06-19 01:48:34 +02:00
Machiavelli 46ad2e833f * Fix build in linux
--HG--
branch : trunk
2009-06-19 00:52:47 +02:00
Machiavelli 692fb2ba7e * Fix build in linux
--HG--
branch : trunk
2009-06-19 00:45:03 +02:00
Machiavelli 146f401744 Merge
--HG--
branch : trunk
2009-06-19 00:25:35 +02:00
Machiavelli b491558edb * Update GM ticket system data, thanks to MaNGOS.
--HG--
branch : trunk
2009-06-19 00:25:12 +02:00
Kudlaty 2ac0089d16 Merge [SD2]
r1056 Added some texts for future use + added one additional waypoint for npc 24358
r1057 Add spell and correct gossip text for npc 24358. Move open door code to instance script
r1058 Simplify scripts using manual call ActivateTaxiPathTo().
      Added ScriptName for npc 22112, also cleanup code.
r1059 Remove redundant call to activateTaxiPathTo(), taxi already implemented for related spell. Some code cleanup
r1060 Update scripts with SD2 code style for a few commonly used pointers passed in functions (Player* pPlayer, Creature* pCreature, etc)
      Remove some useless whitespace - Skip
r1061 Trim trailing whitespace in source files. - Skip
r1062 Added script to control misc alarm/rooftop bots, summoning guards when hostile players comes in range and trigger AttackStart based on aura.
r1063 Fixed missing call to AI constructor for npc 18585. Code cleanup.
r1064 Correcting a few wrong gossip icons. Code cleanup.
r1065 Fixed two more lost calls to ai constructors.
      Add one missing scriptname to *full.sql added in rev 982

--HG--
branch : trunk
2009-06-19 00:22:19 +02:00
megamage fd73be2f1e [8044] Fixed: group members teleported on BG ending to locations they were before BG start. Author: KAPATEJIb
--HG--
branch : trunk
2009-06-18 17:08:30 -05:00
megamage c816698f86 [8043] Fixed typo in LoadSkillDiscoveryTable() Author: rastikzzz
--HG--
branch : trunk
2009-06-18 17:08:05 -05:00
megamage 9181ecef20 [8042] Speedup search creature/pet/vehicle by guid. Author: Ambal
--HG--
branch : trunk
2009-06-18 17:07:40 -05:00
megamage 4f0ae79036 [8041] Avoid send talent info many times at loading. Small cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-06-18 17:06:59 -05:00
megamage c4a8da0e32 [8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI. Author: NoFantasy
--HG--
branch : trunk
2009-06-18 17:05:01 -05:00
megamage 2d7a579dab [8039] Prevent including talents to trainer data, report at server loading. Author: VladimirMangos
--HG--
branch : trunk
2009-06-18 17:03:16 -05:00
megamage e765469b13 *Fix arena team rating calculation.
--HG--
branch : trunk
2009-06-18 16:51:32 -05:00
Machiavelli 294c8a734e *Fix build on Centos, by subhuman
--HG--
branch : trunk
2009-06-18 22:43:54 +02:00
Machiavelli 660f8219c8 * Fix Player::SaveToDB()
--HG--
branch : trunk
2009-06-18 22:05:56 +02:00
BroodWyrm a2a56b21f1 *Merge.
--HG--
branch : trunk
2009-06-18 21:52:29 +02:00
BroodWyrm bcc2148e2c *Fix "Endless Hunger" Script ... npc should not move into wall
--HG--
branch : trunk
2009-06-18 21:51:12 +02:00
Iskander 731490fd14 * Fix group reseting of instances
--HG--
branch : trunk
2009-06-18 21:35:34 +02:00
Machiavelli 9fd9031918 * More updating of iterator data types in loops. (Player.cpp fully done now)
--HG--
branch : trunk
2009-06-18 21:34:21 +02:00
Machiavelli 55301804d2 *Merge
--HG--
branch : trunk
2009-06-18 21:18:05 +02:00
Machiavelli 3c3a4a303d * More updating of iterator data types in loops, and fix a crash (sorry)
--HG--
branch : trunk
2009-06-18 21:16:25 +02:00
hunteee 491bc7569b *Add new line to end of sqls.
--HG--
branch : trunk
2009-06-18 20:10:59 +02:00
hunteee 8c141bc9ac *Fix CRLF.
--HG--
branch : trunk
2009-06-18 19:33:32 +02:00
hunteee c6c1284eb0 *Second part of previous commit.
--HG--
branch : trunk
2009-06-18 19:31:55 +02:00
hunteee c790caec69 *Add new line to end of sql files.
--HG--
branch : trunk
2009-06-18 19:24:22 +02:00
Kudlaty 38261d1967 Add despawning adds for pathelon script
--HG--
branch : trunk
2009-06-18 19:16:15 +02:00
Machiavelli eaad0ed0c8 * Fix typo
--HG--
branch : trunk
2009-06-18 19:04:17 +02:00
Machiavelli 22092752eb Merge
--HG--
branch : trunk
2009-06-18 18:53:40 +02:00
Machiavelli d0ab817a04 * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:53:09 +02:00
megamage 9e0e4e5e4d *Add debug log for modify personal rating.
--HG--
branch : trunk
2009-06-18 11:33:32 -05:00
Machiavelli 6b13edd6d1 *Merge
--HG--
branch : trunk
2009-06-18 18:30:11 +02:00
Machiavelli a4dafbf8ec * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:29:28 +02:00
megamage c52e7e801c *A temp fix of the bug that player sometimes cannot save inventory.
--HG--
branch : trunk
2009-06-18 11:24:33 -05:00
Kudlaty 1f871af996 *merge
--HG--
branch : trunk
2009-06-18 17:47:12 +02:00
Kudlaty c41e432834 Merge [SD2]
r1051 Fixed loot state for delrissa. Move open door to instance script and remove redundant lackey killed code. Correcting set enounter state == DONE. Some code cleanup/rename to clarify intent of use.
r1052 Respawn delrissa in case dead but party wipe after this point.
      Correcting a few Aggro() -calls/events and also use similar code for lackeys as in boss to put all in combat.
      Avoid initialize lackeys in case boss already dead.
r1053 Cleanup and apply sd2 code style in some parts of delrissa. Also remove most old commented code.
r1054 Simplify health check code for vexallus and move open door code to instance script.
r1055 Reactivate commented code about taxi path, related to quest 10870

--HG--
branch : trunk
2009-06-18 17:46:32 +02:00
megamage 4f10fa008d *Call item::removefromworld after unit::removefromworld to prevent crash.
--HG--
branch : trunk
2009-06-18 10:45:38 -05:00
Machiavelli 3a309abfab * In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
* Other minor cleanups, Null pointer checks etc.

--HG--
branch : trunk
2009-06-18 17:21:25 +02:00
Machiavelli 85e59ecd57 * Remove some unneeded typecasting to same class.
--HG--
branch : trunk
2009-06-18 16:28:25 +02:00
Kudlaty 5910425dd5 Merge [SD2]
r1046 Fixed misc bugs in various scripts:
      Initialize variables, correct indexes too big/small, correct local declaration of pointers already declared in outer scopes.
r1047 Fixed a few more, continued from previous commit.
r1048 Initialize variables for 4 more scripts.
r1049 Fixing more uninitialized variables in misc scripts.
r1050 Fixed memory leaks in delrissa script and few other possible crashes.

--HG--
branch : trunk
2009-06-18 16:12:09 +02:00
Kudlaty f5eb15c3e7 Add cmakelist to install FULL sqls
--HG--
branch : trunk
2009-06-18 14:30:19 +02:00
QAston 30d0b2ed5f *Fix raise dead spell - original patch by Astellar, thanks for some help in conversion for Azrael
*Correctly apply spell cooldown for spells with cooldown starting after pet unsummon.

--HG--
branch : trunk
2009-06-18 14:17:11 +02:00
Kudlaty 56620e0962 *merge
--HG--
branch : trunk
2009-06-18 14:05:26 +02:00