Commit Graph

2053 Commits

Author SHA1 Message Date
Martin Ambrus 4de3f8e26b fix: new JS needs new cachebusting suffix 2017-11-06 20:12:52 +01:00
Martin Ambrus 9a847d11b2 fix: only reload/redirect once and wait
Possible fix for #282
2017-11-06 20:11:42 +01:00
Martin Ambrus 49340e1e9f fix: win not registered immediately on last WW level built
Closes #288
2017-11-06 19:13:55 +01:00
Martin Ambrus f7d8da5a41 fix: Master builder can build above warehouse/granary requirements
Closes #290
2017-11-06 18:49:03 +01:00
Martin Ambrus 48c46aa4e4 fix: failing to redirect from sendMessage.php in Admin
Closes #307
2017-11-06 18:34:08 +01:00
Martin Ambrus 5f5dfb978e fix: here movement between villages requires hero to travel alone
Closes #272
2017-11-06 18:16:54 +01:00
Martin Ambrus 7bc1cb751c fix: All Artefact have the same image
Closes #255
2017-11-06 16:14:50 +01:00
Martin Ambrus 9514976c15 fix: attacks on oasis result in assigning them to Multihunter 2017-11-06 15:11:57 +01:00
Martin Ambrus 1301e1eb4a fix: use strings instead of undefined constants 2017-11-06 14:17:52 +01:00
Martin Ambrus 767b1727e8 chore: ToDo update 2017-11-06 14:17:38 +01:00
Martin Ambrus e92d075060 fix: double-including confing results in redefining constants 2017-11-06 14:12:32 +01:00
Martin Ambrus 5a929457c0 fix: unable to determine attack type 2017-11-06 14:01:24 +01:00
Martin Ambrus 9db31ff311 fix: wrong forum link field 2017-11-05 16:03:51 +01:00
Martin Ambrus 18b5665b7d fix: master builder takes no resources in insta-build
Closes #270
2017-11-05 15:48:22 +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 8933b0b55f fix: master builder doesn't subtract gold but insta-builds anyway 2017-11-05 15:04:20 +01:00
Martin Ambrus eab942f291 fix: mail system doesn't work because of unreal e-mail 2017-11-05 14:40:52 +01:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus ee285a4ed8 fix: units not returning from attack and staying as reinforcements 2017-11-05 09:17:43 +01:00
Martin Ambrus 57057384d3 refactor: SELECT * replaced by SELECT fieldname1, fieldname2 ...
So far in a few places.
2017-11-05 09:03:59 +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 1767b591d4 refactor: online users in Admin sorted by 1) access, 2) username 2017-11-04 22:04:21 +01:00
Martin Ambrus 77fd3a7e5f refactor: online users in Admin sorted by 1) access, 2) lastupdate 2017-11-04 22:03:33 +01:00
Martin Ambrus 8332191ab7 chore: no more README updates with all fixes until we're stable 2017-11-04 15:44:28 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus 59e6a309e9 chore: ToDo items moved to issue tracker 2017-11-04 11:12:39 +01:00
Martin Ambrus 36bfb2b8f7 fix: alliance deletion check 2017-11-04 10:32:30 +01:00
Martin Ambrus 89fc24e1f7 fix: comparator 2017-11-04 10:31:55 +01:00
Martin Ambrus 962cbcc19b fix: maximum alliance members update on building demolition
Now saves correct data (was saving maximum for 1 level above the
after-demolition level).
2017-11-04 10:31:45 +01:00
Martin Ambrus a8383563fa fix: page load timer 2017-11-04 10:19:12 +01:00
Martin Ambrus 949bc88503 chore: little things, little things... 2017-11-04 09:55:08 +01:00
Martin Ambrus 683b692a55 fix: gold can go to negative values
Master builder cannot be used if we only have 2 gold and we chose to
insta-finish everything. In such case, master builder task will be
deleted instead of completed.

Fixes #264
2017-11-04 09:36:55 +01:00
Martin Ambrus 3f612d6e36 fix: alliance cannot be created
This only happens on newer MySQL versions where column type vs inserted
type are being checked (so we cannot insert empty string into an int
column, even if that column has a default value).

Fixes #249
2017-11-04 09:26:45 +01:00
Martin Ambrus c0a9e9411e fix: undefined variable wreaking havoc
Closes: #249, #264
2017-11-03 22:57:08 +01:00
Martin Ambrus fea7b0937f fix: could not train more settlers if we have 1 settler already trained 2017-11-03 22:04:15 +01:00
Martin Ambrus b01d787627 fix: extra space making location header not work 2017-11-03 20:58:33 +01:00
Martin Ambrus 23eed5da53 fix: unable to train settlers if chieftan is present
It is debatable whether or not to allow this, since chieftan would be of
no use once we have 3 settlers and settle a new village. However, if we
accidentally created a chieftan, we can't train settlers until we send
the chieftan to his death.

I think this move could be a predule to a later game mechanics, where
chieftan could fight (talk, actually) against chieftan, if one is
present in village, so taking a village over isn't so easy.
2017-11-03 17:23:29 +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 cd17f545b8 fix: undefined index 2017-11-03 16:59:30 +01:00
Martin Ambrus a07afeea62 fix: NPC trade on settlers has incorrect values 2017-11-03 16:57:01 +01:00
Martin Ambrus 9f8fa45b1f fix: undefined index 2017-11-03 16:53:31 +01:00
Martin Ambrus 43029480ae fix: nothing from var folder should be publicly readable 2017-11-03 16:52:03 +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 e51aec68bd fix: path not found erorrs for multiple-automation-lock-files
Closes #244
2017-11-03 13:07:37 +01:00
Martin Ambrus 660835ee59 chore: some more ToDo notes 2017-11-03 12:56:35 +01:00
Martin Ambrus 2859cf1e8e fix: village cannot be conquered if it was also destroyed
Closes #184
2017-11-03 12:56:24 +01:00