Martin Ambrus
2859cf1e8e
fix: village cannot be conquered if it was also destroyed
...
Closes #184
2017-11-03 12:56:24 +01:00
Martin Ambrus
bebc105e14
fix: invalid gold amount deductions for instant-build, instant-research
2017-11-03 00:32:40 +01:00
Martin Ambrus
bfaf97f998
fix: AND instead of second WHERE
2017-11-03 00:01:20 +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
bf0409a18e
fix: no unique artefacts are generated
...
Relates to: #251
2017-11-02 17:39:46 +01:00
Martin Ambrus
c545304e69
fix: correct rules link
...
Closes #256
2017-11-02 13:40:40 +01:00
Martin Ambrus
f10a47be87
fix: now can use gold for demolition when only job is palace/residence
2017-11-02 13:37:53 +01:00
Martin Ambrus
585edfc356
fix: this error report should not be here
2017-11-02 13:27:38 +01:00
Martin Ambrus
cdfb3ece4a
fix: typo in unique index
...
Fixes #263
2017-11-02 13:24:43 +01:00
Martin Ambrus
945bb2f8c7
fix: too much gold for instant build & research
...
Fixes #257
2017-11-02 13:11:19 +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
3105e0754c
fix: Phalanx hero crop revival amounts listed as a second clay
2017-11-02 10:31:19 +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
df31c578fa
fix: undefined index
2017-11-02 00:55:10 +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
95438e0fe7
fix: Palace no longer auto-changes capital
2017-11-02 00:50:10 +01:00
Martin Ambrus
fe011a5905
fix: undefined index
2017-11-02 00:19:31 +01:00
Martin Ambrus
f24633e1bc
chore: the big bad Embassy mechanics metamorphed into nice and neat ones
2017-11-02 00:12:46 +01:00
Martin Ambrus
cff04310cc
chore: more things to do
2017-11-02 00:10:38 +01:00
Martin Ambrus
3432aa92e6
fix: forgotten eviction of the old alliance leader without an Embassy
2017-11-01 23:21:01 +01:00
Martin Ambrus
a8c15cbe4f
chore: README format changed to MD to allow for additional markup
2017-11-01 21:40:52 +01:00
Martin Ambrus
8a3591a8b0
refactor: alliance and Embassy mechanics refactoring, stage 3 of 3
...
Battle results logic now accounts for Embassy destruction as per new
alliance and Embassies game mechanics.
2017-11-01 21:37:09 +01:00
Martin Ambrus
041726fbd2
fix: undefined indexes
2017-11-01 21:35:24 +01:00
Martin Ambrus
396250f393
fix: calculated time fix
2017-11-01 20:15:39 +01:00
Martin Ambrus
71cf0d1ff5
chore: some new ideas and things that needs fixing and checking
2017-11-01 00:20:04 +01:00
Martin Ambrus
ea2df85eec
chore: adding a help badge (making this project more public)
...
This allows others at the codetriage website discover TravianZ and help
with new issues and documentation.
2017-11-01 00:18:00 +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
6bee5aa62e
fix: mass message fails to send if it contains quotes
2017-10-30 10:32:11 +01:00
Martin Ambrus
65485714c3
fix: replacement for mysqli_stmt_get_result() for non-mysqlnd servers
...
Closes #258
2017-10-30 10:08:23 +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
2f769decce
fix: "instant-finish" gold decreased 2x when demolition was in progress
...
Closes #257
2017-10-29 23:10:54 +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
b0208730c9
fix: village with palace becomes capital
2017-10-29 13:51:15 +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
69da66c410
feat: forum notification message has a user link for one who was posting
2017-10-29 13:14:33 +01:00
Martin Ambrus
2ca133f830
chore: a few more ToDos
2017-10-29 13:03:11 +01:00
Martin Ambrus
66e71ad879
refactor: this never worked... it's a minor thing, scheduling for later
2017-10-29 13:02:58 +01:00
Martin Ambrus
85a853533f
fix: all requirements now checked before a building something is allowed
2017-10-29 11:22:45 +01:00
Martin Ambrus
769f5afe0e
fix: admins should see all buildings, even great ones and the greatest
2017-10-29 11:01:09 +01:00
Martin Ambrus
5f4ac3bc48
fix: undefined indexes
2017-10-28 21:28:26 +02:00
Martin Ambrus
59af039d8e
fix: "finish immediately" PLUS link doesn't decrease gold for demolition
2017-10-28 21:06:19 +02:00
Martin Ambrus
4da72fb9b9
fix: player auto-deletion after a set period of time now works
...
It only deleted player from the users table. Now, it deletes everything,
so basically clears everything up.
2017-10-28 20:52:15 +02:00
Martin Ambrus
e8e0cc89d3
fix: don't allow players to go back in quests
2017-10-28 19:51:14 +02:00
Martin Ambrus
f5ceefebb7
fix: new /var/log folder needs to be chmodded on Linux
...
The /var/log game folder stores game logs (for now only access log) and
as such must be writable by the server.
2017-10-28 19:02:25 +02:00
Martin Ambrus
f5c3e029b5
feat: access log config setting and a real get-post-cookie logger
...
This is a very naive and primitive logger of user requests to the game.
To be used on systems where access to webserver's log data is not
available (especially if the webserver doesn't store POST data as well).
2017-10-28 18:59:16 +02:00
Martin Ambrus
133a5126f9
fix: Multihunter's Quest now always solvable
2017-10-28 18:54:37 +02:00