Machiavelli
3a309abfab
* In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
...
* Other minor cleanups, Null pointer checks etc.
--HG--
branch : trunk
2009-06-18 17:21:25 +02: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
f53b049759
*Fix a crash caused by passive traps.
...
--HG--
branch : trunk
2009-06-15 09:49:16 -05:00
QAston
f874ca629e
*Set target guid as original caster guid for GO casts.
...
--HG--
branch : trunk
2009-06-13 14:01:10 +02:00
megamage
9d670fe6f5
*Switch to support client version 3.1.3
...
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.
Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)
--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage
37dabaf71e
[7969] Remove gameobject from owner gameobjecs list at expire. Author: Ambal
...
This will prevent delayd owner access from gameobject destructor
in time remove list proccessing and fix possible related problems
with crosslinked pointers.
--HG--
branch : trunk
2009-06-06 20:24:50 -05:00
megamage
72ac0a2452
*Fix incorrect check of trap charges.
...
--HG--
branch : trunk
2009-06-06 19:59:04 -05:00
megamage
95bde24500
*Allow traps without a spell be triggered. This fixes the bug that Sapphiron cannot be summoned.
...
--HG--
branch : trunk
2009-06-05 13:16:54 -05:00
panaut0lordv
cc4a380722
*Some renames for GO type 33 for easier merging.
...
--HG--
branch : trunk
2009-06-04 18:32:24 +02:00
megamage
38fd158c40
*Fix the bug that some traps without charges and spell radius cannot be triggered.
...
*Provide spell support for quest 12698
--HG--
branch : trunk
2009-06-03 23:24:57 -05:00
megamage
77889ffa8b
*Save/load wintergrasp building health when grid loaded/unloaded.
...
--HG--
branch : trunk
2009-06-01 23:45:55 -05:00
megamage
e1058deaed
[7933] Call goober GO event script not only at open spell cast, also really call camera GO event scripts. Author: NoFantasy
...
--HG--
branch : trunk
2009-06-01 21:50:12 -05:00
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