Commit Graph

102 Commits

Author SHA1 Message Date
Sarjuuk
be7a84a651 Core/Conditions
* minor rework
 * fixed columns of tab item loot
 * fixed lookup of classes/races (as they are the only type used as bitmask)
 * implemented reverse lookups everywhere (arguably class, race and skill are too spammy)
 * reverse lookups no longer contain redundant data
 * changed how the groupKey is set, so there are no more cases that can't be looked up
 * fixes #273

 * title: added tab 'criteria-of'
2024-07-06 04:03:56 +02:00
Sarjuuk
0f6b8015a1 Misc/Fixup
* Loc EN: removed unnessecary 'to translate' backets
 * npc: add missing index to loot tabs to kill a warning
2024-07-05 22:10:46 +02:00
Sarjuuk
a4bcb33ba4 NPCs/DetailPage
* added item to infobox when npc is a spirit (only visible when dead)
2024-07-05 18:01:49 +02:00
Sarjuuk
2e9b503c59 Loot/LinkedLoot
* rework npc <-> chest loot linking
 * difficulty is now directly stored
 * should fix multiple issues where loot tabs had wrong difficulty or null title
2024-07-04 21:31:48 +02:00
Sarjuuk
bc7d561da2 Core/Conditions
* rewritten and moved to its own class, should be easier to expand in the future
 * add missing sources and types from TrinityCore
 * implement conditions on Areatrigger and Loot containers
 * implement reverse lookups (e.g. a spell is a conditional for something else)
 * general beautification pass .. should be more legible in general

NOTE:
 * texts have been changed, so the existing translation for esES ist gone
 * selecting and describing condition targets is still wonky
2024-06-01 02:47:58 +02:00
Sarjuuk
6b25288e2b Spells/Reagents
* always check all reagent fields, they are not set first to last
2024-05-05 14:31:15 +02:00
Sarjuuk
ec1a2afc5f PHP/Compat
* fixed misc issues Intellisense was nice enough to highlight.
 * mostly deprecated usage of uninitialized parameters
 * class GenericPage still needs a long, hard look and a refactor
2024-03-11 23:20:17 +01:00
Sarjuuk
dd9eaf49ff Page/Listview
* refer to Listview template by default name if able
2024-02-25 21:34:03 +01:00
Sarjuuk
85e8175338 Spells/Misc
* try to handle bogus data from creature_template_addon.auras
2024-02-25 21:23:33 +01:00
Sarjuuk
cc594e3415 Skills/Requirements
* fix requirements  display for low level skinning
 * display fishing skill requirements on zone detail page in fishing tab
2024-01-07 23:04:03 +01:00
Sarjuuk
fcf24b3a45 Misc
* 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
2023-06-08 15:27:49 +02:00
Sarjuuk
fc7a526a67 Items/ListPage
* fixed displaying icon for currencies in vendor related columns
2023-06-08 14:16:29 +02:00
Sarjuuk
8bf7b3ee06 Lang/cleanup
* fixed break and trim functions not handling text shorter than break length
 * add option to output raw text besides html, markup format
 * decalare return types and parameter types
 * cleanup
2023-06-08 12:56:36 +02:00
Sarjuuk
9f1cbc0233 HTML/Scripts
* append a filemtime timestamp to js/css files to work around browser caching after update
 * shuffle script handling around a bit
 * also user pages cant have community content
 * also fix breadcrumbs on items page
2023-04-13 17:30:23 +02:00
Sarjuuk
2210c0c4c5 Spells/Auras (#379)
* get auras from creature_template_addon for tabs
   - npc: abilities
   - spell: used by npc
2023-04-13 17:15:28 +02:00
Sarjuuk
c0e9159c1e Misc/Fixups
* colAddins should be null if not in use
 * fix index warnings in search + profiler
 * cast url param 'locale' to int for all uses
 * fix breadcrumbs for sounds page
 * fix determining actionOwner for SmartAI
2022-06-10 13:58:13 +02:00
Sarjuuk
04e55b5498 NPCs/Vendors
* show restock time if available
2022-03-25 16:41:49 +01: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
3cb02f2204 JS/CSS
* unify handling
2022-03-22 14:45:55 +01:00
Sarjuuk
4972cc0faf POST/GET
* unify accessing &_GET and &_POST data
2022-03-17 13:47:48 +01:00
Metalaka
4255933328 Creature/Loot
* display skill condition on drop (#325)
2022-02-13 23:44:36 +01:00
Giacomo Pozzoni
5781dfb69e Fix syntax error (#312)
Fix wrong bracket order revealed by PHP 8
2021-10-27 19:52:15 +02:00
Sarjuuk
aa82655845 SmarAI/Lookups
* unify lookups in functional groups
 * move code to class SmartAI
2021-03-14 02:04:56 +01:00
Sarjuuk
c456ade870 Skills/Breakpoints
* display skill learning breakpoints for gathering skills
 * fixed mixed up mining-skinning and savanging-skinning filters for NPCs
 * defined some magic skill numbers
2021-03-14 02:04:43 +01:00
Sarjuuk
15fb7b8711 NPCs/DetailPage
* display difficulty versions of the creature in the infobox
2020-12-19 00:18:46 +01:00
Sarjuuk
467a31fa3b Template/Escaped Strings
* escape creature subnames in DetailPage
 * escape creature names & subnames in Tooltips
 * js escape inherited filter froms
2020-12-19 00:16:09 +01:00
Sarjuuk
5b414500a7 Creature/DetailPage
* display school resistance under stats in infobox
2020-12-19 00:00:49 +01:00
wodim
d070b303b4 Localization (#237)
* removed excess hyphens
2020-10-25 17:49:26 +01:00
Sarjuuk
178c13ec72 SmartAI/SpellCasts
* fixed getting spell casts per NPC
 * fixed spell usage for NPCs when used by Timed Actionlists
 * added 'used by (smart) areatrigger' to SpellDetailPage
 * fixed forgotten rename from SmartAI overhaul
2020-10-25 17:09:05 +01:00
Sarjuuk
e2fe765980 SAI/Compat
* add changes from TC of the last three years
* reduce redundancy when handling creature text
* reserve more space in target, event, action parameters. Move own parameters further back to avoid confict with future param expansion by TC
2020-10-25 15:47:23 +01:00
Sarjuuk
8741c7479f Misc/Fixups
* vehicle accessories now get moved with their vehicle
 * try to account for multilevel zone offset nonsense
 * fixed some more typos and unaccounted null cases
2020-05-27 15:27:13 +02:00
Sarjuuk
6cabfd3864 Misc/Cleanup
* moving commonly used strings to defines
 * moving commonly reused/similar page generation functions to the parent
 * generally using consistent return types, more type hints and less strings
 * prevent browser context menu when right clicking on UI elements with their own context menus
 * fixed menu path for icons
2020-05-24 15:04:42 +02:00
Sarjuuk
54b20c3131 NPC/Spells
* always treat spells from creature_template_spell as controlled abilities
2020-02-26 17:29:33 +01:00
Sarjuuk
47458e3ec2 Spell/Effects
* also link back from creature to summon spell for spell effects 56 & 112
2020-02-24 23:33:01 +01:00
Sarjuuk
3f1e44d3e2 Titles/DetailPage
* fix page titles for .. titles
 * escape htmlesque tags not in the template but individually as needed
2020-02-24 21:40:50 +01:00
Sarjuuk
16bd59e0cc NPC/Trainer
* add support for https://github.com/TrinityCore/TrinityCore/commit/bf3ab6d9c43
 * fixed some bugs causing conditions to not be displayed
 * fixed some trainer not being displayed for most skills
2020-02-23 17:29:12 +01:00
jackpoz
1ff81ab07c Add support to https://github.com/TrinityCore/TrinityCore/pull/24102 2020-02-14 16:15:34 +01:00
Sarjuuk
484944bfc0 SmartAI
* parse and verbosely display smartAI for creatures, gameobjects and areatrigger
2018-11-18 15:31:22 +01:00
Sarjuuk
bf42973c00 Profiler
* further optimize search
   - use achievement 4496 as shortcut for everything based around total achievement points
   - get talent distribution separately
   - get total profiler-items found separately
   - opt to not sort found results
 * fixed Profiles with zero Achievement Points
 * added cache key genrator i forgot :<
 * fixed typos
2018-03-29 12:47:27 +02:00
Sarjuuk
1bb7fdf89a NPCs/DetailPage
* fixed extraCols for 'teaches' tab
2017-05-08 15:09:55 +02:00
Sarjuuk
e762340953 DB/Structure
* implemented changes from d17a45ee7e (creature text localization)
2017-05-04 21:45:53 +02:00
Sarjuuk
189ac56fc0 DB/Structure
* implemented changes from 9a3b28894d (broadcastText localization)
2017-05-02 22:41:12 +02:00
Sarjuuk
6377a9e659 Misc
* added option to 'verbose' concatenate a list of items to class Lang
 * added option to strip tags from a string to class Markdown
 * fixed several instances of wrong categories on pages
 * actually display world state conditions for zone music
 * some typos all over the place
2017-04-23 20:20:44 +02:00
Sarjuuk
a695a4188c Util/Game
* cleanup Util 2/2
 * move game related functions and variables to new class: Game
2017-04-19 01:47:03 +02:00
Sarjuuk
6df3a27279 Creatures
* flag creatures using creaturedisplayinfoextra.dbc as humanoid
2017-04-11 15:11:18 +02:00
Sarjuuk
33b1e4a978 Misc/Errors
* Item/XML
    - fixed setting typeId when lookup was item name
    - fixed lookup by name with utf8-chars
 * Items
    - do not display page for invalid categories
 * NPC
    - fixed reputation display
 * Quest
    - broke infinite loop occuring when quest is in chain with itself
 * Filters
    - handle different sizes of cr, crs and crv passed
2017-04-08 03:10:37 +02:00
Sarjuuk
9fabd2c728 Reputation
* apply reputation_reward_rate to rewards on Quest Detail Page
 * apply reputation_reward_rate to NPC Detail Page
2017-03-16 21:32:23 +01:00
Sarjuuk
20a1829317 implementation of Sound DB
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!
2017-03-06 15:16:34 +01:00
Sarjuuk
090410cbf8 Nav/RedButtons
* pass parameters as ready to use - objects
2017-02-20 02:52:07 +01:00
Sarjuuk
a50ddb98dd Pages/Achievements
* display additional crosslinkable conditions from achievement_criteria_data
2016-11-22 13:48:39 +01:00