* do not handle errors outside of the registered handlers
* always handle all errors otherwise they get stored for error_get_last
* always print errors to CLI
* shutdown function handler should not be picky about what errors it gets to report
* removed some mostly unused error strings
* script cleanup
* fixed subzone generation and made color less garish
* fixed alphamap generation and alphamapcheck not pointing to the same path
* fixed padding UtilityScript args with unexpected var types
* rewritten to be able to dynamicly load it's components
- CLISetup -> checks for UtilityScripts (config, setup, dbc reader, etc.) -> checks for SetupScripts (individual sql/file generators)
- each step may now have a help prompt attached. If none are provided, the containing script may provide it's help.
- all Scripts are self contained modules. No more editing of 3+ files if some component is added/removed
* removed intermediaries FileGen & SqlGen
* functional changes
- allow providing CLI arguments to siteconfig and account UtilityScript and skip the interactive prompts
- set slot for consumable enchantment items so they are filtrable
- zones dataset is now localized and generated from GlobalStrings.lua and DungeonMap.dbc. Related data dumps removed.
- 'aowow' and 'prQueue' executables now have shebangs
WARNING - command line options have been renamed!
* convert configuration from list of constants to object
* fixes config changes not applying on cli whithout closing and reopening again
* config variables are no longer embedded in localization text
* improve db error handling
* web view should always result in an user friendly error if the db connection is missing or erronous
* cli use should never fatal if the db connection is erronous. How are you going to fix it, d'uh.
* if some CLISetup script requires a db connection check it individually
* allow overwriting generic/fine log output
* fix some errors
* can't catch notices generated by mysqli_connect
* removed some unnessecary ORDER from querys
* fix some outdated array indizes during setup
* fix indexing when connecting to DB for first time
* add initial loading of config strings during setup
* toggle maintenance mode in a more reasonable manner (i.e. not when displaying help test)
* move connectivity tests to class DB
* restore generate everything functionality when running --sql and --build with an empty parameter set
* 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
* 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
* 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>
* vastly improved memory usage when handling DBCs
* DBCs are no longer read entirely into memory, instead appropriate file handles are used.
* read data is written to DB in reasonable intervals instead of all at once
* DBC-class can no longer read from DB, but that wasn't used anyway
CLISetup
* can now interpret the HOME-shorthand (~) in paths
Client sounds are cross-referenced with as many other DB-Types as possible. Including, but not limited to:
* Character VOs (Errors, Emotes)
* Creature VOs (Boss Dialogue)
* Zone Music and Ambience
* Sounds triggerd by spells
* Sounds from general item/spell usage, creature behavior
Restrictions:
* only one locale is supported. Choose wisely!
* fixed complexImage always selecting images for LOCALE_EN if able
* fixed serverside events being displayed in the calendar
* set initial memory limit to 4GB
* set initial db_version to current version (forgotten to do that for a long time :x )
* updated README.md and .gitignore; revision incremented
* replaced some more uses of string functions with multibyte equivalents where it might matter
note: i didn't touch the spell-tooltip parser as it seems to work as intended regardless
* added msg-level INFO
* changed some WARN-level messages to INFO
Util
* added function to handle directories aowow wants to write to / read from
SiteConfig
* group options to be less cluttered
* allow empty strings (numerical values must still at least be 0)
* renamed account related config values to be make more sense
* make cache path configurable
* make session save path configurable - use this to avoid the garbage collect cron job on Debian or Ubuntu, that cleans sessions and only depends on your php.ini (NOTE: putting this inside a web-enabled directory is a risk!)
* added parameter --firstrun to use for initial setup. Runs almost by itself..
* added 'ping home' for statistical purpose
Spell:
* fixed copy/paste error
- 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