102 Commits

Author SHA1 Message Date
Lee
9d8f398d9f update validator name check
-added character_name_npc_check to config.php
-added npc name check to validator
2021-03-09 23:42:21 +00:00
slawkens
71f7bb2e75 Fix typo 2021-02-13 22:07:54 +01:00
slawkens
98bd51436b Unified naming 2021-01-07 11:47:57 +01:00
Lee
fbe9c31d10 config update
renamed and cleaned up the settings names for easier comprehension
2020-12-29 17:50:10 +00:00
Lee
8e6bc73ca6 Creature page overhaul
Updates the creature pages to show more information.
You will need to reload your creatures.
-modifies database with migration 31
-small customisations are allowed via config file.
-functions added, getMonsterLink, getItemRarity, getCreatureImgPath, left, right,
-added functions to twig.
-view elements, immunities, summons, voices, loot, pushables, canpush, canwalk, runonhealth,hostile,attackable,rewardboss,defense,armor
-filter bosses
-show list as picture preview or names list
2020-12-28 16:37:03 +00:00
Fernando Matos
3b78516ef2
Add SSL on external image requests of items and outfits (#145) 2020-12-26 23:32:17 +01:00
slawkens
3beedc1747 New configurable: outfit_images_wrong_looktypes 2020-12-21 01:59:32 +01:00
Lee
30cdb1ba73 Dashboard modules updated
More flexibility and additions on the dashboard modules.

-Statistics: Accounts, Players, Monsters, Guilds, Houses
-Website Status: Maintenance
-Server Status: name, client, map, monsters loaded, MOTD,

default:
'admin_panel_modules' => 'statistics,web_status,server_status,lastlogin,created,points,coins,balance',
2020-11-07 14:36:12 +00:00
slawkens
cf2c5e36bc
Feature/better highscores (#141)
* Move highscores to twig

* Add highscores frags for TFS 1.x

* Change $config to config()

* Cache highscores

The most asked and long awaited feature? :>

* Fix highscores_per_page and rename configurable

* Fix next page link (some typo)

* Fix too many players being shown

* Fix when changing config.highscores_per_page

* Update system/pages/highscores.php

Co-authored-by: whiteblXK <krzys16001@gmail.com>

Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-11-02 23:34:29 +01:00
slawkens
5d5875d540
Bans page working for TFS 1.x + move to Twig (#140)
* Bans page working for TFS 1.x + move to Twig

* Remove some debug code

* Add some protection

* Better check.
2020-10-30 06:52:50 +01:00
slawkens
39d1127cf1 You can now disable status checking for testing purposes
Useful for local testing when there is no server running
2020-10-14 13:10:22 +02:00
slawkens
13586e664f config.status_timeout can be floating number 2020-10-14 13:08:39 +02:00
slawkens
a52396008d Automatically load towns from .OTBM file
Takes up to 10 seconds for otservbr on my PC
Taken from old Smart AAC - class SpawnsReader.php
2020-10-09 00:12:07 +02:00
slawkens
ae7350e3a0 Fix typo: length 2020-10-08 00:15:50 +02:00
slawkens
c30300c368 New configurable: item_images_extension 2020-10-08 00:13:35 +02:00
slawkens
14d5c6311b Update config.php 2020-07-14 01:05:21 +02:00
slawkens
289dd3c170 New configurable: guild_description_default 2020-07-14 01:05:09 +02:00
whiteblXK
722264a083 Added limit to search characters (#134)
* Update characters.php

* Update config.php

* Variable name change, better use LIMIT in query instead in loop

* Just to be sure. Security first :)

* use config function

Co-authored-by: slawkens <slawkens@gmail.com>
(cherry picked from commit dc536f0fc01862f052d5edee29ac188ac63fcf66)
2020-07-07 00:54:29 +02:00
slawkens
3368fbd058 New config: account_mail_block_plus_sign
Block emails with '+' signs like test+box@gmail.com (help protect against spamming accounts)
2020-06-06 19:37:05 +02:00
slawkens
787416e552 Remove useless title_separator from config 2020-06-06 17:15:55 +02:00
slawkens
7c208b38ed Add example quest 2020-04-02 15:26:39 +02:00
slawkens
c74bef475b Update config.php 2020-02-21 23:02:39 +01:00
slawkens
f7c7552d5a Add some warning into config.env 2020-02-13 01:05:53 +01:00
slawkens
1ba2381437 Remove useless config variable 2020-02-07 01:06:19 +01:00
slawkens
e5ad1b45bd More info about smtp options for Microsoft Outlook 2020-02-03 20:49:58 +01:00
slawkens
08f011eb33 New configurable: smtp_debug 2020-02-03 20:48:11 +01:00
tobi132
bc3fd61bde Move commands and downloads pages into database
Available under "Pages" in Admin Panel
2019-12-03 05:18:48 +01:00
tobi132
56e9d85fc2 Fixed #90
By reducing columns to 3 and rows to 200
2019-12-03 02:59:42 +01:00
tobi132
668387e372 Database towns table support for TFS 1.3 2019-12-03 01:11:52 +01:00
tobi132
1e2267bd31 Create character directly on create account page 2019-12-02 23:10:32 +01:00
tobi132
645e7ee95f Compatibility with old z_ gesior table. This fixes #46 2019-10-17 23:42:02 +02:00
Evil Puncker
af1a6cf5ff Updated copyright year and SSL link
Updated year to 2019 and made all my-aac.org links go to SSL by default
2019-07-17 20:22:07 -03:00
slawkens
e3af63bd93 * moved admin_panel_modules to config.php 2019-05-30 14:54:46 +02:00
slawkens
14cb37725e * new configurable: footer_show_load_time 2019-04-24 11:50:28 +02:00
slawkens
862b58c176 (configurable) auto login after registration 2019-03-19 11:17:15 +01:00
whiteblXK
622122562f Team page - display outfits of the players (configurable) 2019-03-13 20:39:16 +01:00
slawkens
2333180c50 * configurable if deleted characters from account should be listed (this closes #49) 2018-06-06 21:17:41 +02:00
slawkens
550b664a61 * Environment is now configurable ('prod' for production, 'dev' for development)
Significantly better load times with 'prod' !!!
2018-06-01 19:12:48 +02:00
slawkens
510459b046 * support for database persistent and socket connections (performance boost) 2018-06-01 18:56:57 +02:00
slawkens
db67bb0b98 * new configurable: status_interval (how often to fetch status from server) 2018-06-01 18:23:48 +02:00
slawkens
82d6467cee * new configurable: status_timeout 2018-06-01 16:04:23 +02:00
slawkens
90cd5dfae7 * added missing highscores_balance configurable 2018-06-01 14:09:22 +02:00
slawkens
b714bf4abe * added missing comma 2018-05-29 17:44:24 +02:00
vankk
46ca6262b5 Sets the minimun lenght and maximun at config (#54)
* Sets the minimun lenght and maximun at config

* Update codes
2018-05-27 13:41:07 +02:00
slawkens1
09234e65fe * dislocation of some config options 2018-04-02 11:57:14 +02:00
slawkens1
04dca2f274 * new configurable: smtp_secure
* as described in #43 by miqueiaspenha
2018-01-29 23:11:17 +01:00
slawkens1
7b0e891ab3 * changed highscores_groups_hidden to 3 (for TFS 1.x) 2018-01-13 21:18:50 +01:00
slawkens1
1025fad0e6 * cache $db->hasTable and $db->hasColumn functions
* changed tableExist and fieldExist to $db->hasTable(table) +
$db->hasColumn(table, column)
* new configurable: database_log - can log database queries and show in
website source when logged as super admin
* removed debug_level configurable, enabled by default when logged on
super admin
* added OTS_Account:getCountry()
* added posibility to load OTS_Player partially, and without skills
* (internal) changed depracated $ots->createObject() functions with
their OTS_ equivalents
* (internal) removed unused code
2018-01-06 05:44:33 +01:00
slawkens1
4535687b48 * automatically generate plain mail from html 2017-12-26 22:30:52 +01:00
slawkens1
c415cf5ffb * php 7.x APCu cache support 2017-12-26 21:47:53 +01:00