Commit Graph

278 Commits

Author SHA1 Message Date
iopietro e8692733b9 General fixes
+Public forums won't be deleted anymore, if the server is resetted
through the admin panel
2018-05-21 16:51:23 +02:00
Vladyslav cbcc9b5262 Change other date formats to one view 2018-05-20 02:33:25 +03:00
iopietro b58b762b12 General Fixes
+Completely reworked the "removeBuilding" function, it's now more
generic (for future uses)
+Fixed a bug that bugged the master builder time when a building was
removed from the construction queue
+Fixed a bug that bugged building times when a building was removed from
the queue, with a master builder order queued
+Fixed a bug that didn't permit to save the server settings from the
+MH/Admin panel
+Fixed a bug that did save the WW spawn time in the WW building plan
spawn time and vice versa
+General improovements and bug fixing
2018-05-14 23:14:10 +02:00
iopietro 2534fdf2a3 General fixes
-Removed the possibility to manual add Natars, WW Villages and WW
building plans
+The crop consumption in WW villages is now halved
2018-05-11 01:46:17 +02:00
iopietro f7e05c9802 Optimizations
-Removed the "sort_type" 6 from the movement table, looted resources
will now be saved in the "sort_type" 4 returing attack.
This reduces a lot the spam in the tables "send" and "movement" of the
database
-Removed some useless methods in Database.php and Message.php
+Optimized report loading, own report will be loaded only once (and not
twice at random) and allied reports aren't loaded anymore
+Minor improovements and better indentation
2018-05-05 17:54:34 +02:00
phaze1G 77e3cd68b0 Buttons replace part 2 (#536)
* Update assignpos.tpl

* Update changename.tpl

* Update kick.tpl

* Update kick.tpl

* Update linkforum.tpl

* Update search.tpl

* Update 18_create.tpl

* Update invite.tpl

* Update option.tpl

* Update newdorf.tpl

* buttons replace part 2

* Update addABTroops.tpl

* Update addTroops.tpl

* Update graphic.tpl

* Update all.tpl

* Update archive.tpl

* Update forum_3.tpl

* Update read.tpl

* Update ranksearch.tpl

* Update delete.tpl

* Update inbox.tpl

* Update 19.tpl
2018-04-29 13:03:59 +02:00
phaze1G 2c1c2fb2d9 Buttons replace (#535)
* Updating buttons

* Update assignpos.tpl

* Update changename.tpl

* Update kick.tpl

* Update kick.tpl

* Update linkforum.tpl

* Update search.tpl

* Update 18_create.tpl

* Update invite.tpl

* Update option.tpl

* Update newdorf.tpl
2018-04-28 13:20:18 +02:00
iopietro 56e280f436 Artifacts fixes part 4
Completely fixed the artifact of the fool and fixed all kind of
artifact:

+Deleted some useless .tpl files and merged into one (Stable)
+The artifact of the fool effect won't be displayed if not active
+Fixed a bug that permitted to have a great and a unique artefacts
active at the same moment
+Big reductions of code in a lot of files
+Created some new methods to support artifacts
+Fixed a bug that prevented the effect of the "Rivals confusion" to work
correctly
+Fixed a bug that prevented "The eagles eyes" artifact to work correctly
for the attacker
+Fixed the artifact of the fool of every kind, now it's calculated with
a new method
+Fixed the cranny capacity when a "Rivals confusion" artifact is active
+Some minor bug fixing , improovements and optimization
2018-04-26 20:37:47 +02:00
Vladyslav f810c9fe99 Small edits of available languages 2018-04-22 23:54:03 +03:00
Vladyslav 2891abf977 Small fixes 2018-04-22 23:34:01 +03:00
Vladyslav 4784e73e43 Tooltip part 3 for admin panel settings (last)
+Small tooltip display edits
+Fully added to the file Admin/Templates/config.tpl
+Fully added to the file Admin/ Templates/editAdminInfo.tpl
+Fully added to the file Admin/ Templates/editExtraSet.tpl

Almost completely translated texts in en.php
2018-04-21 22:23:14 +03:00
Vladyslav 912564f5eb Tooltip part 2 for admin panel settings
+The font is slightly increased.
+Partially added to the file Admin/Templates/config.tpl
+Fully added to the file Admin/ Templates/editLogSet.tpl
+Fully added to the file Admin/ Templates/editNewsboxSet.tpl
+Fully added to the file Admin/ Templates/editPlusSet.tpl
Almost completely translated texts in en.php
2018-04-21 17:34:46 +03:00
Pietro Fallanca 86070d1691 Fixed a rounding bug
+General statistics and server info tribe percentages are now shown
correctly
2018-04-13 19:20:19 +02:00
Vladyslav 1b3f4eadd1 Added a peace system in the newsbox
+Added displaying a peace system to the newsbox.
Small fix in Admin\Templates\editServerSet.tpl
2018-04-13 14:48:27 +03:00
Vladyslav 4ecbfa77a0 Tooltip part 1 for admin panel settings
Partially added to the file Admin/Templates/config.tpl
Fully added to the file Admin/ Templates/editServerSet.tpl
Almost completely translated texts in en.php
2018-04-12 23:58:28 +03:00
Martin Ambrus 317e92f2f4 fix: enable scrolling in reports to see all attack / spy results data 2017-12-26 18:30:57 +01:00
Martin Ambrus f86ff9dce7 fix: Multihunter should have access to villages info 2017-11-30 18:16:00 +01:00
Martin Ambrus 59b5d97dc0 fix: all languages added to installer and Admin 2017-11-27 16:14:23 +01:00
Martin Ambrus f2261a7c8f fix: oasis displayed incorrectly in Admin
#386

PHP error caused array pointers to miss-align and the last one to point
to the previous record.
2017-11-27 10:48:20 +01:00
Martin Ambrus 3c13f3597b fix: admin oasis data not showing correct resource values 2017-11-26 22:37:50 +01:00
Martin Ambrus 2d824220e5 fix: Admin WW image incorrect
#365
2017-11-26 14:59:23 +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 448504694a fix: using getTimeFormat from DateTime project class everywhere in Admin 2017-11-22 19:51:31 +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 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 98ddbe235f fix: pagination returns to ALL from Attacks page in battle reports
Closes #343
2017-11-22 12:34:38 +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 1c8b732c39 chore: cleanup of old unused templates 2017-11-19 15:58:07 +01:00
Martin Ambrus 24789507a7 refactor: getProfileVillages() takes multiple IDs
#313
2017-11-19 15:57:52 +01:00
Martin Ambrus 05d3b676a2 fix: Lang folder letter case correction
#346
2017-11-13 12:00:34 +01:00
Martin Ambrus f959e08595 fix: undefined index 2017-11-09 23:26:14 +01:00
Martin Ambrus 6b63b0bc63 fix: manual description scrolls when space is too short 2017-11-08 11:12:01 +01:00
Martin Ambrus 312507fe9f feat: MySQL port into installation options
Closes #279
2017-11-07 12:30:32 +01:00
Martin Ambrus 8a7f12268c fix: logging works, tech log link added to Admin 2017-11-07 10:34:50 +01:00
Martin Ambrus 6a332f292b fix: Enter works on the form 2017-11-07 10:25:23 +01:00
Martin Ambrus 7f16182e76 fix: oasis can be deleted (un-conquered) via Admin
Closes #283
2017-11-06 21:15:23 +01:00
Martin Ambrus 4e91b02f07 fix: removing single medal from player
Relates to #283
2017-11-06 21:05:28 +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 a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +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 041726fbd2 fix: undefined indexes 2017-11-01 21:35:24 +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 25a657e60f fix: correcting admin link 2017-10-28 11:55:39 +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 b906e94dcc fix: large map vertical position fix 2017-10-28 00:38:28 +02:00
Martin Ambrus 1066fff9a2 refactor: installation happens at MySQL side
A lot has happened here. Here's the list:

1. autoloader was added that should prevent various "failed to open
stream" errors when trying to load new classes

2. PHP-based data generation was replaced by MySQL-based one, hopefully
fixing the installation problems when insert payload it too high and the
DB wouldn't populate with some users

3. thanks to step 2, the installation should be really almost
instantenious, instead of waiting a long time for many SQL connections
and queries to populate the world

4. World Data & Oasis generation and population is done in 1 step now
2017-10-27 18:27:03 +02:00
Martin Ambrus 93fbba445e fix: big map not centered on screen in high resolutions
Closes #239
2017-10-26 21:07:27 +02:00
Martin Ambrus 743a6a3f90 fix: open quote was left unattended :P 2017-10-25 23:47:22 +02:00