Commit Graph

213 Commits

Author SHA1 Message Date
maximius
140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius
b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
maximius
8c94b29b09 *Missed a Boss Emote Command change
--HG--
branch : trunk
2009-09-13 00:03:54 -07:00
maximius
eef5abe6e1 *Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthorne
*Boss Emote Command for DB Scripts by XTElite1

--HG--
branch : trunk
2009-09-13 00:01:35 -07:00
maximius
0d8ea7cd97 *Some GUID cleanup, don't want any Linux crashes ;) (thanks Zor)
--HG--
branch : trunk
2009-09-09 10:30:14 -07:00
maximius
1ba42f208c *More verbose EAI output messages.. this should probably be double-checked for validity.
--HG--
branch : trunk
2009-08-30 20:12:53 -07:00
megamage
927b96ed90 *Remove some log spams.
--HG--
branch : trunk
2009-08-29 15:29:14 -05:00
megamage
1f88411ccc *Delete object after map update. This will make mtmap safer.
--HG--
branch : trunk
2009-08-25 15:12:22 -05:00
megamage
1ee90e1022 *Update vehicle system. Make vehicle a seperate class from creature.
--HG--
branch : trunk
2009-08-23 22:09:43 -05:00
megamage
bd0dbcc9ad *Add script lock for ScriptsProcess() because some bad scripts may cause dead loop.
--HG--
branch : trunk
2009-08-19 17:42:56 -05:00
megamage
cfd24129d3 *Fix a crash by looting player's corpse when the bg is unloaded.
--HG--
branch : trunk
2009-08-18 17:44:17 -05:00
megamage
0ca7275043 *more area flags for Dalaran By raven_coda
--HG--
branch : trunk
2009-08-18 17:18:24 -05:00
megamage
b3c9916177 *Fix the crash caused by map::removing does not really resetmap
--HG--
branch : trunk
2009-08-14 14:09:57 -05:00
megamage
e0449b421c *Add some detailed error log in SCRIPT_COMMAND_CAST_SPELL so we can know what is causing spams
--HG--
branch : trunk
2009-08-13 14:39:01 -05:00
megamage
7292420583 *Rewrite and simplify sendmessagetoset functions. This fixes the bug that player cannot see dummy aura is cancelled when puppet is far away.
--HG--
branch : trunk
2009-08-12 23:23:53 -05:00
megamage
92769d3ffe *first remove corpse from world then resetmap
--HG--
branch : trunk
2009-08-12 23:12:33 -05:00
megamage
24c8931ae9 *Fix a crash caused by corpses.
--HG--
branch : trunk
2009-08-12 15:33:12 -05:00
megamage
3078bf6fd0 *Fix a crash caused by setmap.
--HG--
branch : trunk
2009-08-11 18:23:54 -05:00
megamage
962b88a381 *ResetMap for worldobjects when map is deleted.
--HG--
branch : trunk
2009-08-11 16:33:33 -05:00
megamage
9403ff03e7 *Only use m_isWorldObject to check if an object is in grid or world.
--HG--
branch : trunk
2009-08-11 16:14:45 -05:00
megamage
e3d00708a9 *Fix a crash since the last rev.
--HG--
branch : trunk
2009-08-11 10:01:39 -05:00
megamage
31374835f6 *Cleanup about deleting player.
--HG--
branch : trunk
2009-08-10 23:32:20 -05:00
megamage
677b7b9757 *Add an assert in removeunitfromnotify
--HG--
branch : trunk
2009-08-09 15:22:43 -05:00
megamage
a78a0c6b01 *Fix a crash caused by relocationnotify
--HG--
branch : trunk
2009-08-08 17:47:23 -05:00
megamage
befbae3a61 *Fix the bug that players get stuck after teleported out of bg.
*Do not delete the map immediately until all players are teleported.

--HG--
branch : trunk
2009-08-06 16:14:13 -05:00
QAston
50c73d433c *Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image.
--HG--
branch : trunk
2009-08-06 23:10:36 +02:00
megamage
048665a37a *Try to fix the crash caused by invalid map pointer of player.
--HG--
branch : trunk
2009-08-06 10:21:10 -05:00
QAston
e10a8c88b6 *Fix a typo.
--HG--
branch : trunk
2009-08-01 21:41:15 +02:00
QAston
3e5205cda7 *Do not remove player reference to map on player remove from map.
--HG--
branch : trunk
2009-08-01 21:39:33 +02:00
QAston
1d96091d2a *Improvements in map managing.
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
megamage
ca271eb5dc [8272] Fixed typos in world 'height' by code. Author: Sorya
--HG--
branch : trunk
2009-07-31 11:25:28 +08:00
megamage
0a2af88cb4 [8252] Move DB scripting code from global World to Map. Author: Ambal
This one more step to pre-map events proccesing and parallel in future.

    [8256] Restore DB script loading broken after [8252]. Author: VladimirMangos

    Also propetly decrease scheduled DB script actions at map unloading.
    Some code style restore.

--HG--
branch : trunk
2009-07-31 10:48:34 +08: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
aven_coda
b39bff681f *Allow to fish in shallow water.
--HG--
branch : trunk
2009-07-09 18:06:08 +02:00
megamage
111dac5f94 [8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete Author: VladimirMangos
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
    * Create Gameobject version to make GO with owner more safe for remove

--HG--
branch : trunk
2009-07-01 18:23:36 -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
3cf2be6042 [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
2009-06-16 11:19:59 -05:00
megamage
4e005c3070 [8013] Fixed SMSG_RAID_INSTANCE_INFO opcode, some other fixes. Author: tomrus88
--HG--
branch : trunk
2009-06-14 10:19:44 -05:00
megamage
5ad8284841 *A missing part of the last rev.
--HG--
branch : trunk
2009-06-10 16:38:19 -05:00
megamage
5daba83c70 *Move relocation notify back to map class so that mtmap can work better.
--HG--
branch : trunk
2009-06-10 16:33:09 -05:00
megamage
40e353a9ca *Fix a crash in relocation notify.
--HG--
branch : trunk
2009-06-10 09:53:21 -05:00
megamage
427a81649b *Fix the bug that players cannot see anything in instance.
--HG--
branch : trunk
2009-06-09 23:52:45 -05:00
megamage
eb219b08e2 *Fix the bug that relocation notify is called twice.
--HG--
branch : trunk
2009-06-09 22:48:35 -05:00
megamage
a8e8bd1d28 *Fix a crash caused by 3881. Please do not use any revs between this and 3881.
--HG--
branch : trunk
2009-06-09 19:53:25 -05:00
megamage
2625b4b6c6 *Update relocation notification code. Always store pointers instead of guids.
--HG--
branch : trunk
2009-06-09 16:05:14 -05:00
megamage
2e7d1d1ffc *Do not allow two side emote.
--HG--
branch : trunk
2009-06-07 17:38:08 -05:00
megamage
d2c30bd9f0 *Add some debug info to find crash bug caused by player Notify()
--HG--
branch : trunk
2009-06-05 22:42:46 -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
5ed5513ca8 Mangos [7911]. Author: tomrus88
Very big patch. May cause bugs.

--HG--
branch : trunk
2009-05-31 15:56:51 -05:00
megamage
cb72853dc6 *Cleanup message deliver functions. Remove unused parameters.
--HG--
branch : trunk
2009-05-27 09:09:22 -05:00