* define and use some more magic numbers
* move id-based custom data from spell SetupScript to aowow_setup_custom_data table
* hide on unused glyph while at it
* rewrote SetupSrcipt
* implemented 'zone' parameter
* implemented 'bossdrop' parameter
* implemented 'dungeondifficulty' parameter
* implemented item filter relying on zone information (dropsInX)
* fixed world random drops showing a single loot source
* extended Source column of spells to the same functionality as items
ToDo:
* apply new 'commondrop' parameter on loot listviews
* gather difficuly versions of gameobjects and apply the same logic as for creatures
* implement fake spawns so npcs can get linked to a zone
* allow overwriting generic/fine log output
* fix some errors
* can't catch notices generated by mysqli_connect
* removed some unnessecary ORDER from querys
* sanity check slot / invtype realtion on setup (and hide offenders)
* hide internal/unused items by name part
* always truncate table to get rid of old data
* fixing one->many relation revealed by replacing REPLACE with INSERT in creature setup
* fixed Quick Info defaulting expansion maps to have [0, 0, 0] as parent
* corrected looking for custom excluded flag when collecting instances for area
* move custom data from setup scripts to DB
* move strings from DB to locale files
* use common function to calculate coordinates of dungeon entrances instead of inline sql
* fixed manual data zones and itemset
* fixed typos across the board
* fix some outdated array indizes during setup
* fix indexing when connecting to DB for first time
* add initial loading of config strings during setup
* automatically set and unset maintenance mode when data is being edited (either sql or files)
* added more verbose help prompts. They should now always appear when -h is used.
* added --setup as more intuitive command for --firstrun. --firstrun is now considered deprecated and will be removed in due time.
* unfuck order of indizes in --siteconfig
* fixed some typos
* convert echo use to CLI::write
* move scattered command line argument checks to CLISetup
* vehicle accessories now get moved with their vehicle
* try to account for multilevel zone offset nonsense
* fixed some more typos and unaccounted null cases
* Entities (Objects, NPCs, ect) can now easily be assigned to a different map to be displayed on by clicking their pip on the map
* Entities with already assigned area (by TrinityCore) that were unable to be matched onto the map are no longer discarded. They'll now show up in appropriate listviews.
* Entities without already assigned area that are also unable to be matched onto the map now get an area assigned as long as the relationship areaId <=> mapId is unique (read instanced areas)
* hide some more unused zone
* link zones Plaguelands: Scarlet Enclave and Onyxia's Lair to correct map
* fixed wotlk raids all being heroic
* link icecrown citadel sub maps to master and hide sub maps
* display and link clientside mails to other types and events
* fixed favorites menu for new types
* fixed sorting column triggered spells in enchantment listview
* some misc cleanups
* fixed generating links to play via the WoW API
* fixed usage of not yet available PlaySoundKitID() when selecting file from list
* while internally it is pretty laissez-faire about cases in file paths, suddenly WoW DOES care, when it comes to its LUA API.
so .. don't cast to lowercase when storing sounds in DB
* added support for locale 4
* some strings are missing and will need to be translated at a later date
* thx @qyh214 for a lot of content
Co-authored-by: qyh214 <sandy0214qin@msn.com>
* reworked default exclusions (hid some things entirely, flagged others for appropriate cases)
* char names consisting of two letters are now valid
* fixed matching enchantments onto ranged weapons
* hide a lot of internal spells from searches
* apply a faction to mount listing, so the Profiler can hide mounts from the opposite faction
* apply GS to profession enchantments