Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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