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
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
72a2365d17
Fix bug autocomplete
...
Fix bug autocomplete
2026-08-05 13:59:24 +03:00
novgorodschi catalin
9084350e01
Fix and Notice
...
Fix and Notice
2026-08-05 12:03:09 +03:00
novgorodschi catalin
ae2d835a84
Important security fix
...
Important security fix
2026-08-05 10:39:38 +03:00
novgorodschi catalin
b21f60c2b1
Some important fixes
...
Some important fixes
2026-08-05 10:21:53 +03:00
novgorodschi catalin
b2dec1d942
Fix some sql inject & Add Credits
...
Fix some sql inject & Add Credits
2026-08-05 09:57:35 +03:00
novgorodschi catalin
b79ee61855
Fix max donation Alliance Bonuses
...
Fix max donation Alliance Bonuses - cannot donate over max
2026-08-04 11:05:54 +03:00
novgorodschi catalin
a584c68153
Fix Huns Loiality Regeneration & WW cannot be change to capital
...
Fix Huns Loiality Regeneration & WW cannot be change to capital
2026-08-04 09:40:41 +03:00
novgorodschi catalin
2972556067
Part of es translation
...
Part of es translation
2026-08-04 09:25:46 +03:00
novgorodschi catalin
98b3b99007
Add spanish language
...
Add spanish language
2026-08-04 09:19:05 +03:00
novgorodschi catalin
62be19a0fe
Add part of spanish language
...
Add part of spanish language
2026-08-04 09:08:59 +03:00
novgorodschi catalin
74c9883e27
Some backup solution
...
Some backup solution
2026-08-04 08:56:14 +03:00
novgorodschi catalin
10fb3beb0d
add ww tribe image
...
add ww tribe image
2026-08-04 07:54:47 +03:00
novgorodschi catalin
242fdd959f
Fix tribe edit
...
Fix tribe edit
2026-08-03 14:44:25 +03:00
novgorodschi catalin
eb441d7ec1
Remove dead code
...
Remove dead code
2026-08-03 14:35:12 +03:00
novgorodschi catalin
efc9eb8b25
Fallback fix server
...
Fallback fix server
2026-08-03 14:34:09 +03:00
novgorodschi catalin
7c75cde78e
Some fixes
...
Some fixes
2026-08-03 13:27:00 +03:00
novgorodschi catalin
b515aeab47
Rearange items in Hero Page
...
Rearange items in Hero Page
2026-08-03 12:58:18 +03:00
novgorodschi catalin
f72d47e8be
Another translate in english
...
Another translate in english
2026-08-03 09:48:31 +03:00
novgorodschi catalin
d094dae435
Fix clear inactive
...
Fix clear inactive
2026-08-03 08:39:26 +03:00
novgorodschi catalin
c06c13f3e8
Some fixes
...
Some fixes
2026-08-03 07:58:30 +03:00
novgorodschi catalin
613d800e29
Clear some dead code!
...
Clear some dead code!
2026-08-03 07:51:50 +03:00
novgorodschi catalin
aeccc54cb9
fix mass message and sysmessage
2026-08-02 17:03:04 +03:00
novgorodschi catalin
f673341bab
fix artefacts
2026-08-02 08:50:50 +03:00
Catalin Novgorodschi
8bfa8de6e3
Update Artifacts.php
2026-08-01 17:42:30 +03:00
novgorodschi catalin
bd02642711
fix warsim
2026-08-01 17:24:51 +03:00
novgorodschi catalin
a7b8901dd7
fix
2026-08-01 15:59:20 +03:00
novgorodschi catalin
84e00c41f0
fix
...
some fix
2026-08-01 15:52:21 +03:00
novgorodschi catalin
523e81df07
Natars start construct ww
...
natats start construct their ww
2026-08-01 13:25:24 +03:00
novgorodschi catalin
f058203aa4
fix
2026-08-01 07:29:11 +03:00
Fabian
a1a714b062
Centralize language loading with English fallback ( #361 )
2026-07-31 08:12:33 +03:00
Fabian
dd52fa6046
Fix negative timer formatting ( #359 )
2026-07-31 08:11:51 +03:00
Fabian
d8dfed5e33
Fix researching cache population ( #358 )
2026-07-31 08:11:35 +03:00
Fabian
c5c178f214
Fix lexicographic multi-key sorting ( #356 )
2026-07-31 08:11:17 +03:00