maximius
3f338cc1c3
*Massive cleanup redux.
...
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24
*Backed out changeset 3be01fb200a5
...
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
...
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
f980dd9ac6
*Merge [8524] New cell search algorithm implemented. You can now choose different
...
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup
--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
maximius
333f1c9d72
*[8475] fixed some gcc-warnings Author: balrok
...
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no >
Thanks to Stryker and onkelz28!
--HG--
branch : trunk
2009-09-18 14:10:37 -07:00
Chaz Brown
1870644bf7
[8500] Fixed long existed bug with vmaps unloading.
...
When order of coordinates has been updated for loading case, unloading part
escape fixing in past.
Patch By Jolan
--HG--
branch : trunk
2009-09-15 20:55:14 -04:00
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