Commit Graph

1984 Commits

Author SHA1 Message Date
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
Martin Ambrus 1525771ee9 fix: correction in generation of units in oasis 2017-10-28 15:15:30 +02:00
Martin Ambrus 7907922dc8 chore: README update 2017-10-28 12:04:36 +02:00
Martin Ambrus 2340c3821c fix: undefined variables 2017-10-28 12:04:28 +02:00
Martin Ambrus 25a657e60f fix: correcting admin link 2017-10-28 11:55:39 +02:00
Martin Ambrus 06de01cdd7 fix: upkeep decreases crop usage by real usage value of Roman units 2017-10-28 11:52:55 +02:00
Martin Ambrus 48ed6ec359 fix: undefined variable 2017-10-28 11:52:12 +02:00
Martin Ambrus 6bbeb0c574 fix: session login check for admin 2017-10-28 11:25:50 +02:00
Martin Ambrus 6226412825 fix: coordinates were still generated in wrong descension 2017-10-28 11:08:35 +02:00
Martin Ambrus 2cfb84ebe2 fix: world data generation now returns the correct number of records 2017-10-28 10:30:53 +02:00
Martin Ambrus 540e69c8d1 refactor: button disable timeout should be shorter 2017-10-28 10:01:43 +02:00
Martin Ambrus 1b3d0ab4ac fix: this install redirect somehow escaped the last fix :P 2017-10-28 09:58:54 +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 4621c29e05 fix: admin session username stored in session 2017-10-28 09:40:23 +02:00
Martin Ambrus 4678fd273b fix: undefined index 2017-10-28 09:35:09 +02:00
Martin Ambrus d9f4d044c6 fix: new install version + old installed version redirected to install
Because the check changed to see if /var/installed is present (and it
would never be in the version previously installed), this caused some
pages to redirect to /install.
2017-10-28 09:32:54 +02:00
Martin Ambrus eca2c9105c fix: undefined indexes and variables 2017-10-28 02:18:00 +02:00
Martin Ambrus 6f7c70a0d7 refactor: autoprefixing class includes 2017-10-28 02:17:43 +02:00
Martin Ambrus a9bf045a82 fix: no default means no-future-proof 2017-10-28 01:18:47 +02:00
Martin Ambrus 5bae1cfd54 fix: admin DB prefixes to try and find the unfindable database 2017-10-28 00:49:00 +02:00
Martin Ambrus b906e94dcc fix: large map vertical position fix 2017-10-28 00:38:28 +02:00