Jump to content

lime|sg

Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by lime|sg

  1. spacer.png

    Hello! It's time for a major update! MTA:SA Developers: Mobile 3.1 is now available in Google Play! This version includes such things as:

    •  Dark theme
    •  Ability to view Renderware models, including a visual representation of the model, as well as viewing a dump of the model
    •  Reading mode in the code editor
    •  Highlighting code blocks on the forum
    •  More Screen
    • Settings screen where you can configure:
      • Application theme
      • Enable / Disable code wrapping on the forum
      • Enable / Disable automatic video start on the forum
      • Load localized Wiki pages
      • Enable MTA:SA Wiki deeplinks for Android 12+ (it is disabled by default)
    • Community MTA:SA screen containing:
      • Recently uploaded resources that you can download
    • MTA:SA Server List screen with the ability to:
      • View a sorted list of MTA:SA servers
      • Edit list of favorite servers
    • Screen with partners
    • MTA:SA Wiki deeplinks
    • Embedded browser

    Special thanks for your assistance @Sarrum & SimoSbara! These people helped make this release possible.

    Link to participate in the testing program:
    https://play.google.com/apps/testing/ru.limedev.mtacse
    Link to install the application on Google play:
    https://play.google.com/store/apps/details?id=ru.limedev.mtacse

  2. Hello! I'm ready to share good news with you! MTA:SA Developers: Mobile app is now updated to version 3.0.2! This release includes fixes and optimizations of the application:

    • Fixed application crash when opening empty archives
    • Fixed bugs in opening dialogs about saving files and archives
    • Application architecture optimization

    The link is: https://play.google.com/store/apps/details?id=ru.limedev.mtacse

    Thanks to everyone who participated in finding bugs!

  3. I recently watched a video of Clan War in Deathmatch racing mode. I noticed that some maps are not entirely fair due to the fact that one player dies closer to the end of the map, but before the last player who was further from the finish line. The idea came to mind, why not make it mandatory for all maps to create huge checkpoints (which you will 100% hit when you pass a certain place).


    Previously, I developed MTA resources and at the moment I understand that such an idea is quite real, but unfortunately now I do not have time to implement it.
    So, which implementations are real:

    1. The map author must embed a certain script with checkpoints into the map, which the server will read.
    2. People will generate their own checkpoints by going through the map, but this implementation has disadvantages: campers can break the system and it will not work correctly. You will have to create an admin script to correct checkpoints.

    Yes, naturally it will be difficult to implement such a resource in servers that have tens of thousands of cards without checkpoints, but there are also advantages of the resource: fair and higher-quality autonomous play.


    How do you like this idea? Do you think it’s realistic to implement it or are there any other side effects? Interested to hear your thoughts on this!

    • Like 1
  4. Hi all! Today MTA:SA Developers: Mobile version 3.0.1 was released for testing! Thank you very much all who took part in the first testing, during which some bugs were identified and fixed of today's release! In addition, new features have appeared in the application:
    • Added syntax highlighting in Wiki code blocks
    • Added copying and importing code from Wiki to the code editor
    • Fixed FPS drop when scrolling HTML and XML code in the code editor
    • Added a standard name when creating a file from the code editor
    • Added saving of opened file in the file manager
    • Added synchronization with the physical keyboard in the code editor, hotkeys:
      • CTRL + LEFT (move the caret to the beginning of the line)
      • CTRL + RIGHT (move the caret to the end of the line)
      • ALT + LEFT (caret shift to previous word)
      • ALT + RIGHT (caret shift to next word)
      • CTRL + Z (undo)
      • CTRL + Y (redo)
      • CTRL + S (save file)
      • CTRL + D (clear code editor)
      • ALT + M (open code editor menu)
      • ALT + DOWN (hide tabs)
      • ALT + UP (show tabs)
    The link to participate in testing the new version of the application is the same: https://play.google.com/apps/testing/ru.limedev.mtacse
    • Like 1
  5. Preface
    Hi all! Today I want to present to you a piece of work that I have been working on for two and a half years! I was once an MTA:SA scripter, but life has turned out in such a way that now I develop Android applications, but I still have a love for MTA. That's why I wanted to make a small contribution to the MTA and create a mobile application. Actually, let me introduce MTA:SA Developers: Mobile - a mobile application for MTA:SA developers!

    spacer.png

    About the application
    MTA:SA Developers: Mobile is an improved version of the MTA Compiler & Script editor application, which contains features such as:

    • Mobile version of the MTA:SA forum
    • Readable MTA:SA Wiki
    • Improved file manager
    • And, of course, a code editor

    By the way, I wrote about MTA Compiler & Script editor in this article.

    Now the file manager has the ability to work separately with archives and individual files, as well as the ability to save and encrypt both a separate script and an entire archive with a resource. The code editor has acquired a new engine, it has become more convenient to work with. Also, in addition to XML, Lua, HLSL syntaxes, I introduced into it support for HTML syntax with support for Lua functions.

    https://i.imgur.com/OoAkvV4.png

    In addition, the application allows you to follow MTA:SA online: by opening the application, or by placing a widget on your desktop.

    https://i.imgur.com/GGXmBTC.png

    Background
    In fact, three years ago I did not plan to improve the application; the idea arose spontaneously when I opened the MTA Wiki on my mobile phone and the site seemed very inconvenient to me. Later, I decided that it would be cool to also have news when opening the application. Two years later, I had the Forum and Wiki tab ready. But they didn’t look very cool, to put it mildly. And everything worked poorly: images in the news feed jumped after loading when scrolling, there were a lot of bugs. In part, this is due to the fact that I essentially did not have (and ultimately did not have) a forum API. Here's what it looked like:

    https://i.imgur.com/JcUBN2M.jpg

    Thanks to my wife, she was the one who implemented the new mobile application design!

    What is the status now and what are your plans for the future?
    I'm very glad that I finally released this app! In version 3.0 of the application, I tried to implement a Minimum Viable Product (MVP). In addition, I have removed all advertising from the application. I have a project on GitHub that has scheduled issues for versions 3.0.1 and 3.1. In future versions of the application, I would also like to implement the MTA Server list, as well as the MTA Community. Naturally, the project will live if I see that it is being used and there is some support in my direction.

    What else
    Haha, I forgot the most important thing, to leave you links to the application! Actually, at the moment, you can download and use the application as a regular user, as well as as an open testing tester (updates will come earlier for testers).

    Link to participate in the testing program:
    https://play.google.com/apps/testing/ru.limedev.mtacse
    Link to install the application on Google play:
    https://play.google.com/store/apps/details?id=ru.limedev.mtacse
    Link to install the application in Huawei App Gallery (if you see an old application, it means the new one has not yet been approved):
    https://appgallery.huawei.com/#/app/C103285117

    Please, if you find a bug in the application, report it here, or better yet, become a tester and write to me on Google Play!

    I would like to express special thanks to @Sarrum and @Tut for their good feedback and help when I had questions.
    Thank you all for your attention! 👋

    • Like 1
  6. Hi! I continue to refine my editor. Now the version 2.1.10 was released (build 16 is a bit damp, build 17 will be stable).

    The updates of the engine
    - Fully updated file upload / obfuscation process
    - Support for images and sounds
    - Created a cache to save open archives before packing
    - Fixed bugs with screen rotation, saving settings, as well as minor bugs

    Updates in the editor
    - Created a search for the contents of files
    - Updated syntax highlighting: HLSL, XML-like files

    The link is the same: https://play.google.com/store/apps/details?id=ru.limedev.mtacse

    The pictures from Google Play show the main things that was included in the update:

    rkVgyIrOW-21MZmFzC8l-1khE3iguGppAcmKsHWZ khDWo-zwZD_soEKuMezabbae8IZJRBPcve73aH8t

  7. Привет! Продолжаю дорабатывать свой редактор. Итак, на днях вышел релиз 2.1.10 (сборка 16 - сыровата, 17 сборка будет стабильной).

    Обновления движка
    - Полностью обновлён процесс загрузки / обфускации файлов
    - Поддержка изображений и звуков
    - Создан кэш для сохранения открытых архивов перед запаковкой
    - Исправлены баги с поворотом экрана, сохранением настроек, а также мелкие баги

    Обновления в редакторе
    - Создан поиск по содержимому файлов
    - Обновлена подсветка синтаксиса: HLSL, XML-подобные файлы

    Ссылка та же: https://play.google.com/store/apps/details?id=ru.limedev.mtacse

    На картинках из Google Play представлено основное, что вошло в обновление:

    OozbBwp73L6sVGFWhRqGVi8hMIe-uBAq0X1G4DU4 f2vIcZnPTcvHKRNXgWmsZgCnm8gLuQv-G5BTplNr

    • Thanks 1
  8. У тебя инициализация элементов GUI находится внутри функции admin. Для начала, сделай инициализацию вне функции, либо запускай всю функцию, чтобы создать всё дерево элементов твоего окна (не советую, т.к. лучше создать всё один раз)

    PS: используй дебаг, чтобы отслеживать ошибки. Здесь, возможно, ещё и проблемы со скобками.

  9. Привет, сообщество! Сегодня я хочу представить вам свое Android-приложение для компиляции скриптов Lua и редактирования ресурсов MTA.

    В приложении много полезных функций, таких как:

    - Распаковка и просмотр zip архивов
    - Компиляция Lua скриптов в архиве
    - Просмотр и редактирование кода скрипта
    - Сжатие открытых файлов в zip архив

    Кроме того, редактор скриптов имеет подсветку Lua и XML синтаксиса, а также отображение строк в скрипте. Имеет поддержку русского и английского языков.

    Скачать приложение можно из AppGallery:

    https://appgallery.huawei.com/#/app/C103285117

    spacer.png

    spacer.png

    spacer.png

    spacer.png

    • Thanks 2
  10. Hello community! Today I want to present you my Android application for compiling Lua scripts and editing MTA resources.

    The application has many useful functions, such as:

    - Unpacking and viewing zip archives
    - Compiling Lua scripts in the archive
    - Viewing and editing script code
    - Zip opened files or save archives

    In addition, the script editor has Lua and XML syntax highlighting and displaying lines in the script. Application has English and Russian languages.

    You can download it from AppGallery:

    https://appgallery.huawei.com/#/app/C103285117

    spacer.png

    spacer.png

    spacer.png

    spacer.png

    • Like 1
  11. Первое, если ты делаешь карту для GTA:SA, ты в любом случае будешь заменять какие-то файлы txd и dff, либо их добавлять. Второе, определись, что тебе надо, мта или gta, не понятен вопрос.

  12. On 06/09/2019 at 20:03, FatJoey said:

    Не запускается МТА из за ошибки со шрифтом "Verdana.ttf", оданко на ПК он присутствует, что делать?

    Кроме системных шрифтов windows имеются шрифты в папках игры. Возможно их нет. Попробуй переустановить игру.

  13. On 17/10/2019 at 11:00, TheNormalnij said:
    
    bindKey( "k", "down", "voiceptt", 1 )
    

     

    Я бы лучше проверял сначала функцией isKeyBound, при возвращении значения true удалял бинды с помощью unbindKey и только после этого назначал клавише новый bind.

  14. 18 minutes ago, K1parik said:

    один вопрос - а зачем это нужно?

    Предположим ты разработчик ресурса и тебе нужно получить массив координат, скажем... с точками остановок автобуса в скрипте. Как вариант, поможет. Второе - шифровка. Любую карту можно зашифровать, если ты не хочешь, чтобы её увидел кто-то (да, я знаю, что в кэш клиенту карты не попадают, но вдруг ты выкладываешь ресурс в закрытом коде и у тебя ещё в нём карта).

    6 hours ago, Disinterpreter said:

    Читай мою подпись.

    Спасибо, не знал это, если честно. Исправлюсь.

  15. Начну с того, что я, возможно, не первый кто подумал реализовать конвертер файлов карт в Lua скрипты. Знаю, что есть конвертер ipl карт в карты MTA и много других, но здесь другое. Собственно, ближе к делу, хочу вам показать свою версию конвертера .map карт в Lua скрипты.

    Данный конвертер расположен на сайте, где вы можете сконвертировать ваши карты в онлайн-режиме: LimeDev.ru

    Возможности конвертера

    В принципе, он выдаст скрипт на любой файл, который вы туда засунете, но главная суть заключается в массивах выданного скрипта. На данный момент конвертер может обрабатывать:

    • Объекты;
    • Маркеры;
    • Ботов;
    • Транспорт;
    • Удаление объектов.

    К сожалению, с пикапами не разобрался, так как при конвертации имеются конфликты строк с числами. Думаю в скором времени разберёмся и с этим.

    Какой скрипт мы получаем

    На выходе мы получаем вполне работоспособный скрипт серверного типа. Всё что нужно сделать - написать для него мета-файл и запустить как ресурс.

    Они самые ?

    В ходе тестирования багов замечено не было. О любой некорректной работе прошу сообщать сюда. Спасибо.

     

    PS: от вас принимаю любую критику, только обоснованную, пожалуйста.

  16. I have enabled PHP errors and got the next error:

    Notice: fwrite(): send of 1 bytes failed with errno=1 Operation not permitted in .../httpdocs/tset/tset.php on line 6

    The line is: fwrite($socket, "s");

×
×
  • Create New...