Commit graph

17 commits

Author SHA1 Message Date
Maaxxs
8488daabf8 Gear-Planer Guide: Formatierung in der Beschreibung (fett, kursiv, unterstrichen, Listen, ...)
Knopfleiste ueber dem Textfeld (assets/js/format-toolbar.js, Strg+B/I/U), Schreibweise wie im Wiki:
**fett**, *kursiv*, __unterstrichen__, ~~durchgestrichen~~, ## Ueberschrift, - / 1. Listen,
> Hinweis, [Text](Adresse). Wirkt in allen Guide-Texten mit Absaetzen; Kartenvorschau ohne Zeichen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 18:33:52 +02:00
Maaxxs
15394a57ea Gear-Planer: Set mit einem Charakter aus dem Spiel abgleichen ("Aus dem Spiel") - Assistent mit Suche (Server waehlbar, Kaisinel vorgewaehlt, eigene verknuepfte Charaktere), Ladeanimation und Schritten Ausruestung (Verzauberung, Durchbruch, Manasteine, Seelenpraegung), Arcana (Karte, Aufwertung, Skills), Skills (selbst gesteigerte Stufe ohne bekannte Boni), Daevanion (Mini-Bretter) und Uebersicht; nur Angehaktes ersetzt den Stand im Set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 19:54:32 +02:00
Maaxxs
efbc83be90 Gear-Planer: Skills in der Seelenpraegung (+1 auf aktive bzw. passive Skills der Klasse) aus aion2hub uebernehmen, im Slot-Editor waehlbar und als Bonus "Ausruestung" angerechnet; Spezialitaeten im Guide mit den Symbolen aus dem Spiel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 01:26:20 +02:00
Maaxxs
d4c8d57251 Gear-Planer: oeffentliche Builds der Klassenmeister mit Klassenfilter, "Meine Builds" als eigener Reiter und ein Guide je Build
- Build-Liste mit Klassen-Kacheln (Rolle, Anzahl, Klassenmeister), Sortierung nach Aenderung, Gegenstandsstufe oder Name
- Neues Recht gear.publish (Klassenmeister): eigene Sets oeffentlich stellen, wird bei der Main-Klasse angezeigt
- Reiter "Guide": Schwierigkeit, Tags, Beschreibung, Staerken/Schwaechen, Skill-Setup mit Reihenfolge und Begruendung,
  Hotbar und Makro mit Erklaerung je Taste, Daevanion, Ausruestung und Tipps; [[Skillname]] wird zum Skill-Chip
- Skill-Chips und -Kacheln zeigen die Info-Blase mit den Werten bei der geplanten Stufe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:01:33 +02:00
Maaxxs
247dad4cf4 Gear planner: macro entries point to a key of the skill bar, like in the game
Reported in the bug tracker: "Es stehen die einzelnen Skills zur Auswahl. Das ist so falsch. Richtig kann
man lediglich die Schnellzugriffstaste auswählen." In Aion 2 a macro entry chains buttons, not skills: it
points to a slot of the skill bar, and when the macro gets there, the game uses the skills stacked on that
slot (rows 0-3) one after another.

- Skill bar per skill preset (includes/gear_macro.php): the 12 slots of the game with their default keys
  (GEAR_MACRO_KEYS: 1-8, Q, E, left and right mouse button, in three groups of four) and up to
  GEAR_MACRO_KEY_ROWS = 4 active or stigma skills per key in rows 0-3 (row 0 is the one the bar shows).
  Drawn like the skill window: one column per key with rows 3 to 0 and the key below; on narrow screens
  (container query) two lines of six keys.
- A click on a field opens the skill picker below the bar: place, replace (a skill already on the key
  swaps rows), use earlier/later, remove. Skills that are already on a key carry its label. "Leiste von
  Preset N übernehmen" copies the bar of another preset (asks first if the bar is not empty). Without
  JavaScript the field submits cell=Key:Row and the page comes back with the picker open.
- Macro entries are {"k": key, "d": delay}. "Makro hinzufügen" and the icon of an entry open the key
  picker (the 12 keys with their row 0 skill and "+N" for the stacked ones, empty keys disabled). An entry
  shows the key, the row 0 skill and "dann ..." with the other skills of the key; "Als Text kopieren"
  writes each key with all its skills.
- gear_action.php save_macro: entries from key[] and delay[], new ops slot, unslot, slotup, slotdown and
  copybar; skills of other classes drop off the bar with a note.
- Stored in gear_set_plans "macro" as presets + bars. Macros from before (entries with a skill "s") are
  converted when read: each skill goes to the key where it already is in row 0, else to the next free key,
  and is saved that way with the next change.
- Patch notes (with thanks for the report) and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 22:50:09 +02:00
Maaxxs
525bd0d4b5 Gear planner: sets can be shared by link or build code and imported as your own
Asked for: share a build with a link or build code, and an import tool that takes such a code.

- "Teilen" on an own set creates a link (gear.php?build=CODE) and the same code as build code: 10
  characters without 0/O and 1/I/L, shown as K7QX2-M9FRT, stored in gear_sets.share_code (schema
  version 59, unique; also in sql/schema.sql). Whoever opens it sees the set even if it is not on the
  profile, always in its current state; the session remembers the code so tabs, slots and compare
  work, and a renewed or withdrawn code ends that access. "Neuen Code erzeugen" and "Nicht mehr
  teilen" invalidate the old one. The dialog reopens after creating (#teilen) with copy buttons.
- "Build importieren" on "Meine Sets" takes the code (with or without dash, any case) or the whole
  link; viewing someone else's set (shared or on the profile) offers "In meine Sets übernehmen".
  Both copy the set with gear, skills, macros and all planner pages via gear_set_copy() (also used
  by "Kopieren" now); the copy is neither shared nor on the profile. Errors reopen the dialog (#import).
- Members only (gear.view). Opening any page without being logged in now brings you back to it after
  the login (auth_login_return_target) - only for page views in the browser, not for background
  requests like live updates or autosave.
- Privacy policy (shared sets), patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 01:44:52 +02:00
Maaxxs
cf5f9966a7 Macro planner: every gear set gets a "Makro" tab built like the in-game macro window
A member asked for a macro planner. Aion 2's skill window (K -> Macro) has one macro per skill preset
1-3, each with up to 20 numbered entries (skill icon with level, name, trash can) and a delay in ms
after each entry (10 ms minimum); held down, the macro runs top to bottom, skipping skills on
cooldown, and starts over. The new tab rebuilds that window and its look: star ornament, big
numbers, "Verzögerung [10] ms" on a thin line, gold "Makro hinzufügen", preset buttons 1/2/3 with a
dot for the used ones.

- includes/gear_macro.php: active and stigma skills of the set's class, the level planned in the set
  (with Daevanion/Arcana bonuses; unplanned stigmas are marked), up to GEAR_MACRO_MAX_ENTRIES = 20
  entries per preset, delays 10-9999 ms. Stored in gear_set_plans under "macro" (not a
  GEAR_PLAN_SECTIONS page), so copying a set and the data export include it.
- gear_action.php save_macro: takes the preset as it stands in the form plus one change (add,
  replace, remove, up, down), drops skills of other classes with a note and returns the redrawn
  preset. Without JavaScript the buttons submit the form.
- assets/js/gear-macro.js: switch presets without reload, picker to add skills (stays open for the
  next one) or to replace an entry's skill right below it, delays saved shortly after typing, focus
  follows moved entries, "Als Text kopieren" puts the macro on the clipboard as a list for Discord.
  gear.js finds skill tooltips via data-tip-ref, so each description is on the page only once.
- Sets shown on a profile show their macros read-only. No DPS value: damage formulas, cooldowns and
  animation times are not available.
- README and patch notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 23:32:09 +02:00
Maaxxs
0977ef4f37 Skill planner: levels with - and + like aion2hub, self-leveled up to 10, bonuses from Daevanion and Arcana
Active and passive skills are planned only up to level 10 (stigmas 20); the levels above come from the
Daevanion and Arcana pages and show as "+4 → 14" (effective level, also used for specializations and the
compare view). Skill points and stigma points are limited to aion2hub's budget at character level 45
(3,723 / 304), at most 4 stigmas can be leveled - checked in the page and on the server. Stored levels
above 10 are set to 10 by the schema update (v41).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 00:34:13 +02:00
Maaxxs
4ff71fe163 Gear planner: set pages Arcana, Pets, Daevanion, Pantheon and Closet modelled on the aion2hub build planner
Data (cards, enchant points, skill pools, sets, pets, genus insight, daevanion boards, pantheon decorations,
closet skins, stat names and units) is read from the build planner's JS chunks and recognised by content;
one admin import "Planer-Daten übernehmen" (also brings the specializations) plus "Bilder laden".
Plans are stored per set and page (gear_set_plans, schema v40), saved instantly, shown in the compare view,
copied with the set and transferable from another own set. The skills page shows the skill bonuses from
Daevanion and Arcana.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 00:10:04 +02:00
Maaxxs
3cc60c7f7e Skill planner: set pages Ausrüstung / Skills / Stigmen, specializations and stigma bonuses with their effects from the aion2hub build planner
- Each set has three pages (tabs with counters): equipment, skills (active and passive) and stigmas; the skill pages live in includes/gear_skills_view.php
- Specializations of active skills like in the aion2hub planner: collapsible list with unlock level and effect, three from level 8, one from 12, one from 16; one slot at 8, two at 12, three at 20; locked options are disabled, lowering the level drops options that no longer fit (checked on the server too, stored as bitmask gear_set_skills.specs)
- Stigmas: the chosen ones as the 4 slots on top, each stigma lists its four bonuses at 5/10/15/20 with effect, reached ones are highlighted
- Admin: "Spezialisierungen & Stigma-Boni übernehmen" reads the build planner page, finds the JavaScript file with the data set (one request per second, remembers the file) and stores the effects of all classes (gear_skills.spec_effects); new page "Namen & Spezialisierungen" (admin/gear_skills.php) for German skill names and texts
- Autosave sends level and specializations per skill card, the tab counter updates live; compare shows specializations, copies keep them
- Schema version 39 (gear_skills.name_de, spec_effects, spec_names; gear_set_skills.specs), patch notes, README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 20:00:11 +02:00
Maaxxs
fab66f64d0 Gear planner: skill planner - skills of the set's class with planned level, stigma limit, point/shard costs, import from aion2hub
- Skills per class come from the aion2hub class pages (Global client core list only, Korea/Taiwan extras left out): 12 normal actives, then Dodge (no levels, dropped), then the stigma skills - matches the Global client's mastery and stigma lists for all 8 classes
- New tables gear_skills and gear_set_skills (schema version 35), skill icons stored under assets/uploads/skills/ (existing files are reused on re-import)
- Admin: "Skills" section on admin/gear_items.php imports/compares all classes (one request per second), marks skills aion2hub no longer lists and can remove them
- Set page: skill grid (active / stigma / passive) with level select and instant save; normal skills 1-10 by skill points, above that only with bonuses (Daevanion up to +4, gear and Arcana up to 20); stigmas up to 20, at most 4 at once (checked on the server too); shows skill point and stigma shard costs
- Planned skills on set cards, the profile page and in the comparison; copies take the skills along, a class change keeps the old levels hidden
- Patch notes entry, README section for the gear planner

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:17:59 +02:00
Maaxxs
c4f94bf84a Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes
- Raids: "Max. Spieler" only whole numbers up to groups x 5 (max. 10 groups / 50), gearscore only a number; fixed +1 Lumipunkt per participation, other values only with the new raids.points permission; pick an existing premade per group when creating a raid; unchanged legacy values no longer block editing
- Raid page updates itself every 15 s while visible (raids_live.php, cards rendered by includes/raid_card.php), open editors and confirm dialogs are kept
- Restore takes the new raid_id from the bot (archived messages are now deleted in Discord) and moves settings, attendance and awards; website signups send the server display name
- Premades: dissolve by leadership needs a reason, lead gets DMs on join/assign/decline/remove (source/actor_id sent to the bot), transfer picker skips players who already lead a group, website accept keeps the one-group rule, no commas in names
- Site-wide Lumina dialog (assets/js/confirm-dialog.js) replaces confirm/prompt/alert via data-confirm; error flashes are a dialog you confirm with OK
- Calendar: audience per entry (all / leadership takes part / internal) with the new calendar.leadership permission; day cells list all entries and scroll
- Gear planner: main-hand picker filtered by the set's class, mismatches marked, "keine Klasse" option, link to an external skill/Daevanion plan per set
- Map: correct kisk icons (Elyos on Verteron/Abyss, Altgard fixed), per-map max zoom and bounded panning, German texts, data source note
- Tactics: toolbar as a uniform grid, whole-tactic copy, automatic versions with restore and a 90-day trash, official tactics protected
- Global thin gold scrollbars, readable hover colours, "Sedes Luminis" spelling, patch notes and README, schema version 34

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:12:18 +02:00
Maaxxs
e9b6a820a8 Consistent buttons site-wide, stat totals next to gear sets on the profile page
- Buttons: icon and text centered, <button> inherits the page font, invisible border so gold and
  dark buttons have the same height, icons scale with the button size
- Two sizes only: normal for page/set header actions and form submits, small for actions in rows,
  cards and toolbars (header actions in gear planner, profile, members, calendar switched to normal)
- Profile page: gear set cards list the stat totals next to the equipment column

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 12:00:53 +02:00
Maaxxs
489518647c Gear sets on the profile page as an in-game style column, mini grid in 'Meine Sets'
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 11:35:15 +02:00
Maaxxs
91008dfc8b Gear planner: equipment as an in-game style grid (two square slots per row, grade colors, enchant badge, slot silhouettes)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 11:24:42 +02:00
Maaxxs
c547e00a81 Gear planner autosave, extra dividers in the customizable menu
- Gear planner: slot changes save automatically (selects right away, numbers/text shortly after
  typing) with a status instead of the save button; totals and slot tile update without a reload,
  a different item reloads once for its fields; slot labels no longer uppercase (Füße, not FÜSSE)
- Menu editor: "+ Trennlinie" adds extra dividers (up to 10), removable with ×

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 11:06:49 +02:00
Maaxxs
5dabbccbd7 Gear planner, dashboard polish, images on bug reports
Gear planner:
- Personal gear sets (18 slots) with enchant, exceed, soul imprint and manastones,
  stat totals by source and side-by-side comparison of 2-4 sets
- Sets can be shown on the own profile page (read-only for other members)
- Admin catalog: import items from aion2hub.com (Global client), compare stored
  values with the source one by one or all at once, at most one request per second
- New permissions gear.view (all with dashboard access) and gear.manage

Dashboard:
- Role badges ordered like the member list (roster_order)
- Stronger hover effect on "Rangliste & Verlauf" / "Zum Lumishop", no more blue
  hover on secondary buttons
- "Anstehende Raids" box links to the raids page, next raids link to the raid
  and to the calendar day
- Raid attendance only knows present/absent (old "excused" entries count as unset)

Bug reports:
- Up to 5 images per report, pasting copied images with Ctrl+V (also for the gallery)
- Images are only served to the reporter and bugs.manage via bug_image.php

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 09:27:09 +02:00