Commit Graph
100 Commits
Author SHA1 Message Date
megamage 1f296b7d40 [7414] Fixed premature finish timer messages for battleground (va_start was broken). Author: Triply
Fixed typo with BattleGroundPlayerMap.
    Optimized implementation for removing offline players from battleground.
    Fixed typo in BattleGroundMgr::DeleteAllBattleGrounds.
    Patch is tested and should work.

    TODO there is a bug if you disable premature finish timer, that can cause battlegrounds to be never ending!
    TODO rewrite BattleGround::RemovePlayer function - and fix bugs there!
    I might not have today enough time to fix those bugs.

--HG--
branch : trunk
2009-03-09 17:07:12 -06:00
megamage 01b67a1f6a [7413] Fixed finally problems with node names localization in BattleGroundAB messages. Author: VladimirMangos
Also fix build at some platforms.
Note: GetTrinityString should be removed in the future when AV is updated.

--HG--
branch : trunk
2009-03-09 17:06:13 -06:00
megamage c9796bab32 [7412] Do not allow player with deserter debuff to be teleported to battleground Author: Triply
--HG--
branch : trunk
2009-03-09 17:01:18 -06:00
megamage 5d5b37ab32 *Support localization for messsages in battleground. Author: VladimirMangos
[7411] Use similar localization classes for World::SendWorldText muti-line message. Author: VladimirMangos

--HG--
branch : trunk
2009-03-09 17:00:31 -06:00
megamage 39bb92f9db [7405] Show loaded 100% for case some player/pet/creature level data skipped as unused. Author: VladimirMangos
This cases have detail log output, but if detail mode disabled it look like strange not 100% load without reason.

--HG--
branch : trunk
2009-03-09 16:38:53 -06:00
megamage f477021938 [7404] Fixed cheating in rated arena matches by alt+f4. Author: Triply
--HG--
branch : trunk
2009-03-09 16:36:58 -06:00
megamage 2b5805065d *Merge. (lifebloom patch skipped)
--HG--
branch : trunk
2009-03-09 16:32:35 -06:00
megamage 2cf3028e38 *Fix a crash caused by bindsight spells.
--HG--
branch : trunk
2009-03-09 16:27:11 -06:00
QAston b47a282850 *Allow lifebloom stack from 2 different casters.
--HG--
branch : trunk
2009-03-09 20:22:52 +01:00
QAston 19717bbaa6 *Fix Reflective Shield proc. Original patch by Lightguard.
--HG--
branch : trunk
2009-03-09 19:33:33 +01:00
QAston ae0e1e250a *Fix improved divine spirit.
--HG--
branch : trunk
2009-03-09 19:17:05 +01:00
QAston 2742ced4c4 *Fixed op rogue damage.
--HG--
branch : trunk
2009-03-09 16:28:13 +01:00
QAston 56c60f90e6 *Fix Illumination and Infusion of Light procs.
--HG--
branch : trunk
2009-03-08 23:42:42 +01:00
QAston 1e1d95fe3a *Fix typos in Guardian Spirit code.
--HG--
branch : trunk
2009-03-08 22:03:25 +01:00
QAston 7289f5b36d *Fix Guardian Spirit.
*Fix Replenishment-by panaut0lordv.

--HG--
branch : trunk
2009-03-08 21:29:00 +01:00
megamage e979eb56f2 *Merge.
--HG--
branch : trunk
2009-03-08 13:07:59 -06:00
megamage 822d589457 *Merge.
--HG--
branch : trunk
2009-03-08 13:07:19 -06:00
megamage 328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
Drahy 9c629861c9 * Fixed CMakeLists
--HG--
branch : trunk
2009-03-08 19:53:52 +01:00
Drahy f17afd9602 * Cleaned up sql updates - moved 2.4.3 to right directory, renamed some
--HG--
branch : trunk
2009-03-08 19:51:28 +01:00
megamage 052caf335a *Fix a bug about visibility update.
--HG--
branch : trunk
2009-03-08 12:50:06 -06:00
QAston f260c92394 *Update Master of Subtlety code and fix Overkill.
*Fix Aspect of the Viper-by pasdVn
*Fix Circle of Healing.
Fix Rapture-by pasdVn

--HG--
branch : trunk
2009-03-08 19:18:02 +01:00
megamage 56416558fa [7402] Fixed graveyards in WSG, prevent from cheating. Patch provided by Balrok.
--HG--
branch : trunk
2009-03-08 11:53:35 -06:00
megamage d33a69921b *Merge.
--HG--
branch : trunk
2009-03-08 11:52:25 -06:00
megamage 7fbdc14b98 *Fix build in Linux.
--HG--
branch : trunk
2009-03-08 11:50:58 -06:00
megamage 985b7656bb *Merge.
--HG--
branch : trunk
rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
2009-03-08 11:36:10 -06:00
megamage 88c050182c *Fix build.
--HG--
branch : trunk
2009-03-08 11:31:00 -06:00
megamage 8cb6894c3d *Merge.
--HG--
branch : trunk
2009-03-08 11:23:50 -06:00
megamage 881377ec65 *Merge.
--HG--
branch : trunk
2009-03-08 11:14:53 -06:00
megamage 0f8dee432c *Update of relocation notify code.
--HG--
branch : trunk
2009-03-08 11:11:21 -06:00
QAston 786fbdec57 *Fix crash.
*Fix Guard Dog and Improved Cower -by pasdVn.
*Fix aura SPELL_AURA_OBS_MOD_ENERGY -by pasdVn.

--HG--
branch : trunk
2009-03-08 13:24:05 +01:00
Drahy abdddf36ff * Trinity sql coding style
* Renamed 1725 to 1730
* Added scripts to full script file

--HG--
branch : trunk
2009-03-08 12:05:57 +01:00
Blaymoira 9720fb075f *Added dinamic spell immunities for two scripts
--HG--
branch : trunk
2009-03-08 09:36:32 +01:00
Blaymoira 3c1fff341d *Merge
--HG--
branch : trunk
2009-03-08 09:01:00 +01:00
QAston 86a4bc7f3f *Fix judgements of the Wise
*Fix Druids Survival Instincts and thunder clap - by Lightguard.
*Fix Death Coil - by Fisherman, aerione_alt, Lightguard

--HG--
branch : trunk
2009-03-08 03:10:03 +01:00
QAston 63b4a12251 *Fix Incanter's Absorption.
*Fix Devastate and Improved Fear- by Lightguard.
*Fix Glyph of devastate.
*Add spell coeficient-by cccyril.

--HG--
branch : trunk
2009-03-08 01:16:57 +01:00
megamage bbd030032e *Fix a typo that makes pet set all un-autocastable spell autocast
--HG--
branch : trunk
2009-03-07 17:49:42 -06:00
megamage 62f2db914c *Fix a crash when statues are killed.
*Really fix some spells without target info sent to server.

--HG--
branch : trunk
2009-03-07 17:23:43 -06:00
megamage 658568a8e2 *Fix a crash when statues are killed.
--HG--
branch : trunk
2009-03-07 17:17:01 -06:00
BroodWyrm d5b7aec2b6 *Add Scripts for Ingvar the Plunderer Event
--HG--
branch : trunk
2009-03-08 00:13:03 +01:00
Drahy 3f36d9eb95 * Trinity sql coding style
* Added 1703_world.sql
* Small fixies in other files

--HG--
branch : trunk
2009-03-07 22:17:45 +01:00
megamage 42d681eecd *Fix some spells without target info sent to server.
--HG--
branch : trunk
2009-03-07 14:06:09 -06:00
megamage 520ce96257 [7399] Rewrited BattleGround starting code - moved it to battleground class. Author: Triply
Fixed message color for premature finish warnings.
    Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
    Added battleground announcer message removed in [7384].

[7401] Fixed bgqueue invitation to already started battlegrounds - not tested. Author: Triply

--HG--
branch : trunk
2009-03-07 12:05:30 -06:00
megamage f63c07e669 [7398] Now really really fix error message Author: VladimirMangos
--HG--
branch : trunk
2009-03-07 10:43:27 -06:00
megamage 99c765cec3 [7397] Implement above ground zone 4395 detection. Author: GriffonHeart
By hack code until proper multilevel zone data store not implemented.

--HG--
branch : trunk
2009-03-07 10:42:54 -06:00
megamage acceab49c6 [7396] Fixed crash at group disband after some player invite decline and offline. Author: VladimirMangos
Correctly cleanup invites list at decline.

--HG--
branch : trunk
2009-03-07 10:42:13 -06:00
megamage e3fa93e75f [7395] Default MaxPlayerLevel should be 80 Author: multiplexer
--HG--
branch : trunk
2009-03-07 10:40:59 -06:00
megamage 814c6c2c39 *Merge.
--HG--
branch : trunk
2009-03-07 10:19:07 -06:00
megamage 318f173dd3 *Add missing files.
--HG--
branch : trunk
2009-03-07 10:14:00 -06:00
KingPin ae70787843 Extend the spell_disabled table to have a seperate flag for pet spells from player spells, Patch by Koani
--HG--
branch : trunk
2009-03-07 07:47:02 -05:00
Blaymoira 892e54c79c *Fix a typo - by Anubisss
--HG--
branch : trunk
2009-03-07 09:04:27 +01:00
Blaymoira 7123bef975 *Prevent multiple summoning of Nightbane - by Klaimmore
--HG--
branch : trunk
2009-03-07 08:58:21 +01:00
Blaymoira 1013a80da3 *Send directly the battleground marks instead of spells - by balrok
--HG--
branch : trunk
2009-03-07 08:41:31 +01:00
Blaymoira 786fa59163 *Change the character's voice on modify gender - by Machiavelli
--HG--
branch : trunk
2009-03-07 08:40:47 +01:00
megamage 0ce6dae980 *Fix a typo.
--HG--
branch : trunk
2009-03-07 00:56:17 -06:00
megamage d713beef29 *Merge.
--HG--
branch : trunk
2009-03-07 00:54:55 -06:00
megamage 6dc06ab53b *Fix a bug that possessed creature cannot melee.
--HG--
branch : trunk
2009-03-07 00:53:30 -06:00
megamage 5627f5e838 *Fix a typo and add some missing content.
--HG--
branch : trunk
2009-03-07 00:53:01 -06:00
megamage 6ae4f909d0 *Fix a crash caused by possesspet spells.
--HG--
branch : trunk
2009-03-07 00:52:30 -06:00
megamage b73bf1d5c9 *Remove a 243 sql.
--HG--
branch : trunk
2009-03-06 22:08:30 -06:00
megamage f6ca5c601e *Merge.
--HG--
branch : trunk
2009-03-06 19:52:46 -06:00
megamage 4f6c96b98c [7394] Check loot_template.maxcount for max allowed value (255) and make better report for this case. Author: VladimirMangos
Also optimize strcture LootStoreItem that let use 4 byte for loot template element in memory instead 5 bytes.
    But limit group id to 127 max value. Check this at loading.

--HG--
branch : trunk
2009-03-06 19:39:42 -06:00
megamage 417c7c8319 [7393] Implement access to client side holiday ids. Author: VladimirMangos
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
    * `game_event` now have new `holiday` field for store client side holiday id associated with game event
    * Added new enum HolidayIds with existed at this moment holiday ids.
    * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.

--HG--
branch : trunk
2009-03-06 19:36:47 -06:00
QAston dbb8c78394 *Fix Imp leader of the pack once again. Original patch by loop69.
--HG--
branch : trunk
2009-03-07 02:28:14 +01:00
megamage 0d53225fdc [7392] Fixed SQL query for storing pending arena points for offline players for PGSQL. Author: ApoC
--HG--
branch : trunk
2009-03-06 18:14:41 -06:00
megamage c2261e3502 [7391] Prevent achievement counter overflow, implement ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE generic support.
Before overflow has been possible at 4294967295 lols for example.

    ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE in many cases require check special conditions and targets.
    For this allow call it from scripts:
    * Add Player::UpdateAchievementCriteria functiona ccessable from scripts
    * In emote case it allowed call in form player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote_id, achievement_id, target_unit_ptr);

Author: VladimirMangos

--HG--
branch : trunk
2009-03-06 18:14:05 -06:00
megamage 7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Paradox 7b47d509e3 New AHBot plus AuctionHouse changes
--HG--
branch : trunk
2009-03-06 17:47:11 -06:00
Blaymoira ae540b526b *Prevent to pick both of the flags when they are on the ground - by Klaimmore
--HG--
branch : trunk
2009-03-07 00:25:10 +01:00
QAston bdaf54067b *Fix a crash and merge.
--HG--
branch : trunk
2009-03-06 23:28:01 +01:00
QAston ab4b55f351 *Fix dispel resistance apply on some effect.
*Fix Sanctified Wrath.
*Fix Summon Type 429-by aerione_alt.
*Fix some spell procs-by Sephiroth1983 and oc_redfox.
*Fix demonic sacriface spell_bonus-by aerione_alt.

--HG--
branch : trunk
2009-03-06 22:57:45 +01:00
megamage 13fc3dcd7e [7388] Fixed battleground premature warning message. SQL files are attached, you must execute them! Author: Triply
Fix for message's color will be soon.

--HG--
branch : trunk
2009-03-06 15:25:20 -06:00
megamage 6f595b3038 [7387] Check maxcount >= min count for item (not reference) record in loot templates DB tables.. Author: VladimirMangos
--HG--
branch : trunk
2009-03-06 15:23:25 -06:00
megamage 93113cd3cc [7385] Fixed mail price calculation Author: VladimirMangos
--HG--
branch : trunk
2009-03-06 15:22:19 -06:00
megamage 50b3095312 Implement some death related achievements
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting)
    * ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting)
      Note: need fixed for cases when max allowed players different from recommended count.
    * ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types)

    Fixed:
    * ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER
       - self-kill counting as death from players
       - same team player kill in opposition kills counter.

    Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment.

Author: VladimirMangos

--HG--
branch : trunk
2009-03-06 15:21:44 -06:00
Blaymoira b49732c04d *Merge
--HG--
branch : trunk
2009-03-06 20:14:07 +01:00
Blaymoira ba05670747 *Fix sql file for latest rev
--HG--
branch : trunk
2009-03-06 20:13:00 +01:00
QAston 0b9d3f95de *Apply Savage fury also to mangle's bleeding effects.
--HG--
branch : trunk
2009-03-06 19:58:02 +01:00
QAston 2e0af6e37b *Add some procflags- by Darkshines.
*Add new spell_coefficient data-by cccyril and Sephiroth1983

--HG--
branch : trunk
2009-03-06 19:57:02 +01:00
QAston ab2fa2e52c *Fix amount of paladin's spells damage.
*Fix problems with aurastate remove.

--HG--
branch : trunk
2009-03-06 18:52:39 +01:00
Drahy 81782e3470 * Trinity sql coding style + fixed import errors
--HG--
branch : trunk
2009-03-06 13:59:56 +01:00
megamage 4704f6134b *Fix build.
--HG--
branch : trunk
2009-03-05 20:15:46 -06:00
megamage 80cd305082 [7383] Changed some comments in config file, changed default MaxRatingDifference from 100 to 150 in default config.
[7384] Removed some comments.
    Fixed problem that queues doesn't invite new players to already running battlegrounds.
    Some other fixes for announce system will be soon.

Author: Triply

--HG--
branch : trunk
2009-03-05 19:02:08 -06:00
megamage b7363a72fe [7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client Author: NoFantasy
--HG--
branch : trunk
2009-03-05 18:58:58 -06:00
megamage bb75a8a21a *Merge.
--HG--
branch : trunk
2009-03-05 18:50:26 -06:00
megamage 8787c00ca3 *Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states.

--HG--
branch : trunk
2009-03-05 18:48:56 -06:00
megamage 635faad2bc *Merge.
--HG--
branch : trunk
2009-03-05 15:24:09 -06:00
megamage 769c835f26 *Do not allow mage to cast multiple polymorph on different targets.
--HG--
branch : trunk
2009-03-05 15:16:13 -06:00
Blaymoira fd2fd00c14 *Implement access_requirement table - by Iskander
- now check the requirements on teleport not only on areatrigger use
- moved some columns from instance_template and areatrigger_teleport to access_requirement table

--HG--
branch : trunk
2009-03-05 21:02:33 +01:00
QAston 2f20a832dc *Fix reward rep amount- by yad02
*Fix Haunt and Pain and Suffering- by Fog
*Fix leader of the pack-original patch by Lightguard

--HG--
branch : trunk
2009-03-05 20:47:18 +01:00
megamage 6a577295d9 *Remove spams of transport log.
--HG--
branch : trunk
2009-03-05 13:10:12 -06:00
megamage 21f35e15d9 *Do not calculate level-based spell damage twice. This fixed the bug that some +ap buff give mobs too high damage.
--HG--
branch : trunk
2009-03-05 13:09:51 -06:00
megamage b7ec91f72d *Do not let farsight dynobj apply non-exist auras. This fixed farsight.
--HG--
branch : trunk
2009-03-05 13:08:46 -06:00
Blaymoira c5175e5e47 *Implement SCRIPT_COMMAND_KILL for database scripting
--HG--
branch : trunk
2009-03-05 17:25:29 +01:00
megamage ae55745f2a [7378]~[7381] achievement code update. Author: VladimirMangos
--HG--
branch : trunk
2009-03-05 09:22:43 -06:00
megamage c1ea842cf7 *Merge.
--HG--
branch : trunk
2009-03-05 09:17:57 -06:00
Blaymoira 465b10fc60 *Update header file of Warsong Gulch with new datas
--HG--
branch : trunk
2009-03-05 15:45:29 +01:00
Blaymoira d05f5c3ceb *Target limitation for spell 45641
--HG--
branch : trunk
2009-03-05 15:42:14 +01:00
Blaymoira e2ab3714c7 *Ignore healing bonus for spell 27813 and ranks - original patch by Aviram
--HG--
branch : trunk
2009-03-05 15:41:55 +01:00
Blaymoira c367663de1 *Update Add Friend/Ignore Opcode - by Anubisss
--HG--
branch : trunk
2009-03-04 20:51:40 +01:00