Commit Graph

269 Commits

Author SHA1 Message Date
7986d33ab6 Merge remote-tracking branch 'origin/dev-battle-fighterclass' into dev-battle-fighterclass
# Conflicts:
#	_incl_data/class/Battle.php
2024-02-09 22:08:35 +02:00
4470f80098 WIP 2024-02-09 21:41:54 +02:00
1a05960ddc Merge remote-tracking branch 'origin/dev-battle-fighterclass' into dev-battle-fighterclass 2024-02-09 21:36:26 +02:00
172c7fdcde refactor 2024-02-09 20:33:59 +02:00
3df3f1b4d7 refactor 2024-02-09 20:26:54 +02:00
96beb132e8 rename method 2024-02-09 20:26:44 +02:00
e3f362cf23 Замена mysql_query 2024-02-09 20:21:10 +02:00
2b2767044c Документация 2024-02-09 19:54:55 +02:00
c18241bda3 Замена mysql_query 2024-02-09 19:49:51 +02:00
664c24ff1e Счетчик ходов лежал в логгере. 2024-02-09 19:30:22 +02:00
8af1a5114a Замена Battle->add_log() на Log::add(). 2024-02-09 19:28:32 +02:00
be537b5dfc Rename dir to uppercase for autoload 2024-02-08 15:35:42 +02:00
88aeb4a912 WIP 2024-02-08 14:55:44 +02:00
7dc27047b6 Optimising Stat()::class. 2024-01-16 09:13:15 +02:00
68ef35d14a Removing User::class public array $items for Stat()::class. 2024-01-16 07:18:06 +02:00
b0d1388cda Merge remote-tracking branch 'origin/dev-battle-fighterclass' into dev-battle-fighterclass
# Conflicts:
#	_incl_data/class/User.php
2024-01-08 03:36:41 +02:00
bd8761f240 WIP: removing User::class public array $items for Stat()::class. 2024-01-08 03:35:45 +02:00
9652ee5c8e WIP: removing User::class public array $items for Stat()::class. 2024-01-08 03:33:20 +02:00
4a7535d67d WIP: Info class 2024-01-06 17:30:34 +02:00
a2c658166d WIP: перед введенимем класса Fighter.php 2024-01-06 00:14:35 +02:00
07f905ef64 Много рефактора 2023-12-21 04:42:23 +02:00
253eafca3b Много рефактора 2023-12-17 04:32:09 +02:00
e5b3c47228 encoding fix 2023-12-16 20:10:59 +02:00
0c85c61d0c Merge pull request 'dev-moderation' (#66) from dev-moderation into dev
Ломаем то что работало. :)
Reviewed-on: #66
2023-12-09 14:14:33 +00:00
8efb371909 Refactor autoload path creation in autoload.php
In this commit, code in autoload.php has been refactored to improve readability by using DIRECTORY_SEPARATOR for creating file paths. This ensures cross-platform compatibility. Additionally, added 'function' directory to class autoload procedure to facilitate future function based autoloads.
2023-12-09 14:14:33 +00:00
655987979f Refactor code to improve maintainability and readability
This commit introduces changes aimed at enhancing code maintainability and readability. The most significant was moving code responsible for various future checks into a separate file to reduce clutter. Additionally, the code has been cleaned up, removing excessive spacing and redundancies.
2023-12-09 14:14:33 +00:00
bfd9e0c5a3 Refactor and optimize main.php script
The code cleanup included removing unnecessary lines and optimizing existing code snippets for better performance and readability. The script now uses a more efficient method of item generation and item pickup. The image loading process was revamped to provide a more efficient and user-friendly experience. Lastly, the HTML was reformatted into HEREDOC syntax for better readability.
2023-12-09 14:14:33 +00:00
f614e5ef83 Refactor _mod.php by stripping out conditional moderator statements. The update centralizes authorization checks for various moderation actions such as blocking users and appointing new moderators. It also optimizes several lines in the code by suppressing unnecessary components. The old method of using 'admin' has been replaced by an object-oriented 'm' class to streamline and improve code maintenance. 2023-12-09 14:14:33 +00:00
c7be3e57f8 Remove conditional moderator check in _mod.php 2023-12-09 14:14:33 +00:00
bf17b19309 Cleaned up the code in main.php and _mod.php to simplify the handling of user roles and permissions. The previous alignment-based role assignments have been streamlined into a single "moderation" action. 2023-12-09 14:14:33 +00:00
acd9c98d38 Refactor code and move admin user registration into separate class.
The new class, named UserRegistrationList, aims to handle user registrations specifically for administrators. Some superfluous code has been removed for better readability and efficiency, and replaced with simplified CSS styles and SQL queries. The use of Core\Db and Moderation\UserRegistrationList has been introduced to improve the structure and organization of the code.
2023-12-09 14:14:33 +00:00
69641b49c3 Регистрации персонажей только для администраторов в отдельный класс. 2023-12-09 14:14:33 +00:00
1f6626ea33 Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49
Переводы и добавление в ЛД надо писать заново потому что вот зачем ОКАЗЫВАЕТСЯ были нужны сокращения, которые удалялись из логов последние два года - для сортитровки выдачи вот в этом файле. :(
2023-12-09 14:14:33 +00:00
26f28a9be8 Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49 2023-12-09 14:14:33 +00:00
8be1c6cd7e Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49 2023-12-09 14:14:33 +00:00
c51dbaeae3 Будущие проверки переводов отдельным файлом. 2023-12-09 14:14:33 +00:00
0abc1bb2f5 Временная реализация снятия молчанок. 2023-12-09 14:14:33 +00:00
faa472f2a1 Выпуск из тюрьмы 2023-12-09 14:14:33 +00:00
c9d6565b09 Разблокировка 2023-12-09 14:14:33 +00:00
c8d3bc83f8 Убраны mysql_query. 2023-12-09 14:14:33 +00:00
bbf409b3d2 Удалены проверки на чистоту. 2023-12-09 14:14:33 +00:00
af827a262a Невидимка 2023-12-09 14:14:33 +00:00
9623695242 Чатомолчанка. 2023-12-09 14:14:33 +00:00
268d7463ee Хаос повержен! :D 2023-12-09 14:14:33 +00:00
c3591977b8 Ненужная переменная. 2023-12-09 14:14:33 +00:00
47e90c261b Обезлик. 2023-12-09 14:14:33 +00:00
d7d8db2198 Блокировка. 2023-12-09 14:14:33 +00:00
9c8b6bd89c Тюрьма. 2023-12-09 14:14:33 +00:00
70f6e3252d Снятие обезличивания. 2023-12-09 14:14:33 +00:00
8b83ef3ba8 Пишем действия в дело. Тип 10 взят наугад. 2023-12-09 14:14:33 +00:00