Commit Graph

66 Commits

Author SHA1 Message Date
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
megamage
8b05faacab [7217] Remove outdated for 3.0.x gameobject 187039 invisibility (type 10) set in code.
Now gameobject expected have phasemask 2 in DB for expected work.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-01 16:50:39 -06:00
megamage
05c07aa74a [7214] Phase system continue development - Commands and fixes.
* Fixed creature/gameobject save from game (used in commands code only)
    * Implement .modify phase (for player), .npc setphase (for creature/pet), .gobject phase (for gameobjects) commands
      for set phasemask of selected object. In player/pet case temporary until in game phase switch/re-login/GM-mode change.
      In creature/gameobject case change saved in DB.
    * Add to .gps output phasemask value print. Allow use .gps command with creature/gameobject shift-link
      (work for objects loaded in game in command time).

Author: VladimirMangos

--HG--
branch : trunk
2009-02-01 16:46:57 -06:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
4074b481f0 *Update to Mangos 7206.
--HG--
branch : trunk
2009-01-31 14:41:36 -06:00
megamage
ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage
1622cd26a1 *Add some missing contents in previous commits.
--HG--
branch : trunk
2009-01-04 17:14:34 -06:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00