Commit Graph

15076 Commits

Author SHA1 Message Date
jackpoz
24018b7a74 Core/Creature: Ignore combat reach when looking for assisting creatures
Fixes #25487
2020-09-23 20:17:35 +02:00
Treeston
a6d8a7ad1e Core/ChatCommand: Improve feedback for ambiguous commands 2020-09-23 14:39:39 +02:00
jackpoz
16292f9d94 Core/Pet: Fix GetDebugInfo() output 2020-09-22 20:41:00 +02:00
Treeston
899932a275 Scripts/Commands: Move .account to trinity_string 2020-09-22 20:26:51 +02:00
Giacomo Pozzoni
e2d643f551 Core/Quest: Fix wrong feedback sent to the quest sharing sender with auto-accept quests. (PR #25477) Closes #25474.
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
2020-09-22 00:34:41 +02:00
Treeston
26c510775c Core/ChatCommands: Add trinity_string support for chat command help 2020-09-21 02:37:18 +02:00
Treeston
e11b466897 Scripts/Commands: Rename .additemset to .additem set to avoid ambiguity 2020-09-20 22:29:09 +02:00
Treeston
9fda67d016 Scripts/ChatCommands: Constrain how char const* may be used as a command handler parameter. It may now only be used in the legacy configuration, as the only argument. 2020-09-20 15:01:46 +02:00
Treeston
991dc8e050 1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core. 2020-09-20 03:31:54 +02:00
Treeston
1eca51b417 [3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463) 2020-09-20 02:50:38 +02:00
Giacomo Pozzoni
4b7d19c91b Core/SAI: Add orientation and delay columns to waypoints table (#25472)
* Core/SAI: Add orientation and delay columns to waypoints table

* Rename 2020_99_99_99_world.sql to 2020_09_19_00_world.sql
2020-09-19 23:33:29 +02:00
Giacomo Pozzoni
7dd51ae6d9 Core/SAI: Fix SMART_ACTION_WP_PAUSE with 0 delay pausing the path only for 1 world loop update (#25471)
* Core/SAI: Fix SMART_ACTION_WP_PAUSE with 0 delay pausing the path only for 1 world loop update

* Add code comments

* Remove special handling of SMART_ACTION_WP_PAUSE in SMART_EVENT_WAYPOINT_REACHED
2020-09-19 23:32:12 +02:00
xvwyh
2d6237f06a Core/PathFinding: Fix GetPathPolyByPosition() using only 2D distance instead of 3D
Signed-off-by: jackpoz <giacomopoz@gmail.com>
2020-09-19 21:35:40 +02:00
jackpoz
5491cb51a2 Core/Loot: Raise max number of loot items from 16 to 18
Fixes #23948
2020-09-19 16:57:14 +02:00
ForesterDev
2a91743d6c Core/PacketIO: Updated SMSG_CHAT_SERVER_MESSAGE (#25468)
* Core/PacketIO: Updated enabled SMSG_CHAT_SERVER_MESSAGE

(cherry picked from commit fc7014628a)

Co-authored-by: Vincent-Michael <Vincent_Michael@gmx.de>
2020-09-18 19:21:12 +02:00
offl
3ce1a5b3ac DB/Gameobject: Add correct door to Sethekk Halls 2020-09-18 18:44:08 +03:00
ForesterDev
54b9bb75e4 Scripts/ICC: update Icecrown Citadel scripts to new model (#25439) 2020-09-18 11:02:34 +02:00
ForesterDev
2e1a6aefd0 Scripts/ICC: update Gunship Battle scripts to new model (#25438) 2020-09-18 11:01:58 +02:00
Giacomo Pozzoni
6215da0d64 Script/Commands: Add ".pdump copy" command (#25455)
* Script/Commands: Add ".pdump copy" command

Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]
Copy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.

* Add missing return

* Restore eof check

* Fix sql

* Use forward declaration header

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Remove buffer when reading a line

* Rename sql files

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-09-17 21:49:52 +02:00
Treeston
d2f51569d1 Scripts/Commands: Correct some unexpected behavior in .level 2020-09-17 00:12:21 +02:00
Ovah
0d152e932c Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears 2020-09-15 14:49:18 +02:00
Ovah
39a436bd65 Core/Spells: cleaned up and improved spell focusing behavior (PR #25440) 2020-09-14 19:47:51 +02:00
ForesterDev
d52acf1b72 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435) 2020-09-14 13:53:40 +02:00
Giacomo Pozzoni
cd1858b040 Core/Warden: Attempt to fix random ingame Lua errors with Warden enabled 2020-09-13 21:56:47 +02:00
jackpoz
a33ff74d92 Core/Characters: Replace 2 database statements with 1
Replace DELETE + INSERT with REPLACE when updating realmcharacters table
2020-09-13 19:22:07 +02:00
Shauren
c1af9bfb9f Warning fix 2020-09-13 18:55:38 +02:00
jackpoz
69831d2a97 Core/PlayerDump: Update realmcharacters table when importing a character with ".pdump load"
Fixes #24517
2020-09-13 18:45:30 +02:00
Shauren
d704b89163 Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them 2020-09-13 18:23:31 +02:00
Keader
d7a78c1930 Core/Spells: Do not reset periodic timer for stacking DoTs on recast 2020-09-13 13:48:53 +02:00
Treeston
14fa6c3a72 Core/ChatCommands: Fix an issue that caused trailing variant options to sometimes not be selected 2020-09-13 00:37:54 +02:00
jackpoz
f0f0de01fa Core/LFG: Handle vote kick as failed if there cannot be 3 votes agreeing
i.e: 4 players, vote kick starts, 1 rejects, vote is considered as failed.
2020-09-12 21:50:10 +02:00
offl
29b39ae606 DB/Quest: Convert & update support for 'A Slow Death' to SAI
Closes #25399

Based on dr-j's script
2020-09-12 22:20:19 +03:00
offl
2ff8da2acd DB/Quest: Convert & update support for 'Escape from Firewing Point!' to SAI
Closes #25358

Based on dr-j's script
2020-09-12 22:19:43 +03:00
offl
d89c84263d DB/Quest: Convert & update support for 'The Caverns of Time' to SAI 2020-09-12 22:19:05 +03:00
offl
8c303e4f97 DB/Quest: Convert & update Homing Robot chickens to SAI
Closes #25239
2020-09-12 22:18:32 +03:00
Treeston
090e3da96b Core/Chat: Fix hyperlink validation for inspected item links, for real this time. 2020-09-12 20:27:46 +02:00
Treeston
75f9e7396e [3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443) 2020-09-12 19:42:10 +02:00
Treeston
59be657ca2 Core/Misc: Fix some static analysis warnings exposed after 6b8f3d0. 2020-09-12 19:40:09 +02:00
Shauren
243524b39c Core/PacketIO: Fixed SMSG_INSPECT for items with random suffix 2020-09-12 18:39:40 +02:00
Shauren
294167a7c8 Core/Chat: Fixed validating item links with random properties 2020-09-12 18:21:28 +02:00
jackpoz
a46c835ed1 Core/LFG: Restore ".lfg queue" command argument handling 2020-09-11 23:39:11 +02:00
Giacomo Pozzoni
9f0b5526f0 Core/Maps: Fixed map min height calculation (#25449)
(cherry picked from commit f31d907112)

# Conflicts:
#	src/server/game/Maps/Map.h

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-09-11 23:01:24 +02:00
ForesterDev
1c41c5285a Scripts/ICC: update Deathbringer Lord Marrowgar scripts to new model (#25436) 2020-09-11 21:20:18 +02:00
ForesterDev
def58965e8 Scripts/ICC: update Blood Queen Lana'thel scripts to new model (#25434) 2020-09-11 21:19:03 +02:00
Rushor
02fca032e1 Game/AI: Implement option to move a creature back to Homeposition on Evade. (#24492)
* Game/AI: Implement option to move a creature back to Homeposition on Evade.

* If ToHomePosition (action param 1) is 1 > Move to last stored position
* If ToHomePosition (action param 1) is 0 > Move to homeposition
* Ref: https://github.com/TrinityCore/TrinityCore/issues/24226

* Add parameter for walkmode

* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition and store point from GetRespawnPosition.

* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition

* Remove broken bits, simplify the code

* Update comments

* Code cleanup

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2020-09-11 21:16:35 +02:00
Maks Szokalski
41188eb535 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp
2020-09-10 16:57:11 +02:00
Treeston
feaaa595ca Core/ChatCommands: make ExactSequence more readable 2020-09-10 15:19:17 +02:00
Treeston
5189f134ca Core/Chat: Permissible quest level for hyperlinks, [-1, 127] -> [-1, 32767]. 08064f0 follow-up. 2020-09-10 14:26:50 +02:00
Peter Keresztes Schmidt
8985fc4046 Core/ChatCommands: Drop PlayerIdentifier's cast operators which could return nullptr (PR #25431) 2020-09-10 13:10:01 +02:00
Peter Keresztes Schmidt
0769d77269 Scripts/Commands: Convert argument parsing of lfg commands to new system (PR #25430) 2020-09-10 12:54:30 +02:00