Commit Graph

130 Commits

Author SHA1 Message Date
Ferywir 5d366284e6 l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186) 2026-06-09 10:28:59 +03:00
Catalin Novgorodschi 01474fb31f Update Readme
Update Readme
2026-05-15 08:17:14 +03:00
Catalin Novgorodschi c8d9fae4b4 Incremental refactor Generator/Logging/Multisort
Incremental refactor Generator/Logging/Multisort
2026-05-12 13:22:51 +03:00
Catalin Novgorodschi ed0fc6be2c Incremental refactor Building and Ranking
Incremental refactor Building and Ranking
2026-05-12 11:35:15 +03:00
Catalin Novgorodschi 27e9a9a7b5 Full refactor of Battle
Full refactor of Battle
2026-05-08 13:06:53 +03:00
Catalin Novgorodschi 544496c515 Update some shit code
Update some shit code
2026-04-30 14:24:31 +03:00
Catalin Novgorodschi 1ea6873826 Winner check on register
Winner check on register
2026-04-30 08:55:00 +03:00
levi a0ef06a35f chore: harden php8 compatibility, optimize installer/croppers, and refresh docs/admin ux 2026-03-14 16:50:27 -03:00
lietuvis10 833cc2f744 Update en.php
Cranny description update, scale with cranny capacity.
2025-11-04 10:30:25 +02:00
Tackx f1aef3688c Add missing escape chars, fixing Q25_27 (Task 23: Friends.) 2024-12-27 17:09:35 +01:00
221V 4aa3c443f6 tr - use single quotes for better php perf, DRY 2024-12-11 20:31:49 +02:00
221V 9857a8ce37 tr - upd buildings description 2024-12-11 19:36:59 +02:00
221V 4aa4ef0480 tr - rm doubling 2024-12-11 19:21:33 +02:00
221V 8fb900524a tr - use readable keys 2024-12-11 19:15:07 +02:00
221V 5deb46d8c5 tr - fix concatenation 2024-12-11 17:09:19 +02:00
221V d480a5be6c tr - fix tags - html5 2024-12-11 16:51:00 +02:00
221V 98e8d3a666 tr - rm doublings + fix desc keys 2024-12-11 16:42:57 +02:00
221V 446d457296 tr - add keys 2024-12-11 16:29:45 +02:00
221V 54e65e59c4 tr - css - artefact 2024-12-11 16:22:39 +02:00
221V 365aba27bf tr - unify - artifact to artefact 2024-12-11 16:21:16 +02:00
221V 5b586a04e7 tr - add keys 2024-12-11 16:08:29 +02:00
221V 422f8d28ef tr - fix key 2024-12-11 15:53:13 +02:00
221V 684296e57a tr - fix key 2024-12-11 15:50:35 +02:00
221V 9fba876685 tr - rm dublicates 2024-12-11 15:48:36 +02:00
221V ff22a74095 tr -- rm dublicates 2024-12-11 15:44:50 +02:00
221V f1b3ff3ed6 tr - rm dublications 2024-12-11 15:39:04 +02:00
221V 3907e1bab7 tr -- add keys 2024-12-11 15:17:04 +02:00
221V c604ec6d81 tr - br - html5 2024-12-11 14:50:42 +02:00
221V 8c9f5ecbc2 tr - capital 2024-12-11 14:46:22 +02:00
221V 55e295f73f tr - add keys 2024-12-11 14:38:05 +02:00
221V e9b7682a06 use HTML entities for make html valid (cannot be broken) 2024-10-09 18:05:45 +03:00
221V 5b586df4cc fix CALCULATED_IN 2024-10-09 17:51:37 +03:00
221V ca3cecf457 fix SERVER_TIME 2024-10-09 17:48:39 +03:00
Alex Alexandrovich f343b5a33a Fixed hardcode
Improved work with the translation of the game.
2022-05-23 20:15:37 +03:00
Shadow 4c68d8dd39 Update to version 8.3.5
Many Fixes
2022-02-18 13:56:17 +02:00
iopietro ee0b4984c2 #554 Fixes and General fixes
+Fixed a bug that could have happened in the statistics if there were 0
users in the server
+Fixed a compatibility bug with PHP 7.0
2018-07-24 18:19:44 +02:00
iopietro a8d6b9c357 General fixes
+Fixed a bug that didn't permit to change the name or the Tag of the
alliance individually
+Fixed a bug that didn't count the population growth sometimes
+Fixed a bug that didn't halve the population consumption in WW villages
2018-06-08 19:15:39 +02:00
Catalin Novgorodschi 5beccbdca0 Little fix for hero language
+ life points
2018-06-08 08:04:32 +03:00
iopietro c9332ea67d General fixes
+Changed the Multihunter's tribe from 0 to Romans (1)
+Added an option to the Multihunter's panel map which shows all
artefacts on the map
2018-06-06 01:29:42 +02:00
iopietro 693d29c0f8 General fixes
+Fixed a bug that permitted to invite players already in an alliance
+Fixed a bug that didn't delete the alliance permissions when the
alliance was dispanded/dispersed or the user left the alliance by
destroying his embassy
+Added a new error which shows up when trying to invite someone already
in an alliance
2018-06-01 17:14:24 +02:00
iopietro e0166b1242 General fixes
+Fixed a bug that permitted to edit alliance leader's permissions
2018-05-30 20:25:29 +02:00
iopietro f0b9f32826 General fixes
+Moved "isWinner()" method from Automation.php to Session.php, it's now
triggered when activating plus function or entering in
plus1.php/build.php
+General clean-up and better indentation
+The tournament square bonus is now displayed correctly
2018-05-22 00:33:09 +02:00
iopietro 877762ea6e General fixes
+Updated installation SQL struct

NOTE: To play this version without reinstalling the server, you need to
run this query (where "s1_" is the prefix of the server):

ALTER TABLE `s1_forum_topic`
  DROP `alliance0`,
  DROP `player0`,
  DROP `coor0`,
  DROP `report0`;

ALTER TABLE `s1_forum_post`
  DROP `alliance0`,
  DROP `player0`,
  DROP `coor0`,
  DROP `report0`;
2018-05-20 16:56:37 +02:00
iopietro 5ecf035cb3 Alliance fixes part 2
+Public forums are now displayed for every player on the server
+Fixed some security bugs that permitted to create thread and posts to
private forums
+Fixed some general bugs
2018-05-19 00:01:50 +02:00
iopietro b91e27381b General fixes
+Fixed a bug that didn't permit to display the bonus of some buildings
at level 0
+The cavalry training percentage bonus, provided by the horsedrinking
trough, is now displayed correctly
2018-05-18 17:23:54 +02:00
iopietro 0322a0ae49 General fixes
+Fixed a bug that permitted to see troops movement with a 0 level rally
point
+Fixed a bug that permitted to send attacks, enforcements, etc. with a 0
level rally point
+Fixed a bug that counted the moral bonus for attacks against WW
villages
+Fixed a bug that didn't permit to finish all buildings/researches, etc.
without a plus account
+Recoded part of Natars timer for being more generic
+Natars/Artifacts spawn, WW villages spawn, WW building plans spawn are
now based on the start date of the server and not on the installation
date
+Better indentation of some code
2018-05-18 15:46:15 +02:00
iopietro e5d823cda0 Alliance forum fixes part 1
Fixed the majority of security issues:

+Fixed a bug that permitted to edit, delete and create a forum in any
alliance, without any permissions
+Fixed a bug that permitted to edit, create and delete any kind of
thread, with any kind of permission
+Fixed a bug that permitted to edit, modify and delete every kind of
post, without any kind of permission
+Fixed a bug that din't permit to create posts and threads
+Fixed a bug that permitted to create forum and threads with empty
name/topic
+Fixed a bug that permitted to move a thread to an invalid forum
+Fixed a bug that permitted to create an invalid type of forum
+Fixed a bug that didn't permit to move forums, to the top and the
bottom of their forum type (in reality, it wasn't even coded)
+Added a sorting column for supporting the "move to top/bottom"
functionality
+Minor improvements and bug fixing/code indentation/removal of redundant
code

NOTE: For playing this version, you HAVE to add a new column to the table "s1_forum_cat", you can simply do that by running this query (where "s1_" is the prefix of your server): ALTER TABLE s1_forum_cat ADD `sorting` int(11) NOT NULL AFTER `id`
2018-05-18 00:28:48 +02:00
iopietro bdd3bfd41c Farmlist improvements and fixes
+Troops while adding/editing a raid lists are now inside of a table,
this is a graphic enhancement
+Reduced the X and Y textboxes size while adding/editing a raid list
+Fixed a bug that didn't permit to add a raid list
+Fixed a bug that did permit to insert spies in raid lists
+The farmlists graphic is now more clear, "Add raid" and "Start raid"
are now two general buttons, instead of having two buttons for raid list
+"Select all" checkbox, will select all raid without refreshing the page
(through JS)
+Moved the function "getDistance" to Database.php
+Removed a lot of redundant code from crop_finder.php
+Removed rams, catapults, chiefs and settlers from the raid list,
because the first three can't even loot resources
+Removed trooplist2.tpl because of a more general unique template file
(trooplist.tpl)
+Some minor improvements and bug fixing

IMPORTANT NOTE: if you don't want to reinstal the whole server, you can
simply run this little query (where "s1_" is the prefix of your server):

ALTER TABLE `s1_raidlist` DROP `t7`, DROP `t8`, DROP `t9`, DROP `t10`;
2018-05-16 16:49:25 +02:00
iopietro b58b762b12 General Fixes
+Completely reworked the "removeBuilding" function, it's now more
generic (for future uses)
+Fixed a bug that bugged the master builder time when a building was
removed from the construction queue
+Fixed a bug that bugged building times when a building was removed from
the queue, with a master builder order queued
+Fixed a bug that didn't permit to save the server settings from the
+MH/Admin panel
+Fixed a bug that did save the WW spawn time in the WW building plan
spawn time and vice versa
+General improovements and bug fixing
2018-05-14 23:14:10 +02:00
iopietro 43cbd60f78 General fixes
+Added an image in: Natars/Artifacts spawn message, WW villages spawn
message and WW building plans spawn message
+Fixed a wrong time calculation when removing a building from the
construction queue, if there was present a master builder order
2018-05-13 00:21:07 +02:00