Commit Graph

450 Commits

Author SHA1 Message Date
Sarjuuk
65bfd93761 Profiler
* truncate local profile if sync with game server fails (entry deleted)
 * do not use chars/guilds/arena teams with empty names
2022-03-13 15:03:11 +01:00
Sarjuuk
012ebe578b Items/Filter
* apply stats and name suffix to result set for filter #124 - random enchantment
 * fix filter #125 - required arena team rating
 * fix filter #85 - objective of quest
2022-03-06 09:52:19 +01:00
Sarjuuk
8431329645 SmartAI/Spells
* fixed fetching casters for spellId (as seen on 'used by' tabs)
2022-02-28 09:11:22 +01:00
Sarjuuk
19584feab0 Setup/Itemset
* fixed missing items in set
 * fixed php warnings during setup
 * fixed triggering scripts when changing config values
2022-02-27 23:53:36 +01:00
Sarjuuk
bc71ae762c Setup/Data
* 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
2022-02-21 23:31:14 +01:00
Sarjuuk
10805a1f70 Profiler/Regions
* add Asia regions
 * fixed some typos
2022-02-20 22:47:54 +01:00
Sarjuuk
a24e8594fb Profiler/Localization
* support non-latin realm names for guilds and arena teams also
2022-02-16 04:17:40 +01:00
Sarjuuk
01a9744ba7 Locks
* reworked how an dwhen locks on GameObjects and Items are displayed
 * added structure for LockType.dbc
2022-02-14 23:17:51 +01:00
Sarjuuk
53e2af2116 Profiler/Localization
* support non-latin realm names
 * actually set characters as updated after resync was skipped due to character not having logged in since last resync
2022-02-14 16:04:57 +01:00
Sarjuuk
731f648cd2 Setup/Misc
* wrap db test in try/catch block
 * escape more mysql8 keywords
2022-02-12 15:22:52 +01:00
Sarjuuk
541224f87b Markup/Misc
* fixed ajax fulltext sanitizer eating \s instead of \n after 57864d2544
 * happy new year
2022-01-06 14:21:51 +01:00
Sarjuuk
dcb8995b1a Markup
* allow 'auto' as width for tables
 * db tag 'money' may include currency AND items
2022-01-05 23:32:06 +01:00
Sarjuuk
061449686d Revert "[WIP] Conditions"
This reverts commit a1f0f3d30d.
2021-11-21 09:50:59 +01:00
Sarjuuk
f3f8dacef9 Profiler/Talents (#315)
* fix usage of active talent spec
2021-11-19 20:30:16 +01:00
Sarjuuk
a1f0f3d30d [WIP] Conditions
* add missing conditionsTypes

todo:
 process params in Util::getServerConditions()
 add locale strings to js
 extend verbose display in global.js ConditionList
2021-11-04 22:49:12 +01:00
Sarjuuk
b824bc54c2 ItemList/ExtendedCost
* restore internal list pointer after using iterator get extended costs
2021-11-04 22:39:07 +01:00
Sarjuuk
4b37a4fd70 CreatureText/Formating
* removed excess escape on talker name
2021-11-04 22:38:43 +01:00
Sarjuuk
c665062faa Staff/vehicles
* fixed error when trying to lookup accessory creatures in world db with aowow guids
2021-11-04 22:38:30 +01:00
Sarjuuk
fca627c408 * fixed bitshift by negative number issue when evaluating spell MiscValues
* defined upper limit for localeIds and also discard negative localeIds
* fixed eval error when parsing spell descriptions. Calculated numbers sadly can't be localized.
2021-11-04 22:37:15 +01:00
Stefano Borzì
7c293c405f remove unused static method getName() in SoundList, close #293 (#294) 2021-10-24 20:30:14 +02:00
Sarjuuk
57864d2544 PHP8/AjaxHandler
* filter callback function must be defined static
 * fixed some typos
 * fixed commentbody filter callback eating \n chars
2021-10-24 19:23:53 +02:00
Sarjuuk
f9ed75d5af SmartAI/Spells
* fixed fetching spells from SmartAI for Abilities tab

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2021-10-24 18:12:53 +02:00
jackpoz
453690c575 Fix error on windows when no parameters are passed in query string 2021-10-24 17:35:24 +02:00
Sarjuuk
6b49aa6069 Setup/Misc
* fix some outdated array indizes during setup
 * fix indexing when connecting to DB for first time
 * add initial loading of config strings during setup
2021-10-24 17:12:05 +02:00
Sarjuuk
6f69144498 Merge remote-tracking branch 'github/master' into ghMaster 2021-03-14 16:13:39 +01: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
Dima
aa70ea0323 Localization (#284)
use multibyte function to manipulate localized text.
2021-03-02 20:24:11 +01:00
Sarjuuk
fbc5d43aab Setup/Maintenance
* 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
2021-02-20 20:35:53 +01:00
Sarjuuk
43778b01e7 Setup/DB
* connect to db after successful setup so siteconfig doesn't fail
2021-02-18 22:31:30 +01:00
Sarjuuk
0c1b73d6ac Icons/Names
* icon names can contain spaces. So indiscriminate trimming should be discouraged.
 * ...
 * unrelated stuff: please don't break...
2021-02-15 19:08:56 +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
2eaed47ba4 Items/Misc
* fixed queries erronously using ucFirst column names
 * fixed visible html in infobox
 * added forgotten string for locale 3
2020-12-28 23:27:49 +01:00
Sarjuuk
baf47433dd Enchantment/DetailPage
* removed tooltip-highlight when there is no tooltip to display
Spells/Tooltips
 * fixed ancient copy-paste error and 'greater than or equal' conditions are now always evaluated as such
2020-12-27 20:07:57 +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
Sarjuuk
be77474637 Misc/Optimizations
* general minor cleanups
 * do not sync characters that haven't logged in since last resync.
2020-12-17 22:24:42 +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
0430d75989 Tooltips/Cleanup
* removed double escaped json
 * fixed itemset tooltips with classes
 * set cookies to samesite to avoid being rejected by the browser
2020-10-10 11:00:59 +02:00
Sarjuuk
04a14393e5 DB/MySQL
* fixed some more use cases of 'rank'
2020-09-02 21:12:00 +02:00
Giacomo Pozzoni
f34b4827ee DB/MySQL (#219)
* fixed usage of field name 'rank' which became a keyword in MySQL 8
2020-09-02 20:58:38 +02:00
Sarjuuk
aac9aab3c9 Spells/DetailPage
* diplay filtrable spell attributes in overview table
 * replace some magic numbers with constants
2020-08-31 18:21:53 +02:00
Sarjuuk
349c32d0a6 SAI/Targets
* add forgotten change from 243429bf68 to target tooltips
2020-08-30 18:28:28 +02:00
Sarjuuk
5179e6e09b SAI/Typo
* fixed typo in SmartAI event handler 76 bricking related object/npc pages
2020-08-30 18:04:57 +02:00
Sarjuuk
366a0f2040 Game/worldPosToZonePos
* catch DB errors resulting in wrong return type
2020-08-30 17:33:27 +02:00
Sarjuuk
3e24814518 README/Conf
* check for presence of lib GMP when trying to enable TC auth
 * also added missing requirement to README (thx @jackpoz for reminding me)
2020-08-03 22:11:05 +02:00
Treeston
fb2ab8f613 SRP6 for user auth (#38)
* SRP6 for user auth, implementation of 3164b58c7d
2020-08-03 15:20:34 +02:00
Sarjuuk
72e950713a Achievement/Criteria
* use reference achievement for criteria if set
2020-07-25 21:53:23 +02:00
Sarjuuk
d858c85465 Items/Tooltips
* display ppm in tooltip
2020-06-07 21:53:03 +02:00