Commit Graph

58 Commits

Author SHA1 Message Date
megamage
853f3a5ddd *Fix a crash bug caused by corpse.
--HG--
branch : trunk
2009-08-13 21:36:26 -05:00
megamage
6b19d80f72 *A better fix of 4974.
--HG--
branch : trunk
2009-08-13 11:35:23 -05:00
megamage
a5ae817695 *Revert 4974.
--HG--
branch : trunk
2009-08-13 11:26:30 -05:00
megamage
c84f63d431 *Fix a crash caused by corpse.
--HG--
branch : trunk
2009-08-13 10:07:51 -05:00
megamage
296771f7e7 *SetMap for corpse in Create function as other objects.
--HG--
branch : trunk
2009-08-12 07:10:07 -05:00
megamage
da9de7135d *Fix a crash caused by ConvertCorpseForPlayer
--HG--
branch : trunk
2009-08-12 07:03:23 -05:00
megamage
7f8ce1d809 [8315] Fixed memory leaks (mostly at server shutdown) and code cleanups. Author: VladimirMangos
* Fixed leak in BattleGround::m_PlayerScores at BattleGround::Reset,
      add and use BattleGroundScoreMap typedef
    * Delete AreaTeam objects stored in global map at shutdown
    * Delete Corpse objects stored in global map at shutdown
    * Store guild bank log entries as objectes instead pointers in log event lists

--HG--
branch : trunk
2009-08-06 17:45:37 -05:00
QAston
8777efd03c *Add some crash prevention checks.
--HG--
branch : trunk
2009-08-03 12:52:31 +02:00
QAston
1d96091d2a *Improvements in map managing.
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
megamage
208087ff6e [8182] Store and use Map* pointer in WorldObject instead map ids for speedup Author: Ambal
Also some code logic cleanups.
    Changes let make more cleanups in base map access and other places,
    but this chnages not inlcuded in patch.

*This patch may cause crash.

--HG--
branch : trunk
2009-07-16 11:49:00 +08:00
megamage
4a8a89e1db [8103] More wide use IsInWorld checks and delayed at teleport operations. Author: Ambal
* IsInWorld used to prevent return unexpected not in world objects.
    * Delayed operations need to process its in world state.

--HG--
branch : trunk
2009-07-01 18:36:03 -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
fe7c616b2d [8031] Move player update code to Map::Update. Author: Ambal
--HG--
branch : trunk
2009-06-17 18:37:53 -05:00
megamage
9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage
94692ea5f7 *Use getworldobject for getunit. Also allow get vehicles using this function.
--HG--
branch : trunk
2009-05-23 20:42:31 -05:00
megamage
25e5c99dec [7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.

--HG--
branch : trunk
2009-05-13 18:22:21 -05:00
megamage
fc7e1db9fb [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangos
* This let get objects at map without reference to player or another object.
    * Simplify future implementation for per-map storage for like objects

--HG--
branch : trunk
2009-04-20 20:28:19 -05:00
megamage
f9befe1d3d [7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange. Author: VladimirMangos
--HG--
branch : trunk
2009-04-19 18:23:10 -05:00
megamage
995410c475 *Fix a crash caused by farsight spells.
--HG--
branch : trunk
2009-04-19 14:35:55 -05:00
megamage
09757c1d59 *Fix a crash bug.
--HG--
branch : trunk
2009-04-02 09:04:39 -06:00
megamage
30eedaa72d *Try to fix some crash.
--HG--
branch : trunk
2009-04-01 21:17:59 -06:00
megamage
68c3039715 *Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
--HG--
branch : trunk
2009-03-26 13:53:32 -06:00
megamage
02440eaa10 [7538] Hide some implementation details for reputation/forced faction reaction. Author: VladimirMangos
--HG--
branch : trunk
2009-03-25 16:04:08 -06:00
megamage
59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage
3d3656297f [7424] Codestyle: removed not needed \n in log output. Author: balrok
--HG--
branch : trunk
2009-03-09 17:56:51 -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
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
c113bf884f factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work. Author: VladimirMangos
--HG--
branch : trunk
2009-03-03 16:18:22 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
f8fa463e7e [7224] Drop unused code. Author: VladimirMangos
--HG--
branch : trunk
2009-02-03 14:55:39 -06:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
25ab1fa4ad *Update to Mangos 7200.
--HG--
branch : trunk
2009-01-29 19:33:39 -06:00
megamage
ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage
30f6b38941 *Update to Mangos 7158.
--HG--
branch : trunk
2009-01-24 11:28:00 -06:00
megamage
68c0bcd069 *Update to Mangos 7125.
--HG--
branch : trunk
2009-01-20 19:59:43 -06:00
megamage
5b2c61e95e *Mangos [7039] Implement mangosd.conf options Death.Bones. By VladimirMangos.
*for disable bones creating from corpse in world zones or in arena/bg.
*Note: in case apply insignia bones still created as required for looting.

--HG--
branch : trunk
2009-01-06 13:50:42 -06:00
megamage
2b21f0e730 *Merge with Trinity 793.
--HG--
branch : trunk
2009-01-06 12:15:18 -06:00
megamage
908776dd93 *Some update of relocation notify.
--HG--
branch : trunk
2009-01-05 16:03:45 -06:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00
megamage
32dc92b2cd *Do not let Illidan cast parasite on Akama.
*Some cell visit update.

--HG--
branch : trunk
2008-12-13 10:50:45 -06:00
megamage
b6c288ca9f *Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement.

--HG--
branch : trunk
2008-12-12 11:21:28 -06:00
megamage
27adb19eb8 *Try to fix a bug that crash happens in GetInstance().
--HG--
branch : trunk
2008-12-01 13:29:08 -06:00
megamage
e9d6f1b23a *Move object update from objectaccessor to map
*Move activeobject list from objectaccessor to map
*Open grid for all active creatures (previously only for possessed ones)

--HG--
branch : trunk
2008-11-21 15:41:18 -06:00
megamage
5528b7c512 *Fix the bug that updatepacket is not sent to players.
*TODO: move creature::update to map::update. This requires that move activeobjectlist to map.

--HG--
branch : trunk
2008-11-20 20:28:17 -06:00
megamage
ea68727d27 *Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.

--HG--
branch : trunk
2008-11-18 19:40:06 -06:00
megamage
8df6868fac [svn] DynamicObject should only be visible for caster if it is not in distance. However, I do not think this will fix the bug that dynamic object update freezes the server.
--HG--
branch : trunk
2008-11-15 11:56:59 -06:00