zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
tomrus88
950a4bf13f
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-28 19:08:53 +04:00
VladimirMangos
c2e6dd20dd
[7715] Provided way for scripts set alternative gameobject state for client show.
...
Also use enum for gsmeobject states.
2009-04-26 07:21:11 +04:00
tomrus88
a9e148edac
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/AchievementMgr.cpp
src/game/BattleGroundHandler.cpp
src/game/CreatureEventAIMgr.cpp
src/game/DBCStructure.h
src/game/Player.cpp
src/game/Spell.cpp
src/shared/revision_nr.h
2009-04-21 15:20:45 +04:00
VladimirMangos
fc0e1ecdf1
[7690] Move GetCreature/GetGameobject to class Map.
...
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
tomrus88
66f554f74d
Merge 'master' into 310
...
Please enter the commit message for your changes. Lines starting
2009-04-18 17:21:29 +04:00
Trazom
718185cf8e
[7682] Implement support ACHIEVEMENT_CRITERIA_TYPE_FISH_IN_GAMEOBJECT
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-17 23:41:48 +04:00
tomrus88
769a24252b
Merge branch 'master' into 310
...
Conflicts:
src/game/BattleGroundHandler.cpp
src/game/Unit.cpp
2009-04-08 15:01:06 +04:00
VladimirMangos
3226a22e29
[7634] Fixed: select non-despawnable gameobjects base at appropriate for gameobject type dataN fields.
...
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)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-08 05:46:43 +04:00
tomrus88
2a8776e567
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
2009-04-04 23:25:57 +04:00
NoFantasy
02247d411b
[7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-04 03:06:02 +04:00
tomrus88
e5bde711ea
Merge branch 'master' into 310
...
Conflicts:
src/game/Chat.cpp
src/game/Chat.h
src/game/GameObject.cpp
src/game/Level2.cpp
2009-03-21 15:48:51 +03:00
AlexDereka
8a5e4706bc
[7506] Remove dual ERROR in logs
2009-03-21 11:47:57 +03:00
VladimirMangos
ae104fea27
[7496] Fxied problems with visual GO orientation for some angles. Optimize related code.
2009-03-19 20:15:01 +03:00
tomrus88
a2d3941588
Merged and updated to latest PTR build 9704
2009-03-19 14:18:17 +03:00
VladimirMangos
7589bf7263
[7489] Update gameobject rotation fields if need.
...
* Fixed update absent in ".gobject turn" command
* Propetly set rotation fields for summoned objects
* Check rotation/coordinates fields values at server loading
2009-03-18 21:04:57 +03:00
VladimirMangos
1ed2f1e65d
[7444] Fixed some recently added and old type conversion warnings.
2009-03-12 11:46:38 +03:00
tomrus88
31b3ee95ad
Merge branch 'master' into 310
...
Conflicts:
src/game/Level2.cpp
src/game/PetHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/SkillHandler.cpp
2009-03-11 12:22:58 +03:00
VladimirMangos
329fb3f9d1
[7440] Use server-side only zone info. Optimize related calles in case zone and subzone use.
...
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.
2009-03-11 10:08:12 +03:00
Triply
52696ce029
[7426] Mounted players now can capture tower point in Eye of Storm.
...
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject
Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 16:40:13 +01:00
balrok
54f2dbefa0
[7403] much more unneeded includes removed
...
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
tomrus88
8f9849969b
Updated to 9658 client build, SMSG_ADDON_INFO temporary disabled
2009-03-08 01:51:23 +03:00
VladimirMangos
ce8bd43bef
Merge commit 'origin/master' into 310 (at [7360])
2009-03-01 01:18:20 +03:00
VladimirMangos
19c513fc61
[7347] Prevent sql errors at GM-mode corpse save. Apply same chnages and for other pahsemask save part for consistense and safe.
2009-02-27 06:49:16 +03:00
tomrus88
42a8ae3752
More work on update packets
2009-02-26 19:55:45 +03:00
tomrus88
d3872fa572
In world with 3.1
2009-02-25 20:52:47 +03:00
VladimirMangos
3441c28998
[7328] Implement new way of work for warlock player summoning spell 698. Required correct DB data.
2009-02-23 01:27:52 +03:00
charlie2025
1185188a7e
[7327] Restore work of meeting stones, and make it work in more correct way. Required correct DB data.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-23 01:22:30 +03:00
Neo2003
7d8dc0eeef
Implemented gameobjects and creatures grouping (pools of them)
...
Groups (called pools) can be also member of any game event
Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
Signed-off-by: freghar <compmancz@gmail.com>
2009-02-18 20:19:57 +01:00
VladimirMangos
7d63f4ce02
Fixes and cleanups in loot code.
...
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case.
* Simplify LootView code.
2009-02-07 10:34:02 +03:00
VladimirMangos
4623402492
[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.
2009-02-01 22:03:56 +03:00
VladimirMangos
4602ff9c21
[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).
2009-02-01 08:13:16 +03:00
VladimirMangos
aa24bd836e
[7207] Phase system development continue for DB/in_game objects
...
* Store phase mask for creatures/gameobjects/corpse in DB
* Propertly set phase for summoned creatures/gameobjects/pets/corpses/spell related dynobjects
* Select proper phase for spawned creature/gameobjects and save it in DB
TODO: in game commands.
2009-01-31 06:11:50 +03:00
VladimirMangos
b5da610388
Phase system development continue.
...
* Use WorldObject phase mask field instead explicit aura scan. This allow have phase for any world objects.
* Add phase checks to packet broadcasters/object searchers. This let correctly work say/yell/area
and multi/random target spells/aggro assistance in phased areas or target selection.
* In GM-mode character presense (see and visible) in all phases except normal visibility efects including GM-visibility.
TODO: summoned objects phase set base at owner phase, load phase mask for creatures/gameobjects from DB, in game commands.
2009-01-31 06:06:01 +03:00
VladimirMangos
a1b5c3cb02
Cleanup code for UNIT_FIELD_BYTES_1 parts.
...
Move defines to Unit (values can be used with creatures)
Better gameobject barber chairs check at loading.
2009-01-31 05:55:10 +03:00
DiSlord
abaa111eaa
[7159] Allow GO cast as need (use go coordinates for target select in some cases)
...
Fixed work all Huter traps target selection
More check in ObjectAccessor::Get Object
More generic work 22 TARGET_CASTER_COORDINATES target type
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 03:44:45 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
tomrus88
588edbcedb
Fixed merge
2008-12-05 18:38:17 +03:00
tomrus88
af1e1d7794
Merge branch 'master' into 303
...
Conflicts:
src/game/Corpse.cpp
src/game/DynamicObject.cpp
src/game/GameObject.cpp
src/game/Object.h
src/game/Unit.cpp
src/game/Unit.h
2008-12-05 18:16:31 +03:00
tomrus88
d00a453863
Reduced number of cells (doubled max visibility distance).
...
Use 2D distance for visibility checks.
2008-12-05 17:42:46 +03:00
tomrus88
df3ca15c3d
Use 2D distance for visibility checks
2008-12-05 02:01:05 +03:00
tomrus88
397efd4fac
Merge branch 'master' into 303
...
Conflicts:
src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
hunuza
ac00eee418
Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap()
2008-11-17 17:24:53 +01:00
tomrus88
6fae544fbe
Merge branch 'master' into 303
...
Conflicts:
src/game/WorldSocket.cpp
src/shared/Database/DBCStructure.h
src/shared/Database/DBCfmt.cpp
2008-11-10 01:10:52 +03:00
evilstar
1da8ff0043
[6812] Implement localization of creature/gameobject name that say/yell.
...
Original patch deeply rewrited.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 13:19:08 +03:00
tomrus88
7974d1cb94
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.cpp
src/game/Spell.cpp
2008-11-08 16:52:28 +03:00
VladimirMangos
4476d483d4
Fixed comment text and code indentifiers spelling.
...
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +03:00
tomrus88
78ec66babc
Merge branch 'master' into 303
...
Conflicts:
contrib/extractor/System.cpp
contrib/extractor/ad.exe
src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
hunuza
90828fa699
Cache highest arena team/guild ids. Some code clean up.
2008-11-05 16:58:57 +01:00
VladimirMangos
88b1974df6
Fixed warnings, unused code and typos.
...
Including fix _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00