Commit Graph
998 Commits
Author SHA1 Message Date
joschiwald 7fbc4374f3 Core/Entities: GameObjectDespawn packet is only sent for GameObjects 2016-11-16 22:46:37 +01:00
Palabola dbd3e68ce6 Command/Morph fix ModelId above 65535 (#18149) 2016-10-26 23:14:38 +02:00
ariel- 59a9bc5ca0 Core/Channels: Revamp of channel system
* Core/Chat: general cleanup and revamping: (#17576) (fbbb03212e93591a77a1169a30fb01867cd3c0e9)
* Core/Channel: restore accidentally deleted line, fixes channels not honoring ownership setting (7c714179930c8c369f124d8d1404656fff0a1199)
* Channel Followup: avoid setting an invisible gm as Channel owner (#17597) (8a8362ef153eca50be0bcb5670e615b9685607fc)
* Core/Channel: change the way channels are stored and sent to client, fixes multiple channels per zone when using different locales (#17980)
2016-10-07 01:09:28 -03:00
Shauren c676e80c45 Core/Players: Removed references to removed currencies
Closes #17721
2016-09-29 23:30:47 +02:00
Shauren 660aa059ae Core/Commands: Slightly improve output of bnetaccount create command
Ref #18002
2016-09-26 17:43:33 +02:00
Traesh d4887311e3 Core/Scenes: Implemented scene system
Closes #17858
Closes #17976
2016-09-25 16:13:12 +02:00
Vincent-Michael 1f6c324476 Core/Misc: Whitespace cleanup 2016-09-22 21:59:12 +02:00
Vincent-Michael 3a860429d3 Core/Commands: Fixed build 2016-09-03 19:44:37 +02:00
xjose93 779d3b2368 Core/Commands: Implement .neargraveyard (find nearest graveyard from dbc). (#17301)
(cherry picked from commit e2c01899272d1e6c6bbf990676b818cceaf18c9c)
2016-09-03 18:04:11 +02:00
treeston a92bfb5505 Scripts/Commands: Small QoL adjustments
- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
    - New commands .server shutdown force and .server restart force bypass this limitation.

(cherry picked from commit 0e1eb460d687e545f95caf0f38a16c3feb7132a3)
2016-09-03 13:46:33 +02:00
Vincent-Michael fbd547f590 Core/Commands: Added offline player support for unstuck command 2016-08-27 19:12:30 +02:00
tkrokli 68a3f8f582 Core/Scripts: uint8 -> uint16 in cs_cheat.cpp
After the latest size change in PLAYER_EXPLORED_ZONES_SIZE
from 255 to 256, this needs to be an uint16 variable instead of uint8.
2016-07-25 04:06:09 +02:00
Shauren a9a13d10f7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-17 17:37:06 +02:00
Shauren e2d6c362f2 Core/Commands: Allow .cooldown command to work on player pets
(cherry picked from commit 9509aac38b29cf47ee2ea99e41e73b82b22cff7a)
(cherry picked from commit 86a594a4dd9b37d7a8428e2c54acd78836e9474d)
2016-07-16 14:14:43 +02:00
Shauren 70137b8f3a Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-06 00:05:13 +02:00
DDuarte b9ec8ae328 Scripts/Commands: Fix build warning
(cherry picked from commit 42028a18421f672a3292733cac73840c4e766089)
2016-07-05 11:56:04 +01:00
DDuarte 7ab5145321 Scripts/Commands: Remove unused argument of .cometome command
(cherry picked from commit 1100fe60572b186eee98b6b7cbdccf5a2d67b7e1)

# Conflicts:
#	sql/updates/world/3.3.5/2016_07_05_01_world.sql
2016-07-05 11:23:04 +01:00
Shauren d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
Shauren c529566ac4 Core/GameObejcts: Fixed disconnects happening when viewing nearby players on elevators
Closes #17335
2016-06-12 00:11:00 +02:00
Shauren 737469cfaa Core/PacketIO: Update movement packets 2016-06-05 17:57:19 +02:00
Vincent-Michael 9d7a17d9f5 Core/Commands: Added ".npc set phase" command error message for invalid phaseid
Closes #14927
2016-06-05 16:43:41 +02:00
Shauren 6b1c85a676 Core/PacketIO: Updated spell packets 2016-06-05 14:08:53 +02:00
Shauren a1ce7ae6a2 Build fixes 2016-06-03 16:49:42 +02:00
Shauren c95f4a5070 Core/GameObjects: Updated GameObjectTemplate to 7.0.3.21796 2016-05-30 23:49:35 +02:00
Shauren b82332487a Core/DataStores: Updated db2 to 7.0.3.21737 2016-05-27 23:14:36 +02:00
Shauren 70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren 885d9b53c3 Core/DataStores: Updated dbc/db2 to 7.0.1.20994 2016-05-20 23:48:48 +02:00
Shauren 41ae38d94d Core/DataStores: Updated dbc/db2 to 7.0.1.20914 2016-05-20 23:48:24 +02:00
Shauren 5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
Vincent-Michael b29005925e Core: Fixed warning 2016-05-08 00:43:17 +02:00
Vincent-Michael a3b4c40073 Core/Commands: Cleanup in 0940f3e077 2016-05-08 00:26:30 +02:00
Vincent-Michael 0940f3e077 Core/Commands: Allowed .server idlerestart / idleshutdown / restart / shutdown to take another parameter structure:
e.g.:
* .server idlerestart 12d3h13m13s
* .server idleshutdown 46m13s
* .server restart 45h56m
* .server shutdown 323m42s
2016-05-08 00:02:15 +02:00
Shauren c75fcbe20b Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
funjoker 7eab3d3716 Core/Units: Updated armor damage reduction calculation
Merge #17069
2016-05-03 14:09:57 +02:00
Incorrect c28e6a8c16 Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:53:39 +02:00
KarrokDC da186daf02 Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
* Closes #16858

(cherry picked from commit 775b03bf6f345ac2bdc4936bb0ead5b0ad4fb193)
2016-05-01 02:00:44 +02:00
Nyeriah afa8cfa092 Scripts/Command: Solve several format exception crashes introduced in a recent commit
Ref #16648
Closes #16751

(cherry picked from commit c1905771f064e374a09720f470116f04b03e5a42)
2016-05-01 02:00:43 +02:00
Vincent-Michael 3cd19d3b30 Core: Removed Whitespaces 2016-04-16 12:19:23 +02:00
Chaouki Dhib 3cbbcdb51a Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
(cherry picked from commit dc3327f9c5f80c36000356829159c060d916f62b)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
#	src/server/scripts/Kalimdor/zone_azshara.cpp
#	src/server/scripts/Kalimdor/zone_durotar.cpp
#	src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2016-04-16 02:26:24 +01:00
Naios 9cc97f226d Core/Game: Rewrote the ScriptMgr to support script reloading.
* Finally this commit enables dynamic script hotswapping
  and finished the PR #15671.
* Split the storage layout to use optimized storages
  for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
  -> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable
2016-04-11 21:14:00 +02:00
Naios 59e3cf82ac Core/Game: Move scheduled map scripts counter methods into MapManager
* Since those have nothing to do with core scripts and are
  not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
r00ty-tc 0bf70423f8 Core/Maps: Implement optional pre-loading of maps.
- Option to preload basemaps upon server load (BaseMapLoadAllGrids)
- Option to preload instance maps upon map load (InstanceMapLoadAllGrids)
- Change default logging to only log mmap errors to server log
- Add new public to map to load all cells in map
- change debug loadcells to use new function instead

(cherry picked from commit 971f4ccab87ba95e584d5761f686cc2a86f5af9d)
2016-04-09 17:08:41 +02:00
ForesterDev 1ef3b52433 Scripts/Commands: Modify ".debug anim" command to target any selected unit
(cherry picked from commit f719338a9c6e203e6e6985fdf76235deb8d6f941)
2016-04-09 17:06:41 +02:00
Shauren 911e81ed9e Warning fix
(cherry picked from commit 7fe5a77f5eb01e55db9b242e444dcb69c0c23189)
2016-04-09 00:25:40 +02:00
Shauren 593bbb0c99 Core/Commands: Fixed a crash in .wp mod by @Magnifikator
Closes #16732

(cherry picked from commit 3d0b065135d36c6496c911c7c7fa355bb6f74a58)
2016-04-09 00:23:38 +02:00
Shauren d92cad6973 Core/Commands: Fixed incorrect use of GetGUID instead of GetSpawnId in waypoint commands
Updates #16732

(cherry picked from commit e73d5a7bf4d7c0b5eded5d7f7a822cf009200ad7)
2016-04-09 00:23:35 +02:00
Aokromes d4146a23ac Merge pull request #16038 from tkrokli/grammar_and_spelling_corrections_335
[3.3.5] Core/Logs: English text corrections
(cherry picked from commit 4cd937140ba2ed66493d65c0090cd371706c1e2e)
2016-04-08 19:48:58 +02:00
Shauren 4e67383621 Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392)
(cherry picked from commit 62aff401f687b56d720a320778950e82b65fbd8b)
2016-04-05 20:35:59 +02:00
Rushor 92a80979dd Game/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
* updates #16423

(cherry picked from commit 110e0fd0925a8d7c5b0db684207a1f0208ac33a5)
2016-04-02 19:24:13 +02:00
treeston 870a76ad10 DB/Creature: Add a new extra_flag CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ (0x00200000) that awards players credit for killing the creature even if less than 50% of damage was dealt by players.
This can be used to fix quests such as "Heated Battle" or "If Valgarde Falls..." that are currently very hard to complete at the appropriate level due to "friendly" NPCs killing off the required targets too quickly for players to get 50% of damage in.

(cherry picked from commit d240ccb38c05e394b181a09d42f5e55d3222603a)
2016-04-02 17:33:31 +02:00