Skip to content

Releases: idmarinas/lotgd-game

5.5.6

23 Aug 12:08
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • src/core/Repository/LogdnetRepository.php
    • Fix error, method getDoctrine not exist in class
  • src/core/Repository/AccountsOutputRepository.php Fix error, Import Tracy Debugger class
  • src/core/Repository/ArmorRepository.php Fix error, Import Tracy Debugger class

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

6.0.1

09 Aug 11:41
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • Include fixes of version 5.5.5

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

5.5.5

09 Aug 11:38
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • src/core/Output/Commentary.php
    • Fix error, now pass array to modulehook moderate-comment-sections
    • Fix error, substr length is 2 and not 1 in processSpecialCommands for :: command

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

6.0.0

02 Aug 10:57
Compare
Choose a tag to compare

🌀 CHANGES

  • BC Change entity Accounts to User
    • Rename Entity Lotgd\Core\Entity\Accounts to Lotgd\Core\Entity\User. This is for preparing to Symfony App.
      • Removed some fields:
        • translatorlanguages It has no use in this version and in the latest versions either.
        • beta Feature of beta not is funcional, so no need this field.
      • Renamed some fields:
        • character is now avatar. character and characters is a reserved word.
  • BC Change entity Characters to Avatar
    • Rename Entity Lotgd\Core\Entity\Characters to Lotgd\Core\Entity\Avatar. character and characters is a reserved word.
  • Login/passwords Change method to login and hashed password
    • Using aproach of Symfony hash password and use migrating for not break old passwords.
    • All new accounts use new password hash, and old accounts migrated to new hash when login.
  • Character Backup
    • Add option to encrypt data when save to file.
      • encrypt key same structure of entities
        [
            // 'Entity:Name' => encrypt: true|false
            'LotgdLocal:SensitiveEntity' => true,
            'Lotgdcore:SensitiveEntity' => true
        ]
        • Use same name in entities and encrypt
    • Updated character restore for new Avatar and User entities
      • Installer of version 6.0.0 Update old backups to new Avatar and User entity
  • Combat as service
    • Deleted public/battle.php not use more in your modules/bundles not work as expected.
    • Method fightNav is part of Battle service
    • When calculate buffs now use Symfony Expression Language
      • Modules that use <module|variable> replacements for get_module_pref('variable','module')
        • Use get_module_pref normaly
      • Modules that use <variable> replacements for $session['user']['variable']
        • Use character_attr('variable')
    • Example:
      /** @var \Lotgd\Core\Combat\Battle */
      $serviceBattle = \LotgdKernel::get('lotgd_core.combat.battle');
      
      //-- Battle zone.
      $serviceBattle
          ->initialize() //--* Initialize the battle
          //-- Configuration
          ->setBattleZone('mine') //-- Battle zone, by default is "forest".
          
          ->battleStart() //--* Start the battle.
          ->battleProcess() //--* Proccess the battle rounds.
          ->battleEnd() //--* End the battle for this petition
          ->battleResults() //--* Add results to response by default (use ->battleResults(true) if you want result results)
      ;
      
      if ($serviceBattle->isVictory())
      {
          //-- Do anything when victory
      }
      elseif ($serviceBattle->isDefeat())
      {
          //-- Do anything when defeated
      }
      //-- Only show figth navs when not have winner
      elseif ( ! $serviceBattle->battleHasWinner())
      {
          $serviceBattle->fightNav();
      }
    • Updated files with new Battle service:
      • public/forest.php
      • public/dragon.php
      • public/graveyard.php
      • public/train.php
      • public/pvp.php

⭐ FEATURES

  • Module/Bundle migrating
    • Now runmodule.php script work with controllers too. So you can migrate your module to bundle more easy.
      • Usage:
        • Create controllers for your new Bundle
        • If your module use:
              function MODULE_getmoduleinfo()
              {
                  return [
                      //....
                      'allowanonymous'      => true,
                      'override_forced_nav' => true,
                      //....
                  ];
              }
          • Replace this with:
            • Implement in controller interface Lotgd\Core\Controller\LotgdControllerInterface
              • Configure as you need. Remember that this configuration is for ALL methods in controller.
                • If you need some method public and other for user logged, create diferent controllers.
        • Replace runmodule.php?module=MODULE_NAME for runmodule.php?method=METHOD_NAME&controller=urlencode(CONTROLLER_NAME)
              //-- Example
              $url = 'runmodule.php?method=index&controller='.urlencode(\Lotgd\Local\Controller\ModuleController::class);
              \LotgdNavigation::addNav('Do anything', $url);
  • New console command Logout all users with inactive sessions lotgd:user:logout

🔥 DEPRECATED

  • lib/pvpsupport.php All functions:
    • setup_pvp_target use LotgdKernel::get("Lotgd\Core\Pvp\Support")->setupPvpTarget($characterId) instead
    • pvpvictory use LotgdKernel::get("Lotgd\Core\Pvp\Support")->pvpVictory($badguy, $killedloc) instead
    • pvpdefeat use LotgdKernel::get("Lotgd\Core\Pvp\Support")->pvpDefeat($badguy, $killedloc) instead
  • lib/pvpwarning.php Function pvpwarning use LotgdKernel::get('Lotgd\Core\Pvp\Warning')->warning($dokill)
  • lib/mountname.php Function getmountname This function is not used by the core. And not need for know name of mount.
  • lib/mounts.php Function getmount use LotgdTool::getMount(int $horse) instead.
  • lib/partner.php Function get_partner use LotgdTool::getPartner(bool $player) instead.
  • lib/title.php All functions:
    • valid_dk_title use LotgdTool::validDkTitle($title, $dks, $gender) instead.
    • get_dk_title use LotgdTool::getDkTitle($dks, $gender, $ref) instead.
  • lib/names.php All functions:
    • get_player_title use LotgdTool::getPlayerTitle($old) instead.
    • get_player_basename use LotgdTool::getPlayerBasename($old) instead.
    • change_player_name use LotgdTool::changePlayerName($newname, $old) instead.
    • change_player_ctitle use LotgdTool::changePlayerCtitle($nctitle, $old) instead.
    • change_player_title use LotgdTool::changePlayerTitle($ntitle, $old) instead.
  • lib/personal_functions.php Function killplayer use LotgdKernel::get('lotgd_core.tool.staff')->killPlayer($explossproportion, $goldlossproportion) instead.
  • lib/holiday_texts.php Function holidayize use LotgdTool::holidayize($text, $type) instead.

🔧 FIXES

  • Nothing

❌ REMOVES

  • BC public/battle.php Removed, use LotgdKernel::get('lotgd_core.combat.battle') instead
    • Example in public/forest.php
  • BC src/core/Navigation/Navigation.php method fightNav use LotgdKernel::get('lotgd_core.combat.battle')->fightNav() instead
    • See in public/forest.php
  • BC Delete lib/e_dom.php not used by core.
  • BC Remove deprecated
    • lib/addnews.php Removed deprecated function addnews, removed file too.
    • lib/battle/ Removed all files and functions
      • lib/battle/buffs.php
        • activate_buffs
        • process_lifetaps
        • process_dmgshield
        • expire_buffs
        • expire_buffs_afterbattle
      • lib/battle/extended.php
        • prepare_data_battlebars
        • prepare_fight
        • prepare_companions
        • suspend_companions
        • unsuspend_companions
        • autosettarget
        • report_companion_move
        • rollcompaniondamage
        • battle_spawn
        • battle_heal
        • execute_ai_script
      • lib/battle/functions.php
        • battle_player_attacks
        • battle_badguy_attacks
        • battlevictory
        • battlegainexperienceforest
        • battlegainexperiencegraveyard
        • battledefeat
        • battleshowresults
      • lib/battle/skills.php
        • rolldamage
        • report_power_move
        • suspend_buffs
        • suspend_buff_by_name
        • unsuspend_buff_by_name
        • is_buff_active
        • unsuspend_buffs
        • apply_bodyguard
        • apply_skill
    • lib/charcleanup.php Removed deprecated function char_cleanup, removed file too.
    • lib/checkban.php Removed deprecated function checkban, removed file too.
    • lib/creaturefunctions.php Removed file and functions:
      • lotgd_generate_creature_levels
      • lotgd_generate_doppelganger
      • lotgd_transform_creature
      • lotgd_search_creature
      • get_creature_stats
      • get_creature_hitpoints
      • get_creature_attack
      • get_creature_defense
      • get_creature_speed
      • lotgd_show_debug_creature
    • lib/buffs.php Removed all files and functions
      • calculate_buff_fields
      • restore_buff_fields
      • apply_buff
      • apply_companion
      • strip_buff
      • strip_all_buffs
      • has_buff
    • lib/datetime.php Remove file and functions
      • checkday
      • is_new_day
      • getgametime
      • gametime
      • convertgametime
      • gametimedetails
      • secondstonextgameday
    • lib/deathmessage.php Removed deprecated function select_deathmessage, ...
Read more

5.5.4

02 Aug 10:33
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • lib/pvpsupport.php
    • Function: setup_pvp_target
      • Fix error with translation key (now use correct)
      • Not need extractEntity is an array
      • Fix error with compare to dates
    • Function: pvpvictory and pvpdefeat
      • Fixed error with translation keys
    • Function: pvpvictory
      • Now select correct max experience to lost
  • src/core/Repository/CharactersRepository.php Function getCharacterForPvp Fix error, now add character_id to array
  • public/train.php Fixed error by not allowed multiple challange to master when allow by config.
  • public/referers.php Delete require_once 'lib/dhms.php'; file not exists.
  • public/debug.php Delete require_once 'lib/dhms.php'; file not exists.
  • public/healer.php Fix error, now pass var params to controller.
  • src/core/Controller/HealerController.php Use correct format for access value of index of array
  • translations/en/partial_taunt+intl-icu.en.yaml Fix error with var names

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

5.5.3

26 Jul 16:19
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • public/forest.php Fix error by show normal navs when see Dragon
  • translations/en/navigation_newday+intl-icu.yaml and translations/en/page_newday+intl-icu.yaml Add translation for ff type key

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

5.5.2

19 Jul 12:31
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • src/core/Controller/HofController.php Fixed: now use method and not global function.
  • Fixed error in some configuration pages:
    • Related to try duplicate user
    • Change \Doctrine::clear(); to \Doctrine::detach($entity);
    • Files affected
      • lib/configuration/cronjob.php
      • public/armoreditor.php
      • public/companions.php
      • public/creatures.php
      • public/masters.php
      • public/mounts.php
      • public/titleedit.php
      • public/user.php
      • public/weaponeditor.php

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

5.5.1

09 Jul 10:53
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • lib/modules/injectmodule.php Fixed: return false when not have the name of module.
  • src/core/Controller/MercenaryCampController.php Fixed: method buy now get $session global var.
  • src/core/Command/LotgdIntallCommand.php and src/core/Command/UserCreateCommand.php Replace unexist method in class Symfony\Component\Console\Style\SymfonyStyle
  • src/core/Command/UserCreateCommand.php Fixed error with constraints
  • themes/LotgdTheme/templates/admin/page/about/_partial.html.twig Fix error with url of download a bundle. Remove escape filter of url.
  • public/about.php Fix error in secuence of if

❌ REMOVES

  • Nothing

📓 NOTES

  • 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.
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies

5.5.0

02 Jul 19:06
Compare
Choose a tag to compare

🌀 CHANGES

  • This pages use a controller to render content of page
    • public/forest.php use controller Lotgd\Core\Controller\ForestController
  • src/core/Twig/Extension/GameCore.php Moved date time function to a new Twig Extension
  • Entity Repositories Moved to new location:
    • From src/core/EntityRepository/ to src/core/Repository/
      • Added transition classes in src/core/EntityRepository/ to avoid BC, this clases will removed in version 6.0.0.
  • Battle
    • Refactor Battle to use services. See public/battle.php
  • THEME
    • Updated Fomantic UI version: 2.8.7 => 2.8.8

⭐ FEATURES

  • Theme/Template
    • Add Sonata Block Event to some templates:
      • themes/LotgdTheme/templates/_layout.html.twig
        • Add sonata block event lotgd_core.paypal
          • Example of usage in src/core/Service/PaypalButtons and see service lotgd_core.service.paypal.buttons in config/service.yaml
      • Add new Sonata Block Events:
        • themes/LotgdTheme/templates/page/home.html.twig
          • lotgd.core.page.home.pre avoid using includeTemplatesPre in $params
          • lotgd.core.page.home.index avoid using includeTemplatesIndex in $params
          • lotgd.core.page.home.text avoid using hookHomeText in $params
          • lotgd.core.page.home.middle avoid using hookHomeMiddle in $params
          • lotgd.core.page.home.post avoid using includeTemplatesPost in $params
  • Page About Add new section "Bundle Info" like "Module Info" but for Bundles

🔥 DEPRECATED

  • lib/battle/ All files and functions (removed in future version)
    • lib/battle/buffs.php
      • activate_buffs use LotgdKernel::get('lotgd_core.combat.battle')->activateBuffs($tag) instead
      • process_lifetaps use LotgdKernel::get('lotgd_core.combat.battle')->processLifeTaps($ltaps, $damage) instead
      • process_dmgshield use LotgdKernel::get('lotgd_core.combat.battle')->processDmgShield($dshield, $damage) instead
      • expire_buffs use LotgdKernel::get('lotgd_core.combat.battle')->expireBuffs() instead
      • expire_buffs_afterbattle use LotgdKernel::get('lotgd_core.combat.battle')->expireBuffsAfterBattle() instead
    • lib/battle/extended.php
      • prepare_data_battlebars use LotgdKernel::get('lotgd_core.combat.battle')->prepareDataBattleBars($enemies) instead
      • prepare_fight use LotgdKernel::get('lotgd_core.combat.battle')->prepareFight($options) instead
      • prepare_companions use LotgdKernel::get('lotgd_core.combat.battle')->prepareCompanions() instead
      • suspend_companions use LotgdKernel::get('lotgd_core.combat.battle')->suspendCompanions($susp, $nomsg) instead
      • unsuspend_companions use LotgdKernel::get('lotgd_core.combat.battle')->unSuspendCompanions($susp, $nomsg) instead
      • autosettarget use LotgdKernel::get('lotgd_core.combat.battle')->autoSetTarget($localenemies) instead
      • report_companion_move use LotgdKernel::get('lotgd_core.combat.battle')->reportCompanionMove($companion, $activate) instead
      • rollcompaniondamage use LotgdKernel::get('lotgd_core.combat.battle')->rollCompanionDamage($companion) instead
      • battle_spawn use LotgdKernel::get('lotgd_core.combat.battle')->battleSpawn($creature) instead
      • battle_heal use LotgdKernel::get('lotgd_core.combat.battle')->battleHeal($amount, $target) instead
      • execute_ai_script use LotgdKernel::get('lotgd_core.combat.battle')->executeAiScript($script) instead
    • lib/battle/functions.php
      • battle_player_attacks use LotgdKernel::get('lotgd_core.combat.battle')->battlePlayerAttacks() instead
      • battle_badguy_attacks use LotgdKernel::get('lotgd_core.combat.battle')->battleBadguyAttacks() instead
      • battlevictory use LotgdKernel::get('lotgd_core.combat.battle')->battleVictory($enemies, $denyflawless, $forest) instead
      • battlegainexperienceforest use LotgdKernel::get('lotgd_core.combat.battle')->battleGainExperienceForest() instead
      • battlegainexperiencegraveyard use LotgdKernel::get('lotgd_core.combat.battle')->battleGainExperienceGraveyard() instead
      • battledefeat use LotgdKernel::get('lotgd_core.combat.battle')->battleDefeat($enemies, $where, $candie, $lostexp, $lostgold) instead
      • battleshowresults use LotgdKernel::get('lotgd_core.combat.battle')->battleShowResults($lotgdBattleContent) instead
    • lib/battle/skills.php
      • rolldamage use LotgdKernel::get('lotgd_core.combat.battle')->rollDamage() instead
      • report_power_move use LotgdKernel::get('lotgd_core.combat.battle')->reportPowerMove($crit, $dmg) instead
      • suspend_buffs use LotgdKernel::get('lotgd_core.combat.battle')->suspendBuffs($susp, $msg) instead
      • suspend_buff_by_name use "LotgdKernel::get('lotgd_core.combat.battle')->suspendBuffByName($name, $msg) instead
      • unsuspend_buff_by_name use LotgdKernel::get('lotgd_core.combat.battle')->unsuspendBuffByName($name, $msg) instead
      • is_buff_active use LotgdKernel::get('lotgd_core.combat.battle')->isBuffActive($name) instead
      • unsuspend_buffs use LotgdKernel::get('lotgd_core.combat.battle')->unsuspendBuffs($susp, $msg) instead
      • apply_bodyguard use LotgdKernel::get('lotgd_core.combat.battle')->applyBodyguard($level) instead
      • apply_skill use LotgdKernel::get('lotgd_core.combat.battle')->applySkill($skill, $l) instead
  • lib/buffs.php All functions (removed in future version)
    • calculate_buff_fields use LotgdKernel::get('lotgd_core.combat.buffs')->calculateBuffFields() instead
    • restore_buff_fields use LotgdKernel::get('lotgd_core.combat.buffs')->restoreBuffFields() instead
    • apply_buff use LotgdKernel::get('lotgd_core.combat.buffs')->applyBuff($name, $buff) instead
    • apply_companion use LotgdKernel::get('lotgd_core.combat.buffs')->applyCompanion($name, $companion, $ignorelimit) instead
    • strip_buff use LotgdKernel::get('lotgd_core.combat.buffs')->stripBuff($name) instead
    • strip_all_buffs use LotgdKernel::get('lotgd_core.combat.buffs')->stripAllBuffs() instead
    • has_buff use LotgdKernel::get('lotgd_core.combat.buffs')->hasBuff($name) instead
  • lib/tempstat.php All functions (removed in future version)
    • apply_temp_stat use LotgdKernel::get('lotgd_core.combat.temp_stats')->applyTempStat($name, $value, $type) instead
    • check_temp_stat use LotgdKernel::get('lotgd_core.combat.temp_stats')->checkTempStat($name, $color) instead
    • suspend_temp_stats use LotgdKernel::get('lotgd_core.combat.temp_stats')->suspendTempStats() instead
    • restore_temp_stats use LotgdKernel::get('lotgd_core.combat.temp_stats')->restoreTempStats() instead
  • lib/fightnav.php fightnav use LotgdNavigation::fightNav($allowspecial, $allowflee, $script) instead
  • lib/datetime.php All functions (removed in future version)
    • checkday use LotgdKernel::get('lotgd_core.tool.date_time')->checkDay() instead
    • is_new_day use LotgdKernel::get('lotgd_core.tool.date_time')->isNewDay() instead
    • getgametime use LotgdKernel::get('lotgd_core.tool.date_time')->getGameTime() instead
    • gametime use LotgdKernel::get('lotgd_core.tool.date_time')->gameTime() instead
    • convertgametime use LotgdKernel::get('lotgd_core.tool.date_time')->convertGameTime($intime, $debug) instead
    • gametimedetails use LotgdKernel::get('lotgd_core.tool.date_time')->gameTimeDetails() instead
    • secondstonextgameday use LotgdKernel::get('lotgd_core.tool.date_time')->secondsToNextGameDay($details) instead
  • lib/increment_specialty.php increment_specialty use LotgdKernel::get('lotgd_core.tool.player_functions')->incrementSpecialty($colorcode, $spec) instead
  • lib/playerfunctions.php All functions (removed in future version)
    • get_player_hitpoints use LotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerHitpoints($player) instead
    • explained_get_player_hitpoints use LotgdKernel::get('lotgd_core.tool.player_functions')->explainedGetPlayerHitpoints($player, $colored) instead
    • get_player_attack use LotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerAttack($player) instead
    • explained_row_get_player_attack use LotgdKernel::get('lotgd_core.tool.player_functions')->explainedRowGetPlayerAttack($player) instead
    • explained_get_player_attack use LotgdKernel::get('lotgd_core.tool.player_functions')->explainedGetPlayerAttack($player, $colored) instead
    • get_player_defense use LotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerDefense($player) instead
    • explained_row_get_player_defense use LotgdKernel::get('lotgd_core.tool.player_functions')->explainedRowGetPlayerDefense($player) instead
    • explained_get_player_defense use LotgdKernel::get('lotgd_core.tool.player_functions')->explainedGetPlayerDefense($player, $colored) instead
    • get_player_speed use LotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerSpeed($player) instead
    • get_player_physical_resistance use LotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerPhysicalResistance($player) instead
  • lib/creaturefunctions.php All functions (removed in future version)
    • lotgd_generate_creature_levels use LotgdKernel::get('lotgd_core.tool.creature_functions')->lotgdGenerateCreatureLevels($level) inst...
Read more

5.4.3

02 Jul 17:59
Compare
Choose a tag to compare

🌀 CHANGES

  • Nothing

⭐ FEATURES

  • Nothing

🔥 DEPRECATED

  • Nothing

🔧 FIXES

  • themes/LotgdTheme/templates/page/_blocks/_inn.html.twig Fixed error, pass necesary vars to translation

❌ REMOVES

  • Nothing

📓 NOTES

  • Notes:
    • ⚠️ Since version 5.0.0 Installer is only via terminal (command: php bin/console lotgd:install)
  • Upgrade/Install for version 5.0.0 and up
    • First read docs and follow steps.
    • If 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
  • composer.json Updated/Added/Deleted dependencies
  • package.json Updated/Added/Deleted dependencies