Releases: idmarinas/lotgd-game
Releases · idmarinas/lotgd-game
5.5.6
🌀 CHANGES
- Nothing
⭐ FEATURES
- Nothing
🔥 DEPRECATED
- Nothing
🔧 FIXES
- src/core/Repository/LogdnetRepository.php
- Fix error, method
getDoctrine
not exist in class
- Fix error, method
- 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
6.0.1
🌀 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
5.5.5
🌀 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
- Fix error, now pass array to modulehook
❌ 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
6.0.0
🌀 CHANGES
- BC Change entity Accounts to User
- Rename Entity
Lotgd\Core\Entity\Accounts
toLotgd\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 nowavatar
. character and characters is a reserved word.
- Removed some fields:
- Rename Entity
- BC Change entity Characters to Avatar
- Rename Entity
Lotgd\Core\Entity\Characters
toLotgd\Core\Entity\Avatar
. character and characters is a reserved word.
- Rename Entity
- 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
- Add option to encrypt data when save to file.
- 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 forget_module_pref('variable','module')
- Use
get_module_pref
normaly
- Use
- Modules that use
<variable>
replacements for$session['user']['variable']
- Use
character_attr('variable')
- Use
- Modules that use
- 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
- Deleted
⭐ 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.
- Configure as you need. Remember that this configuration is for ALL methods in controller.
- Implement in controller interface
- Replace this with:
- Replace
runmodule.php?module=MODULE_NAME
forrunmodule.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);
- Usage:
- Now
- New console command Logout all users with inactive sessions
lotgd:user:logout
🔥 DEPRECATED
- lib/pvpsupport.php All functions:
setup_pvp_target
useLotgdKernel::get("Lotgd\Core\Pvp\Support")->setupPvpTarget($characterId)
insteadpvpvictory
useLotgdKernel::get("Lotgd\Core\Pvp\Support")->pvpVictory($badguy, $killedloc)
insteadpvpdefeat
useLotgdKernel::get("Lotgd\Core\Pvp\Support")->pvpDefeat($badguy, $killedloc)
instead
- lib/pvpwarning.php Function
pvpwarning
useLotgdKernel::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
useLotgdTool::getMount(int $horse)
instead. - lib/partner.php Function
get_partner
useLotgdTool::getPartner(bool $player)
instead. - lib/title.php All functions:
valid_dk_title
useLotgdTool::validDkTitle($title, $dks, $gender)
instead.get_dk_title
useLotgdTool::getDkTitle($dks, $gender, $ref)
instead.
- lib/names.php All functions:
get_player_title
useLotgdTool::getPlayerTitle($old)
instead.get_player_basename
useLotgdTool::getPlayerBasename($old)
instead.change_player_name
useLotgdTool::changePlayerName($newname, $old)
instead.change_player_ctitle
useLotgdTool::changePlayerCtitle($nctitle, $old)
instead.change_player_title
useLotgdTool::changePlayerTitle($ntitle, $old)
instead.
- lib/personal_functions.php Function
killplayer
useLotgdKernel::get('lotgd_core.tool.staff')->killPlayer($explossproportion, $goldlossproportion)
instead. - lib/holiday_texts.php Function
holidayize
useLotgdTool::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
- Example in
- BC
src/core/Navigation/Navigation.php
methodfightNav
useLotgdKernel::get('lotgd_core.combat.battle')->fightNav()
instead- See in
public/forest.php
- See in
- 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/battle/buffs.php
- 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
, ...
- lib/addnews.php Removed deprecated function
5.5.4
🌀 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
andpvpdefeat
- Fixed error with translation keys
- Function:
pvpvictory
- Now select correct max experience to lost
- Function:
- src/core/Repository/CharactersRepository.php Function
getCharacterForPvp
Fix error, now addcharacter_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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
5.5.3
🌀 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
5.5.2
🌀 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
5.5.1
🌀 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies
5.5.0
🌀 CHANGES
- This pages use a controller to render content of page
public/forest.php
use controllerLotgd\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/
tosrc/core/Repository/
- Added transition classes in
src/core/EntityRepository/
to avoid BC, this clases will removed in version 6.0.0.
- Added transition classes in
- From
- Battle
- Refactor Battle to use services. See
public/battle.php
- Refactor Battle to use services. See
- 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 servicelotgd_core.service.paypal.buttons
inconfig/service.yaml
- Example of usage in
- Add sonata block event
- Add new Sonata Block Events:
- themes/LotgdTheme/templates/page/home.html.twig
lotgd.core.page.home.pre
avoid usingincludeTemplatesPre
in$params
lotgd.core.page.home.index
avoid usingincludeTemplatesIndex
in$params
lotgd.core.page.home.text
avoid usinghookHomeText
in$params
lotgd.core.page.home.middle
avoid usinghookHomeMiddle
in$params
lotgd.core.page.home.post
avoid usingincludeTemplatesPost
in$params
- themes/LotgdTheme/templates/page/home.html.twig
- themes/LotgdTheme/templates/_layout.html.twig
- Add Sonata Block Event to some templates:
- 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
useLotgdKernel::get('lotgd_core.combat.battle')->activateBuffs($tag)
insteadprocess_lifetaps
useLotgdKernel::get('lotgd_core.combat.battle')->processLifeTaps($ltaps, $damage)
insteadprocess_dmgshield
useLotgdKernel::get('lotgd_core.combat.battle')->processDmgShield($dshield, $damage)
insteadexpire_buffs
useLotgdKernel::get('lotgd_core.combat.battle')->expireBuffs()
insteadexpire_buffs_afterbattle
useLotgdKernel::get('lotgd_core.combat.battle')->expireBuffsAfterBattle()
instead
- lib/battle/extended.php
prepare_data_battlebars
useLotgdKernel::get('lotgd_core.combat.battle')->prepareDataBattleBars($enemies)
insteadprepare_fight
useLotgdKernel::get('lotgd_core.combat.battle')->prepareFight($options)
insteadprepare_companions
useLotgdKernel::get('lotgd_core.combat.battle')->prepareCompanions()
insteadsuspend_companions
useLotgdKernel::get('lotgd_core.combat.battle')->suspendCompanions($susp, $nomsg)
insteadunsuspend_companions
useLotgdKernel::get('lotgd_core.combat.battle')->unSuspendCompanions($susp, $nomsg)
insteadautosettarget
useLotgdKernel::get('lotgd_core.combat.battle')->autoSetTarget($localenemies)
insteadreport_companion_move
useLotgdKernel::get('lotgd_core.combat.battle')->reportCompanionMove($companion, $activate)
insteadrollcompaniondamage
useLotgdKernel::get('lotgd_core.combat.battle')->rollCompanionDamage($companion)
insteadbattle_spawn
useLotgdKernel::get('lotgd_core.combat.battle')->battleSpawn($creature)
insteadbattle_heal
useLotgdKernel::get('lotgd_core.combat.battle')->battleHeal($amount, $target)
insteadexecute_ai_script
useLotgdKernel::get('lotgd_core.combat.battle')->executeAiScript($script)
instead
- lib/battle/functions.php
battle_player_attacks
useLotgdKernel::get('lotgd_core.combat.battle')->battlePlayerAttacks()
insteadbattle_badguy_attacks
useLotgdKernel::get('lotgd_core.combat.battle')->battleBadguyAttacks()
insteadbattlevictory
useLotgdKernel::get('lotgd_core.combat.battle')->battleVictory($enemies, $denyflawless, $forest)
insteadbattlegainexperienceforest
useLotgdKernel::get('lotgd_core.combat.battle')->battleGainExperienceForest()
insteadbattlegainexperiencegraveyard
useLotgdKernel::get('lotgd_core.combat.battle')->battleGainExperienceGraveyard()
insteadbattledefeat
useLotgdKernel::get('lotgd_core.combat.battle')->battleDefeat($enemies, $where, $candie, $lostexp, $lostgold)
insteadbattleshowresults
useLotgdKernel::get('lotgd_core.combat.battle')->battleShowResults($lotgdBattleContent)
instead
- lib/battle/skills.php
rolldamage
useLotgdKernel::get('lotgd_core.combat.battle')->rollDamage()
insteadreport_power_move
useLotgdKernel::get('lotgd_core.combat.battle')->reportPowerMove($crit, $dmg)
insteadsuspend_buffs
useLotgdKernel::get('lotgd_core.combat.battle')->suspendBuffs($susp, $msg)
insteadsuspend_buff_by_name
use"LotgdKernel::get('lotgd_core.combat.battle')->suspendBuffByName($name, $msg)
insteadunsuspend_buff_by_name
useLotgdKernel::get('lotgd_core.combat.battle')->unsuspendBuffByName($name, $msg)
insteadis_buff_active
useLotgdKernel::get('lotgd_core.combat.battle')->isBuffActive($name)
insteadunsuspend_buffs
useLotgdKernel::get('lotgd_core.combat.battle')->unsuspendBuffs($susp, $msg)
insteadapply_bodyguard
useLotgdKernel::get('lotgd_core.combat.battle')->applyBodyguard($level)
insteadapply_skill
useLotgdKernel::get('lotgd_core.combat.battle')->applySkill($skill, $l)
instead
- lib/battle/buffs.php
- lib/buffs.php All functions (removed in future version)
calculate_buff_fields
useLotgdKernel::get('lotgd_core.combat.buffs')->calculateBuffFields()
insteadrestore_buff_fields
useLotgdKernel::get('lotgd_core.combat.buffs')->restoreBuffFields()
insteadapply_buff
useLotgdKernel::get('lotgd_core.combat.buffs')->applyBuff($name, $buff)
insteadapply_companion
useLotgdKernel::get('lotgd_core.combat.buffs')->applyCompanion($name, $companion, $ignorelimit)
insteadstrip_buff
useLotgdKernel::get('lotgd_core.combat.buffs')->stripBuff($name)
insteadstrip_all_buffs
useLotgdKernel::get('lotgd_core.combat.buffs')->stripAllBuffs()
insteadhas_buff
useLotgdKernel::get('lotgd_core.combat.buffs')->hasBuff($name)
instead
- lib/tempstat.php All functions (removed in future version)
apply_temp_stat
useLotgdKernel::get('lotgd_core.combat.temp_stats')->applyTempStat($name, $value, $type)
insteadcheck_temp_stat
useLotgdKernel::get('lotgd_core.combat.temp_stats')->checkTempStat($name, $color)
insteadsuspend_temp_stats
useLotgdKernel::get('lotgd_core.combat.temp_stats')->suspendTempStats()
insteadrestore_temp_stats
useLotgdKernel::get('lotgd_core.combat.temp_stats')->restoreTempStats()
instead
- lib/fightnav.php
fightnav
useLotgdNavigation::fightNav($allowspecial, $allowflee, $script)
instead - lib/datetime.php All functions (removed in future version)
checkday
useLotgdKernel::get('lotgd_core.tool.date_time')->checkDay()
insteadis_new_day
useLotgdKernel::get('lotgd_core.tool.date_time')->isNewDay()
insteadgetgametime
useLotgdKernel::get('lotgd_core.tool.date_time')->getGameTime()
insteadgametime
useLotgdKernel::get('lotgd_core.tool.date_time')->gameTime()
insteadconvertgametime
useLotgdKernel::get('lotgd_core.tool.date_time')->convertGameTime($intime, $debug)
insteadgametimedetails
useLotgdKernel::get('lotgd_core.tool.date_time')->gameTimeDetails()
insteadsecondstonextgameday
useLotgdKernel::get('lotgd_core.tool.date_time')->secondsToNextGameDay($details)
instead
- lib/increment_specialty.php
increment_specialty
useLotgdKernel::get('lotgd_core.tool.player_functions')->incrementSpecialty($colorcode, $spec)
instead - lib/playerfunctions.php All functions (removed in future version)
get_player_hitpoints
useLotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerHitpoints($player)
insteadexplained_get_player_hitpoints
useLotgdKernel::get('lotgd_core.tool.player_functions')->explainedGetPlayerHitpoints($player, $colored)
insteadget_player_attack
useLotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerAttack($player)
insteadexplained_row_get_player_attack
useLotgdKernel::get('lotgd_core.tool.player_functions')->explainedRowGetPlayerAttack($player)
insteadexplained_get_player_attack
useLotgdKernel::get('lotgd_core.tool.player_functions')->explainedGetPlayerAttack($player, $colored)
insteadget_player_defense
useLotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerDefense($player)
insteadexplained_row_get_player_defense
useLotgdKernel::get('lotgd_core.tool.player_functions')->explainedRowGetPlayerDefense($player)
insteadexplained_get_player_defense
useLotgdKernel::get('lotgd_core.tool.player_functions')->explainedGetPlayerDefense($player, $colored)
insteadget_player_speed
useLotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerSpeed($player)
insteadget_player_physical_resistance
useLotgdKernel::get('lotgd_core.tool.player_functions')->getPlayerPhysicalResistance($player)
instead
- lib/creaturefunctions.php All functions (removed in future version)
lotgd_generate_creature_levels
useLotgdKernel::get('lotgd_core.tool.creature_functions')->lotgdGenerateCreatureLevels($level)
inst...
5.4.3
🌀 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
- Read info in
- composer.json Updated/Added/Deleted dependencies
- package.json Updated/Added/Deleted dependencies