Commit Graph
100 Commits
Author SHA1 Message Date
megamage 7fc442263d Drop Say/Yell/etc string versions.
1) DB based string_id versions must be used.
    2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used

Author: VladimirMangos

--HG--
branch : trunk
2009-02-19 18:49:11 -06:00
megamage fe6bfc2ef1 [7301] Partially restored linux build Author: arrai
--HG--
branch : trunk
2009-02-19 18:47:52 -06:00
megamage 72e8c09212 [7299] Implemented circular loop detection for pools in pools
As a result, the last relation that makes the loop is automatically removed.
    An error message is displayed and core go on loading remaining records.

Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:46:58 -06:00
megamage 83adfb5692 Added support for pools in pools
Pools inside another pool cannot have a number of spawned objects <> 1 (maxlimit value)

    Note: pools in a pool in a pool in a pool... is possible and working,
    but circulare inclusion is not detected and will cause a core infinit loop

Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:46:19 -06:00
megamage e21b2c9baa *Implemented gameobjects and creatures grouping (pools of them)
*Groups (called pools) can be also member of any game event
Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:44:20 -06:00
Drahy 5076e99df1 * Fixed recent crashes in battleground code at player leave. Thx VladimirMangos
--HG--
branch : trunk
2009-02-19 16:09:49 +01:00
Drahy 1e200fb514 * Added missing sqls
* Fixed some update format

--HG--
branch : trunk
2009-02-19 01:52:00 +01:00
Drahy bd9c2fefa8 * Moved sqls to proper directories again
--HG--
branch : trunk
2009-02-19 01:38:54 +01:00
QAston 13fd0ed366 *Try to fix enormous amount of some ap related spells. This may not fix all issues.
--HG--
branch : trunk
2009-02-19 00:27:30 +01:00
megamage d344d4b6e9 [7298] Switch to support client 3.0.9 (3551). Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 17:21:06 -06:00
megamage 230a70745f Added tag 3.0.8 Crash like Hell for changeset 3d0d20ee3c82
--HG--
branch : trunk
2009-02-18 17:18:52 -06:00
megamage 50012743e8 *Merge.
--HG--
branch : trunk
2009-02-18 16:57:42 -06:00
megamage 104d87ca3b [7297] Fixed profession spells sorting in trainer spell list at client. Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 16:51:59 -06:00
megamage 8c7daebae9 [7296] Fixed some GCC warnings. Author: VladimirMangos
--HG--
branch : trunk
2009-02-18 16:51:10 -06:00
megamage d0a3d03422 [7295] Make more static world data accessable for scripts use. Author: NoFantasy
--HG--
branch : trunk
2009-02-18 16:50:21 -06:00
megamage 0ff7fbcd7f *Fix a crash caused by charm/possess spells.
--HG--
branch : trunk
2009-02-18 16:26:02 -06:00
megamage 31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
megamage 7bff1c1d60 *Fix a crash caused by misdirection.
--HG--
branch : trunk
2009-02-18 11:01:21 -06:00
Drahy 017f309b5b * Again big clean up of sql files
* Fixed 1414_world_scripts.sql to proper format
* Deleted not needed 1414_world.sql after 1325_world.sql was deleted

--HG--
branch : trunk
2009-02-18 17:35:14 +01:00
Paradox 3ea5417336 Yet more tabs to spaces
--HG--
branch : trunk
2009-02-18 07:46:24 -05:00
megamage 89ba43ef3e *Merge.
--HG--
branch : trunk
2009-02-17 21:54:48 -06:00
megamage be53cfe104 *Fix some bugs of map/grid. Hope this can fix some crashes (without introducing new crash)
--HG--
branch : trunk
2009-02-17 21:50:18 -06:00
Paradox 3931b802f1 Yet more tabs to spaces
--HG--
branch : trunk
2009-02-17 20:10:49 -06:00
megamage 05ef0471c3 *Fix a crash bug caused by bindsight spells.
--HG--
branch : trunk
2009-02-17 18:07:09 -06:00
megamage 1f183d9e80 [7294] Fix: Spell 59752 now removes all movement impairing effects and all effects which cause loss of control. Author: Maxxie
--HG--
branch : trunk
2009-02-17 17:41:11 -06:00
megamage 484c1298e2 [7293] Not attempt respawn/instance tables for battleground/arena templates (instance id == 0) Author: VladimirMangos
--HG--
branch : trunk
2009-02-17 17:40:38 -06:00
megamage a24928be67 [7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later..
    Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
    will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.

Author: GriffonHeart

--HG--
branch : trunk
2009-02-17 17:40:03 -06:00
megamage 68cfb7c5a4 [7291] Better map height calculation by use client data format.
Need re extract map files by use new ad.exe
Author: DiSlord

--HG--
branch : trunk
2009-02-17 15:42:04 -06:00
megamage 89e07d7c41 Fix work for some auras if used mod set duration to 0 Author: DiSlord
--HG--
branch : trunk
2009-02-17 14:52:46 -06:00
megamage d73b38f0fa [7290] Command .npc setdeathstate on/off. Author: GriffonHeart
--HG--
branch : trunk
2009-02-17 14:51:25 -06:00
megamage 1c894bee91 [7289] Make quest related check work in case absent English localization in DB. Author: GriffonHeart
--HG--
branch : trunk
2009-02-17 14:46:12 -06:00
megamage 4a3c0594e7 *Fix build.
--HG--
branch : trunk
2009-02-17 14:42:06 -06:00
Blaymoira 667cdbccc3 *Support for quest 1950 - by mrbungle
--HG--
branch : trunk
2009-02-17 20:04:19 +01:00
Blaymoira 380b9ec7a6 *Support for quest 772 - by mrbungle
--HG--
branch : trunk
2009-02-17 20:03:08 +01:00
QAston 3628b427ba *Fix some crashes.
--HG--
branch : trunk
2009-02-17 18:43:51 +01:00
megamage eafa0eb5df *Fix mutilate. do not require behind target. By Sorken.
--HG--
branch : trunk
2009-02-17 11:36:00 -06:00
megamage d11c80ec54 *Fix the bug that knockback cause client crash.
--HG--
branch : trunk
2009-02-17 11:27:47 -06:00
QAston a90d7fb45c *Merge once again.
--HG--
branch : trunk
2009-02-17 18:20:00 +01:00
QAston eabb9b727b *Merge.
--HG--
branch : trunk
2009-02-17 18:16:51 +01:00
Muhaha ebc3ccfe3f * Merged ScriptDev2 860
--HG--
branch : trunk
2009-02-17 18:08:26 +01:00
QAston 5916c5a9fb Remove additional quest reward field due to client limitations.
--HG--
branch : trunk
2009-02-17 17:53:52 +01:00
QAston 3c9d801eb2 Backed out changeset e85c3b6d551b
--HG--
branch : trunk
2009-02-17 16:41:45 +01:00
megamage f271e71dc5 [7288] Implement CreatureAI::JustReachedHome scripting call for home movement end point event. Author: NoFantasy
*Note: need to look at SD2 script to check what is the use of this function.

--HG--
branch : trunk
2009-02-16 20:18:21 -06:00
megamage 4eb963528b Speedup check in Player::HasQuestForItem and Player::HasQuestForGO, related cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:15:28 -06:00
megamage 3f731b8c7f [7287] Remove wrong implementation for spell 37573 dummy effect. It better implement in scripts anyway. Author: NoFantasy
*Note: this requires the import of SD2 script patch otherwise this spell will have no effect.
[7286] Remove unused local variable. Author: VladimirMangos

--HG--
branch : trunk
2009-02-16 20:14:45 -06:00
megamage 1ad4f8509c [7285] More code cleanups in static data structures use. Author: zhenya
--HG--
branch : trunk
2009-02-16 20:12:55 -06:00
megamage 5881a1c25c Fixed crash at out of range access to array data in battleground code. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:11:24 -06:00
megamage 2156fec0d2 [7284] Avoid 2 times skill value request. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:10:40 -06:00
megamage 319f70fb76 [7283] Use map for trainer spells for fast find data by spell id. Author: zhenya
--HG--
branch : trunk
2009-02-16 20:10:04 -06:00
megamage 0a5b8f78f5 Small BattleGroundQueue::RemovePlayer cleanup. Author: VladimirMangos
--HG--
branch : trunk
2009-02-16 20:09:22 -06:00
megamage 4ff544f368 *Update add/remove aura code.
--HG--
branch : trunk
2009-02-16 20:01:01 -06:00
megamage da6390f980 *Fix the crash bug when player log in.
--HG--
branch : trunk
2009-02-16 19:25:26 -06:00
megamage 3510eb4896 *Remove GAMEOBJECT_LEVEL value for summoned gameobject to fix the bug that some go cannot be used. Please check if this causes other bugs related to gameobject.
--HG--
branch : trunk
2009-02-16 19:09:24 -06:00
megamage 00ba699d6f *Merge.
--HG--
branch : trunk
2009-02-16 19:04:31 -06:00
megamage 7762087e7d *Fix chain heal order bug.
--HG--
branch : trunk
2009-02-16 17:11:27 -06:00
Blaymoira 5ded6c8df4 *Added some spell script targets
--HG--
branch : trunk
2009-02-16 18:05:53 +01:00
QAston 0e282daccc *Check range for channeled spells during their duration.
--HG--
branch : trunk
2009-02-16 17:09:26 +01:00
megamage bb75ff7b79 *Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG--
branch : trunk
2009-02-15 17:33:36 -06:00
megamage 058b7c32e4 *Fix a crash caused by EventAI
--HG--
branch : trunk
2009-02-15 15:26:04 -06:00
megamage 90313ed650 *Add DoCastAOE for script to cast AOE spells. Because AOE spells do not require any target.
*Corresponding update of Kalecgos script.

--HG--
branch : trunk
2009-02-15 13:19:18 -06:00
megamage 0e757d8b69 *Fix knockback angle calculation.
--HG--
branch : trunk
2009-02-15 13:03:28 -06:00
megamage 91e640d14e *Add a missing sql.
--HG--
branch : trunk
2009-02-15 12:44:13 -06:00
megamage 089dece311 [7282] Store guilds in map for fast search by id, some other guild/arenateam related cleanups. Author: zhenya
--HG--
branch : trunk
2009-02-15 12:14:14 -06:00
megamage ff63eece3c Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change. Author: GriffonHeart
--HG--
branch : trunk
2009-02-15 12:13:34 -06:00
megamage 9635284494 [7281] Cleanup in unused and incorrectly marked as unused aura names and comments. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 12:11:46 -06:00
megamage affd4d9005 [7280] Implement 287 SPELL_AURA_DEFLECT_SPELLS aura Author: DiSlord
--HG--
branch : trunk
2009-02-15 12:03:51 -06:00
megamage c261065f28 Fix chance calc added by SPELL_AURA_MOD_COMBAT_RESULT_CHANCE Author: DiSlord
--HG--
branch : trunk
2009-02-15 12:03:09 -06:00
megamage 8cf512b59a [7279] Allow equipped items loading at relogin to arena map. Author: Lightguard
--HG--
branch : trunk
2009-02-15 12:01:23 -06:00
megamage 19f8347a58 [7278] In case gossip flag use gossip menu instead quest menu as client expected. Author: NoFantasy <[email protected]>
--HG--
branch : trunk
2009-02-15 12:00:37 -06:00
megamage 3b741f1e61 [7277] Correctly show guild bank tab info text for author and members not only after login but also after change. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 11:59:05 -06:00
megamage 97ac3aba05 Implemented limit category check for item/gem at equip or gem inserting. Author: VladimirMangos
--HG--
branch : trunk
2009-02-15 11:58:27 -06:00
megamage 419b749520 *Merge.
--HG--
branch : trunk
2009-02-15 11:57:00 -06:00
Blaymoira b66d68ceae *Target limitation for spell 39365 - by Iskander
--HG--
branch : trunk
2009-02-15 16:55:51 +01:00
Blaymoira 32f0fac014 *Small fix in Kalecgos - by darktabbit
--HG--
branch : trunk
2009-02-15 16:55:00 +01:00
Blaymoira 7b19c8ac8e *Set Non attackable flag on quest complete in Dirty larry - by Sorken
--HG--
branch : trunk
2009-02-14 20:30:51 +01:00
Blaymoira 3e0c846d2b *Small fix in dirty larry
--HG--
branch : trunk
2009-02-14 18:56:39 +01:00
Blaymoira 738a96f9e2 *Implement spell 47977
--HG--
branch : trunk
2009-02-14 17:17:03 +01:00
QAston a98a1529cd *Revert unwanted changes from last rev.
--HG--
branch : trunk
2009-02-14 16:20:49 +01:00
QAston 14d85a183e *Make range check dependent from target.
--HG--
branch : trunk
2009-02-14 15:56:04 +01:00
megamage 1c3f478ecc *Merge.
--HG--
branch : trunk
2009-02-13 20:12:01 -06:00
megamage 59be8223e4 [7276] Rewrited fix for same faction arena matches
Added better Object-oriented calls to BattleGround::Reset()
    Added more checks to CreateBattleGround() method
    This commit doesn't fix anything

Author: Triply

--HG--
branch : trunk
2009-02-13 20:10:14 -06:00
megamage 096030e625 [7275] getbattlegroundqueueidfromlevel returns now bg-specific queueids
before this commit, queueids were staticaly given for
    9-19,20-29,30-39... but for instance alterac valley needs
    51-60,61-70,71-80.. this patch allows this,
    if you change the minlevel in battleground_template you also could make
    23-32,33-42.. levelranges
    not that we always use 10lvl-steps.. this is actually hardcoded..

Author: balrok

--HG--
branch : trunk
2009-02-13 20:07:49 -06:00
megamage 136e49f39f [7274] Fixed work of warrior talent 12296.
* Proper tick in 3 sec
    * Replace amount calculation hack by more proved formula.
    * Ignore in combat state.

Author: domingo

--HG--
branch : trunk
2009-02-13 20:05:16 -06:00
megamage 1d18f3d870 [7273] Fix show 0-level quests in gossip quest list. Another case. Author: NoFantasy
--HG--
branch : trunk
2009-02-13 20:04:44 -06:00
megamage 7305f57846 Fixed arena related client crash Author: tomrus88
--HG--
branch : trunk
2009-02-13 20:04:09 -06:00
megamage edbd3b637e [7272] Trailing whitespace cleaning Author: freghar
--HG--
branch : trunk
2009-02-13 20:03:32 -06:00
megamage 3eb91683b0 [7271] Implement mangosd stop and pause if it work as Windows service. Author: rilex
--HG--
branch : trunk
2009-02-13 20:02:00 -06:00
megamage a14ceffcd1 [7270] Apply mangos code style. Author: VladimirMangos
--HG--
branch : trunk
2009-02-13 20:01:20 -06:00
megamage c58050252d Fixed arena matches for same faction (players were all in one group - and they couldn't attack each other) Author: Triply
--HG--
branch : trunk
2009-02-13 19:56:55 -06:00
megamage 8eb1f455a1 [7269] Use enum type for battleground queue type ids, and related cleanups.
* renamed a variable to make the content of it more clear: type->arenaslot
    * renamed BattleGroundQueueTypeId-variables to bgQueueTypeId
      just to make it easier reading the code (cause there existed
      3 different names for this..)
    * renamed GetBattleGroundQueueId to GetBattleGroundQueueTypeId
      again this is just for better understanding
    * Renamed [GS]etQueueType and m_Queue_type
    * Renamed to [GS]etQueueId and m_QueueId

Author: balrok

--HG--
branch : trunk
2009-02-13 19:56:22 -06:00
megamage f2c663a363 [7268] Fix show 0-level quests in gossip quest list. Author: NoFantasy
--HG--
branch : trunk
2009-02-13 19:54:31 -06:00
megamage 8ad58b4bcc [7267] Drop auctionhouse.location. Author: VladimirMangos
Add a missing file.

--HG--
branch : trunk
2009-02-13 19:53:59 -06:00
megamage a72c0d223d [7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
More auction related code refactoring,
Move auction related code from ObjectMgr to AuctionHouseMgr.
Author: VladimirMangos

--HG--
branch : trunk
2009-02-13 19:50:20 -06:00
megamage 468132696a Rename AuctionHouse.cpp -> AuctionHouseHandler.cpp AuctionHouseObject.h ->AuctionHouseMgr.h Author: VladimirMangos
--HG--
branch : trunk
2009-02-13 18:35:21 -06:00
Blaymoira 29f3d67fb8 *Prevent entering in instances if zone in combat - by Iskander
--HG--
branch : trunk
2009-02-13 23:53:06 +01:00
Blaymoira ffb5fb7445 *Remove Not attackable flags on escortAI start
--HG--
branch : trunk
2009-02-13 23:50:04 +01:00
QAston 5f6705535b *Fix bug that traps were activated by totems.
--HG--
branch : trunk
2009-02-13 20:16:38 +01:00
QAston 5113bd989d *Fix Empowered Arcane Missiles remove by ice block.
--HG--
branch : trunk
2009-02-13 19:45:07 +01:00
QAston edcb8840c3 *Fix diminishing returns for spells casted on a pet.
--HG--
branch : trunk
2009-02-13 18:43:17 +01:00
Blaymoira 0421212873 *Some changes in Kalecgos script - by darktabbit
--HG--
branch : trunk
2009-02-13 16:26:57 +01:00