Commit Graph

298 Commits

Author SHA1 Message Date
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 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 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 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 e998dde06b Code requirements for vacation
Code requirements for vacation

Vacation function is fully functional
2026-04-27 13:26:39 +03:00
Catalin Novgorodschi c3049f7f1a Fix alliance Assign to position and Changepos
Code and Fix alliance Assign to position and Changepos
2026-04-22 12:24:26 +03:00
Catalin Novgorodschi ca541d2204 Fix alliance possition in overview
Fix alliance possition in overview
2026-04-22 10:15:49 +03:00
Catalin Novgorodschi 1045340581 Translate into english 2026-04-02 10:53:56 +03:00
Catalin Novgorodschi ebc77f7fbc Issue #77
Issue #77
2026-04-02 10:02:54 +03:00
Catalin Novgorodschi 602797a273 Merge pull request #150 from hdmaniak2/fix-quadrant-spawn
Fix: Restrict village spawn search to selected quadrant
2026-04-02 09:29:52 +03:00
hdmaniak 3e7222b5fc Fix: Restrict village spawn search to selected quadrant 2026-03-27 07:07:22 +01:00
Catalin Novgorodschi 20ab2acd79 Merge pull request #149 from hdmaniak2/fix-parallel-recall-units 2026-03-27 07:50:57 +02:00
hdmaniak 12de46015e Fix: Parallel troop recall race condition 2026-03-26 21:48:22 +01:00
hdmaniak 8c3a2138cc Fix marketplace race condition 2026-03-26 10:42:24 +01:00
hdmaniak2 9b03def903 Fix parallel training exploit (#145)
* Fix parallel building exploit via race condition

* Fix parallel research exploit via race condition

* Fix parallel training exploit

---------

Co-authored-by: hdmaniak <bombo15.forum@gmail.com>
Co-authored-by: Catalin Novgorodschi <1140613+Shadowss@users.noreply.github.com>
2026-03-25 08:22:39 +02:00
hdmaniak2 2e5f9f6169 Fix parallel research exploit (#143)
* Fix parallel building exploit via race condition

* Fix parallel research exploit via race condition

---------

Co-authored-by: hdmaniak <bombo15.forum@gmail.com>
Co-authored-by: Catalin Novgorodschi <1140613+Shadowss@users.noreply.github.com>
2026-03-24 14:25:46 +02:00
hdmaniak2 e83985e7f7 Fix parallel building exploit via race condition (#141)
Co-authored-by: hdmaniak <bombo15.forum@gmail.com>
2026-03-24 08:48:54 +02:00
Emerson Freitas a7bdac8392 fix: harden troop processing race conditions (#98) (#138) 2026-03-17 20:13:14 +02:00
levi a0ef06a35f chore: harden php8 compatibility, optimize installer/croppers, and refresh docs/admin ux 2026-03-14 16:50:27 -03:00
Catalin Novgorodschi 260896570e Revert "vulnerability fixed and cleanup and refactor"
This reverts commit 2a44e76414.
2026-02-11 15:22:16 +02:00
Catalin Novgorodschi bb1ac523cc Merge branch 'master' of https://github.com/Shadowss/TravianZ 2026-02-11 15:17:21 +02:00
Catalin Novgorodschi 2a44e76414 vulnerability fixed and cleanup and refactor 2026-02-11 15:11:43 +02:00
lietuvis10 038465fe9a Update Database.php
Fixed chieftain training issue: when player reinforced their chiefs to other villages they could train more so no more unlimited chieftains :)
2025-12-14 15:27:46 +02:00
lietuvis10 bc296fb251 Update Database.php
Functions for automated Crop Finder population.
2025-10-27 17:15:43 +02:00
lietuvis10 432b92220f Update Database.php
fixed query.
2025-10-23 19:46:45 +03:00
Catalin Novgorodschi db3d9bfff1 Crop finder @lietuvis10
Fix crop_finder.php by @lietuvis10
2025-10-23 10:27:45 +03:00
Catalin Novgorodschi 59c1114b1c Change some text on license TravianZ 2025-02-11 11:22:22 +02:00
Catalin Novgorodschi ac6a99cb89 Update Database.php 2025-02-11 08:21:43 +02:00
221V adaec555db rewrite "please don't scream" sql 2025-02-03 19:47:39 +02:00
Catalin Novgorodschi 4471074fa3 Update Database.php 2024-10-31 11:35:54 +02:00
CarloFalco 27c0a2f10b Update Database.php
Fix issue "Building orders are canceled after the attack in WW village"
2024-07-13 17:19:46 +02:00
Catalin Novgorodschi 5da2154a77 Merge pull request #44 from osztenkurden/master
Fixes for multiple bugs
2024-05-15 12:54:45 +03:00
Hubert Walczak 3d95916c29 Fix for db throws and install process not going through 2023-07-09 12:03:56 +02:00
nixpc de804b9567 Whoops! 2023-07-06 23:14:27 +02:00
nixpc 1549f830aa Fix CVE-2023-36995 name change alliance 2023-07-06 23:13:22 +02:00
nixpc e39ca488a9 Fix CVE-2023-36995 2023-07-06 23:02:00 +02:00
Catalin Novgorodschi 3925a76e9b fix database 2022-02-21 09:15:37 +02:00
Shadow 4c68d8dd39 Update to version 8.3.5
Many Fixes
2022-02-18 13:56:17 +02:00
Shadow 4c116aefea update 2019-05-06 09:18:20 +03:00
Vladyslav baf38dc6f9 Sorting of villages
+Fixed sorting of villages in the profile overview
of the player and in the side menu of the village
list (multivillage). Reduced to the real Travian.
2018-08-31 13:02:00 +03:00
iopietro f032523e1c Generale fixes
+Fixed a bug that didn't return reinforcements in counquered oasis, if
it was released by the owner, or from the admin panel
+Changed the catapults and rams formulas (still not completed at 100%),
thanks to Kirilloid!
+Changed the Natars' capital default coordinates
2018-07-28 15:07:52 +02:00
iopietro d3a78a5ea5 Admin panel fixes
+Plus and bonuses duration, can now be decreased or resetted, by
inserting a negative value of days
+Artifacts and artifacts villages created on a user account, won't
contain any troops
+Some clean up
2018-07-27 02:25:08 +02:00
iopietro b9a442b423 General fixes
+Fixed a bug that would have killed all troops by starvation, if added
through the admin panel
2018-07-25 17:17:52 +02:00
iopietro 77136a9784 Artifacts update and optimizations
+Added the "Artifacts" section in the Admin Panel, which contains two
options: return a deleted artifact to the Natars and create new
Artifacts, assigned to a specified player
+Return to Natars coded, in the village section of the Admin Panel
+Moved a lot of functions and costants from Automation.php to the "new"
class Artifacts.php
+Optimized a lot the whole Natars creation process, decreased the number
of query of about 600
+Optimized a lot the function which deletes a player's account, it's now
executed almost instantly, even with players with a lot of villages
+Redesigned the map spawn system, using a more Travian-like village
distribution
+Fixed a bug that did show a broken village in the artifact chronology,
if that village was destroyed
+Reduced the amount of redundant code (about 230 lines) for
27_1.tpl/27_2.tpl and 27_3.tpl
+Fixed a bug that permitted to build the Great Granary and the Great
Warehouse in the whole account, with only a village effect artifact
+Fixed a bug in the Admin Panel map that didn't permit to show village
informations, if that village contained single quotes in its name
2018-07-24 03:04:25 +02:00