Commit Graph

3492 Commits

Author SHA1 Message Date
Catalin Novgorodschi 7e30c74b0e Add admin account step to multi-instance installation 2026-08-14 11:24:39 +03:00
Catalin Novgorodschi bd3be223d0 Finalize named instance after account provisioning 2026-08-14 11:24:00 +03:00
Catalin Novgorodschi 0430b3ec78 Wire admin account setup into instance installer 2026-08-14 11:23:45 +03:00
Catalin Novgorodschi 0f84a4af42 Make installer account setup instance-aware 2026-08-14 11:23:28 +03:00
Catalin Novgorodschi b5a5bf0944 Complete multi-instance installer dashboard and lifecycle 2026-08-14 11:22:31 +03:00
Catalin Novgorodschi 16e3bdf31a Complete per-instance installation pipeline 2026-08-14 11:22:10 +03:00
Catalin Novgorodschi ee49c796f6 Keep instance config isolated from canonical admin template 2026-08-14 11:21:35 +03:00
novgorodschi catalin 6ae46f77dc Version change 2026-08-14 11:09:49 +03:00
novgorodschi catalin 6da9cd9c53 Restore constant_format.tpl
Restore constant_format.tpl
2026-08-14 11:05:27 +03:00
Catalin Novgorodschi 4acb822075 Restore original config template after multi-instance draft 2026-08-14 10:25:15 +03:00
Catalin Novgorodschi 53331bbb9f Make generated config instance-aware 2026-08-14 10:24:25 +03:00
novgorodschi catalin 35f4075734 Fix some atomic exploit
Fix some atomic exploit
2026-08-13 11:51:54 +03:00
novgorodschi catalin 7bad451a83 New Mileston + New SendWelcome Message
New Mileston + New SendWelcome Message
2026-08-12 14:36:39 +03:00
novgorodschi catalin 01e142c062 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2026-08-12 11:21:06 +03:00
novgorodschi catalin 37e29e397b Some visual change on Hero T4
Some visual change on Hero T4
2026-08-12 11:21:04 +03:00
Catalin Novgorodschi 6e104af38c Update README with new features and improvements 2026-08-12 10:48:00 +03:00
novgorodschi catalin 633aa05090 Add something cool for barraks, stable and workshop
Add something cool for barraks, stable and workshop
2026-08-12 09:43:41 +03:00
novgorodschi catalin 7c6425578e Fix sitter
Fix sitter
2026-08-12 08:11:04 +03:00
novgorodschi catalin e7c9c61ef8 Add sitter permission
Add sitter permission
2026-08-11 12:20:59 +03:00
novgorodschi catalin adb29798e1 Fix some Natars issue
Fix some Natars issue
2026-08-11 10:22:14 +03:00
novgorodschi catalin 8c5a5b94ea Some important fixes PHP 8.1
Some important fixes PHP 8.1
2026-08-11 09:19:32 +03:00
novgorodschi catalin ac262db66f Some important fix and view
Some important fix and view
2026-08-11 08:31:17 +03:00
novgorodschi catalin ba9bb0f6f6 fix special char in Profile 2026-08-10 19:25:19 +03:00
novgorodschi catalin 853d4dcecb Add hero header & Auction image tribe 2026-08-10 16:20:36 +03:00
novgorodschi catalin 1ecbba0e26 Some fix and add protected players
Some fix and add protected players
2026-08-10 12:37:56 +03:00
novgorodschi catalin d325fce01f Some important fix 2026-08-10 10:34:49 +03:00
novgorodschi catalin da58de16b4 Some important fixes
Some important fixes
2026-08-10 09:08:09 +03:00
Catalin Novgorodschi 2095a59b7e @Ferywir fix 2026-08-09 20:56:01 +03:00
Ferywir 91a980fa3d fix(combat): keep the hero casualty when rams force a battle recalculation [#372] (#373)
When rams change the wall level, applyRamDamage() replays the whole battle
through calculateBattle(). That helper WRITES to the hero table, so the replay
applied the hero damage a second time: applyHeroBattleDamage() only looks up
heroes with dead = 0, so the hero who had just died on the first pass was no
longer found, the call returned null and casualties_attacker[11] was never set.

Consequences, all visible in the screenshots of the issue: the report showed the
hero alive and "gained XP" instead of "died", modifyAttack3() never decremented
t11, and returnunitsComplete() added the hero back to units.hero - a hero dead in
the hero table but still displayed in dorf1 and in the rally point. Defender
heroes were also charged their health damage twice.

calculateBattle() now takes an optional $previousHeroOutcome: when the caller
hands over the first pass result, the hero damage is not applied again and the
first verdict (attacker / defender / reinforcement heroes) is carried over.

Also:
- drop the temporary [TravianZ][EROU] error_log() debug traces;
- 37_revive.tpl: only render a revive row for a hero that is actually dead
  (the revive action itself was already gated on dead = 1).

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Catalin Novgorodschi <cata7007@gmail.com>
2026-08-09 20:20:37 +03:00
novgorodschi catalin 770fa9fd6b Fix some bugs 2026-08-09 19:37:51 +03:00
novgorodschi catalin 4f93cb52a2 Some final fix 2026-08-09 16:14:01 +03:00
Catalin Novgorodschi 935d8939cd Update Artifacts.php 2026-08-09 09:22:43 +03:00
novgorodschi catalin 14886294f0 fix 2026-08-09 07:48:36 +03:00
novgorodschi catalin 49fd8e8982 tix hero 2026-08-08 20:45:23 +03:00
novgorodschi catalin 3b305d85c4 fix hero 2026-08-08 19:16:17 +03:00
novgorodschi catalin 6980a9ac44 fix #372 2026-08-08 11:40:54 +03:00
novgorodschi catalin 31506338bd Winner update
Winner update
2026-08-07 11:30:15 +03:00
novgorodschi catalin 46aaeb559a Fix something gpack
Fix something gpack
2026-08-07 08:21:56 +03:00
novgorodschi catalin 4d74c38f5b Change tribe 2026-08-07 08:19:29 +03:00
sinfrecu e410a6794f Update quality spartans and add Vikings (#370) 2026-08-07 07:56:52 +03:00
Didiboo ec312bfb13 Add blue color to .adv class in movements table (#369)
For T3 graphics
2026-08-07 07:56:13 +03:00
Didiboo 0932e561c0 Add blue color to .adv class in movements table (#368)
For T4 Graphics
2026-08-07 07:55:56 +03:00
Didiboo 66a9017055 Active new color for adventure (#367) 2026-08-07 07:55:40 +03:00
sinfrecu 210feb0dd2 Update images and fix positioning (#366) 2026-08-06 06:37:57 +03:00
novgorodschi catalin 5e2d1f9958 Fix #364
Fix #364
2026-08-05 14:45:18 +03:00
novgorodschi catalin 077708ef84 Fix autocomplete
Fix autocomplete
2026-08-05 14:14:10 +03:00
novgorodschi catalin dcb9311f4c Fix [#WALLMASTER] for new tribe
Fix [#WALLMASTER] for new tribe
2026-08-05 14:07:25 +03:00
novgorodschi catalin 72a2365d17 Fix bug autocomplete
Fix bug autocomplete
2026-08-05 13:59:24 +03:00
novgorodschi catalin 146b96907c Audit Plus folder & Add Credits
Audit Plus folder & Add Credits
2026-08-05 13:51:47 +03:00
novgorodschi catalin 9084350e01 Fix and Notice
Fix and Notice
2026-08-05 12:03:09 +03:00