Commit Graph
249 Commits
Author SHA1 Message Date
ariel- fe2e3b67a8 Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks
Closes #18135

(cherry picked from commit d3a71a83387f757f87c7d27e1054498c8cc49c8f)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_misc.cpp
2017-10-15 16:59:56 +02:00
Shauren 6eb9973947 Core/Weather: Fixed weather updates to be thread safe 2017-09-14 22:33:40 +02:00
roc13x e04f75bd96 Core/Players: Several gold handling improvements
* Update gold limit to 10 million
* Updated auction house gold handling to 64-bit
* Fixed some vendor checks for when BuyCount > 1
* Tweaked some checks for available gold space
* Updated guild bank gold handling to 64-bit and fix withdraw limits
* Enforce gold limit on guild bank
* Check correct rank right when withdrawing from bank
* Other small changes to update money to 64-bit

Closes #19195
Closes #20152
2017-08-20 18:10:11 +02:00
Rochet2 211b564894 Scripts/Commands: Fix trinity_string usage and enhance commands 2017-07-22 09:22:17 +02:00
Shauren b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren 3d7c2ef88f Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr) 2017-05-21 23:18:43 +02:00
Shauren c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren 9299e9bde0 Core/Grids: Ported cmangos/mangos-wotlk@ea99457e50 2017-05-13 19:37:33 +02:00
Shauren beb3316089 Core/Shared: Include cleanup 2017-05-13 11:49:09 +02:00
Shauren 3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
Shauren 8fc527f404 Core/Items: Set and save item context field 2017-05-08 23:56:35 +02:00
joschiwald 036f67c0c1 Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation 2017-05-05 21:22:58 +02:00
Shauren adbdb64301 Core/PacketIO: Updated server packet structures to 7.2.0 2017-04-15 12:32:36 +02:00
Rochet2 80cf4e3070 * Scripts/Commands: Fix guid usage and enhance commands
- Fix targeting gameobjects and creatures for .dist and .gps. The old code used DB guid to search from core generated guid lists.
- Fix some error messages saying 'no player found' even if creatures and gameobjects and players were searched
- Change atoi to atoul when receiving lowguids as string or other uint32 values
- Use ObjectGuid::LowType instead of uint32 for lowguid type
- Allow .gob info to take in gameobject guid link as well as entry link in addition to gameobject entry and update the documentation of the command
- Change .gob delete to post the spawnid (dbguid) instead of the ingame generated guid (which is basically never seen or used by the player in any other commands that I see)
- Allow spawntimesecs to be negative when spawning a gameobject
- Disable searching by ingame spawn id in commands. (it makes little sense for a user to provide a number which is then attempted to be used as DB guid and non DB guid when both could have a match)
- Update .gob turn documentation to tell about possibility to provide orientation in command
- Correct the types in .gob add command result trinity_string
- Correct the creature search for .npc del
- Change .event to .event info
- Add .go offset command
- Remove the .go command for empty string (no subcommand given) because it just used .go xyz
- Extend .gob info to show size, faction, flags and model dimensions
- Remove some unnecessary casts
- Document .wp show better (first and last were not documented)
- Insert spawnid to .wp show info error message
- Fix spawntime printing for .gobject target
- Fix guid targetting for .npc set movetype
- Fix query by spawnid for .wp show info
- Fix deleting of existing waypoints when twice doing the command .wp show on
- Fix deleting of existing waypoints when doing the command .wp show off
- Change wpguid column in DB and in core to uint32, which is what the spawnid type is in core and db.

Closes #18978
2017-03-11 12:29:37 +01:00
joschiwald c6632dc3ee Fixed build and typo 2017-02-18 13:40:03 +01:00
joschiwald 80c36f3d9c Scripts/Command: Fixed phases output in .pinfo command
Closes #19144
2017-02-17 21:54:49 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren 8742732149 Core/Items: Implemented bonus list as a possible result of RandomSuffix
Ref #18423
2016-12-26 21:21:28 +01:00
Shauren eba8ed329f Core/Commands: Output phase list in gps command
Closes #18227
2016-12-07 23:24:32 +01:00
Vincent-Michael fbd547f590 Core/Commands: Added offline player support for unstuck command 2016-08-27 19:12:30 +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 737469cfaa Core/PacketIO: Update movement packets 2016-06-05 17:57:19 +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 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 5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +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
Shauren db0b8bf24e Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
jackpoz 8f91df0465 Scripts/Commands: Modify ".setskill" command to target current Player by default
(cherry picked from commit e138e094a937139aef7a2f265fff2f64b17ffa7f)
2016-01-20 21:59:49 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren d03ca37f10 Core/Players: Use constant gender from PLAYER_BYTES_3 where appropriate. 2015-11-27 21:53:27 +01:00
blub 2a9a68877a Merge pull request #15729 from Vincent-Michael/gpsTransport
Core/Commands: Added transport position for command .gps
2015-11-14 20:41:50 +01:00
Vincent-Michael 9c99a1d0c7 Core/Commands: Added transport position for command .gps 2015-11-14 20:12:50 +01:00
Shauren dfc8ea0ad5 Core/Commands: Improved additem and additemset commands. Added optional parameter allowing to specify bonuslist ids for items (you can copy the ids from wowhead urls) 2015-11-09 17:57:37 +01:00
Shauren 2d942ddcc5 Core/Commands: Refactored chat command script hook, fixes a crash when building with gcc 5
Closes #15616
Closes #15740
2015-10-22 20:26:56 +02:00
Shauren 63def8aa32 Core/Battle.net:
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures

World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
Shauren cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Shauren 3109ab2da0 Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions 2015-09-13 11:13:04 +02:00
Shauren f0e7ef1f9f Core/PacketIO: Exclude DamageDealt/DamageTaken script hook results from damage sent in SMSG_SPELL_NON_MELEE_DAMAGE_LOG 2015-08-10 17:46:31 +02:00
Shauren fcc8c2d12c Core/PacketIO: Implemented advanced combat logging 2015-08-08 15:15:14 +02:00
duhow 393b29b7bd Scripts/Commands: Allow .maxskill to be used with self or selected player
Closes #15064

(cherry picked from commit cec97f168c1179796493fb13b978aaf1cea1d6e1)
2015-07-15 01:54:56 +01:00
Carbenium 6d12297ffa Scripts/Commands: Fix LANG_PINFO_MUTED in HandlePInfoCommand
Closes #14560
Thanks @Mack36
2015-05-20 17:48:53 +02:00
Kinzcool 00cfe8f5a9 Core/Misc: Fixed wrong references to ZoneName instead of using AreaName_lang 2015-05-08 22:48:30 -04:00