Commit Graph

595 Commits

Author SHA1 Message Date
Sarjuuk
e14c3b61d5 added requisite-events .. mostly for future use
do not display empty dates in listview
2013-03-13 23:05:06 +01:00
Sarjuuk
5e8d1a2a39 moved error code for wrong Ids and pageNames to Tempate-Class
throw an error if an invalid category-parameter is passed
2013-03-13 21:33:22 +01:00
Sarjuuk
06ed69c6a1 fixup for category-links in achievements-listview if its a statistic 2013-03-13 21:20:27 +01:00
Sarjuuk
881e5143d1 I think, I've finally found a use for traits
- working on listviews displaying only the columns needed
- still fighting leftovers from class conversion
2013-03-13 20:51:36 +01:00
Sarjuuk
7c482e9319 WorldEvents: initial implementation
- hm. should i move the (SERVERSIDE) to db to be searchable?
 - detail-page is nyi
 - some static data should be moved to install scripts and some point .. e.g. when install scripts come to existance
 - calendar is commented in pages/events.php as it's not really working yet
2013-03-11 00:38:47 +01:00
Sarjuuk
a1f35d3523 work against:
- Tabs
- Listview / LV-Calendar (not working yet, but it displays .. things)
- unified lineendings to \r\n
2013-03-11 00:04:40 +01:00
Sarjuuk
84ba5012bc mmf (misc minor fixes)
- wrong static function calls in achievement
- quality-integer no longer displayed in opensearch
2013-03-10 23:48:32 +01:00
Sarjuuk
1ff2819de9 moved announcements to template-class .. its the same for every single page... 2013-03-10 23:43:53 +01:00
Sarjuuk
74df6f77ef minor typos and a corrected staticUrl for the clientside scripts 2013-03-08 15:59:31 +01:00
Sarjuuk
0c0a7ec5e2 Spellparsing:
- apply abs() in final function as the original value may be needed before output .. fixes some 'reduced by -X talents/setboni'
 - use number_format() instead fo round() for precision .. trailing zeros will show for exact vaues e.g. ${1.5}.3 => 1.500

Basetype:
 - custom operators in the setup query are now properly applied.

Searches:
 - implemented result cap and set it to 1000 results
 - split achievements in achievements and statistics
 - the modelviewer that may be called from the item-listview now works (and still calls home)
2013-03-07 23:30:04 +01:00
Sarjuuk
3d16eaec42 yup .. im thick 2013-03-07 20:09:09 +01:00
Sarjuuk
fbf0e6fc64 - searches: reimplemented &json (compare will work again)
- compare: updated use of ItemList. random enchantments are no longer lost on export and the whol thing uses less strings
2013-03-07 19:58:12 +01:00
Sarjuuk
b4afea2cda Items:
- fixed line breaks in tooltips
 - fixed typo causing unwanted output when parsing ratings
 - ammunition now always displays dps and some misc items no longer display 0-0 damage

Spells
 - added created items to tooltip (formating is a bit off though)
 - fixed typo in parsing periodic auras

Power
 - use external version of in_array (e.g. prepend $WH.), should fix inclusion of power to external sites
2013-03-06 20:11:50 +01:00
Sarjuuk
895a6478b1 SpellParsing: fixed an oversight from converting the old system, that broke inline-calculations; always return absolute values 2013-03-06 18:59:53 +01:00
Sarjuuk
2b7440ecf8 corrected typos 2013-03-05 23:55:09 +01:00
Sarjuuk
c2d258fe73 display announcements in search 2013-03-05 23:36:15 +01:00
Sarjuuk
d848faa1fa any 'Id' => 'id' as i'm mighty tired of the conflicts between js (lower) and php (ucFirst)
added achievemnts-page to enable display of tooltips
2013-03-05 23:21:25 +01:00
Sarjuuk
edd0ff5209 search: initial implementation
currently searchable are:
 - classes
 - races
 - titles
 - currencies
 - items
 - itemsets
 - achievements

directly or as &opensearch

&json is yet to come, yes that means ?compare cant find any items
2013-03-05 22:28:15 +01:00
Sarjuuk
9019c3b811 Types
dropped single-item classes for all types, because it doesn't make much difference to use a list with a single item instead, especially if it's preselected. Additionally it is now easier to chain certain queries together and execute them all at once. additionally, additionally certain data can now be cahced and shared between types of the same .. type, that were previously in different instances alltogether.

And you may now specify a limit to sql-queries (while setting up a typeList), it will default to the config-limit if no value is given.
2013-03-05 22:07:12 +01:00
Sarjuuk
8a9d984eda featurecomplete spellparsing? MADNESS!
jk, it's probably not complete ... and probably even worse to understand than the previous version, BUT

 - it documents all variables, constructs and functions i've seen used
 - it can and will evaluate variables from SpellDescriptionVariables.dbc
 - it will try to solve formulas as far as possible and respect modifiers for float-precision
   e.g.: ${(1+6)/3}.2 should resolve to 2.33

what's missing: the if-constructs that check for auras and known spells may be parsed to html-comments and manipulated by javascript .. welllllow priority
2013-03-04 22:58:28 +01:00
Sarjuuk
3f69a9ab49 - added announcements to titles and error-page
- file inclusion:
    - now only require without brackets
    - classes for ListTypes are auto-loaded
- (minor) empty array to new syntax (php5+)
2013-03-04 22:57:51 +01:00
Sarjuuk
a20703f35b some translations that were missing or needed in future
and the currency-menu was broken
2013-03-04 22:57:19 +01:00
Sarjuuk
8dc836f91d batch changes
- TYPEID_* => TYPE_
- AddSelfToJScript => AddGolbalsToJScript
- require, require_once, include with or without brackets => require <file>;
2013-01-25 18:02:05 +01:00
Sarjuuk
2e44d4cad3 JavaScript
- work against ListView, mostly readability/codestyle
- the menu for the selected tab is now grouped
- added some functions that are unused .. yet
2013-01-25 17:40:54 +01:00
Sarjuuk
5724c8285d minor changes
- lost error page for invalid Id
- typo that cached title.php always to the same file
- upperCase / lowerCase issue
2013-01-20 02:36:13 +01:00
Sarjuuk
5727295ae2 lost changes in defines 2013-01-20 02:05:11 +01:00
Sarjuuk
6fb1d5eae8 fixed generation of cache files and oversight in titles 2013-01-20 01:53:11 +01:00
Sarjuuk
656b78358c tabs to spaces and line endings 2013-01-20 01:36:15 +01:00
Sarjuuk
e65315dd3c Implement Titles
and while doing so...
- decrypted listview.templates - achievemnts, quests, titles
- removed ancient hacks for Opera from JS wich prevented capturing of some Key/Mouse-Events in Opera

Pease note, that the CharTitles.dbc alone doesn't provide enough data to generate these pages.
The script to generate ?_titles and ?_sourceStrings will be provided soon [TM]
2013-01-20 00:56:58 +01:00
Sarjuuk
faabdee2a6 minor beautifications for compare 2013-01-20 00:06:34 +01:00
Sarjuuk
e67d0a3dae moved shared code from the type-classes to commen parent-class
conditions for the type-lists should be more flexible to use
2013-01-19 22:42:26 +01:00
Sarjuuk
bfc0a684f0 updated Markup.js to parse [span] in prepartion for titles and general better display of infoboxes
yes, it's rather rudimentary..
yes, i should really dig into the new Markup-System... :/
2013-01-19 22:16:15 +01:00
Sarjuuk
be055cd8a4 minor template beautification 2013-01-19 22:14:24 +01:00
Sarjuuk
3d0c2dbb8d readability of array-functions
activated set pieces are no longer undefined
english in the language menu should now display its tooltips in kind
2012-12-28 15:18:19 +01:00
Sarjuuk
6b4e99af70 fixed two script errors and a bit readability-work in cookie-handling 2012-12-28 14:31:28 +01:00
Sarjuuk
1adafd62e1 fixed some bugs in spell parsing:
- resilience is now recognized
- weapon damage is now assigned to a fixed key
- block value now gets assigned to block value instead of block rating (*doh!*)
- some mixups in keys, when modding powers corrected
2012-12-28 14:26:20 +01:00
Sarjuuk
6ab86caff2 hacked "rel"-parameter into the language-menu
it should now show the tooltip for the current page again, in every language availabele

- forgot to move a string inside the french localization
- added missing strings to spanish, french and russian localization. Fixes an jsError in the Browsers console.
2012-12-27 22:50:39 +01:00
Sarjuuk
19d08d1d18 added scripts to generate datasets and icon-textures for the talent-calculator
that should make everyone with some client-mods or custom database entires happy

removed previously supplied datasets (which were partially erronous anyway)

usage:
    - read the requirements per file and run via ?build=<filename> This may take up to several minutes, depending on the complexity and your machine

todo:
    - expects parsed dbcs in DB named "dbc" and world-DB to be named "world". Needs to be configurable
    - no error handling. If it fails, it fails badly.
    - pets: locations are inaccurate (see comment in file)
    - itemsets: the fragmented data in itemsets.dbc has to be fixed manually before this script yields propper results (see comment in file)
2012-12-27 21:19:44 +01:00
Sarjuuk
7c723068f5 added execution-time measurement 2012-12-27 19:52:51 +01:00
Sarjuuk
dee0139410 typos in user-class 2012-12-27 19:52:08 +01:00
Sarjuuk
2d0e46155e TalentCalc:
- removed unused mastery-related styles
    - selected class highlight is now more obvious
    - name of selected class/petType is no longer permanently underlined
2012-12-24 19:50:54 +01:00
Sarjuuk
94621c0687 further unpacking of talent.js and petcalc.js
no change in funcitoinality (hopefully)
2012-12-24 19:45:15 +01:00
Sarjuuk
31ac4dfcdc removed relic imagery 2012-12-24 19:42:00 +01:00
Sarjuuk
e061744579 readily parsed databse for aowow
localization for esES still missing

notice:
- in future only the structure will be provided (and probably locale strings too).
- the actual data should be parsed by everybody individually. After all, some people DO like to modify their client.
2012-12-19 00:53:53 +01:00
Sarjuuk
8d3698d466 initial commit
features:
- tool - Maps:
   * finally supports multi-layered zones
   * should also support icons if needed (questgiver, ect)

- tool - Item Comparison:
   * fully functional (yes, that includes heirlooms and items with random props)
   * may throw a minor js-error if using arrow-keys/esc/ret in input-fields in the LightboxPopus (but wowhead does also)
   * icons for prismatic sockets are not displayed if no other sockets are present (calculation is correct though)
   * modelviewer will still 'call home'

- tool - Talent Calculator:
   * got rid of a VERY dirty hack for the icons (they are now supplied as texture, not laoded one at a time)
   * glyphs should also be a bit more informative
   * talent data is pulled from static file, that should a) speed up load and b) prevent lockups if it cant be generated on the fly
   * you can now set the level for your build, which affects available talent points, glyphs and glyph-slots

- tool - Pet Calculator:
   * initial implementation; basically the same as the Talent Calculator

- general concept changed:
   * dropped ajax.php; json is now supplied by the appropriate page if &json is appended to the url
   * search.php and opensearch.php are being merged; again, output will depend on the appended parameter (&openserach, &json)
   * data included via data.php will be static and assembled only on installation and when the database changes (should speed up load)
   * locale strings are now in a single file instead of being split up to the template
   * still getting rid of criss-cross-includes, global variables and string-defines
2012-12-19 00:53:36 +01:00