Commit Graph

807 Commits

Author SHA1 Message Date
Ghaster
bf3ab6d9c4 Core/Creatures: Port trainer changes from master
Closes #20493
2018-12-30 19:51:36 +01:00
Treeston
c16d461e16 Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) and play nice with IDEs (PR #22768) 2018-11-11 17:52:41 +01:00
Rochet2
257ae44a20 Add rotation to .gob info (#22723)
* Add rotation to .gob info

- Add rotation (yaw, pitch, roll) to .gob info command
- Replace LANG_SPAWNINFO_DISTANCEFROMPLAYER with LANG_SPAWNINFO_ROTATION
- Fix description of .distance to describe the command arguments (the more you know..)
- Fix .gob info guid targetting nearest gameobject instead of finding with given guid
- Reorder the info data slightly
- Print location and rotation data regardless of object found in world
- Add error messages for when object is not found by guid or entry
2018-10-28 10:07:56 +01:00
Rochet2
0a0312b705 Core/Command: Fix gameobject turn orientation saving (#22712) 2018-10-25 12:10:27 +02:00
ForesterDev
1e99f98327 Core/Commands: fix .appear command provide wrong undermap position (#22624) 2018-10-11 11:36:35 +02:00
ForesterDev
82a1448705 Core/Commands: Fix quest remove error message (#22623) 2018-10-11 11:16:57 +02:00
AlcDenat
2f5403d4af Split quest template locales (#22596)
* add quest locales tables
2018-10-09 16:31:27 +02:00
Shauren
b27a76969a Core/Commands: Fixed crash in .go commands
Closes #22498
2018-09-23 22:57:33 +02:00
Treeston
97ade1321b Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything. 2018-09-17 11:18:06 +02:00
Aokromes
cc49b7bb30 kill some whitespaces 2018-09-09 16:15:45 +02:00
Treeston
a4c666dc3d Core/ChatCommands: Implement achievement link parsing 2018-09-09 12:41:00 +02:00
Treeston
1377778bcc another build fix 2018-09-08 23:51:29 +02:00
Treeston
c59388783a Scripts/Commands: Rewrite .account commands to new model 2018-09-08 19:46:56 +02:00
Treeston
66a87c4642 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
2018-09-07 20:31:04 +02:00
Treeston
5843724deb Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command. 2018-09-06 10:46:28 +02:00
Treeston
8e4f6777a2 Scripts/Commands: Cleanup and trinity_string for .go instance. Hi shauren. 2018-08-30 21:08:28 +02:00
Treeston
6a0870a999 Scripts/Commands: New command ".go instance". Goes to an instance. 2018-08-30 20:17:51 +02:00
Treeston
2c030ed5e7 Scripts/Commands: .npc info now includes react state info 2018-08-28 12:05:05 +02:00
Treeston
042f5515e4 Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans 2018-08-23 16:34:42 +02:00
Shauren
bc3da555fe Core/Commands: Fixed .damage command to work with spell schools caused by bad strtok usage
Closes #22280
2018-08-17 11:17:12 +02:00
Treeston
2a50f9202b Scritpts/Commands: Fix area name display if no area present. Closes #21727. 2018-08-16 13:04:58 +02:00
Treeston
077bf43ab5 Scripts/Commands: Fix .quest complete to properly work with PvP kill quests. Closes #16321. 2018-08-14 16:09:51 +02:00
Treeston
f93cb448f1 Scripts/Commands: Demangled typeinfo of f7466c2 for gcc/cmake 2018-07-18 17:33:43 +02:00
Treeston
f7466c28a5 Scripts/Commands: .npc info and .gobj info now show runtime AI typenames in addition to AIName/ScriptName.
Trying to figure out what base AI type a given creature is using has annoyed me one too many times (hi there, e8f9068).
2018-07-18 14:20:08 +02:00
killerwife
16f524ff25 Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2 (PR #22087) 2018-06-26 20:17:59 +02:00
Shauren
0ead73516a Core/Misc: Improved ip2location code and set it to disabled by default 2018-06-23 21:31:09 +02:00
Gooyeth
a3198cbddc Typo fix contry -> country (#22075) 2018-06-23 02:30:26 +02:00
Gooyeth
2fe4ab94c5 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
2018-06-23 01:32:39 +02:00
ccrs
982643cd96 Core/Movement: MotionMaster reimplementation (#21888)
Internal structure and handling changes, nothing behavioural (or thats the intention at least).
2018-06-03 10:06:57 -07:00
jackpoz
5f6af8c6cb Core/Quest: Fix crash caused by disabled quests
Fix crash happening when a disabled quest was added and rewarded (through a GM command). Disabled quests are not validated on startup and they can reference invalid spells.
2018-05-05 19:17:52 +02:00
Treeston
1d27f83bda Core/Threat: My dictionary informs me that "fixtate" is not, in fact, a word. Corrected to "fixate".
fd33b1c follow-up
2018-05-04 21:57:18 +02:00
Treeston
fd33b1cd02 Core/Threat: Re-add fixtate system. I am being told Netherspite needs it. 2018-05-04 14:49:08 +02:00
Treeston
081eab3cf5 Core/Unit: UNIT_FLAG renames
[UNIT_FLAG_PLAYER_CONTROLLED -> UNIT_FLAG_POSSESSED]
[UNIT_FLAG_PVP_ATTACKABLE -> UNIT_FLAG_PLAYER_CONTROLLED]
Signed off by: Shauren, Warlockbugs.
2018-05-02 19:09:37 +02:00
Shauren
a5df77a9d6 Core/Transports: Force transport passengers into legacy spawn group
Ref #21641
2018-04-19 23:37:41 +02:00
ccrs
f9914caefc Core/Misc: movement header cleanup 2018-04-19 13:31:39 +02:00
Treeston
2a84562dc8 Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
- Chase to angle is now functional. Pets use this to chase behind the target. Closes #19925.
- Chase to arbitrary range interval works. Not used anywhere, but you can technically make hunter-like mobs.
- Pets now follow the hunter cleanly and without stutter stepping. Also fix some other things. Closes #8924.
2018-04-06 18:09:55 +02:00
ariel-
bcc7427fbc Core/Misc: whitespace/tab cleanup 2018-04-02 20:37:44 -03:00
Treeston
4692e10ca2 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good. 2018-04-01 13:52:36 +02:00
Mikhail Redko
7c5b69d18b Core/Creatures: implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR (#21642)
* Add CREATURE_FLAG_EXTRA_NO_SELL_VENDOR and use it for a single no-sell vendor in game (there are more of them in later expansions)
2018-03-21 10:05:17 +01:00
ariel-
e8d5aa56cc Core/Spells: rework part 3: spells only handle at most one UnitAura and one DynObjAura during its lifetime
Closes #15088
2018-03-09 14:41:28 -03:00
Shauren
592516ae69 Core/Creatures: Reworked setting move types in database
* Each move type has its own field instead of trying to combine everything in InhabitType
* Allow overriding movement separately for each spawn
2018-03-08 23:13:51 +01:00
ariel-
68dde9f8c5 Scripts/Command: build fix for horrible outdated boost version used by travis 2018-03-07 00:56:22 -03:00
ariel-
180a0269ed Scripts/Commands: Make Shauren happy 2018-03-06 19:12:16 -03:00
ariel-
d18f8b94b0 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

Closes #19957
2018-03-06 18:48:57 -03:00
Treeston
e79c595b69 Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
Ref #21479.
2018-02-26 17:40:40 +01:00
ariel-
34967e9c32 Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Updates #20957
Closes #20958
2018-02-24 20:57:55 -03:00
Gooyeth
42a11e97d5 Scripts/Commands: add AI/ScriptName to .gobject info (PR #21419) 2018-02-15 16:11:28 +01:00
ariel-
1826437c09 Core/Spells: implemented bonus SP coefficient from DBC
Ref #21415
2018-02-14 05:58:56 -03:00
Treeston
4cb13af4fa Core/Threat: Custom ThreatListIterator that transparently iterates over the backing map (instead of using heap iterators) when working with the unsorted threat list. This greatly reduces the range of actions that can cause iterator invalidation.
Also some minor adjustments to .debug threat, which no longer hides certain invalid states from view.
2018-02-05 01:33:41 +01:00
Treeston
8f52664a37 nopch fix 2018-02-04 15:10:31 +01:00