Commit Graph

2722 Commits

Author SHA1 Message Date
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
Vladyslav f81e918ca0 NPC button no longer appears when total resources is not enough pary 2
This hotfix fixes the bug described in comment: https://github.com/Shadowss/TravianZ/issues/544#issuecomment-394587340
All fixed according to the example pull request #442
2018-06-05 21:06:59 +03:00
Catalin Novgorodschi e226847526 It`s not my merit , but entire TravianZ Team
Thanks guys
2018-06-05 10:02:03 +03:00
Catalin Novgorodschi e9f90b1579 Fix rules
maybe is better @velhbxtyrj
2018-06-04 20:04:02 +03:00
Vladyslav 1c8d18611e Fixed link to rules 2018-06-04 19:30:05 +03:00
Shadow 219aadf956 Fix support 2018-06-04 14:33:01 +03:00
Shadow 57a5a70abb Modified support page like real Travian 2018-06-04 14:28:50 +03:00
Shadow 4fb4d2e61e Artifacts map colours 2018-06-04 09:46:03 +03:00
Shadow e27e191bce maintenance updated 2018-06-04 09:26:49 +03:00
Shadow 6823c85bf8 maintenance image 2018-06-04 09:26:04 +03:00
iopietro 5b7a13ef5d General fixes
+You can now read all reports in the multihunter panel, it's still a
work in progress
2018-06-01 18:34:24 +02:00
iopietro 459354d39e General fixes
+Updated the maintenance.php description
2018-06-01 18:01:02 +02:00
iopietro 15cae4fde9 General fixes
+Added the possibility to start a maintenance (no user will be banned)
2018-06-01 17:57:44 +02:00
iopietro 4abb5c1354 A little mistake 2018-06-01 17:19:32 +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 b717c0cdf4 General fixes
+Fixed a bug that didn't permit to show to the defender "None of your
soldiers returned." under certain circumnstances
+Fixed a bug that showed a wrong report icon if the defender had 0
defences and all attacker's units were trapped/killed during the battle
+Fixed a bug that counted a wrong percentage bonus for the horse
drinking trough
2018-06-01 16:24:36 +02:00
iopietro b12f4d4497 General fixes
+Fixed a bug that didn't permit to see a defender hero in a spy report
+Fixed a bug that only permitted to revive the last hero on the hero
list
2018-05-31 15:23:48 +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 d171ac02cc General fixes
+Fixed a bug that permitted to create threads and post in closed forums
(only who have the permission to manage the forum can do that)
+Fixed a bug that permitted to write posts to closed threads
+Fixed a bug that permitted to view not shared forums under certain
circumnstances
2018-05-30 20:10:59 +02:00
iopietro f40d43b6e6 General fixes
+Natars isn't shown in the winner.php screen
2018-05-29 23:57:10 +02:00
iopietro b052582fed General fixes
+Fixed a bug that didn't show total and online users in the homepage
2018-05-29 19:06:05 +02:00
iopietro b629827b62 General fixes
+Scounting reports are now excluded from the raidlist
2018-05-29 19:01:17 +02:00
iopietro 36b790d08a General fixes
+Fixed a bug that permitted to attack occupied oasis (even through the
farmlist) even if the oasis' owner was banned
+Rewritten some code in Units.php, for a better errors handling
+Fixed some errors that could have showed sometimes
+Fixed a bug that didn't permit to send an attack under certain
circumstances
+Villages/oasis with X = 0 or Y = 0 as a coordinates, can now be raided
+You are now be able to send resources with the merchants, at villages
with X = 0 or Y = 0 as a coordinates
2018-05-29 18:57:14 +02:00
iopietro 498aaa962a General fixes
+Fixed a bug that didn't permit to raid oasis if
"ADMIN_ALLOW_INCOMING_RAIDS" was set to false
2018-05-27 13:21:01 +02:00
iopietro 5596472f0a General fixes
+Fixed a bug that didn't permit to delete/archive/unarchive messages
2018-05-27 12:38:51 +02:00
iopietro 11c3d44168 general fixes
+Fixed a bug that didn't permit to counquer an artifact in certain
circumstances with the new automation system
2018-05-25 17:45:05 +02:00
iopietro 8605996533 Fixed some Automation bug
+Fixed the (in)famous "doubling troops bug", this has been the oldest
bug I can remember, it lasted 7 years!!!
+Reworked the whole lock system, it's more maintanable and easy to read
now
+Removed some useless class fields, reworked some methods that depended
on them
2018-05-24 01:28:56 +02:00
iopietro 989296d742 General fixes
+Removed the timer that triggered the automation file (it was just for
testing purposes), Automation.php will be now called once for page
refresh
2018-05-23 20:08:48 +02:00
iopietro fca22ac98b General fixes
+Fixed a bug that didn't permit to attack with catapults with the new
automation system
+Fixed a warning that could have been displayed in certain cases
2018-05-23 17:36:16 +02:00
iopietro e70d0ff619 A little change
+Changed the Automation request timer to one second
2018-05-22 23:50:27 +02:00
iopietro f41666cabc New automation
+Separated Automation.php from the UI and users classes

NOTE: This is only a test, it'll not absolutely be as it is in this commit in the final version.
2018-05-22 23:37:28 +02:00
iopietro edeee02333 Some clean-up 2018-05-22 22:43:01 +02:00
iopietro a4a623bbfa General fixes
+Fixed a bug that calculated a wrong returning time if the attacker had
the tournament square in the village
2018-05-22 19:58:53 +02:00
iopietro c340eb267e General fixes
+Special chars can now be used in villages name
+Some clean-up
2018-05-22 19:16:35 +02:00
iopietro 12ba3ec154 General fixes
+Fixed a bug that didn't permit to edit your posts in a thread
2018-05-22 18:24:06 +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 e1b0dcf46e Updated game version 8.3.4 2018-05-21 17:51:46 +02:00
iopietro 3d5239c163 Added some indexes
You can add them without reinstalling the whole server, by executing
this query (where "s1_" is the prefix of your server):

ALTER TABLE `s1_forum_cat` ADD INDEX `display_to_alliances`
(`display_to_alliances`(11));
ALTER TABLE `s1_forum_cat` ADD INDEX `display_to_users`
(`display_to_users`(11));
ALTER TABLE `s1_forum_cat` ADD INDEX `sorting` (`sorting`);
2018-05-21 17:43:17 +02:00
iopietro 0d8ea38f30 Fixed #540 2018-05-21 17:04:21 +02:00
iopietro e8692733b9 General fixes
+Public forums won't be deleted anymore, if the server is resetted
through the admin panel
2018-05-21 16:51:23 +02:00
iopietro 628894f478 General fixes
+WWs aren't affected anymore by stronger building artifacts
+Walls damaging/destruction (wall bonus reduction) during a battle, is
now counted
+Added a button for normal acess users, for editing/sticking, etc. their
own topics (instead of directly display the topic "admin menu")
+Fixed some possible warnings
2018-05-21 16:45:54 +02:00
iopietro 3a14da51e0 Alliance forum fixes part 5
+Confederation and shared forums are now visible to the confederation
alliances or selected alliances/users
+Sticked topics are now displayed first
+Fixed a bug that permitted to add confederated alliances/users to
shared forums
+Minor bug fixing
2018-05-20 21:45:14 +02:00
iopietro 807b684e29 General alliances fixes
+Fixed some conditions for MHs
2018-05-20 17:08:42 +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 34c8000e44 Alliance forum fixes part 4
+Public forums can now be created by MH only
+Public forums can only be edited by MH only (every MH)
+Fixed BBCode in forum posts
+Removed 8 unused columns from the database
+Removed about 150 lines of unused code in forum.tpl
+Minor improvements and bug fixing
2018-05-20 16:50:26 +02:00
Vladyslav cbcc9b5262 Change other date formats to one view 2018-05-20 02:33:25 +03:00
iopietro 68f9282dc7 Changed all dates format 2018-05-20 00:30:37 +02:00
Vladyslav b752e4c4f4 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-05-20 01:14:01 +03:00
iopietro 4f98e14c29 Alliance forum fixes part 2
+Added the "Forum" link to the game menu (above Game Rules), player
without an alliance, will be able to access to public forums only
+All players can now open public forums (even without an alliance), post
to them, edit and delete them
+Added the possility to add alliances and players to the "Who can view
this forum" list, the graphic was present but there wasn't the database
and code support (conditions aren't coded yet)
+General fixes

NOTE: To play this version without reinstalling the server, you have to
run this simple query:

ALTER TABLE s1_forum_cat ADD (`display_to_alliances` text,
`display_to_users` text)
2018-05-19 22:04:51 +02:00
Vladyslav a956abee13 Change the date display
The date display was changed from 'm/d/Y' to 'd.m.Y'
2018-05-19 20:52:33 +03:00