Commit Graph

122 Commits

Author SHA1 Message Date
megamage
4ca04684f2 [7593] Map::EnsureGridLoaded related cleanups and fixes: Author: VladimirMangos
* Make generic EnsureGridLoaded function and move specialized code to LoadGrid and EnsureGridLoadedAtEnter
    * Rename args to gx/gy for low-level grid numbering values.
    * Remove redundent LoadMpa call after always case loading maps in EnsureGridCreated

--HG--
branch : trunk
2009-04-02 16:33:35 -06:00
megamage
f548b4a9a0 *Fix broken summon vehicle spells.
--HG--
branch : trunk
2009-04-01 22:40:12 -06:00
megamage
e528611141 *Fix a crash.
--HG--
branch : trunk
2009-03-29 11:58:19 -06:00
megamage
783e4fd3ff *Add new creature_template column VehicleId
*Allow spawn vehicles
*Make vehicles grid objects.

--HG--
branch : trunk
2009-03-28 22:44:09 -06:00
megamage
a986492718 [7556] Implement hack way check for cave subzone 4223 detection. Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 16:17:01 -06:00
megamage
a12682a3dd *Fix the visibility update bug of non-unit object.
--HG--
branch : trunk
2009-03-28 09:57:25 -06:00
megamage
ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
dbf005236f *Merge.
--HG--
branch : trunk
2009-03-27 09:11:24 -06:00
megamage
6a0677fd03 *Fix the bug of visibility.
--HG--
branch : trunk
2009-03-27 09:06:26 -06:00
megamage
e9bdfa4d02 *Merge.
--HG--
branch : trunk
2009-03-26 21:54:14 -06:00
megamage
52a5c5e8e3 *Some improvement of update visibility when players leave map.
--HG--
branch : trunk
2009-03-26 20:33:01 -06:00
megamage
2106e9f257 [7539] Fixed log output Author: AlexDereka
--HG--
branch : trunk
2009-03-25 16:07:19 -06:00
megamage
4154efa536 *Fix a crash caused by deleting a obj twice.
--HG--
branch : trunk
2009-03-24 17:55:05 -06:00
megamage
84d0aae7fc *Use return false to replace assert false in InstanceMap::Add
--HG--
branch : trunk
2009-03-23 17:01:26 -06:00
megamage
59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage
ef47783882 [7487] Avoid attempt use InstanceSave data for non-dungeons. Author: VladimirMangos
Also check map existance and correctness at instance data loading.
    Removed unused and totally bugged InstanceMap::GetResetTime.

--HG--
branch : trunk
2009-03-18 20:41:49 -06:00
megamage
2453f22123 *Merge.
--HG--
branch : trunk
2009-03-16 11:48:25 -06:00
megamage
d6a1516057 *Try to fix the bug that client get freezed when players teleported out of bg/arena.
--HG--
branch : trunk
2009-03-16 11:46:03 -06:00
megamage
c8e391cf7d [7444] Fixed some recently added and old type conversion warnings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-12 14:49:12 -06:00
megamage
5f57c488d5 *Use better way and safer way to update bindsight visibility.
--HG--
branch : trunk
2009-03-12 14:27:45 -06:00
megamage
16ee4a46c2 *Merge.
--HG--
branch : trunk
2009-03-12 14:22:59 -06:00
megamage
ab6e9bd7b4 *Disable bind sight spells to fix the crash.
--HG--
branch : trunk
2009-03-12 10:56:22 -06:00
megamage
a9f77d07ca *Try to fix a crash bug.
--HG--
branch : trunk
2009-03-12 08:58:28 -06:00
megamage
6e29ab4fbb [7440] Use server-side only zone info. Optimize related calles in case zone and subzone use. Author: VladimirMangos
This in some cases make some zones not explorable if it not have server side data in current maps
    but not allow cheating with zone set from client.

--HG--
branch : trunk
2009-03-11 16:17:37 -06:00
megamage
6f4e33c611 *Merge.
--HG--
branch : trunk
2009-03-11 12:03:43 -06:00
megamage
3c5a92dbe0 *Fix a crash bug.
--HG--
branch : trunk
2009-03-11 11:48:57 -06:00
megamage
5f7a2b4355 [7428] Add new .map file format use more compact data store and use
Rewrite .map extractor
     + extract more useful data
     + add "-f 0" option for disable size/accuracy optimisation
     + Compatability vs 2.4.3 client data
    More fast get .map data
    Implement fatigue timer
    Rewrite breath timer
    Allow absorb/resist for lava/slime environmental damage

    Need re-extract map for work.

Author: DiSlord

--HG--
branch : trunk
2009-03-09 18:06:19 -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
2b5805065d *Merge. (lifebloom patch skipped)
--HG--
branch : trunk
2009-03-09 16:32:35 -06:00
megamage
2cf3028e38 *Fix a crash caused by bindsight spells.
--HG--
branch : trunk
2009-03-09 16:27:11 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
985b7656bb *Merge.
--HG--
branch : trunk
rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
2009-03-08 11:36:10 -06:00
megamage
0f8dee432c *Update of relocation notify code.
--HG--
branch : trunk
2009-03-08 11:11:21 -06:00
megamage
99c765cec3 [7397] Implement above ground zone 4395 detection. Author: GriffonHeart
By hack code until proper multilevel zone data store not implemented.

--HG--
branch : trunk
2009-03-07 10:42:54 -06:00
megamage
814c6c2c39 *Merge.
--HG--
branch : trunk
2009-03-07 10:19:07 -06:00
megamage
5627f5e838 *Fix a typo and add some missing content.
--HG--
branch : trunk
2009-03-07 00:53:01 -06:00
megamage
c1ea842cf7 *Merge.
--HG--
branch : trunk
2009-03-05 09:17:57 -06:00
megamage
3ca5db7ebc *Fix a bug that current cell is not set for creatures sometimes.
--HG--
branch : trunk
2009-03-04 09:33:15 -06:00
megamage
e3eba9331e *Fix a crash.
--HG--
branch : trunk
2009-03-03 19:07:52 -06:00
megamage
3716a5292b *Fix a crash.
--HG--
branch : trunk
2009-03-02 18:01:27 -06:00
megamage
d3a6900667 *Merge.
--HG--
branch : trunk
2009-02-26 20:43:35 -06:00
megamage
23ef8a6dd6 *Fix a crash.
--HG--
branch : trunk
2009-02-26 17:01:02 -06:00
megamage
ee6418d92a *Update active object code.
--HG--
branch : trunk
2009-02-26 16:29:55 -06:00
megamage
ff24a59dd5 *Fix build.
--HG--
branch : trunk
2009-02-26 13:06:42 -06:00
megamage
4b19153a79 *Fix a crash caused by far sight spells.
--HG--
branch : trunk
2009-02-26 10:42:37 -06:00
megamage
bf66375bc7 *Update active object code. By VladimirMangos.
--HG--
branch : trunk
2009-02-25 20:52:20 -06:00
megamage
ccde296fd3 *Fix some crash bugs.
--HG--
branch : trunk
2009-02-25 17:53:05 -06:00
megamage
5fda499266 *Merge.
--HG--
branch : trunk
2009-02-24 21:14:00 -06:00
megamage
fe5fa58275 *Try to fix some crash bug related to grid.
--HG--
branch : trunk
2009-02-24 20:05:29 -06:00
megamage
699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00