Commit Graph

225 Commits

Author SHA1 Message Date
novgorodschi catalin 0f58d238f1 Fix Natars
Fix Natars
2026-08-20 07:58:50 +03:00
novgorodschi catalin 9d81c8eaa0 Fix something wrong 2026-08-14 13:22:45 +03:00
Catalin Novgorodschi 6b7bb9b4f2 Start installer session before reusing canonical config form 2026-08-14 11:24:50 +03:00
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
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 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 3946603591 Translate into english
Translate into english
2026-08-04 10:15:13 +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 10fb3beb0d add ww tribe image
add ww tribe image
2026-08-04 07:54:47 +03:00
novgorodschi catalin efc9eb8b25 Fallback fix server
Fallback fix server
2026-08-03 14:34:09 +03:00
novgorodschi catalin 81731583d5 Translate into english
Translate into english
2026-08-03 09:12:28 +03:00
novgorodschi catalin 613d800e29 Clear some dead code!
Clear some dead code!
2026-08-03 07:51:50 +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
novgorodschi catalin 7642151569 Add Plus Statistics
Add Plus Statistics
2026-07-28 08:48:19 +03:00
novgorodschi catalin 064416826e Add T4 Alliance Bonuses NEW_FUNCTION
Add T4 Alliance Bonuses NEW_FUNCTION
2026-07-27 14:52:15 +03:00
novgorodschi catalin 70d74b340e English use english
English use english
2026-07-27 10:49:34 +03:00
novgorodschi catalin dd7ee34e20 Enable GPACK for Player
Enable GPACK for Player
2026-07-27 10:42:44 +03:00
novgorodschi catalin 038e83b378 Add gpack and some fix
Add gpack and some fix
2026-07-27 08:52:49 +03:00
novgorodschi catalin a7817f9631 Fix demolish #337
Fix demolish #337
2026-07-24 18:16:53 +03:00
novgorodschi catalin 2e53094b48 Add T4 Hero Resource and some fix
Add T4 Hero Resource and some fix
2026-07-24 08:34:50 +03:00
novgorodschi catalin 1e19f117ca Last fix for Hero T4 & V11
/*
|--------------------------------------------------------------------------
| FIX List
|--------------------------------------------------------------------------
|
| 1. Hero Attribute Points
|    - When adding attribute points to the hero, the page currently refreshes
|      after every click on the "+" button.
|    - Implement a faster allocation method (AJAX or similar) so multiple
|      points can be assigned without a full page refresh.
|    - The implementation must remain secure and not be exploitable
|      (validate requests server-side, prevent double submissions,
|      verify available points, etc.).
|
| 2. Hero Equipment Restrictions (Original Travian Behavior)
|    - Prevent equipping or unequipping hero items while the hero is:
|        • On an adventure.
|        • Attacking (alone or with troops).
|        • Away as reinforcements.
|
| 3. Oasis Navigation
|    - When opening an oasis (37_land.tpl), the 37_t4nav.tpl navigation
|      disappears.
|    - Include the navigation menu on the oasis page as well.
|
| 4. Auction House Redesign
|    - Redesign 37_auction.tpl to match the Merchant.png mockup.
|    - Keep the existing auction functionality exactly as it is.
|    - Only improve the UI/UX.
|    - You may crop and reuse graphics from Merchant.png.
|    - Add Gold ⇄ Silver exchange functionality.
|
| 5. Hero Item Bonuses (Highest Priority)
|    - Verify that hero equipment bonuses are applied correctly.
|    - Example:
|        • Helmet of the Ruler should reduce Barracks training time by 20%.
|        • Currently, training time remains unchanged whether the helmet
|          is equipped or not.
|    - Also verify:
|        • Stable training speed bonuses.
|        • Boots bonuses.
|        • Any other related hero equipment effects.
|
| 6. Adventures Page Redesign
|    - Redesign 37_adventures.tpl to match the Adventure.png mockup.
|    - Keep the "Expires in" column intact.
|
*/
2026-07-23 15:16:51 +03:00
novgorodschi catalin acc681f737 Some rapid fix for v11
Some rapid fix for v11
2026-07-23 12:18:46 +03:00
novgorodschi catalin 8a2d727659 Last Phase before v11 release. New Automation Cleanup
Last Phase before v11 release. New Automation Cleanup
2026-07-23 11:49:27 +03:00
novgorodschi catalin 6f80be1f4c Add Cron Jobs for Automation
Add Cron Jobs for Automation
2026-07-23 09:43:16 +03:00
novgorodschi catalin b87cf27396 Add MultiAccount Detection, Add Push Protection Detection, Add register Default Gold
Add MultiAccount Detection, Add Push Protection Detection, Add register Default Gold
2026-07-15 14:23:05 +03:00
novgorodschi catalin 25c8925ef6 NEW TRIBES ENHANCEMENT (Huns, Egipteans, Spartans & Vikings) #327
NEW TRIBES ENHANCEMENT (Huns, Egipteans, Spartans & Vikings) #327

Please be advised, is not fully tested so if you activate on install maybe is not fully working
2026-07-14 09:25:26 +03:00
novgorodschi catalin 3c99623a33 Add T4 Hero System (configurable on install)
Add T4 Hero System (configurable on install with TRUE/FALS) part of #285

-Adventures
-Merchants
-Equipment
2026-07-10 09:15:42 +03:00
novgorodschi catalin e9e5c0e831 Server Medal Reset Timer in NEW FUINCTION SYSTEM
Server Medal Reset Timer in NEW FUINCTION SYSTEM
2026-07-02 10:17:17 +03:00
novgorodschi catalin 0edb95203d Added Milestone On Install
Added Milestone On Install
2026-07-01 11:05:44 +03:00
novgorodschi catalin 8d492bebd3 Update some files & remove unused code
Update some files & remove unused code
2026-06-23 13:43:17 +03:00
Ferywir 20804d9182 feat: IP ban support (#185) (#188) 2026-06-09 15:15:27 +03:00
novgorodschi catalin 33b7261b4b Change some file
Change some file
2026-06-04 13:39:59 +03:00
TravianZ Patcher 421915f774 Add per-user language selection (issue #166)
The profile already had a language selector (Templates/Profile/preference.tpl)
that saved the choice into users.lang and $_SESSION['lang'], but the saved
preference was never used to actually load the language: every page loads
include("Lang/".LANG.".php") with the server-wide LANG constant, so changing
the language in the profile had no visible effect.

This wires it up:

- Introduce SERVER_LANG (the server default) and make LANG the EFFECTIVE
  display language, resolved from the player's saved preference
  ($_SESSION['lang']) with a fallback to SERVER_LANG
  (install/data/constant_format.tpl).
  SECURITY: the value is sanitized to [a-z_] and the target Lang/<x>.php
  file must exist, otherwise we fall back to the server default. This
  prevents Local File Inclusion via include("Lang/".LANG.".php").

- Seed $_SESSION['lang'] from users.lang on login (GameEngine/Session.php,
  PopulateVar), so the chosen language applies right after logging in.

- Keep the SERVER default intact when an admin saves settings: the admin
  config regenerators and the "Server Settings"/config displays now use
  SERVER_LANG (the server default) instead of the per-user LANG, so an
  admin browsing in their own language can't accidentally overwrite the
  server default (6 Admin/Mods/edit*.php + editServerSet.tpl + config.tpl).

Note: existing installs must also add SERVER_LANG + the LANG resolution to
their generated GameEngine/config.php (and the Admin/Mods/constant_format.tpl
copy) since config is generated at install time.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 09:07:57 +02:00
novgorodschi catalin 11ce6e6052 Added Romanian Language
Added Romanian Language
2026-06-04 09:39:44 +03:00
TravianZ Patcher 2f2f0f5a47 Add Swiss timezone (Europe/Zurich) to timezone selectors
The timezone lists are hardcoded. Add "Europe (Switzerland)" =
Europe/Zurich to:
- Admin/Templates/editServerSet.tpl (admin: edit server settings)
- install/templates/config.tpl (install wizard, index 14)
- install/index.php (install wizard tz index->name mapping, case 14)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 11:28:09 +02:00
TravianZ Patcher 46d63e737c Add French (fr) to the language selectors
The language dropdowns are hardcoded (they don't scan GameEngine/Lang/),
so the existing fr.php never appeared. Add a French option to:
- install/templates/config.tpl (install wizard)
- Admin/Templates/editServerSet.tpl (admin: edit server settings)
- Admin/Templates/config.tpl (admin: server config display)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 11:28:09 +02:00
novgorodschi catalin 6e139a1b61 Fix
fix
2026-06-02 14:20:21 +03:00
novgorodschi catalin 2eaa92fc03 Fix gold log script
Fix gold log script
2026-06-02 08:10:46 +03:00
Catalin Novgorodschi 04a1565155 Update accounts.php 2026-05-31 09:58:03 +03:00