This is a list of changes made in versions 7.Y.Z
Visit the Wiki for more details.
Visit the Documentation for more details.
Visit the README.
Visit DEV Changelog
Visit V2 Changelog
Visit V3 Changelog
Visit V5 Changelog
Visit V6 Changelog
- Nothing
- Jaxon-php add compatibility with version 4
- Nothing
- Nothing
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
Full Changelog: https://github.com/idmarinas/lotgd-game/compare/7.1.12...7.1.13
- Nothing
- All Fixed class
- Added documented methods for IDEs
- Nothing
- Nothing
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- All Fixed class
- Added documented methods for IDEs
- Nothing
- public/common_common.php Fixed a rare error where the gensize could exceed the maximum allowed value.
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
- Fixed an error in
6.0.0migration database, when make an installation.
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
- translations/en/page_pvp+intl-icu.en.yaml and src/core/Pvp/Support Fix error with var name.
- src/core/Entity/ModuleUserprefs.php Fixed fields, not allow null values.
- lib/modules/prefs.php Add default values when not found pref.
- src/core/Controller/ClanController.php Allow see list of clans when clanrank is applicant.
- src/core/Controller/GypsyController.php Fixed, now return index if not have money
- public/inn.php Fix error, use $method to now if is default page
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
- templates/page/_blocks/_bank.html.twig Fix error, now pass more info as params.
- translations/en/page_pvp+intl-icu.en.yaml Fix error with var name.
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
public/images/logdnet.phpandsrc/core/Http/Response.phpAvoid save user when register in Logdnetsrc/core/Controller/HofController.phpFixed error in order of moneysrc/core/Entity/Faillog.phpFixed error in typingpostis an array not a stringsrc/core/Entity/Pettitions.phpFixed error in typingpostis an array not a stringtailwind.config.jsAdd to content key./vendor/**/*.twigfor search TailwindCSS class in templates
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
src/core/Combat/Battle.phpAdd Battle Expression dependenciesrc/core/ExpressionLanguage/BattleProvider.phpAdd functionfloorto avoid errorssrc/core/Installer/Pattern/Version.phpAdd missing version7.1.6src/core/Controller/StablesController.phpFixed error when buy creature and sell other.src/core/Combat/Battle.phpandsrc/core/Combat/BattleStart.phpFixed bug that caused buffs not to be retainedsrc/core/Tool/Tool/DeathMessage.phpFixed error, no use property$this->translatorsrc/core/Tool/Tool/Taunt.phpFixed error, no use property$this->translatorsrc/core/Controller/GraveyardController.phpFixed error that, when win battle not show navs
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
migrations/2021/Version20210127183022.phpQuote location and function in create table module_hooks
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
src/core/Installer/Pattern/Version.phpFixed, added missing versionssrc/core/Navigation/Navigation.phpFixed, now check correct if exist navs
- Deleted dependency of
laminas/laminas-codenot in use
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
src/core/Controller/ClanController.phpFixed, add global variable $sessionsrc/core/Controller/NewdayController.phpandsrc/core/Controller/NewdayController/DragonPointSpendTrait.phpPass parameter $labels to method
- Deleted dependency of
laminas/laminas-codenot in use
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
src/core/Controller/StableController.phpFixed error when buy/sell mountsrc/core/Http/Response.phpandsrc/core/Tool/Tool.phpFixed (maybe) broken navs that occurred sometimes.
- Deleted dependency of
laminas/laminas-codenot in use
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Added support for PHP version 8 in composer.json file
- Nothing
- Nothing
- Nothing
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
src/core/Tool/Validator.phpFix error with checking if email is validsrc/core/Controller/CreateController.phpFixed error with validation email address.- Previously it treated the
idas numeric when it was a string.
- Previously it treated the
src/core/Controller/GraveyardController.phpFixed error, mark functionsetServiceCreatureFunctionwith required annotation.- With this, Symfony inject services.
src/core/Controller/StableController.phpFixed error with name of var. dipatcher to dispatcherpublic/gardensFixed error, pass$textDomainNavigationas argument.src/core/Twig/Extension/Pattern/News.phpCheck if arguments is an array.
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS⚠️ Version 8.0.0 deleted old system of modules and JaxonPHP
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- BC Min PHP version needed is
7.4 assets/lib/components/embed.jsLotgd.embed(this)now also receives the event parameterLotgd.embed(this, event)Faq menumoved from Village/Shades menu to Top menu.- Now can see FAQ always.
stimulus-controllerPetition, add new function for load custom faq. Need pass url as param.- Example of usage
$args[] = [ 'attr' => [ 'data-action' => 'click->petition#loadFaq', 'data-petitition-url-param' => 'stimulus.php?method=NameOfMethod&controller=NamespaceOfController' ], 'link' => [ 'section.faq.toc.cities', [], 'cities_module', ], ];
src/functions.phpMark functions as deprecated:myDefinesafeescapenltoappon
src/core/Repository/UserRepository.phpFixed error with place ofDebugger::log()in functiongetUserByIdthemes/LotgdModern/templates/page/bio.html.twigFixed error with key of translationtranslations/en/page_bio+intl-icu.en.yamladd missing key translationsrc/core/Repository/User/Avatar.phpFixed error when not found news for user, now return a correct empty arraypublic/bans.phpFixed error that can add bans- Fixed some code smells and vulnerabilities
public/common_common.phpDeleted code to create file.env.local.php- You need to create this file before upgrading from a version earlier than 4.9.0
assets/lib/game/datacache.jsDeleted unused functions- Use console to clear cache.
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Add file
.htaccessto root folder for redirect to the folder "public/".- You can change
DocumentRootin the ApacheVirtualHostconfiguration file.
- You can change
- Nothing
- Updated for use Tailwind CSS
- src/core/Twig/Extension/Pattern/Commentary.php Icons now use FontAwesome class names
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
- lib/showform.php Updated for show form with Tailwind CSS
- Use new name of Stimulus package, this avoids some errors.
- assets/stimulus/controllers/form/input_range_controller.js
- assets/stimulus/controllers/form/submit_controller.js
- systemmail Remplace
systemmail()function for service method. - is_email Remplace
is_email()function for service method.
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
- Service Create a public service
lotgd_http_clientuse this instead ofhttp_client - Commentary Fixed error with undefined "Lotgd"
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- Nothing
- Nothing
- Cron commands Fixed error, now import translator service.
- src/core/Repository/MotdRepository.php Fixed error with type of value returned for method
getLastMotd - src/functions_old.php Fix error, now check if function exists
- src/core/Character/Stats.php Make "$val" optional argument too
- Nothing
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
- Nothing
- TailwindCSS new Framework for style APP.
- **For create new themes can use
tailwind.config.js
- **For create new themes can use
- Twig Template System
- New functions:
stimulus_urlGet a valid stimulus url like"stimulus.php?method=index&controller=Controller- Usage:
{{ stimulus_url('Controller\Name', 'method_name', '&query=value') }}
- Usage:
- New functions:
- Notifications System
- Add a new notifications system (Toast notifications)
- Use Stimulus to show notifications
- For add a notification you can use Trait
Lotgd\Core\Pattern\LotgdControllerTraitin your controller.- Use method
$this->addNotification('type', 'Notification message');this is the basic format. - This is the alternative format.
$this->addNotification('type', [ 'title' => 'Notification Title', 'notification' => 'Notification message', 'close' => false, 'duration' => 7000 // Time in milliseconds 'id' => 'id-for-notification' //-- By default is auto-generated ]);
- Use method
- Form system
- New Form Type Field
Lotgd\Core\Form\Type\TextareaLimitType- This type create a text area with a counter of characters that have limit
Lotgd\Core\Form\Type\AutocompleteType- This ty pe create an input field for autocomplete from server.
- New Form Type Field
- Deprecated trait:
Lotgd\Core\Controller\Pattern\RenderBlockTrait- Use
Lotgd\Core\Pattern\LotgdControllerTraitinstead- This trait have other methods used in LoTGD
- Use
- JaxonPHP is deprecated and deleted of core in version 8.0.0
- You can add these dependencies if your use it in version 8.0.0 and up
- Think about migrating all JaxonPHP classes to Stimulus.
- Twig\Extension\Pattern\PageGen.php Avoid error division by cero
- BC Semantic UI/Fomantic UI is removed and remplace with TailwindCSS
- BC Removed deprecation functions
- src/functions.php
is_emailUse serviceLotgdKernel::get("lotgd_core.tool.validator")->isMail($string)insteadarraytourlUse php functionhttp_build_queryinstead.urltoarrayUse php functionparse_strinstead.createstringUse php functionserializeinstead.list_filesUse phpSymfony Component Finderinstead._curlUse serviceLotgdKernel::get("http_client")instead._sockUse serviceLotgdKernel::get("http_client")instead.pullurlUse serviceLotgdKernel::get("http_client")instead.
- BC Removed files
- lib/holyday_texts.php
holidayizeUseLotgdTool::holidayize($text, $type) - lib/mountname.php
getmountnameThis function is not used by the core. - lib/mounts.php
getmountUseLotgdTool::getMount($horse)instead. - lib/partner.php
get_partnerUseLotgdTool::getPartner($player)instead. - lib/pvpwarning.php
pvpwarningUseLotgdKernel::get("Lotgd\Core\Pvp\Warning")->warning($dokill)instead. - lib/pvpsupport.php
setup_pvp_targetUseLotgdKernel::get("Lotgd\Core\Pvp\Support")->setupPvpTarget($characterId)instead.pvpvictoryUseLotgdKernel::get("Lotgd\Core\Pvp\Support")->pvpVictory($badguy, $killedloc)instead.pvpdefeatUseLotgdKernel::get("Lotgd\Core\Pvp\Support")->pvpDefeat($badguy, $killedloc)instead.
- lib/names
get_player_titleUseLotgdTool::getPlayerTitle($old)instead.get_player_basenameUseLotgdTool::getPlayerBasename($old)instead.change_player_nameUseLotgdTool::changePlayerName($newname, $old)instead.change_player_ctitleUseLotgdTool::changePlayerCtitle($nctitle, $old)instead.change_player_titleUseLotgdTool::changePlayerTitle($ntitle, $old)instead.
- lib/pageparts.php
wipe_charstatsUseLotgdKernel::get("Lotgd\Core\Character\Stats")->wipeStats()instead.addcharstatUseLotgdKernel::get("Lotgd\Core\Character\Stats")->addcharstat($label, $value)instead.getcharstatUseLotgdKernel::get("Lotgd\Core\Character\Stats")->getcharstat($cat, $label)instead.setcharstatUseLotgdKernel::get("Lotgd\Core\Character\Stats")->setcharstat($cat, $label, $val)instead.getcharstat_valueUseLotgdKernel::get("Lotgd\Core\Character\Stats")->getcharstat($cat, $label)instead.getcharstatsUseLotgdKernel::get("Lotgd\Core\Service\PageParts")->getCharStats($buffs)instead.charstatsUseLotgdKernel::get("Lotgd\Core\Service\PageParts")->charStats($return)instead.
- lib/personal_functions.php
killplayerUseLotgdKernel::get('lotgd_core.tool.staff')->killPlayer($explossproportion, $goldlossproportion)instead. - lib/systemmail.php
systemmailUseLotgdKernel::get('lotgd_core.tool.system_mail')->send($to, $subject, $body, $from, $noemail)instead. - lib/titles.php
valid_dk_titleUseLotgdTool::validDkTitle($title, $dks, $gender)instead.get_dk_titleUseLotgdTool::getDkTitle($dks, $gender, $ref)instead.
- src/core/Application.php
Lotgd\Core\ApplicationUseLotgd\Core\Kernelinstead.
- lib/holyday_texts.php
- src/functions.php
- BC Removed some traits
src/core/Pattern/Cache.phpsrc/core/Pattern/Censor.phpsrc/core/Pattern/Container.phpsrc/core/Pattern/Doctrine.phpsrc/core/Pattern/EntityHydrator.phpsrc/core/Pattern/Format.phpsrc/core/Pattern/Http.phpsrc/core/Pattern/Jaxon.phpsrc/core/Pattern/LotgdCore.phpsrc/core/Pattern/Navigation.phpsrc/core/Pattern/Output.phpsrc/core/Pattern/Sanitize.phpsrc/core/Pattern/Settings.phpsrc/core/Pattern/Template.phpsrc/core/Pattern/ThemeList.phpsrc/core/Pattern/Translator.php- Note: use Dependency Injection.
- Important:
⚠️ Since version 5.0.0 Installer is only via terminal (command:php bin/console lotgd:install)⚠️ Avoid, as far as possible, using static classes (e.g. LotgdSetting, Doctrine, LotgdTranslation...) as these classes will be deleted in a future version. Use autowire, dependency injection when possible.⚠️ Version 7.0.0 change templates for use TailwindCSS
- Upgrade/Install for version 5.0.0 and up
- First read docs and follow steps.
- If you have problems:
- Read info in
storage/log/tracy/*files, and see the problem. - Read info in
var/log/*files, and see the problem. - Read info in
var/log/apache2/error.log(this is the default location in Debian, can change in your OS distribution) in your webserver. - If you can't solve the problem go to: Repository issues
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies