Commit Graph
525 Commits
Author SHA1 Message Date
megamage 1f7ff81049 [svn] Make mobs scatter around in melee attack. Patch provided by smellbee.
Fix Join Instance Can Enter while Encounter is in Progress. Patch provided by mknjc.

--HG--
branch : trunk
2008-10-27 08:00:33 -05:00
megamage 1f2c52137d [svn] Fix a bug that hunter cannot summon traps.
Fix a bug that debuff AOE affect caster.
Change target 8 from entry AOE to enemy AOE until find out its real effect.

--HG--
branch : trunk
2008-10-26 18:58:41 -05:00
KingPin a0f843a3eb [svn] * Merge CLI Commands with regular commands and give them level4 access. sec_console. Source mangos - thanks to ogeraisi for the amalgamated patch.
* Redid/Fixed/Added some lang strings.
* As usual remember this is a trunk rev so stability only guaranteed on northern countries of Mars and western parts of Pluto. No warranties outside the solar system, sorry :( . Check with your local government or dictator on regulations regarding export.

--HG--
branch : trunk
2008-10-26 13:32:42 -05:00
w12x 6f2e0ee48a [svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston.
* Fixed compile warnings in gcc. Patch provided by WarHead.

--HG--
branch : trunk
2008-10-26 11:50:07 -05:00
megamage 55c25d894e [svn] Add SpellExtraInfoMap. Currently support:
Limited-number-of-players spell; shared damage spell; target-in-line cone spell (e.g. dark glare).
Change angle of cone spells from 120 degree to 60 degree.

--HG--
branch : trunk
2008-10-25 15:46:52 -05:00
megamage 43436c8f30 [svn] Continue the work of rewriting spell target selection functions (warning: this may cause some spells broken).
Add some spell_script_target.
Delete some workaround in scripts (since core provides spell support now).

--HG--
branch : trunk
2008-10-25 10:37:28 -05:00
megamage e22427d4b0 [svn] Fix the bug that summoned creatures may respawn.
--HG--
branch : trunk
2008-10-25 01:39:51 -05:00
megamage 0a3057972c [svn] Fix a crash caused by gruul script.
Change in EffectSummonWild and DoZoneInCombat.

--HG--
branch : trunk
2008-10-24 17:37:40 -05:00
megamage 277334fc41 [svn] Fix cloak of shadow, can remove fairy fire now.
Add yells to High King Maulgar. Patch provided by riddick.
Script for Prince Malchezaar Doors. Patch provided by BroodWyrm.
Bug fix for Selin Fireheart. Patch provided by BroodWyrm.
Arcane Charges only while on flightpath. Patch provided by SLG.

--HG--
branch : trunk
2008-10-23 22:04:14 -05:00
w12x 0f32ffb90e [svn] Prevent Bestial Wrath from being applied 5 times when cast by a hunter with The Beast Within talent. Hopefully this will also fix the crashes caused by this spell.
Change 'tbc' to 'expansion' in realmd.sql.

--HG--
branch : trunk
2008-10-23 09:40:37 -05:00
w12x b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
megamage 87681af453 [svn] Fix a bug that elixir buff cannot stack.
Fix quest 9685. Patch provided by ogeraisi.

--HG--
branch : trunk
2008-10-22 20:59:36 -05:00
megamage 9584faf0c9 [svn] Add SPELL_ATTR_BREAKABLE_BY_DAMAGE. Remove part of the hacked breakable aura check. Patch provided by thenecromancer.
--HG--
branch : trunk
2008-10-22 14:58:50 -05:00
w12x 4b384751be [svn] Fixed crashes in LoadQuests().
Removed TrinityCore Only project files.

--HG--
branch : trunk
2008-10-22 13:09:54 -05:00
megamage 2a742e78b9 [svn] Fix a bug that shaman's shield can stack.
Fix: MovementInform without behavior change for waypoint movement. Patch provided by DragonHunter.
Update gruul lair script. Patch provided by Blaymoira.

--HG--
branch : trunk
2008-10-22 09:41:31 -05:00
w12x 1b0baa51b5 [svn] Add missing SQL changes from prev. commit, also fix mistakenly commented out line. Patch provided by Visagalis.
--HG--
branch : trunk
2008-10-22 08:43:09 -05:00
KingPin 14598dd84f [svn] * Implement honor rewards from quests - Source Mangos
--HG--
branch : trunk
2008-10-22 07:02:05 -05:00
w12x bde02d6829 [svn] Added sanity checks in loading player cache to prevent crashing upon corrupted player data.
--HG--
branch : trunk
2008-10-22 04:05:15 -05:00
KingPin 389a9e3cea [svn] * Use ObjectMgr/AccountMgr functions rather than DB queries. Source mangos
--HG--
branch : trunk
2008-10-21 19:07:16 -05:00
megamage 96d1c9f4d6 [svn] Fix cloak of shadows. Dispel type should be based on SPELL_DAMAGE_CLASS_MAGIC.
Fix: SPELL_DAMAGE_CLASS_NONE type spells should never miss.

--HG--
branch : trunk
2008-10-21 17:10:05 -05:00
KingPin b8e87bfc51 [svn] * Prevent Cheating at logout/login by players. Thank you Visagalis
* Set scripts to eol style native

--HG--
branch : trunk
2008-10-21 13:19:26 -05:00
KingPin ed94fdb8bc [svn] * Added some player info cache to the core. Thanx to Rognar for patch, visaglis for testing and bugging me to add it.
--HG--
branch : trunk
2008-10-21 12:43:24 -05:00
megamage d0325e2536 [svn] Try to remove the big hack in SpellMgr::IsNoStackSpellDueToSpell. Not sure if this works.
--HG--
branch : trunk
2008-10-21 11:22:12 -05:00
w12x 5e1c19e4d9 [svn] Implement a new table (spell_disabled) to allow disabling some spells for players and / or creatures. To disable a spell for a players and pets, set 2^0 in the disable_mask, to disable for creatures, set 2^1. The comment field is optional. Original patch provided by Craker.
--HG--
branch : trunk
2008-10-21 03:58:38 -05:00
KingPin 9664e39fa4 [svn] * Compile fixes from previous revs.
--HG--
branch : trunk
2008-10-20 14:11:58 -05:00
w12x 4f06be912b [svn] Implement CREATURE_FLAG_EXTRA_TRIGGER. In GM mode, creatures flagged with this will be displayed with displayid_a, in non-gm mode with displayid_h.
--HG--
branch : trunk
2008-10-20 13:41:05 -05:00
w12x 192dada7bd [svn] Fixed a crash in OutdoorPvP*::BuffTeam().
--HG--
branch : trunk
2008-10-20 13:34:00 -05:00
KingPin cdb7fd43ee [svn] * Minor code fixes
* Move account related functions from ObjectMgr to AccountMgr and drop duplicate functions - source mangos
* recognize the dummy spells 38637, 38638 and 38639 as negative - source mangos
* added new command ".reload all_locales". Now all locales_* tables can be reloaded - source mangos

--HG--
branch : trunk
2008-10-20 12:59:45 -05:00
KingPin 35f378aef9 [svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O

--HG--
branch : trunk
2008-10-20 12:23:56 -05:00
megamage 0f816f22fb [svn] Fix a typo in rev 80. Patch provided by ogeraisi.
--HG--
branch : trunk
2008-10-19 23:45:20 -05:00
KingPin fcde03a036 [svn] * Fixed compile from r78
* Fixed: not apply healling bonus to spell 40972 heal amount. - Source Mangos
* Item 30627 hidden cooldown - Source Mangos
* Fixed Trinityrealm autopatching system - Source Arrai
* Add support for autoconf 2.6.2 and newer - Source Derex
Some decent sized changes, please test before deploying - KP

--HG--
branch : trunk
2008-10-19 21:08:34 -05:00
KingPin 0cb3a79518 [svn] * DB data for item 28356 and related, and also for 28602, 30317, 28578. source: Mangos
* List fake data for last spells expected to listed in `spell_affect`. source: Mangos
* Fixed: wrong arg name for va_start call in
 WorldSession::SendNotification. source: Mangos
* Implemented dummy aura of spell 43873. source: Mangos

--HG--
branch : trunk
2008-10-19 17:27:18 -05:00
KingPin 0d8d686d81 [svn] * Raise modify scale limit from 3 to 10 for players
* Implement immunity totems from periodic damage spell effects. Source: Mangos
* Implemented second choice aggro targets for creatures. Source: Mangos

--HG--
branch : trunk
2008-10-19 16:52:50 -05:00
megamage 76adf24586 [svn] Add a hack check for spell 42292.
--HG--
branch : trunk
2008-10-19 15:11:20 -05:00
megamage ed0803ecf2 [svn] Fix spell 45072: should only affect demons.
--HG--
branch : trunk
2008-10-19 14:47:43 -05:00
megamage 672d304a44 [svn] Add Unit::IsWithinCombatDist function to check melee range and spell range (now range is related to the attacker's bounding_radius and target's combat_reach, not sure if both should be combat_reach).
--HG--
branch : trunk
2008-10-19 14:42:12 -05:00
megamage 636d810772 [svn] Change aura stack check.
Add some boss yells. Patched provided by BroodWyrm and Blaymoira.

--HG--
branch : trunk
2008-10-19 13:56:11 -05:00
megamage a3dea992f5 [svn] Recalculate attack time in Unit::ApplyAttackTimePercentMod function.
Add Felmyst script.
Add Eredar twins script. Script provided by BroodWyrm.
Update Brutallus script. Patch provided by riddick. (Burn temporarily disabled)
Update void reaver script. Patch provided by Bagsac.
Fix a bug that Najentus causes server crash.

--HG--
branch : trunk
2008-10-19 12:01:49 -05:00
KingPin d936f1bbd8 [svn] * Added freeze/unfreeze/listfreeze commands patch by toilet1 (I swear I didnt make up the name)
* Fixed a couple of spelling errors in TC conf file

--HG--
branch : trunk
2008-10-19 11:42:21 -05:00
w12x bc05228d9f [svn] Finally really fixed compile. Also, removed Unit::GetObjectInWorld(), use Map::GetCreatureInMap() and Map::GetGameObjectInMap() instead. This is to prevent creature-creature interaction on different maps, which would make the later multithreading of maps impossible.
--HG--
branch : trunk
2008-10-19 11:07:10 -05:00
Seline e78b34c63f [svn] * Prevent creatures from moving if they are dead (if they were fleeing for example).
* Critters now flee from attacker when taking damage.

--HG--
branch : trunk
2008-10-19 10:20:53 -05:00
w12x 90a5b215f9 [svn] Fixed compile errors. Hopefully.
--HG--
branch : trunk
2008-10-19 07:24:36 -05:00
megamage e4b701caba [svn] Add Unit::GetObjectInWorld function to get object by guid without providing reference.
Small change in SummonGameObject.
Fix a bug that player can not click summoned najentus spine (must let target summon gameobject).

--HG--
branch : trunk
2008-10-18 19:59:34 -05:00
megamage da17b0fd41 [svn] Update some Black Temple boss scripts.
Implement some Black Temple boss spells.
Update maiden of virtue and void reaver scripts. Patch provided by Blaymoira.

--HG--
branch : trunk
2008-10-18 16:25:58 -05:00
megamage fe453877d1 [svn] Modify SummonGameObject function to set owner GUID.
Implement spell 23019. Patch provided by Edder.

--HG--
branch : trunk
2008-10-18 12:02:47 -05:00
megamage a3e03f62d0 [svn] Remove unused script event functions HealBy and DamageDeal. Add new function SpellHitTarget.
Fix a bug in r57_trinity.sql.

--HG--
branch : trunk
2008-10-18 11:50:02 -05:00
megamage bac1fb628e [svn] Merge branch r50 with trunk.
--HG--
branch : trunk
2008-10-17 21:44:37 -05:00
w12x 16dcd37279 [svn] Added a function for WorldObjects to summon GameObjects. Original patch provided by streetrat. Please refer to the patch thread for usage instructions.
--HG--
branch : trunk
2008-10-17 18:13:04 -05:00
w12x 0bdf12f3dd [svn] Removed the no longer used TcpNoDelay config option and the matching CONFIG_TCP_NO_DELAY config variable. It can be set using the Network.TcpNodelay option now. Patch provided by raczman.
--HG--
branch : trunk
2008-10-17 16:51:27 -05:00
w12x ab9eb277b4 [svn] Enabled game events to change the honor and reputation gaining speed in battlegrounds. This is done by a new table in the world database, game_event_battleground_holiday. Structure is the following:
event - id of the game event
bgflag - bitmask, used to set which battleground(s) give extra honor/reputation when the event is active. To add extra honor on a battleground, use 2 ^ bgTypeId as mask. Multiple battlegrounds can be set by logical 'or' ('|') operation.
You will need database data for the table, please check trinitydatabase.org.

--HG--
branch : trunk
2008-10-17 16:36:07 -05:00