Commit Graph

449 Commits

Author SHA1 Message Date
Martin Ambrus 1d4f980871 fix: back arrow redirects to invalid page with < 10 records
#327
2017-11-26 22:42:44 +01:00
Martin Ambrus 70b3dc165b fix: missing bracket 2017-11-26 22:08:47 +01:00
Martin Ambrus 4b52df7482 fix: messages and reports sorting fix number 2
#327
2017-11-26 21:30:59 +01:00
Martin Ambrus 89e14abd5e fix: warnings and errors when creating Natars
#384
2017-11-26 21:21:02 +01:00
Martin Ambrus d247e5fa27 chore: version change and some forgotten files :P 2017-11-26 17:52:21 +01:00
Martin Ambrus cb148b9aec fix: sorting in messages and reports does not work
#327
2017-11-26 17:33:10 +01:00
Martin Ambrus 3ccdbec06d fix: invalid next level info with Master builder the only item in queue
#257
2017-11-26 15:25:36 +01:00
Martin Ambrus d72290bb35 fix: changing village name to the same name in Quest 3 marks quest as OK 2017-11-26 14:39:36 +01:00
Martin Ambrus 43b7e6c9b0 fix: ww can be built to 51 without construction plan in a loop
#337
2017-11-26 14:11:55 +01:00
Martin Ambrus 8d8c96014b refactor: multiple calls to getVSumField() replaced by a single one
#313
2017-11-25 20:29:12 +01:00
Martin Ambrus c7d737e345 fix: actually checking for a rat now in the rat quest 2017-11-25 10:11:15 +01:00
Martin Ambrus b9cdba81fb fix: cannot progress beyond quest 10 in classic set
#366
2017-11-25 01:11:07 +01:00
Martin Ambrus d6fc9ee371 fix: raid list counting down leaving units again 2017-11-24 19:11:02 +01:00
Martin Ambrus 12fe632bf4 fix: prevent reuse of old attacks by re-POSTing same values 2017-11-24 10:17:54 +01:00
Martin Ambrus c06c62ba6a fix: hero training and revive got messed up 2017-11-22 21:38:57 +01:00
Martin Ambrus 0b3f689e4c fix: beginner's protection shown wrong date and time in profile picture 2017-11-22 19:43:58 +01:00
Martin Ambrus 9d73275522 fix: incorrect hero return time calculation 2017-11-22 18:58:16 +01:00
Martin Ambrus e331ae2b1f fix: accidentally replaced gif & fix for one encoding difficulty 2017-11-22 16:08:23 +01:00
Martin Ambrus 68032702c3 fix: users can't see sent messages
#367
2017-11-22 15:55:17 +01:00
Martin Ambrus 3329c1ea34 feat: alt and title texts updated for fields under construction as well
#321
2017-11-22 15:38:23 +01:00
Martin Ambrus 2f9d134ec9 feat: indicator for fields under construction
Also, all line separators are now Linux-style :-P

Closes #321
2017-11-22 15:32:35 +01:00
Martin Ambrus ddb8614b14 fix: construction of a palace and a residence in one village
#323
2017-11-22 14:35:33 +01:00
Martin Ambrus ec8752ac27 fix: fid2 missing from URL after forum post edited
Closes #355
2017-11-22 12:46:46 +01:00
Martin Ambrus 98ddbe235f fix: pagination returns to ALL from Attacks page in battle reports
Closes #343
2017-11-22 12:34:38 +01:00
Martin Ambrus 02dd832932 fix: undefined index 2017-11-22 10:03:54 +01:00
Martin Ambrus f5e7732278 chore: pre-release version change 2017-11-21 01:36:54 +01:00
Martin Ambrus 4f20ae4c0e fix: undefined indexes 2017-11-20 21:34:54 +01:00
Martin Ambrus 4a7ab1f81a fix: quests do not progress
#354
2017-11-20 11:06:54 +01:00
Martin Ambrus 645793dde2 refactor: s1_vdata queries cached and reused
#313
2017-11-20 10:10:29 +01:00
Martin Ambrus 0984c7ef34 fix: DB connection is global and tries 2 tested ways to connect
Some installations seem to support localhost:port for 1st parameter of
mysqli_connect(), others will only support the official parameters with
port towards the end. This fix tries them both - first the official one,
then the localhost:port one.

Also, there were a lot of mysqli_connect()'s inside Admin mods. These
now also use the central Database class.
2017-11-20 01:09:49 +01:00
Martin Ambrus 66132a7cdf refactor: Session.php only included once, login procedure optimization
#313
2017-11-20 00:39:37 +01:00
Martin Ambrus a87802296b refactor: getBuildingByType2() takes multiple IDs
#313
2017-11-19 16:24:33 +01:00
Martin Ambrus 24789507a7 refactor: getProfileVillages() takes multiple IDs
#313
2017-11-19 15:57:52 +01:00
Martin Ambrus 2a68b07704 refactor: last of foreach loops optimized
#313
2017-11-19 14:32:00 +01:00
Martin Ambrus 481769b68e fix: undefined index 2017-11-19 11:33:11 +01:00
Martin Ambrus 69ef6ef349 fix: undefined index 2017-11-19 11:02:23 +01:00
Martin Ambrus 07e5f322e2 fix: reinforcements sent back do not hide the reinforcements table 2017-11-19 02:33:07 +01:00
Martin Ambrus 258ba60014 fix: undefined index 2017-11-19 02:26:38 +01:00
Martin Ambrus 349115af66 fix: undefined index 2017-11-18 21:19:41 +01:00
Martin Ambrus 609593cd10 fix: undefined index 2017-11-18 21:04:53 +01:00
Martin Ambrus 583c521dc3 fix: undefined index 2017-11-18 20:50:55 +01:00
Martin Ambrus 997c143634 refactor: page generation time considers real time
Because in environments with $_SERVER["REQUEST_TIME_FLOAT"] unavailable
the time actually only started after Village.php got loaded (which was
AFTER Automation.php kicked in and everything was already DB-loaded),
the start timer was moved more towards the top of each template.
2017-11-18 18:48:48 +01:00
Martin Ambrus d17d1f9b32 refactor: last round of database values caching
#313
2017-11-17 19:40:34 +01:00
Martin Ambrus bec487cad5 fix: only including village file once 2017-11-17 12:36:45 +01:00
Martin Ambrus 33ab908744 Merge remote-tracking branch 'origin/master' 2017-11-15 20:21:23 +01:00
Martin Ambrus 06161dd5f9 fix: undefined variables 2017-11-15 15:39:15 +01:00
Shadow 63eae219d4 vacation mode enabled only for username Shadow 2017-11-14 13:43:27 +02:00
Martin Ambrus 994cef151c fix: World of Wonder needs additional building plan from lvl 50
The game allowed to build until level 51.
#337
2017-11-10 14:11:38 +01:00
Shadow 45bbefce13 Update vacation
Must to be arrange in a table
2017-11-10 11:31:44 +02:00
Shadow cc78105a33 Vacation mode is enabled for everyone for testing
Vacation mode is enable for everyone for testing as Travian Official have vacation

Must code the condition of vacation

9/9 Conditions

    No troops on movement
    No troops in movement for other villages 
    No troops send for reinforcements 
    Don`t have any troops in your account as reinforcements from other players
    Don`t have a Wonder World
    Don`t have an artifact
    No longer on protection period
    Don`t have any troops trapped
    Don`t have account on deletion process
2017-11-10 11:05:59 +02:00