Gyx
391d68be20
Core/Script: Code style.
...
WaypointReached(uint32 i) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 uiPointId) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 /*waypointId*/)
WaypointReached(uint32 uiI) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*i*/) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 uiWPointId) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*wp*/) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 waypointId)
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-29 15:44:24 +08:00
Gyx
a20fa23ea6
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-28 15:15:48 +08:00
Gyx
e050945c91
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-28 11:13:37 +08:00
kaelima
c38bf4498a
Fix compile and fix a possible crash for mob_kiljaeden_controller
2012-03-26 03:12:56 +02:00
Gyx
5cb16b65fc
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-17 17:54:48 +08:00
Gyx
7877eae6ba
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-17 12:17:15 +08:00
Gyx
d8b4bc590a
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 21:41:15 +08:00
Gyx
cd38e7df2b
Core/Script: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 20:31:23 +08:00
Gyx
bef1b0c402
Core/Script: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:40:57 +08:00
Gyx
ddc0f5d7d6
Core/Script: Clean-Up in Scripts.
...
InstanceScript* m_instance -> InstanceScript* instance
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:35:13 +08:00
Gyx
76c18e00c7
Core/Script: Clean-Up in Scripts.
...
GameObject* pGO -> GameObject* go
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:28:10 +08:00
Gyx
fcbb222aca
Core/Script: Clean-Up in Scripts.
...
Creature* c -> Creature* creature
Creature* _Creature -> Creature* creature
Creature* Creature -> Creature* creature
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:21:47 +08:00
Martin Weinelt
419e6a4a9e
Scripts/Magister's Terrace: Fix Translocation Orb Activation and correct some codestyle
2012-03-14 23:30:55 +01:00
Gyx
e8f414e143
Core/Script: Clean-Up in Scripts.
...
Creature* c -> Creature* creature
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-14 09:20:36 +08:00
Machiavelli
03a24a84e4
Core/Units:
...
- Implement UNIT_FIELD_HOVERHEIGHT (requires DB data). This field, sent in update object packet, will determine the height at which a creature hovers if it has movementflag_hover applied. Note that hovering will now update the server-sided z-coordinate by the value of this field, and that all subsequent positional updates to the client will need to send z coordinate MINUS the hover height offset, or the hoverheight will be visually doubled client side.
- Correct our usage of movementflag_flying, movementflag_can_fly, movementflag_hover and movementflag_disable_gravity (previously levitate), and how they relate to InhabitType in the database. This fixes "flying creatures on steroids" bug (wings flapping too fast), and potentially a lot of visual issues in AI scripts. Note that a lot of scripts still set wrong movementflags, these need to be fixed on a case by case basis.
- Send correct packets for SPELL_AURA_FEATHER_FALL, SPELL_AURA_WATER_WALK and SPELL_AURA_HOVER apply/unapply.
- Send correct packet contents for movement update in Unit::SetSpeed.
- Misc. cleanup in affected scripts.
2012-03-12 00:53:45 +01:00
Nay
2b2d054f64
R.I.P SimpleAI
...
- Convert SimpleAI to (DB) SmartAI
- Spell ids corrected (and completed some of the scripts)
- Random cleanup (code style) in some scripts
2012-03-11 16:59:17 +00:00
frozenarmor
609728a17b
Update forgotten copyright-headers for 2012.
...
Signed-off-by: frozenarmor <venom.victorios@gmail.com >
2012-03-11 00:52:06 +05:00
Spp
f495e0efe4
Warning fixes and some random cleanup here and there
2012-03-07 14:09:18 +01:00
Spp
d38bc3a178
Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there
2012-02-27 14:58:47 +01:00
Spp
5cff9e0716
Merge branch 'master' into 4.x
...
Conflicts:
sql/base/auth_database.sql
src/server/authserver/Server/AuthSocket.cpp
src/server/game/AI/CoreAI/CombatAI.cpp
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
src/server/game/DataStores/DBCStructure.h
src/server/game/DataStores/DBCfmt.h
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Entities/Vehicle/Vehicle.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Globals/ObjectMgr.h
src/server/game/Handlers/AuctionHouseHandler.cpp
src/server/game/Miscellaneous/SharedDefines.h
src/server/game/Movement/MotionMaster.cpp
src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
src/server/game/Quests/QuestDef.cpp
src/server/game/Server/Protocol/Opcodes.cpp
src/server/game/Server/WorldSocket.cpp
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
src/server/game/Spells/SpellInfo.cpp
src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp
src/server/scripts/Spells/spell_quest.cpp
src/server/shared/Logging/Log.h
src/server/worldserver/worldserver.conf.dist
src/tools/vmap3_extractor/model.h
src/tools/vmap4_extractor/CMakeLists.txt
src/tools/vmap4_extractor/dbcfile.cpp
src/tools/vmap4_extractor/dbcfile.h
src/tools/vmap4_extractor/loadlib/loadlib.h
2012-02-23 13:06:35 +01:00
Shauren
dc28b92415
Core: Random cleanup + compile fix
2012-02-23 13:01:16 +01:00
Venugh
5416b734e4
Core/Movement: Use SetLevitate(true/false) instead of AddUnit/RemoveUnit.
2012-02-23 12:32:21 +01:00
Venugh
1cac01b3df
Core/Movement: Use SetWalk(true/false) instead of AddUnit/RemoveUnit.
2012-02-23 11:50:58 +01:00
Nay
bbfceafed6
Actually remove searing_gorge.cpp from CMakeLists, sorry.
2012-02-22 20:12:45 +00:00
Nay
a7e5c3c7c4
Misc: Delete searing_gorge.cpp and fix a typo in worldserver config
2012-02-22 19:56:23 +00:00
Malcrom
0fba6e70f6
scripts: Searing Gorge wasn't cleaned up properly.
2012-02-22 14:06:50 -03:30
Malcrom
7da99c4589
db/SAI: Move Kalaran Windblade script to SAI and improved scripting and gossip.
2012-02-22 12:59:46 -03:30
Malcrom
74fc13596c
DB/Scripts: Remove 2 cpp scripts in Searing Gorge and replace with SAI.
2012-02-21 20:03:12 -03:30
Malcrom
f87da6d664
DB/Gossip: Fix gossip for Fallen Hero of the Horde and remove cpp script.
2012-02-18 15:38:51 -03:30
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Malcrom
958c32b026
Move gossip for Lore Keeper of Norgannon to db. Remove cpp script. Also rename some incorrectly named sql updates.
2012-02-18 08:27:00 -03:30
Matthew Goff
7a117dd429
Core/Misc:
...
- Replace emote magic number by enum
- Added all missing defines from AnimationData.dbc. Minor corrections to existing ones. Standardized some naming and updated cpp files as needed.
- Correct a spell used in AQ
Closes #3787
Closes #5095
2012-02-06 01:22:45 +00:00
QAston
c7ea952a47
Core/Entities: Rename UNIT_FLAG_OOC_NOT_ATTACKABLE and UNIT_FLAG_PASSIVE to UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC respectively. New names tell much more about what those flags do.
2012-02-03 18:46:05 +01:00
Shocker
04f38855ab
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:12:41 +02:00
Shocker
08be716ef8
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:02:17 +02:00
Spp
37b66384f3
Merge branch 'master' into 4.x
...
Conflicts:
src/server/authserver/Server/AuthSocket.cpp
src/server/game/Entities/Object/Object.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Handlers/AuctionHouseHandler.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/MovementHandler.cpp
src/server/game/Miscellaneous/SharedDefines.h
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
2012-01-31 11:49:53 +01:00
Bootz
6c3bdb1f70
Scripts/EasternKingdoms: MoltenCore
...
* Fixed Enums in defines.
2012-01-26 02:55:23 -06:00
Bootz
74441b12ec
Scripts/EasternKingdoms: ScarletMonastery
...
* Removed trailing white spaces
2012-01-26 02:49:10 -06:00
Bootz
c0cd16e51d
Scripts/EasternKingdoms: ScarletMonastery
...
* Fixed a few derps i missed on last patch
2012-01-26 02:40:15 -06:00
Bootz
2db052b109
Scripts/EasternKingdoms: ScareltMonastery
...
* Script Standardizations done,
- Removed SD2 Hieroglyphics.
- Removed Hungarian Notations.
- Fixed Enums in Defines.
2012-01-26 02:21:15 -06:00
Bootz
e0930b1a37
Scripts/EasternKingdoms: Blackwing Lair
...
* Adjusted copyright headers back to '09 these need updated b4 can use 2012
2012-01-25 01:13:07 -06:00
Bootz
79c2390f81
Scripts/EasterKingdoms: Blackwing Lair
...
* code-style cleanup
* Fixed copyright header
* Fixed defines in enums
todo: make the necessary changes for script_text-> Creature_texts.
2012-01-25 00:39:37 -06:00
Discover
c1cf2db17f
DB/SAI: The Missing Diplomat
...
closes #3700
2012-01-16 12:36:52 +01:00
kaelima
f10e41ee41
Scripts/Trial of the Crusader: Fix crash in MovementInform for Frost Sphere in Anub'arak encounter.
...
Thanks Vincent-Michael!
Fixes #4834
2012-01-15 20:37:25 +01:00
Machiavelli
dbbac0bdaa
Core/Movement: Implement spline movement subsystem.
...
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.
Technical changes:
* Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
* Precission increased. There are no more position desync issues since client's position calculation formulas used.
* Now possible to move by paths with multiple points, send whole path to client.
--
Original author of research and implementation: SilverIce. Massive kudos.
Original port for Trinity (ref #4629 ) Chaplain and Venugh
With the following incremental fixes during my review:
- Restore flightmaster end grid pre-loading
- Fix uninitialized Creature::m_path_id
- Add missing trinity_string entries for .movegens command
- Fix a bug in WaypointMovementGenerator that would trigger unexpected pausing at waypoints for various amounts of time
Known issues:
- Errors like WaypointMovementGenerator::LoadPath creature XXX (Entry: YYYYY GUID: ZZZZZZ) doesn't have waypoint path id: 0.
This is caused by bad DB data. This commit didn't "break" it.
Do not forget to re-run CMake before compiling.
2012-01-14 15:36:07 +01:00
svannon
b878e68f8a
Core/Script: remove unused script
2012-01-13 22:13:10 +01:00
malcrom
03a7f12916
Core/Script: update creature_text for Twilight Corruptor from sniffs
...
closes #4697
2012-01-08 14:20:11 +01:00
malcrom
57e1972b86
Core/Script: update creature_text for the Paladin Trial Quests in Eversong from sniffs
...
closes #4699
2012-01-08 13:34:49 +01:00
malcrom
7b86761045
Core/Script: update creature_text for Phizzlethorpe from sniffs
...
closes #4698
2012-01-08 13:23:54 +01:00
ZxBiohazardZx
b556ac564b
Core/Build: fix build
2012-01-08 12:50:15 +01:00