Commit Graph
100 Commits
Author SHA1 Message Date
megamage aa5499972f *Fix build.
--HG--
branch : trunk
2009-06-04 09:51:59 -05:00
megamage 38fd158c40 *Fix the bug that some traps without charges and spell radius cannot be triggered.
*Provide spell support for quest 12698

--HG--
branch : trunk
2009-06-03 23:24:57 -05:00
megamage 65881812aa *Allow water elemental to cast freeze while casting water bolt.
--HG--
branch : trunk
2009-06-03 23:23:58 -05:00
megamage ed7e8569cc *Add config option for wintergrasp (battle time, interval)
--HG--
branch : trunk
2009-06-03 23:23:23 -05:00
megamage 37f4bf6a04 *Fix the bug that triggers are visible.
--HG--
branch : trunk
2009-06-03 21:47:38 -05:00
megamage e858ac91eb *Fix the display bug of vehicles in populated area.
--HG--
branch : trunk
2009-06-03 21:47:23 -05:00
megamage 748466788a [7949] Fixed crash at use .send message with offline player name. Author: VladimirMangos
--HG--
branch : trunk
2009-06-03 19:30:19 -05:00
megamage e3390806a9 [7948] Use SetFaction instead explcit field set, other cleanups. Author: NoFantasy
--HG--
branch : trunk
2009-06-03 19:29:55 -05:00
megamage fc4f7e6cf1 [7947] Use "NUMERIC" type instead of "BIGINT" in mysql_to_pgsql convertor. Author: AlexDereka
--HG--
branch : trunk
2009-06-03 19:25:27 -05:00
megamage 8419f9b059 [7945] Implement support quest data for DetailsEmoteDelay and OfferRewardEmoteDelay value for set time ordering details and reward emotes. Author: NoFantasy
--HG--
branch : trunk
2009-06-03 19:23:49 -05:00
Drahy ac9140668f * Used trinity sql coding style
--HG--
branch : trunk
2009-06-04 00:31:56 +02:00
megamage ed06b6d059 *Try to fix build in *nix.
--HG--
branch : trunk
2009-06-03 16:20:35 -05:00
Anubisss a38d4a47b6 *Correct spellid for school Arcane in spell Acclimation.
--HG--
branch : trunk
2009-06-03 23:15:06 +02:00
megamage c70e6a003e *Use setcharmedby and removecharmedby in enter/exit vehicle functions.
*Fix build.

--HG--
branch : trunk
2009-06-03 13:51:05 -05:00
megamage e861df8795 *Check auraname when auraeffect is constructed
--HG--
branch : trunk
2009-06-03 11:22:00 -05:00
megamage 5036cf91f4 *Fix a crash introduced in 3734. Thanks to onkelz28
--HG--
branch : trunk
2009-06-03 11:07:01 -05:00
Anubisss 1168492151 *Fix the bug that Vampiric Blood heals 15 instead of 15%.
--HG--
branch : trunk
2009-06-03 17:29:29 +02:00
megamage 0ba4878c48 fixed the bg ballance system By Farah
In this patch only in preparation state invites anyone.
If BG is already started do not allow to join too much players of one faction and allow to join one person if the sides are equal.

--HG--
branch : trunk
2009-06-03 00:43:04 -05:00
megamage 7fd22f063b *Consider model 11686 as trigger and do not allow they to choose random model. This fix the bug that some triggers are visible.
--HG--
branch : trunk
2009-06-03 00:36:44 -05:00
megamage 214741e9e5 *Fix quest 12687. Note that this is only a workaround.
--HG--
branch : trunk
2009-06-03 00:29:23 -05:00
megamage 297ce013a8 *Disable vehicle/creature driver movement when entering vehicle.
--HG--
branch : trunk
2009-06-03 00:24:07 -05:00
megamage 7e3bb5c2d4 *Restore creature's phasemask when respawn.
--HG--
branch : trunk
2009-06-03 00:22:43 -05:00
megamage 711ae28947 [7942] Fixed typo: proffesion->profession
[7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS.
Author: yad02

--HG--
branch : trunk
2009-06-02 17:50:12 -05:00
megamage 72cb88c19f * Revert partly "[7903] Load and save for pets only talents." Author: VladimirMangos
--HG--
branch : trunk
2009-06-02 17:47:54 -05:00
megamage 81af115194 [7940] Print only warnings on SSLeay check. Author: XTZGZoReX
--HG--
branch : trunk
2009-06-02 17:44:47 -05:00
megamage a7794b6a52 [7939] Fixed check in LoadLootTemplates_Spell. Author: XTZGZoReX
--HG--
branch : trunk
2009-06-02 17:42:59 -05:00
megamage 58d910d191 [7938] Use same type for account ids in different tables related to used in code uint32 type for it. Author: charlie2025
--HG--
branch : trunk
2009-06-02 17:42:28 -05:00
megamage aa7a91ce90 [7937] Check OpenSSL lib at server start up. Author: AlexDereka
--HG--
branch : trunk
2009-06-02 17:40:22 -05:00
megamage 47a1477213 *Revert part of Mangos [7911] because it may causes client crash. Thanks to onkelz28.
--HG--
branch : trunk
2009-06-02 17:35:00 -05:00
megamage 8eaa1bf875 *Fix build.
--HG--
branch : trunk
2009-06-02 17:16:12 -05:00
Kudlaty f03e5865b1 Fix small typo
--HG--
branch : trunk
2009-06-02 23:44:25 +02:00
Kudlaty 66c4a695ba Add script for quest 12687
--HG--
branch : trunk
2009-06-02 23:41:50 +02:00
megamage 395667a7f3 *Fix the bug that hunter pet does not get correct stat bonus.
--HG--
branch : trunk
2009-06-02 10:34:32 -05:00
megamage 564d2a94e5 *Add timer for wintergrasp. 30 minutes per battle. Can only take over fortress during wartime.
--HG--
branch : trunk
2009-06-02 00:04:32 -05:00
megamage 77889ffa8b *Save/load wintergrasp building health when grid loaded/unloaded.
--HG--
branch : trunk
2009-06-01 23:45:55 -05:00
megamage d0878ec414 *Fix the bug that shaman/druid/mage pets do not have scaled stats
--HG--
branch : trunk
2009-06-01 23:45:00 -05:00
megamage 670a901fe1 Warlock pet scaling off Lock stats. By arcx and nesocip
--HG--
branch : trunk
2009-06-01 21:59:55 -05:00
megamage 7344a5ef6f [7935] Move seldom used access to query data by field names to independent object. Author: VladimirMangos
This let not do preparation code for unused later functionlity.

--HG--
branch : trunk
2009-06-01 21:52:17 -05:00
megamage b05ebfa8e9 [7934] Implement ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA Author: Trazom
Also added ACHIEVEMENT_CRITERIA_DATA_TYPE_VALUE and support
    this criteira special cases base at `achievement_criteria_data`
    that required DB support.

--HG--
branch : trunk
2009-06-01 21:51:34 -05:00
megamage e1058deaed [7933] Call goober GO event script not only at open spell cast, also really call camera GO event scripts. Author: NoFantasy
--HG--
branch : trunk
2009-06-01 21:50:12 -05:00
megamage 4e31ec051d [7932] Store in DB only spell part of pet action bar, set other to default state (reaction saved). Author: VladimirMangos
--HG--
branch : trunk
2009-06-01 21:49:42 -05:00
megamage 2c350bcb80 *Merge.
--HG--
branch : trunk
2009-06-01 15:53:03 -05:00
megamage 7516652481 *Skip. Conflicts with TC2. I do not know how to merge it.
--HG--
branch : trunk
2009-06-01 15:39:49 -05:00
megamage 6e4a8e1ea9 *Merge.
--HG--
branch : trunk
2009-06-01 15:35:21 -05:00
megamage e8fb84a4a2 *Skip "Do not remove poison enchantment auras when entering arena battle". There are two different fixes in TC1 and TC2. And use TC2 for now.
--HG--
branch : trunk
2009-06-01 15:32:24 -05:00
megamage 2f1517d555 *Fix a crash caused by razorgore script.
--HG--
branch : trunk
2009-06-01 15:27:19 -05:00
megamage 30544055de *Merge.
--HG--
branch : trunk
2009-06-01 15:26:44 -05:00
megamage 00d9a7b351 *Merge. (4s rule while drinking in arena skipped because i do not know how to merge it)
--HG--
branch : trunk
2009-06-01 15:06:11 -05:00
megamage 999b49201a *Merge. (spell parts skipped)
--HG--
branch : trunk
2009-06-01 15:02:58 -05:00
megamage 9cadc5d147 *Skip
--HG--
branch : trunk
2009-06-01 15:00:23 -05:00
megamage be52748f70 [7931] Allow GAMEOBJECT_TYPE_CAMERA gameobjects with event field set call DB scripts. Author: NoFantasy
Drop also redundent check preveting use SCRIPT_COMMAND_CAST_SPELL script command by gameobject script triggred casting.

--HG--
branch : trunk
2009-06-01 14:56:54 -05:00
megamage 89d2c6afda [7930] Added diminishing for spell 1499 and ranks. Author: Lightguard
--HG--
branch : trunk
2009-06-01 14:55:51 -05:00
Anubisss 16e0e9931e *Fix the bug that Lay on Hands heals the target for an amount equal to the target's maximum health instead of the caster's maximum health.
--HG--
branch : trunk
2009-06-01 21:30:31 +02:00
krz 38c6880d93 Detailed log of arena fights and arena team creation.
--HG--
branch : trunk
2009-06-01 20:44:23 +02:00
megamage b5a098643f *Display correct building damage state/team on map in wintergrasp.
*Rebuild buidlings after fortress is taken over.

--HG--
branch : trunk
2009-06-01 12:48:12 -05:00
megamage 9ff8f1ab5e *Fix broken target 38 spells.
--HG--
branch : trunk
2009-06-01 12:42:50 -05:00
megamage 645bb23c45 *Fix broken pet action bar of guardians.
--HG--
branch : trunk
2009-06-01 12:17:16 -05:00
megamage 11456447da [7929] Some fixes and optimizations for work with packet guids. Author: VladimirMangos
* Allocate only minimal required buffer size for object packet guid cache, avoid it realocation.
    * At adding aboyher buffer content copy only until wpos (really writed to buffer data)
    * In appendPackGUID check buffer size before data write.

--HG--
branch : trunk
2009-06-01 12:15:43 -05:00
megamage 50015a1b4e *Backout 3672.
--HG--
branch : trunk
2009-06-01 11:07:51 -05:00
krz 7a06136a74 Do not allow to reflect AoE spells.
--HG--
branch : trunk
2009-06-01 15:10:45 +02:00
megamage 43d12d1303 *Fix a crash caused by possessed creatures. Thanks to Amit86
--HG--
branch : trunk
2009-05-31 23:15:06 -05:00
megamage d83658c821 *wintergrasp: allow players to click titan relic to change the attacker/defender teams. Now only some of npc and portal will be changed.
--HG--
branch : trunk
2009-05-31 22:45:32 -05:00
megamage 81a53f8d73 *Fix compile in *nix.
--HG--
branch : trunk
2009-05-31 21:39:29 -05:00
megamage d2bb53dccd *Set creature group leader following dist and angle to be zero to make it safer.
--HG--
branch : trunk
2009-05-31 21:16:32 -05:00
megamage 76e4dfe8dd *Store creatureData and goData for creatures and gos.
--HG--
branch : trunk
2009-05-31 21:04:04 -05:00
megamage 5034078d49 *Lay on hands should have heal amount = caster's max health.
*Let goober call zonescript when an event happens.
*Thanks Elron for the last rev (flight bug)

--HG--
branch : trunk
2009-05-31 20:45:34 -05:00
megamage 65e270ef7b *Fix a bug that player get stuck when changing map on flight.
--HG--
branch : trunk
2009-05-31 20:42:24 -05:00
megamage f979c23820 *Fix the bug that healing pvp target does not make players enter pvp.
--HG--
branch : trunk
2009-05-31 18:31:43 -05:00
megamage 1c5d306fbd *Merge.
--HG--
branch : trunk
2009-05-31 16:38:16 -05:00
megamage 0d95e70e7b [7928] Player must standup at stun (from 1.5 client starting) Author: DonTomika
--HG--
branch : trunk
2009-05-31 16:28:25 -05:00
megamage 439187b86b [7927] For achievement criteria type ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM check also items equip at loading. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:27:16 -05:00
megamage 1a360a6a97 [7926] Implement loot roll achievement criteria types used in statistics Author: DonTomika
* ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED
    * ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED:

--HG--
branch : trunk
2009-05-31 16:26:39 -05:00
megamage 341101c171 [7925] Correct minor output format error inside ByteBuffer class Author: Naicisum
--HG--
branch : trunk
2009-05-31 16:26:06 -05:00
megamage 5612f1221c [7924] Not teleport player to non-player caster at ressurection. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:25:27 -05:00
megamage 72cab37bcc [7923] Search all available locale skill names in .learn all_recipes Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:24:56 -05:00
megamage 067cbec40d [7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:24:19 -05:00
megamage 552e08b3f0 [7920] Ignore racial skill and skills without recipes in .learn all_recipes. Cleanup code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:19:01 -05:00
megamage f92e8315cf [7918] Improve portability in work with uint64 string format specifiers and in code literals. Author: VladimirMangos
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
      I64FMTD renamed to UI64FMTD for more clear name.
    * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
      Please always use UI64LIT(0x00001) instead less portable 0x00001LL

--HG--
branch : trunk
2009-05-31 16:15:12 -05:00
megamage a36d4fc7ae [7917] Spell effect with SPELL_AURA_MOD_SPELL_CRIT_CHANCE always possitive with possitive aura value. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:01:19 -05:00
megamage 452770cff0 [7915] Implement more stricted checks and limitations at loading creature addon data. Author: NoFantasy
--HG--
branch : trunk
2009-05-31 15:58:58 -05:00
megamage 4b3be64c79 [7914] Fixed variable name typos in creature event AI code. Author: NoFantasy
--HG--
branch : trunk
2009-05-31 15:58:16 -05:00
megamage 5ed5513ca8 Mangos [7911]. Author: tomrus88
Very big patch. May cause bugs.

--HG--
branch : trunk
2009-05-31 15:56:51 -05:00
Anubisss df4db669d5 *Merge SD2.
*r988: Remove obsolete code for first boss in BT. - Just use enums.
*r989: Added summons for misc ethereum gameobjects
*r990: Added gossip options to learn engineering "teleport trinket" schematics (misc npc's)
*r991: Correcting a few waypoints, added more texts and visuals to shadowfang prisoners - Skip: Its already merged.
*r992: Added GO summons related to quest 10990, 10991 and 10992

*Register 2 missing scripts.

--HG--
branch : trunk
2009-05-31 22:49:30 +02:00
raczman 1aa000a86e Remove wrong check in MovementHandler, flag 1<<31 is set only client-side.
--HG--
branch : trunk
2009-05-31 22:20:11 +02:00
Drahy 9e4c011ae5 * Added new sql file 3648_world_trinity_string_full - please import it to your world DB - this should fix many crash because of wrong or missing previous data
* Used trinity sql coding style

--HG--
branch : trunk
2009-05-31 22:19:17 +02:00
megamage 19e1230551 [7913] Fixed vmap_assambler sources. Updated binary. Author: VladimirMangos
* Fixed week ago added bugs into vmap code that break vmap_assambler sources work.
      Note: vmap_assambler binary not updated from nov 2008 until this commit and it has been correct working.
    * Add to vmap assambler process show output and add appropriate error messages output.
    * vmap_assambler binary updated.

--HG--
branch : trunk
2009-05-31 15:09:00 -05:00
megamage 507ae0a89d *Fix a typo that makes target stop automatically when it is hit by attacker.
--HG--
branch : trunk
2009-05-31 14:34:05 -05:00
megamage da871e2fc0 *Move addcre/go functions from opvp to objmgr.
*Do not save respawn time for internally added cre/go.

--HG--
branch : trunk
2009-05-31 14:26:57 -05:00
raczman 76d10d9477 Merge
--HG--
branch : trunk
2009-05-31 16:18:27 +02:00
raczman 700e062886 Check for proper movementflags in player move packet, and kick in case of wrong flags.
--HG--
branch : trunk
2009-05-31 16:16:21 +02:00
megamage 8d1f4f9ea0 *Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.

--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
krz ae5f9ac227 Missing part from thenecromancer's weapon proc patch.
Some changes in ProcDamageAndSpellFor to allow triggered spells to trigger other for victim.

--HG--
branch : trunk
2009-05-31 01:43:36 +02:00
megamage b5778357d9 *Fix a crash. Thanks to Amok
--HG--
branch : trunk
2009-05-30 17:17:05 -05:00
megamage 76d0498aae *Allow to spawn correct npc for defender/attacker in wintergrasp based on game event. Now only xxx Champion is spawned based on faction for test. Other npc and gameobjects requires DB support (now in db the defender is always horde and attacker always alliance, and the data of counterpart is missing)
*Fix defenders' portal (now only useable for horde)
*Display random model if the model id in creature table is one of those in creature_template table (in this case they should be 0 actually).

--HG--
branch : trunk
2009-05-30 15:05:54 -05:00
megamage 790181add0 *Add game event type GAMEEVENT_INTERNAL which can only be started by scripts.
--HG--
branch : trunk
2009-05-30 14:50:18 -05:00
megamage 2a6d93ef5c *Fix the bug that opvp creatures and gobjects are not displayed.
--HG--
branch : trunk
2009-05-30 14:48:58 -05:00
megamage 1a857d382a *Start game event system before init bg and opvp in case that bg and opvp needs to start some game events.
--HG--
branch : trunk
2009-05-30 14:48:13 -05:00
krz 78228818b7 Calculate mechanic resist chance for melee abilities.
--HG--
branch : trunk
2009-05-30 20:40:05 +02:00
tvaroh a3a7996fd1 Do not remove poison enchantment auras when entering arena battle.
--HG--
branch : trunk
2009-05-30 18:27:08 +02:00
BroodWyrm b3efef3cfe *Fix bug that unworthy initiate don't find the soulprison gameobject
--HG--
branch : trunk
2009-05-30 14:29:31 +02:00