Commit Graph

124 Commits

Author SHA1 Message Date
megamage
b5a098643f *Display correct building damage state/team on map in wintergrasp.
*Rebuild buidlings after fortress is taken over.

--HG--
branch : trunk
2009-06-01 12:48:12 -05:00
megamage
76e4dfe8dd *Store creatureData and goData for creatures and gos.
--HG--
branch : trunk
2009-05-31 21:04:04 -05:00
megamage
da871e2fc0 *Move addcre/go functions from opvp to objmgr.
*Do not save respawn time for internally added cre/go.

--HG--
branch : trunk
2009-05-31 14:26:57 -05:00
megamage
8d1f4f9ea0 *Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.

--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
megamage
bc32144310 *Update OutdoorPvP functions. No longer need creature triggers for capture points.
--HG--
branch : trunk
2009-05-29 00:18:41 -05:00
megamage
320ac7f91e *Do not use GO guid as original caster guid. (not supported for now)
--HG--
branch : trunk
2009-05-25 21:18:02 -05:00
megamage
4ed847a6e3 *Implement spell effect wmo damage.
--HG--
branch : trunk
2009-05-21 10:01:03 -05:00
QAston
4a20e22af3 *Do not proc relentless strikes with slice and dice twice
*Fix trap radius calculation in some cases-by krz

--HG--
branch : trunk
2009-05-15 16:51:26 +02:00
megamage
08a0c543d1 *Fix some typos of script functions.
--HG--
branch : trunk
2009-05-09 14:08:11 -05:00
megamage
6592e99f4a *Some update of spell target selection.
--HG--
branch : trunk
2009-05-09 10:48:14 -05:00
megamage
3f6f15e34b *Update instance script functions.
--HG--
branch : trunk
2009-05-06 00:06:38 -05:00
megamage
db817d668a *Merge.
--HG--
branch : trunk
2009-05-01 18:37:32 -05:00
megamage
c9cd3b07f9 *Add some InstanceData functions to better handle instance doors.
--HG--
branch : trunk
2009-05-01 18:24:12 -05:00
megamage
0e3453e6d4 *Add function Gobject::sendcustomanim
--HG--
branch : trunk
2009-04-30 12:01:08 -05:00
megamage
de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage
5ac67c27f7 [7715] Provided way for scripts set alternative gameobject state for client show. Author: VladimirMangos
Also use enum for gsmeobject states.

--HG--
branch : trunk
2009-04-27 18:36:10 -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
5d2968792f *Try to fix a crash by not allowing trap grid visit creating new grid.
--HG--
branch : trunk
2009-04-18 10:37:15 -05:00
megamage
ca5894b348 [7682] Implement support ACHIEVEMENT_CRITERIA_TYPE_FISH_IN_GAMEOBJECT Author: Trazom
--HG--
branch : trunk
2009-04-17 15:22:27 -05:00
megamage
fa0492ccce [7634] Fixed: select non-despawnable gameobjects base at appropriate for gameobject type dataN fields. Author: VladimirMangos
Many in world gameobject that unexpected daspawned before must now work in more expected way.

    In tests i not found any damage to bg gameobject work, and at least this restore expected work for non-bg dorrs//buttons broken
    after half-year ago patch (that has been reverted partly in this commit)

--HG--
branch : trunk
2009-04-08 16:35:13 -05:00
megamage
5acc0c057b [7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating. Author: NoFantasy
--HG--
branch : trunk
2009-04-05 16:25:00 -05:00
megamage
031df598ab *Try to fix crash.
--HG--
branch : trunk
2009-03-31 09:18:39 -06:00
megamage
eb894f39e8 *First remove object from world then unregister it. This may fix some crashes.
--HG--
branch : trunk
2009-03-28 16:04:37 -06:00
megamage
312b8e5b73 *Merge.
--HG--
branch : trunk
2009-03-25 16:00:38 -06:00
megamage
581ae2719d *Do not allow to add/remove obj to/from world more than once.
--HG--
branch : trunk
2009-03-25 15:54:23 -06:00
megamage
59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage
64ce6533a9 *Update gameobject visual and command. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:16:02 -06:00
megamage
249d0d53c0 [7489] Update gameobject rotation fields if need. Author: VladimirMangos
* Fixed update absent in ".gobject turn" command
    * Propetly set rotation fields for summoned objects
    * Check rotation/coordinates fields values at server loading

--HG--
branch : trunk
2009-03-18 20:46:21 -06:00
megamage
4cb8ff7f26 *Fix the case that trap spell is casted on target self.
--HG--
branch : trunk
2009-03-14 21:30: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
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
167ca565d0 *Update bind sight spells code.
--HG--
branch : trunk
2009-03-10 15:26:17 -06:00
megamage
7a2f21a0b1 [7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject

--HG--
branch : trunk
2009-03-09 18:00:56 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
4cdb56a967 [7347] Prevent sql errors at GM-mode corpse save. Apply same chnages and for other pahsemask save part for consistense and safe. Author: VladimirMangos
--HG--
branch : trunk
2009-02-27 12:26:40 -06:00
megamage
acfbe7a4a3 [7328] Implement new way of work for warlock player summoning spell 698. Required correct DB data. Author: VladimirMangos
--HG--
branch : trunk
2009-02-22 17:48:48 -06:00
megamage
513d5c179c [7327] Restore work of meeting stones, and make it work in more correct way. Required correct DB data. Author: charlie2025
--HG--
branch : trunk
2009-02-22 17:48:19 -06:00
megamage
e21b2c9baa *Implemented gameobjects and creatures grouping (pools of them)
*Groups (called pools) can be also member of any game event
Author: Neo2003

--HG--
branch : trunk
2009-02-19 18:44:20 -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
QAston
14d85a183e *Make range check dependent from target.
--HG--
branch : trunk
2009-02-14 15:56:04 +01:00
megamage
1c3f478ecc *Merge.
--HG--
branch : trunk
2009-02-13 20:12:01 -06:00
QAston
5f6705535b *Fix bug that traps were activated by totems.
--HG--
branch : trunk
2009-02-13 20:16:38 +01:00
megamage
11b9bd42f7 Fixes and cleanups in loot code. Author: VladimirMangos
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case.
    * Simplify LootView code.

--HG--
branch : trunk
2009-02-08 21:45:31 -06:00
megamage
ae5e608c00 *Fix a crash bug in the previous rev.
--HG--
branch : trunk
2009-02-04 16:30:20 -06:00
QAston
ee65a34544 *Implement stealth detection for traps.
--HG--
branch : trunk
2009-02-04 19:43:00 +01:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
cdcf465360 *Merge.
--HG--
branch : trunk
2009-02-04 19:16:12 -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