Commit Graph

400 Commits

Author SHA1 Message Date
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
Martin Ambrus b943f08018 fix: mysqli auto-closes connections in PHP
Closes #328
2017-11-09 19:57:30 +01:00
Martin Ambrus fc6f338cd3 fix: undefined indexes and some basic math
Closes #329
2017-11-09 19:42:58 +01:00
Martin Ambrus ed8628bfb2 fix: constant used as a string 2017-11-08 18:01:00 +01:00
Martin Ambrus 6ef538b365 fix: undefined indexes 2017-11-08 18:00:14 +01:00
Martin Ambrus d7c38c7c39 fix: undefined indexes 2017-11-08 17:45:41 +01:00
Martin Ambrus a25f69f7ed fix: undefined indexes 2017-11-08 17:41:52 +01:00
Martin Ambrus 28f56cd9f6 fix: undefined index 2017-11-08 17:38:34 +01:00
Martin Ambrus a47c499501 chore: version update 2017-11-08 12:03:55 +01:00
Martin Ambrus 080238ee3f fix: manual navigation and external links work as intended
Closes #314
2017-11-08 12:03:07 +01:00
Martin Ambrus 51f1d183eb fix: quest 6 does not send a message with original quests set
Closes #315
2017-11-08 08:54:12 +01:00
Martin Ambrus 8a7f12268c fix: logging works, tech log link added to Admin 2017-11-07 10:34:50 +01:00
Martin Ambrus c9150f9d42 fix: quest-guy disappears on extended quests in "play no tasks" choice 2017-11-06 21:40:35 +01:00
Martin Ambrus 7bc1cb751c fix: All Artefact have the same image
Closes #255
2017-11-06 16:14:50 +01:00
Martin Ambrus e92d075060 fix: double-including confing results in redefining constants 2017-11-06 14:12:32 +01:00
Martin Ambrus 86c9a161d3 fix: hide alliance forum link when defaulting to 0
Relates to #249
Comment URL:
https://github.com/Shadowss/TravianZ/issues/249#issuecomment-341975998
2017-11-05 15:21:45 +01:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus 740c28f136 fix: undefined index 2017-11-05 01:28:24 +01:00
Martin Ambrus 169c07dd92 fix: wrong default input value when sending reinforcements back 2017-11-05 01:15:37 +01:00
Martin Ambrus f485f69e0a fix: clear all remaining village troops when conquering a village
Closes #269
2017-11-05 00:08:22 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus 5e4521e62e fix: misspelled session variable 2017-11-03 17:15:16 +01:00
Martin Ambrus 042d36e108 fix: undefined constant 2017-11-03 17:14:02 +01:00
Martin Ambrus a07afeea62 fix: NPC trade on settlers has incorrect values 2017-11-03 16:57:01 +01:00
Martin Ambrus 3863456ac9 fix: all artefacts have the same image
Closes #255
2017-11-03 16:12:04 +01:00
Martin Ambrus 6d1182e2f9 fix: message preview doesn't work
It actually isn't even implemented in the JavaScript, so I'm commenting
it out for now, since it never really worked.

Relates to: #254
2017-11-03 15:52:29 +01:00
Martin Ambrus 90f8982245 fix: hero dying and revival doesn't work correctly with multiple heroes 2017-11-02 23:59:03 +01:00
Martin Ambrus cda7548cb1 fix: undefined indexes 2017-11-02 12:53:10 +01:00
Martin Ambrus 7c67e1e7b9 fix: only 1 hero can exist and is deleted upon new hero training start
Closes #261
2017-11-02 11:05:26 +01:00
Martin Ambrus d88a30b0a4 fix: undefined indexes 2017-11-02 07:54:28 +01:00
Martin Ambrus d78f4ecd2d fix: undefined indexes 2017-11-02 00:58:36 +01:00
Martin Ambrus 87c489814b fix: undefined index 2017-11-02 00:54:16 +01:00
Martin Ambrus d9da11ef4b fix: don't show errors and fix that empty value 2017-11-02 00:53:46 +01:00
Martin Ambrus 041726fbd2 fix: undefined indexes 2017-11-01 21:35:24 +01:00
Martin Ambrus c9038e20b8 refactor: alliance and Embassy mechanics refactoring, stage 2 of 3
Everything is now prepared for the last stage, where the code to handle
Embassy destruction during a battle will be added and tested :)

A few Embassy-demolition-related issues have been ironed-out in this
commit as well.
2017-11-01 00:16:52 +01:00
Martin Ambrus 82202c5089 fix: Calculated In time sometimes invalid due to $start variable reuse 2017-10-30 09:31:56 +01:00
Martin Ambrus a9625c6592 chore: some new features listing and a version change 2017-10-29 23:07:20 +01:00
Martin Ambrus 5d91de0e14 feat: new Embassy logic for demolitions and alliance quitting 2017-10-29 23:06:25 +01:00
Martin Ambrus 7b178e197b feat: message sender (when reading message) now links to a user 2017-10-29 13:34:05 +01:00
Martin Ambrus e8e0cc89d3 fix: don't allow players to go back in quests 2017-10-28 19:51:14 +02:00
Martin Ambrus 133a5126f9 fix: Multihunter's Quest now always solvable 2017-10-28 18:54:37 +02:00
Martin Ambrus 2340c3821c fix: undefined variables 2017-10-28 12:04:28 +02:00
Martin Ambrus e148b917e5 chore: version change (a lot of changes happened, so it's time :P ) 2017-10-28 09:57:44 +02:00
Martin Ambrus eca2c9105c fix: undefined indexes and variables 2017-10-28 02:18:00 +02:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus 7741721590 fix: wrong order by clause 2017-10-24 18:37:46 +02:00
Martin Ambrus 79705fbc10 fix: crazy SQL :) 2017-10-24 09:04:10 +02:00
Martin Ambrus 8cef188fa8 refactor: more SQL optimizations and regexes 2017-10-23 20:26:41 +02:00
Martin Ambrus e19a039d28 fix: more crazy SQL calculations 2017-10-22 22:29:39 +02:00
Martin Ambrus eb247adfd8 fix: inoperable troop adjustments removed from farm list
The interface, along with the in-line JavaScript code on the page was
most probably taken from the actual 3.5 real game and never tested.
Therefore, we're missing a whole JavaScript file of functionality that
would update units in raid lists.

This would be too much work to do at this stage, so I'm shelving this
functionality.
2017-10-22 20:55:38 +02:00