Commit Graph

813 Commits

Author SHA1 Message Date
TheWinchesters
a0056951f7 [3.3.5] Commands: lookup player shows which character is online (#23039)
* Show 'online' for every online player in lookup player commands
2019-02-15 20:18:58 +01:00
jackpoz
2fda1572d2 Core/Misc: Fix issues reported by static analysis
Fix issues reported by Coverity Scan
2019-02-05 21:10:39 +01:00
Shauren
ec1cfa36f4 Core/Commands: Fixed creature/gameobject move commands not updating which cell they belong to
Closes #22720
2019-01-15 16:54:57 +01:00
ccrs
9080e7863c Core/Movement: correct logic wrongly ported in 2a84562dc8
I'm referencing line 97 from ChaseMovementGenerator.
That commit introduced a modification in this use case:
- Chasing target is not my current victim, I should stop moving till it is my victim again
Changed To:
- Chasing target is not my current vicitm, I should stop chasing
My correction:
- I dont care about the relation of my current victim and my chasing target, I'm commanded to chase, something will tell me to stop chasing
--> Most likely: evade, new attackstart, etc.

the rest are just minor changes
2019-01-10 22:51:47 +01:00
Treeston
fcfcb0eb6f Happy New Year, folks. It's 2019! 2019-01-01 15:45:25 +01:00
Giacomo Pozzoni
20ea24bf5c Scripts/Commands: Fix crash caused by .set npc model (#22877)
* Scripts/Commands: Fix crash caused by .set npc model

Fix crash caused by .set npc model with invalid model id
2019-01-01 15:00:27 +01:00
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