DragonPrime - LoGD Resource Community

Core Code Development Discussions => Core Development Discussion => Topic started by: Zelgadiss on May 10, 2017, 01:59:52 AM

Title: LOTGD improved (IDMarinas)
Post by: Zelgadiss on May 10, 2017, 01:59:52 AM
Hi all  ;D
I have redone the core of the game to better adapt to the current times, it is only a set-up of the core of the game and some improvements. For example, the template system has been changed and the database connection script has been updated. Now the game needs PHP> = 5.6.

Some of the most outstanding features of IDMarinas Edition:
    Composer: now LOTGD can manage external dependences. Only need add dependences in a composer.json file.
    CronJobs: LOTGD has a simple CronJob for run all tasks of game.
      ○ You can create new CronJobs:
          Create a PHP file with all code of your script them
          Upload to "cronjob/" folder
          Create a CronJob in: Settings -> CronJob Settings
      ○ For these wonderful CronJobs to work, you just have to create one on your server and this CronJob will be in charge of running all the tasks through the CronJob system of LOTGD.
    Cache system: remodeled, now you can forced to use cache as you need.
      ○ You can find in Game settings and options for control cache of game. For example:
          Optimize cache
          Clear expire cache
          Clear all cache
          Clear by prefix cache
    Themes: In this version templates are now know as "themes".  For create a UI now using Semantic UI. Easily customize the appearance of the game.
      ○ Old templates (templates of 1.1.* and before) are not compatible with this version.
    Templates: LOTGD use a template system Twig, for render all HTML code (not all for now). This avoid adding HTML code to PHP files and facilitates the customization of certain parts of game.
      ○ TODO: the intention is that everything that is HTML pass it to templates
    Battle: remodeled and improved.
      ○ Now you can include "battle.php" in your modules and no need no more.
      ○ This file execute the victory and defeat.
      ○ But you can customize the behavior.
      ○ The presentation of the battle results has been improved, allowing to customize the appearance.
    Now can send mails in HTML format. Is possible personalize template of this mails.
    Parts of JavaScript in PHP files have been passed to JS files

For more detailed information, see ChangeLog.

Last release is: 2.3.0

You can find the game code at https://bitbucket.org/idmarinas/lotgd-game as well as more information
Changelog: https://bitbucket.org/idmarinas/lotgd-game/src/master/CHANGELOG.md
Wiki: https://bitbucket.org/idmarinas/lotgd-game/wiki/Home
Issues: https://bitbucket.org/idmarinas/lotgd-game/issues

You can find a demo of my version in http://lotgd.infommo.es

P.D: A personal adapted version (Spanish) http://draconia.infommo.es

See you in the Kingdom ^_^

Title: Re: LOTGD improved (IDMarinas)
Post by: Aeolus on May 10, 2017, 05:38:52 AM
Thank you for your contribution.

However, I would still recommend the download in the Downloads section, as it has multiple and many bug fixes that have been reported since its initial release.

© 2018 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines