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
megamage
ce8b7a6839
*Do not do visibility notification twice for bind sight players. This fixes the bug that bind sight is interrupted when target enters a populated area.
...
--HG--
branch : trunk
2009-05-26 15:34:55 -05:00
megamage
5eedbc7af4
*Allow vehicle have loot.
...
--HG--
branch : trunk
2009-05-26 00:53:20 -05:00
megamage
88107fa1d6
[7811] do not reload already loaded map coordinats at runtime. Author: Ambal
...
--HG--
branch : trunk
2009-05-13 18:24:35 -05:00
megamage
f9f5d078fd
*Update instance script functions.
...
--HG--
branch : trunk
2009-05-11 03:17:13 -05:00
megamage
e27f265b89
[7766] Add hack code for better detection some area 4395 subzones. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-05 14:45:52 -05:00
megamage
1cfc04f1f5
[7745] Fixed gcc warnings. Author: AlexDereka
...
--HG--
branch : trunk
2009-05-03 22:21:46 -05:00
megamage
206556b111
*Fix broken creature trigger spell visual effect.
...
--HG--
branch : trunk
2009-05-03 11:06:48 -05:00
megamage
db817d668a
*Merge.
...
--HG--
branch : trunk
2009-05-01 18:37:32 -05:00
megamage
623c97edd6
*Always call Initialize when a instancedata is created.
...
--HG--
branch : trunk
2009-05-01 11:38:53 -05:00
megamage
182a04f5ea
*Do not update object visibility immediately when object is added to map.
...
--HG--
branch : trunk
2009-05-01 11:26:19 -05:00
megamage
de11b9e901
[7730] Some optimizantion and code style. Author: zhenya
...
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage
e7e03d167e
*Merge.
...
--HG--
branch : trunk
2009-04-22 17:52:01 -05:00
megamage
4e1143c990
*Fix a crash of vehicle.
...
--HG--
branch : trunk
2009-04-21 12:55:26 -05:00
megamage
2ecf455090
*Move move and remove obj from world update to map update.
...
--HG--
branch : trunk
2009-04-21 11:18:46 -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
0faac25742
*Fix a crash caused by grid notification.
...
--HG--
branch : trunk
2009-04-20 15:07:45 -05:00
megamage
db65f3c111
*Merge.
...
--HG--
branch : trunk
2009-04-18 11:05:35 -05:00
megamage
60736b1f7d
*Fix visibility update bug of long-distance teleport.
...
--HG--
branch : trunk
2009-04-18 11:03:27 -05:00
megamage
c7d78b5ff9
*Some work on vehicles.
...
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
megamage
07f48aa934
*Change some log info about grid.
...
--HG--
branch : trunk
2009-04-14 18:24:35 -05:00
megamage
ce8b6ca354
[7656] Implement hack way detection for more cave and not cave areas at new continent. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-12 17:41:09 -05:00
megamage
785dc69318
*Merge.
...
*One rev skipped: Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.
--HG--
branch : trunk
2009-04-12 16:51:46 -05:00