slawkens
f9302d4f9d
Require Parsedown class through composer
2021-05-01 08:54:46 +02:00
slawkens
780f8d193f
bcsub is not needed here
...
bcmath module is not required anymore
2021-05-01 01:21:11 +02:00
slawkens
4e85f857a4
Fix #158 Thanks @Misztrz
2021-05-01 01:04:42 +02:00
czbadaro
ea035136e1
Gratis premium account ( #156 )
...
* skip premdays and lastdays calculation when premdays = 65535 (gratis premium in TFS)
* TFS consider 65535 as gratis premium account and PHP_INT_MAX does not assume this value
* adds condition of premdays=65535 and standardize the label "gratis premium account" with tibia client
* adjust the label "days" when there is only one day of premium account
* adjusted premium account status
* Some small adjustment
* Sorry, typo.
Co-authored-by: slawkens <slawkens@gmail.com>
(cherry picked from commit 9d7854dda62468e420c26a6e531bacf47351f499)
2021-04-23 01:14:32 +02:00
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
Lee
31f0050f4e
Admin - Dataloader updates
...
-Npc Lib added
-Admin Dataloader updated to load NPC names into a cached array.
-Spinner Updated to a loading button.
2021-03-09 23:38:23 +00:00
Lee
7ce005341e
Twig filter (timeago)
...
Added twig filter timeago for dates.
2021-03-09 23:17:24 +00:00
slawkens
f0c136c421
More fixes for PHP 8.0
2021-02-16 01:40:24 +01:00
slawkens
5fa1321619
Fixes to database version and monsters table
2021-02-16 01:12:45 +01:00
slawkens
792ec17d18
Increase size of myaac_visitors.page column to 2048
...
Thanks to OtLand user kaleuui (https://otland.net/threads/myaac-v0-8-3.268654/page-11#post-2643853 )
2021-02-16 00:56:25 +01:00
slawkens
5bd5aa0edf
Fix compatibility with PHP 8.0 (latest XAMPP)
...
Solution by doctrine developers
2021-02-16 00:28:54 +01:00
slawkens
6b07d56627
Fix setPremDays for latest TFS
...
Fixes editing account in admin panel
2021-02-15 21:05:08 +01:00
slawkens
15d381adfd
Fixed account getPremDays() function for latest TFS
...
This fixes account management + signature
2021-02-15 20:57:24 +01:00
Lee
23b44d6c8a
#142 Guildnick fix
...
Fixes the Guildnick not showing in the guild pages.
2021-02-14 12:50:10 +00:00
slawkens
e3f2abc06e
Fix parsing empty strings in config.lua (with comments)
...
(cherry picked from commit eed490507c83518812451e0ba50b23d5a2914ab0)
2021-02-13 22:57:11 +01:00
slawkens
ebe900fca8
Ignore arrays in config.lua (fixes experienceStages loading)
...
In future we want to parse arrays too, this is just a temporary solution
Thread: https://otland.net/threads/myacc-problem.274795/
2021-02-13 21:53:40 +01:00
slawkens
5a8bcec014
Fix installer choosing name, when config.php is not loaded yet
...
It has been almost 1 month there, seems no one is using develop branch ;)
2021-02-13 21:44:49 +01:00
Lee
a1c7c2768c
Delete char with house #149
...
oops, didn't mean to submit that last push, I hadn't added the empty check. (noob moment)
quick fix for #149
2021-02-02 14:42:30 +00:00
Lee
565e6e3a3d
Delete char with house #149
...
Patch to stop players deleting themselves if they have a house
Fixes #149
2021-02-02 14:13:36 +00:00
slawkens
855e9aa3b9
Fix: do not count deleted characters
...
On create new character page
2021-01-20 19:46:07 +01:00
slawkens
a271edec47
Forgot this..
2021-01-20 18:03:30 +01:00
slawkens
81b293a5a6
Fixes to character name validation
...
Admin should be able to create any name
Also fixes to config.character_name_min_length being ignored
2021-01-20 18:02:07 +01:00
slawkens
8b41e144f8
Open/Closed Website Status now changes dynamically
2021-01-18 02:17:39 +01:00
slawkens
a41f653e05
Move Admin module statistics to Twig
2021-01-18 02:00:46 +01:00
slawkens
f24ff295e8
Add alt="icon"
...
Don't like those warnings in IDE :P
2021-01-18 01:48:21 +01:00
slawkens
b399bee3ac
Cancel button should return to menus main screen
2021-01-18 01:47:56 +01:00
slawkens
8f88c82a13
Add "table-responsive d-md-table" class
...
Makes tables in admin panel responsive
2021-01-18 01:47:11 +01:00
slawkens
d8ac88b7d9
Add more clients to clients.conf.php
2021-01-18 01:45:52 +01:00
slawkens
b24370e7ed
Fixed the check if vocations.xml were correctly loaded
2021-01-17 17:44:30 +01:00
slawkens
98bd51436b
Unified naming
2021-01-07 11:47:57 +01:00
slawkens
1fa4b1e660
Remove some useless maxlength attribute
2021-01-04 22:06:50 +01:00
slawkens
04a36b1d11
Rename to Recovery Key
2021-01-04 22:06:26 +01:00
slawkens
611d6f505d
Add option to send mail to account with Mailer
...
"Send Mail" link next to Email input in account editor
2021-01-04 21:34:52 +01:00
slawkens
af161b5143
Fix: PHPMailer is included through composer now
2021-01-04 19:17:07 +01:00
slawkens
d5880eac8c
Use BASE_URL instead of template_path for icons
...
Cause they are located in images/news folder
2021-01-04 16:35:01 +01:00
slawkens
02d6ab5fe7
Add lastCheck full date to Server Status panel
2021-01-04 16:32:25 +01:00
Lee
5547ccffd6
Twig updates
...
Moved non-global functions from twig back into PHP.
2021-01-04 13:11:18 +00:00
Lee
8c06bd1738
function Truncate added
...
missing function added to functions lib.
2021-01-04 12:42:13 +00:00
Lee
bb3602073c
AdminPanel updates - changelog
...
-Admin menu updates
-Moved getchangelogtype/where to functions file and added to twig
-Added changelog editor to admin panel and updated changelog page
-Renamed the changelog md reader to clmd and edited the version file.
2021-01-04 12:23:36 +00:00
slawkens
a8a36c73e6
Fix notice about premend
2020-12-30 00:27:42 +01:00
slawkens
98b1d854f9
Refactor some line
2020-12-30 00:24:14 +01:00
slawkens
1ada2317fd
Add support for accounts.premium_ends_at (Latest tfs 1.x)
2020-12-30 00:10:49 +01:00
slawkens
40722c8c30
Password can now contain any characters
...
Also added limit of 29 characters (client limitation)
2020-12-30 00:10:11 +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
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