Lee
fbe9c31d10
config update
...
renamed and cleaned up the settings names for easier comprehension
2020-12-29 17:50:10 +00:00
Lee
0aed705a6a
migration 31 fix.
...
Some mysql dbs won't allow text to have a default value.
2020-12-29 17:43:17 +00:00
Lee
06e864c954
added between()
...
Added missing function from creature update.
2020-12-29 17:36:16 +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
6f42a60e59
Add a brand new charming installation (for version 0.9) ( #144 )
...
* Add a brand new charming installation
* Fix alert position in setup requirements validation
* Add some missing definitions
* A distinction between bootstrap CSS classes and myaac classes
For CSS-styled messages
* Remove unused functions for messages
Co-authored-by: slawkens <slawkens@gmail.com>
2020-12-22 07:47:47 +01:00
slawkens
3beedc1747
New configurable: outfit_images_wrong_looktypes
2020-12-21 01:59:32 +01:00
slawkens
6603815a81
Update bans.php
2020-12-21 01:54:17 +01:00
slawkens
c1027d3663
Fixes on new highscores
...
Fixed link to next page on first visit default highscores
Fixed position of "No records yet."
Also count pages is starting from 1 now (not from 0 like before)
2020-12-21 01:54:00 +01:00
slawkens
7d73e3cd98
Refactor code in delete_character.php
2020-12-19 23:25:46 +01:00
slawkens
5087fc4a00
You cannot delete character more than twice (Thanks Okke)
...
(cherry picked from commit 7fd784b2f615d87a028f2e1d90ec99fd67acb576)
2020-11-24 18:12:49 +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
Lee
9bc63bb55c
Datatables update
...
I noticed if the datatables files wasn't cached some pages that didn't use it would take slightly longer to load whilst it downloaded it.
This will only write the js and css files onto the page if $use_datatable = true; is set on the page.
See accounts/news/players pages for examples.
It wasn't a massive performance loss for the user but not needed if those pages are hardly ever used.
2020-11-07 13:53:11 +00:00
Lee
dcf83d5608
Update functions.php
...
Moved to bottom of the page so users can call functions code from custom_functions.
2020-11-06 14:42:13 +00:00
Lee
6f74029d76
Update spells.php
...
$canEdit was removed in a previous git.
Removing this fixes the error.
2020-11-06 14:18:08 +00:00
Lee
01e3d366ba
Update admin.menus.js.html.twig
...
replaced del.png with a font awesome icon to go with the style of the rest of the icons on page.
2020-11-06 14:17:40 +00:00
Lee
7814636caf
Added custom_functions file
...
Added a custom functions file for users to include any of their custom functions.
2020-11-06 14:16:54 +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
95c2adc02e
Remove twig, phpmailer & semver
2020-10-27 07:35:00 +01:00
slawkens
9fe419cfe7
Creatures and monsters are now reloaded in Admin Panel
2020-10-27 07:33:21 +01:00
slawkens
41e24ca535
Remove .gz extension if found in map file
2020-10-27 07:25:38 +01:00
slawkens
42a628731d
move characters link to twig
2020-10-27 07:24:21 +01:00
slawkens
2daa42e124
Add accept=".zip" to plugin upload file
2020-10-24 05:30:04 +02:00
slawkens
abfd2c94f5
Move template_header and change_template to twig
2020-10-18 06:54:54 +02:00
slawkens
2e560ac081
Added some var annotations
2020-10-14 13:11:03 +02: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
928de13459
Fix two boxes being show on email_change_cancel
...
(cherry picked from commit 8518afe70d7c0c2f79a4a3b21028509be7373e67)
2020-10-12 22:31:31 +02:00
slawkens
65b4b2d183
Rename file to admin.data.html.twig
2020-10-09 23:38:33 +02:00
slawkens
94b145b215
New class: DataLoader (loads data from server)
...
Also combined some code responsible for loading server data
2020-10-09 23:37:24 +02:00
slawkens
6c9e6af154
Move installer.js to main tools
2020-10-09 23:18:22 +02:00
slawkens
b5736ad559
Rename items.php to server data.php
2020-10-09 22:29:19 +02:00
slawkens
ab3912b378
Save towns as plain PHP File in cache folder
...
+ Also load them on install + on reload items
= better performance when in dev mode
2020-10-09 22:27:48 +02:00
slawkens
3090989dea
Fixed accounts editor for OTServ, which dont have accounts.group_id
2020-10-09 00:37:28 +02:00
slawkens
92314b8dac
Fix some PhpStorm editor error message
2020-10-09 00:36:47 +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
c30300c368
New configurable: item_images_extension
2020-10-08 00:13:35 +02:00
slawkens
ed3d415c05
Change wrong table header: Description -> Version
2020-10-08 00:03:53 +02:00
slawkens
d7f41748ad
Forgot to translate requirements
2020-10-07 23:46:14 +02:00
slawkens
915ae47971
Add missing polish timezone translation on install
2020-10-07 23:40:33 +02:00
slawkens
40b151b4c5
Remove whitespaces
2020-10-07 23:36:21 +02:00
slawkens
1992410a7b
This info is useless
2020-10-07 23:36:10 +02:00
slawkens
48874f5b07
Disable mail_enabled by default on clean install
...
Causes too many issues when no smpt server available and other options are not configured
2020-10-07 23:22:02 +02:00
slawkens
2144a4eb7c
Add success message on config.local.php save
2020-10-07 23:19:10 +02:00
slawkens
f85361dbc5
Some optimisations in Plugins::installMenus
2020-09-25 07:49:26 +02:00
slawkens
cb6509d09d
Cache for 365 days if $ttl not set
2020-09-25 07:26:30 +02:00
slawkens
f09c129c6d
Remove duplicated line (in $db->select)
...
Caused some errors when using $db->select function (news editing for example)
2020-09-17 23:17:59 +02:00
slawkens
602a4aa835
Feature/experience stages twig ( #135 )
...
* Move Experience Stages to Twig
* Change name to underline (standard)
* Update system/pages/experiencestages.php
Co-authored-by: whiteblXK <krzys16001@gmail.com>
Co-authored-by: whiteblXK <krzys16001@gmail.com>
2020-08-24 19:36:43 +02:00
slawkens
289dd3c170
New configurable: guild_description_default
2020-07-14 01:05:09 +02:00
slawkens
60eac97945
Fix creating very uncommon (bugged) account names
...
(cherry picked from commit 0326657d60c3f44bbd64d5cb22d4cbc5499dea88)
2020-07-07 01:23:53 +02:00
slawkens
de1d6b9629
Fix #131
...
(cherry picked from commit fcff820858dca3e8d2692e9bfee27ea89c8b9727)
2020-07-07 00:54:34 +02:00