2Moons

Forum for the 2Moons-browsergameengine.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

Unread Threads

Topic Replies Last Reply

Problema Installation SQL

12

DenPUBG

[UPDATE] New Star V4.7- FINAL RELEASE +

6

Dany92

Пишем свой шаблонизатор - для новичков

7

DenPUBG

Recent Activities

  • DenPUBG -

    Replied to the thread Problema Installation SQL.

    Post
    php 7.1 работает стабильно , а 7.2 и 7.3 могут давать ошибки в разных модах, но поправить не сложно. MySQL 5.7 , которая работает до php 8.1 . Что выше это уже MySQL 8 то есть к нему уже связка php8.2, 8.3 на данный момент 8.4 есть
  • Наглядно с подробным описанием готовлю материал по созданию своего шаблонизатора, заодно поймете как подключать twig + поймете логику с…
  • Dany92 -

    Replied to the thread [UPDATE] New Star V4.7- FINAL RELEASE +.

    Post
    Small Update ( 4.8.5 ) - Added new 5 element premium for boosters section - Fix LNG same string wrong - Admin Panel : the labels in the universe options panel have been replaced with checkboxes where the option only allowed to be enabled or disabled -…
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    в этом уроке (готовлю) создаем роутер и контролер для базы данных, кстати будет не совсем чистое pdo, потому что оно тормознее чем обычное и просто распиаренное, а так просто тупо мост по обращению к разным типам данных и при помощи SQLmap
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    далее ползем в файл error.php И подключаем composer В самом верху после <? php пишем require_once _DIR_ .'/../vendor/autoload.php'; далее открываем файл index.php И пишем <?php require_once 'engine/autoload.php'; Если правильно все…
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    теперь создаем composer 1) переходим в проводнике в корневую деррикторию проекта и открываем консоль через контекстное меню 2) в терминале пишем - composer init жмем enter и попадаем в корень проекта для…
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    Source Code (10 lines)тут мы создаем вывод ошибок + впервые используем не include, а через зависимость обращается к файлам, получаем аргументы через зависимость и выводим.. Потом ошибки когда создадим базу настроим так что бы было видно лишь разработчику
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    PHP Source Code (13 lines)тут мы создали конструктор и функцию запуска зависимости. В дальнейшем его дополним , пока хватит так, будут вопросы по встроеным командам php спрашивайте, пока лень описывать, позже все распишу к каждому файлу
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    PHP Source Code (15 lines)на данный момент мы создали зависимости, в дальнейшем дополнительные проверками, пока достаточно этого отрезка кода.. очень…
  • DenPUBG -

    Replied to the thread Пишем свой шаблонизатор - для новичков.

    Post
    структура на начальном этапе , остальное создадим в процессе, тут просто создадим шаблонизатор и начальную структуру.. Внимание! Папки…
  • DenPUBG -

    Posted the thread Пишем свой шаблонизатор - для новичков.

    Thread
    Наглядно с подробным описанием готовлю материал по созданию своего шаблонизатора, заодно поймете как подключать twig + поймете логику с…
  • DenPUBG -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    If I progress well, I think that in 2 or 3 months this version will be put into testing for possible bug fixes. I am of course talking about coding time, I do it in my free time. ------------------- si j'avance bien je pense que dans 2 mois ou 3 mois…
  • DenPUBG -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    For the architecture I already have a project in MVC for galactic-conquest which is coded from 0 without taking anything back. For this version 3 it is mainly a big update of the current code of 2moons under a recent php as well as twig which is much…
  • skynet -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    Ok, no hay apuro... Entiendo que las prioridades son otras cosas. Pero igual se agradece como siempre.
  • skynet -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    If I progress well, I think that in 2 or 3 months this version will be put into testing for possible bug fixes. I am of course talking about coding time, I do it in my free time. ------------------- si j'avance bien je pense que dans 2 mois ou 3 mois…
  • Danter14 -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    If I progress well, I think that in 2 or 3 months this version will be put into testing for possible bug fixes. I am of course talking about coding time, I do it in my free time. ------------------- si j'avance bien je pense que dans 2 mois ou 3 mois…
  • skynet -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    Quote from Danter14: “For the architecture I already have a project in MVC for galactic-conquest which is coded from 0 without taking anything back. For this version 3 it is mainly a big update of the current code of 2moons under a recent php as well…
  • skynet -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    For the architecture I already have a project in MVC for galactic-conquest which is coded from 0 without taking anything back. For this version 3 it is mainly a big update of the current code of 2moons under a recent php as well as twig which is much…
  • Danter14 -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    For the architecture I already have a project in MVC for galactic-conquest which is coded from 0 without taking anything back. For this version 3 it is mainly a big update of the current code of 2moons under a recent php as well as twig which is much…
  • skynet -

    Liked DenPUBG’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    если кому то хочется по разбираться попозже скину готовый базовый движок с подключеным twig + вывод не через .TPL а .TWIG можете тоже попробовать, приеду с командировки выложу
  • DenPUBG -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    Hello, I'm currently showing you the new architecture for this V3 which is in progress. Using : Php >= 8.3 Twig -> Template Composer -> dependency Tailwindcss -> Css PS: if you have any questions, please let me…
  • DenPUBG -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    если кому то хочется по разбираться попозже скину готовый базовый движок с подключеным twig + вывод не через .TPL а .TWIG можете тоже попробовать, приеду с командировки выложу
  • DenPUBG -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    частично тоже такая структура она базовая включая vendor, но я немного по своему, сейчас переписываю часть, базовая которая принята всеми по стандарту, такие как папки core, controller, config все так же, но игровые я отдельно в папку games ,
  • skynet -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    Quote from Danter14: “Hello, I'm currently showing you the new architecture for this V3 which is in progress. Using : Php >= 8.3 Twig -> Template Composer -> dependency Tailwindcss -> Css PS: if you have any questions, please let me…
  • skynet -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    Hello, I'm currently showing you the new architecture for this V3 which is in progress. Using : Php >= 8.3 Twig -> Template Composer -> dependency Tailwindcss -> Css PS: if you have any questions, please let me…
  • Danter14 -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    Hello, I'm currently showing you the new architecture for this V3 which is in progress. Using : Php >= 8.3 Twig -> Template Composer -> dependency Tailwindcss -> Css PS: if you have any questions, please let me…
  • DenPUBG -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    А еще один вопрос по переделке игры ... Я сейчас через composer создаю конфиг зависимостей, я правильно прописал авто загрузку зависимостей, или что то пропустил? "recuire" : {} , "autoload" : { "par-4" :{ тут приписываемые основные дерриктории } }…
  • Danter14 -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    Quote from DenPUBG: “Плюс могу ли использовать конвертер to-twig для более быстрого преобразования со smarty? github.com/victormacko/to-twig ” I don't use it, I do everything from scratch for the design and changes.
  • Danter14 -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    for the new version I am with twig
  • DenPUBG -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    Плюс могу ли использовать конвертер to-twig для более быстрого преобразования со smarty? github.com/victormacko/to-twig
  • DenPUBG -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    вы используете какое у себя расширение .TPL или . TWIG {%extends overview.twig%} {%block left_menu%} Меню.. {%endblock%} {%block header%} Верхние Меню.. {%endblock%} Правильно ли я вывод делаю?
  • Danter14 -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    Yes, of course, the structure is more ergonomic for classes loader with PSR-4
  • the new version I'm making works with namespaces
  • DenPUBG -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    значит вы тоже в эту сторону идете , мне так очень удобней и понятнее стала конструкция, , еще с контролерами разберусь .. :) а так же через composer autoload грузите обновление классов?
  • Danter14 -

    Replied to the thread Правильно ли я меняю подход include на namespace?.

    Post
    the new version I'm making works with namespaces
  • DenPUBG -

    Posted the thread Правильно ли я меняю подход include на namespace?.

    Thread
    пытаюсь сейчас вместо постоянного обращения как include переделать на вариант более удобный используя вот такой подход что позволит в…
  • Dany92 -

    Replied to the thread [UPDATE] New Star V4.7- FINAL RELEASE +.

    Post
    Small Update ( 4.8 ) - All Bank closed if player is under attack - Fix LNG same miss string for quest section - Added message auto vs player when added new quest - Event Xylos now steel your dark matter if player lose - New Template for email of the…
  • DenPUBG -

    Liked Danter14’s post in the thread Let's discuss the future of 2moons.

    Like (Post)
    Information Click ici
  • DenPUBG -

    Replied to the thread Let's discuss the future of 2moons.

    Post
    К сожалению мне не посмотреть. у нас youtube ricktube.ru/watch/AyGsXq9fDvg вот решил момент обхода, импортировав ролик, смотрите у кого те же проблемы с блокировкой youtube
  • Abyss -

    Liked Danter14’s post in the thread [MOD] Rapid fire editor of DB (v1.8, v2.0).

    Like (Post)
    As promised here is a version for the admin panel with the code redone and optimized as much as possible - The code is fully documented - Adding a pagination - Added a search bar by IDs - Works under versions 1.8, 1.9, 2.0, new star A like and a return…