Commit Graph

27 Commits

Author SHA1 Message Date
Sarjuuk
40014755e2 Setup/Log
* allow overwriting generic/fine log output
 * fix some errors
 * can't catch notices generated by mysqli_connect
 * removed some unnessecary ORDER from querys
2023-04-25 23:26:25 +02:00
Sarjuuk
e916deaafc Setup/Fixups
* 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
2023-04-25 23:23:19 +02:00
Sarjuuk
ca26955ac2 Setup/SQL
* change sql batching to account for non continuous indizes in world tables
2023-04-13 16:48:52 +02:00
Sarjuuk
33a870ef78 Structure/Types
* move distributed constant values to object
 * move reused iterators and checks to object
2022-03-22 15:05:50 +01:00
Sarjuuk
73c1118601 Setup/Update
* reapply flags for community content when rebuilding DB
   fixes associated filters and meta page 'missing screenshots'
2022-03-03 19:07:10 +01:00
Sarjuuk
59f58f8506 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
2020-12-30 00:29:30 +01:00
Sarjuuk
d4c0c0535a Quest/Breadcrumbs
* implemented https://github.com/TrinityCore/TrinityCore/commit/5ed77113b63
 * fixed some engrish
 * fixed a typo in typecasting string searches
2020-02-23 14:14:34 +01:00
Sarjuuk
ccef11323b Setup/Scripts
* restructure setup to allow for self contained setup steps to self register (just the sql for now)
 * should ease adding new scripts in future
2020-02-14 00:36:41 +01:00
Sarjuuk
8620cbcf20 Setup/Quests
* update structure for TrinityCore/TrinityCore@2f5403d4af (Thx @TheWinchesters for noticing)
 * updated README accordingly
2018-11-18 15:31:14 +01:00
Sarjuuk
761da59ee9 Localization/Chinese
* 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>
2018-05-08 20:36:52 +02:00
Sarjuuk
e2e23c430a Quests/Categories
* shuffled quests into a structure that seems sensible (menus should no longer point to dead pages or display 'undefined' links)
2018-05-01 19:09:38 +02:00
Sarjuuk
b0a5f477c1 Profiler/CLI
* move command line related functions to its own class
2018-03-22 16:32:29 +01:00
Sarjuuk
d34f7c304e DB/Structure
* implemented changes from 3739d8444b (quest localization)
2017-05-02 22:41:12 +02:00
Sarjuuk
b5c7faff65 Setup/DBC
* index column Id => id
 * why was this exception even there.
 * also DBCs copied directly into aowow_tables should work again
2017-04-11 15:32:37 +02:00
Sarjuuk
8b9b653028 Disables
* display db-entries as disabled or unavailable if appropriate
 * affects now achievements and quests in addition to spells
 * flag items without source as unavailable
 * flag quests without starter als unavailable

Privileges
 * i guess i forgott to add the template...
 ...among other things
2017-03-20 18:00:12 +01:00
Sarjuuk
d73557ee5e Setup/Creatures
* hide creatures for internal use from listviews
 * correct Nightelf Player faction
 * trying to enforce strict line endings
2017-02-25 23:55:31 +01:00
Sarjuuk
88e21d8597 Setup/Misc
* wrap LEFT JOINed fields in IFNULL() to prevent errors on setup
 * also adapt to changed TC table structure
 * add ORDER to prevent skipping entries, if not already ordered in source table
2017-02-12 02:37:23 +01:00
Sarjuuk
e896daa148 setup/quests
* fixed fatal typo (thx @Fra298)
2016-10-25 15:26:58 +02:00
Sarjuuk
321c9ba7f4 Setup/Sqlgen
* fixed setup skipping custom data if it was >stepSize away from the last entry
2016-10-04 19:45:13 +02:00
Sarjuuk
d55989510a Updated setup to TDB r60
* removed --resume command. Always offer to resume first time setup instead.
 * added skill_perfect_item_template to sources
2015-11-18 23:47:53 +01:00
Toshik
973d2d90aa Quest DB structure fix
Fixes related to latest DB structure changes:
2015-09-10 11:51:15 +03:00
Sarjuuk
cb1916c484 Setup/Fixups
* some additions to latest pull requests
   - added missing dependancies
   - added quest_template changes to source.func.php
2015-08-19 17:29:21 +02:00
Toshik
482a8dbd7d Update quests DB structure
According to 5178395a4f
2015-08-18 22:05:16 +03:00
Sarjuuk
7276fed9e7 Setup/Quests
* fixed wrong offset on questXP.dbc and factionReward.dbc
  * xp & reputation should be correct after running `aowow --sql=quests`
2015-07-20 15:36:29 +02:00
Sarjuuk
5b8a862df9 DB/Structure (thx @Carbenium for the heads up & suggestions)
* adapted structure to TDB 335.59
  * dropped questItem[1-6] fields from ?_creature and ?_object (why were they even there)

 - removed a function-stub from Util (already forgot, what it was supposed to achieve)
2015-07-19 22:25:21 +02:00
Sarjuuk
051334da22 Events
drop usage of holidayIds (as far as possible)
  the obvious change is, that all events are now refenreced by a positive eventId.
  (?event=375 will probably become ?event=5)
Comments
  fixed malformed db-table. It can now hold negative typeIds.
  applying this commit will drop any comments related to events without holiday
  added gain of SiteReputation for comment-replies

resyncing dependencies of 'game_event' is required
2015-07-12 00:06:21 +02:00
Sarjuuk
51f2828f6f - moved shared setup functions from FileGen to new CLISetup
- removed web-setup
- new CLI parameters
  --account    : create initial account(s)
  --siteconfig : edit php/aowow config values
  --dbconfig   : set up db connection
  --sql        : create db content from world/dbc-tables
  --firstrun   : [NYI] step by step initial setup

- some fixes by the wayside
  * display required arena bracket for extendedCost
  * achievement chains are searchable again
  * category trees for factions should now be correct
  * trainer tab on spell detail page reapeared
  * userMenu item 'Settings' no longer breaks the page
  * display abilities of shapeshift in tab on spell detail page
  * corrected reading ?_sourcestrings for titles
  * fixed error on race detail page
  * added simple descriptions to skill detail page
  * fixed tab "reward from" (achievement) on title detail page
  * fixed alphabetical order of some filter-dropdowns
  * fixed skill colors for spells
  * fixed power display for rune-based spells, that also cost mana
  * added more information to zones
  * also check mail_loot_template for achivements
  * fixed bug, where loot_template-ids would be reused for multiple templates
  * display sourcemore for pvp-sources
2015-05-11 22:44:54 +02:00