2Moons
Forum for the 2Moons-browsergameengine.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
Recent Activities
-
Danter14 -
Replied to the thread Problema Installation SQL.
Postyes you can't use the language class with php 8 if you don't modify it -
Russoll -
Replied to the thread Problema Installation SQL.
Posti get this when trying to install Return value of Language::offsetGet() must be an instance of mixed, string returned nm php was wrong on server -
DenPUBG -
Replied to the thread Problema Installation SQL.
Postphp 7.1 работает стабильно , а 7.2 и 7.3 могут давать ошибки в разных модах, но поправить не сложно. MySQL 5.7 , которая работает до php 8.1 . Что выше это уже MySQL 8 то есть к нему уже связка php8.2, 8.3 на данный момент 8.4 есть -
mimikri -
Liked DenPUBG’s post in the thread Пишем свой шаблонизатор - для новичков.
Like (Post)Наглядно с подробным описанием готовлю материал по созданию своего шаблонизатора, заодно поймете как подключать twig + поймете логику с… -
Dany92 -
Replied to the thread [UPDATE] New Star V4.7- FINAL RELEASE +.
PostSmall 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 Пишем свой шаблонизатор - для новичков.
PostSource Code (10 lines)тут мы создаем вывод ошибок + впервые используем не include, а через зависимость обращается к файлам, получаем аргументы через зависимость и выводим.. Потом ошибки когда создадим базу настроим так что бы было видно лишь разработчику -
DenPUBG -
Replied to the thread Пишем свой шаблонизатор - для новичков.
PostPHP Source Code (13 lines)тут мы создали конструктор и функцию запуска зависимости. В дальнейшем его дополним , пока хватит так, будут вопросы по встроеным командам php спрашивайте, пока лень описывать, позже все распишу к каждому файлу -
DenPUBG -
Replied to the thread Пишем свой шаблонизатор - для новичков.
PostPHP 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.
PostOk, 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.
PostIf 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.
PostQuote 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.
PostFor 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.
PostQuote 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.
PostHello, 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?.
PostQuote 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?.
Postfor 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?.
PostYes, of course, the structure is more ergonomic for classes loader with PSR-4 -
DenPUBG -
Liked Danter14’s post in the thread Правильно ли я меняю подход include на namespace?.
Like (Post)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?.
Postthe 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 +.
PostSmall 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