Commit Graph

5972 Commits

Author SHA1 Message Date
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
ForesterDev
d52acf1b72 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435) 2020-09-14 13:53:40 +02:00
Shauren
c1af9bfb9f Warning fix 2020-09-13 18:55:38 +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
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
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
jackpoz
a46c835ed1 Core/LFG: Restore ".lfg queue" command argument handling 2020-09-11 23:39:11 +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
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
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
Peter Keresztes Schmidt
062c55f1ab Scripts/Commands: Convert remaining debug commands (PR #25429) 2020-09-10 01:05:44 +02:00
Treeston
4f636b80e4 Chat/Commands: Eradicate ChatHandler::extractOptFirstArg 2020-09-09 18:33:18 +02:00
Houston
ca9c746767 DB/Misc: Move & update some VoA scripts to SAI, add waypoints (#25419)
Co-authored-by: Houston <houston@gmail.com>
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2020-09-08 23:37:28 +03:00
Houston
f8db738e8d Scripts/Icecrown: Small event of the down Nerub'ar Broodkeep (#25410)
Updates #25193
Co-authored-by: Keader
Co-authored-by: Ovahlord (sucker)
2020-09-08 16:52:53 -03:00
NoName
dad187615d Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <vertozor@gmail.com>
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
Co-authored-by: Carbenium <carbenium@outlook.com>
2020-09-08 17:12:52 +02:00
Treeston
0c7f6ac89f Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful. 2020-09-07 18:25:49 +02:00
Treeston
00dd337b5d Scripts/Commands: .character command conversion 2020-09-07 15:38:23 +02:00
Treeston
b63d655e20 [3.3.5] Scripts/Commands: .arena command conversion (PR #25407) 2020-09-06 23:36:23 +02:00
Treeston
fc3feebee9 Scripts/IcecrownCitadel: correct Rimefang's script name 2020-09-06 21:00:38 +02:00
jackpoz
ca2159bf40 Scripts/Obsidian Sanctum: Fix portals not being visible
Change NearestGameObjectEntryInObjectRangeCheck to allow returning GameObject not spawned.
Fixes other occurrences where a similar issue exists.
2020-09-04 22:01:25 +02:00
Shauren
600a6b5f68 Scripts/Icecrown Citadel: Finish script registration refactoring - RegisterSpellScriptWithArgs 2020-09-04 18:33:22 +02:00
Shauren
b63fa9c42f Scripts/Icecrown Citadel: Fix scriptname conflict 2020-09-04 17:50:29 +02:00
ForesterDev
d04bdd0316 Scripts/ICC: update Lich King scripts to new model (#25396)
* Scripts/ICC: update Lich King scripts to new model

* fix build
2020-09-04 17:03:55 +02:00
ForesterDev
deec517239 Scripts/ICC: update Sindragosa scripts to new model (#25395) 2020-09-04 17:01:53 +02:00
ForesterDev
0b0d5e9bea Scripts/ICC: update Professor Putricide scripts to new model (#25394)
* Scripts/ICC: update Professor Putricide scripts to new model

* fix build
2020-09-04 16:59:46 +02:00
ForesterDev
aac3ae40f7 Scripts/ICC: update Lady Deathwhisper scripts to new model (#25393) 2020-09-04 16:58:57 +02:00
ForesterDev
af78f4ffb5 Scripts/ICC: update Rotface scripts to new model (#25392) 2020-09-04 16:58:16 +02:00
ForesterDev
458867a2e1 Scripts/ICC: update Festergut scripts to new model (#25391) 2020-09-04 16:57:26 +02:00
ForesterDev
71f33d5764 Scripts/ICC: update Valithria Dreamwalker scripts to new model (#25390) 2020-09-04 16:55:41 +02:00
ForesterDev
aedb8b80f3 Scripts/Icecrown Citadel: update Blood Council scripts to new model (#25389) 2020-09-04 11:23:19 +02:00
Treeston
88d446dadf Scripts/Commands: Convert argument parsing of .npc commands
(And I snuck some chat command cleanup in there, more de-cluttering!)
2020-09-04 00:58:23 +02:00
Treeston
35b3ba90b0 Scripts/Commands: Convert argument parsing of gameobject commands 2020-09-03 22:16:57 +02:00
Treeston
944f49d613 Scripts/Commands: Fix a crash in .help - closes #25360 2020-08-30 13:45:04 +02:00
Treeston
2f7d2ef3e9 Core/ChatCommands: C++17 cleanup (again) (PR #25323) 2020-08-30 02:50:25 +02:00
Keader
4fcd6ddb74 Scripts/Spells: Fixed some code style issues
Follow up: 18e88653b9
2020-08-29 11:33:09 -03:00
Moki
18e88653b9 Scripts/Spells: Transfer Nurturing Instinct in spell_druid.cpp (#25307)
* Scripts/Spells: Transfer Nurturing Instinct in spell_druid.cpp

* Fix travis

* Rename 2020_08_xx_xx_world.sql to 2020_08_29_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-08-29 13:09:16 +02:00
Giacomo Pozzoni
cfc8f7b442 Core/Misc: Fix issues reported by static analysis (#25351)
* Core/Misc: Fix issues reported by static analysis

* Core/Vmaps: Code cleanup after e777161888
2020-08-29 13:02:42 +02:00
Maks Szokalski
dc9e0c1e86 Scripts: Minor loop refactors (#25325) 2020-08-28 23:13:26 +02:00
kvipka
5d2780c43c Scripts/InstanceScript: Fix an issue where LoadAllGrids would load creatures before TeamInInstance was properly set (PR #25340) 2020-08-28 19:48:41 +02:00