Commit Graph

3109 Commits

Author SHA1 Message Date
TravianZ Patcher 7a013c38e3 Fix install + admin bugs reported in issue #169
Addresses the five bugs found on master (6e139a1b) during a fresh
Docker install and admin testing:

1. Missing `details` column in gold_fin_log (HTTP 500 on finishing
   construction with gold, buying Gold Club, admin giving gold):
   - Add `details varchar(255)` to the gold_fin_log schema, matching
     every INSERT and the a2b2.php reader that already use it.
   - Fix the broken positional INSERT in Logging::goldFinLog() (it sent
     3 values for a 7-column table) which 500'd on the same gold path.

2. Admin "View Player Info" fatal error: `<? php` -> `<?php` in
   Admin/Templates/playerinfo.tpl.

3. "Reset Server" leaving the DB corrupted (Duplicate key name
   'idx_ft_bonus_xy'): move the croppers indexes inline into the
   CREATE TABLE IF NOT EXISTS so structure recreation is idempotent,
   and add `croppers` to the reset truncate list.

4. Install wizard crash on failed DB connection (mysqli_error(false)):
   use mysqli_connect_error() and show a friendly, actionable message
   (incl. the Docker "db" hostname hint).

5. PHP exposing errors/stack traces to end users: ship a production
   php.ini baseline + docker/php/zz-travianz.ini that turns off
   display_errors and logs to stderr instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 08:32:00 +02:00
novgorodschi catalin 6e139a1b61 Fix
fix
2026-06-02 14:20:21 +03:00
novgorodschi catalin 37397a63bc Fix msg in admin panel
Fix msg in admin panel
2026-06-02 13:16:44 +03:00
novgorodschi catalin b495dcb559 Some fix
Some fix
2026-06-02 12:58:20 +03:00
novgorodschi catalin 888b4848e4 Fix hero svg in admin panel
Fix hero svg in admin panel
2026-06-02 12:17:08 +03:00
novgorodschi catalin cfbfa0a465 Fix sysmsg
Fix sysmessage
2026-06-02 12:04:31 +03:00
novgorodschi catalin 66a3c5d34f Translate some code
Translate some code
2026-06-02 11:35:35 +03:00
novgorodschi catalin 53cef401bf fix popup
fix popup
2026-06-02 11:10:42 +03:00
novgorodschi catalin 547e164143 Edit some access for MH user and recreate mass messaage
Edit some access for MH user and recreate mass message and new maintenance system view for admins
2026-06-02 10:59:35 +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
novgorodschi catalin dbe20c49b5 Some last fix for logs! 2026-05-28 13:22:27 +03:00
novgorodschi catalin 1d1f1dc72a Fix + Redesign
Fix some error programing code and redesign special medals, tribe medals, mh medals, taskmaster medals, natars medals, nature medals, protection medals, etc. Add some language code in Profile.php and preference.tpl. Change some description in struct database for Nature and Taskmaster
2026-05-28 12:25:28 +03:00
novgorodschi catalin a9650e1624 Fix caps look del alli
Fix caps look del alli
2026-05-27 13:22:35 +03:00
novgorodschi catalin b31a0a3f92 Fix edit resources
Fix edit resources
2026-05-27 13:09:24 +03:00
novgorodschi catalin 31c475e644 Fix + Credits + Start Language Coding
Fix Artefacts + Credits + Start Language Coding
2026-05-27 12:26:24 +03:00
novgorodschi catalin 1b119d2a35 Fix special medals
Fix special medals
2026-05-26 14:42:19 +03:00
novgorodschi catalin 24fb80371d Fix special medal system
Fix special medal system
2026-05-26 12:34:50 +03:00
novgorodschi catalin fe19587c90 Redesign install system & New Medal System
Redesign install system & New Medal System

Artefact Holder			[#ARTEFACT]
WW Builder			[#WWBUILDER]
Great Store			[#GREATSTORE]
Wall Master			[#WALLMASTER]
Hero 99+			[#HERO100]
2026-05-26 10:42:28 +03:00
novgorodschi catalin 8c3ab3e5eb Fix some bugs + added (coded delAli)
Fix some bugs + added (coded delAli)
2026-05-25 12:37:33 +03:00
novgorodschi catalin a4e2c506a8 Redesign Admin Panel
Full frontend & backend redesign and refactor
2026-05-25 10:23:39 +03:00
Catalin Novgorodschi 8e3f4e16a9 Update struct.sql v10-full-refactor 2026-05-24 10:34:13 +03:00
novgorodschi catalin a3100fb691 Redesign Admin Panel Second Round
Redesign Admin Panel Second Round
2026-05-22 15:16:47 +03:00
novgorodschi catalin 62c86380a4 Redesign Admin Panel First Round
Redesign Admin Panel First Round
2026-05-22 15:12:37 +03:00
novgorodschi catalin 1e22dd22bf Merge branch 'master' of https://github.com/Shadowss/TravianZ 2026-05-22 11:30:26 +03:00
novgorodschi catalin 3fa16f13b2 Full Refactor Admin Panel & Logs
Full Refactor Admin Panel & Logs (now you can see detailed logs in admin panel) - ONLY BACKED
2026-05-22 11:29:37 +03:00
novgorodschi catalin d636065b80 Full Refactor Admin Panel & Logs
Full Refactor Admin Panel & Logs (now you can see detailed logs in admin panel)
2026-05-22 11:26:50 +03:00
novgorodschi catalin 29b8e91968 Last incremental refactor for Template/a2b
Last incremental refactor for Template/a2b
2026-05-21 14:46:43 +03:00
novgorodschi catalin dd64b1e6c7 Refactor GoldClub
Refactor GoldClub
2026-05-21 13:41:48 +03:00
novgorodschi catalin 1192e53b04 Fix admin error line 600
Fix admin error line 600
2026-05-21 13:18:12 +03:00
novgorodschi catalin 05bfde9063 Remove some unused code and some fix
Remove some unused code and some fix
2026-05-21 13:12:21 +03:00
novgorodschi catalin 878ecec687 Added Account transactions with History
Added Account transactions with History
2026-05-21 11:23:45 +03:00
novgorodschi catalin e6a3bb7db7 Update log system gold
Update log system gold
2026-05-20 11:55:18 +03:00
novgorodschi catalin 0934806e8d Refactor all PLUS System
Refactor PLUS System + Fix some bugs
2026-05-20 10:57:02 +03:00
novgorodschi catalin 3f32e21333 Fix bug in General Stats
Fix bug in General Stats - now troops appear !
2026-05-20 07:47:02 +03:00
novgorodschi catalin e03b7c9037 Fix hero system after refactor
Fix hero system after refactor
2026-05-18 11:12:15 +03:00
novgorodschi catalin 1936e1f02c Disable generic cache
Disable generic cache
2026-05-18 10:43:14 +03:00
novgorodschi catalin ca4afdf7eb Revert "Undo"
This reverts commit 23d779dd9f.
2026-05-18 09:26:19 +03:00
novgorodschi catalin 23d779dd9f Undo
undo
2026-05-18 09:22:24 +03:00
novgorodschi catalin 4a2108e88e Change to english Admin - Change
Change to english Admin - Change
2026-05-18 09:21:01 +03:00
novgorodschi catalin 55e6dd60b5 Refactor + BugFix
1. Fix a bug in Admin Panel that you can edit by yourself your rank, now you cannot edit your rank anymore.

2. Now Alliance Leader can edit his own Position

3. Fix negative value on Demolition Building, now in database at lvl is appear new level not -1

4. Refactor Ajax map, now all is alligned (Ajax folder and Map folder)

5. Fix bug from Palace (when change capital now Automation recount population automaticaly on old capital and new capital)
2026-05-18 09:18:35 +03:00
Catalin Novgorodschi 2bce101a27 Fix reinforcement
Fix reinforcement
2026-05-15 12:43:03 +03:00
Catalin Novgorodschi 51e7e95052 Fix for admin/mh vacation 2026-05-15 12:24:30 +03:00
Catalin Novgorodschi 850a46ae2d Some fixes & improovements
1. Fix ban access, 2. Fix profile ('"") , 3. Add on vacation Admin/MH and exclude rat from reinforcement.
2026-05-15 12:13:01 +03:00
Catalin Novgorodschi cd4a5cd957 Fix ban, forgot to change access
Fix ban, forgot to change access
2026-05-15 09:05:02 +03:00
Catalin Novgorodschi 01474fb31f Update Readme
Update Readme
2026-05-15 08:17:14 +03:00
Catalin Novgorodschi 3804498ad9 Incremental Refactor Automation & Database (cache)
Incremental Refactor Automation (starvation split in more methods) & Database (cache & checkAllianceEmbassiesStatus refactor), Fix a bug in Alliance.php (now you cannot kick alliance leader)
2026-05-14 15:05:32 +03:00
Catalin Novgorodschi 1b66ce2139 Fix oasis regeneration
Fix a bug that appear when you attack an unoccupied oasis and not conquer and remain 0 units. After that troops not regenerate.
2026-05-14 08:42:12 +03:00
Catalin Novgorodschi afbe64a006 Incremental Refactor Celebration
Incremental Refactor Celebration
2026-05-13 15:17:21 +03:00
Catalin Novgorodschi f99ab72d25 Incremental Refactor Form/BBCode/Mailer/Village
Incremental Refactor Form/BBCode/Mailer/Village
2026-05-13 15:09:05 +03:00