Jump to content

Sarrum

Scripting Moderators
  • Posts

    1,039
  • Joined

  • Days Won

    11

Everything posted by Sarrum

  1. ?. Если есть исходный код, можно добавить к выводу код ошибки (fetchRemote > есть пример с statusCode), дабы понять в чём проблема.
  2. ?. Дождитесь ответа в другой вашей теме: Закрыто.
  3. ?. There is the DPI aware checkbox in the Video settings tab, which should solve your issue.
  4. Sarrum

    Crash

    ?. Try playing on less modded servers (where there are almost no mods). If the game will work fine and without crashes, then it's probably the fault of the server you usually play on.
  5. Sarrum

    Script issues

    The logs contain the following lines: External HTTP file download error:[6] Error downloading requested files. Couldn't resolve host name. [getaddrinfo() thread failed to start] [ffs_tuning/images/stickers/mreow.png] (Disabling External HTTP) [ffs_tuning\images\stickers\mreow.png]54.37.245.209:22003 External HTTP file download error:[6] Error downloading requested files. Couldn't resolve host name. [getaddrinfo() thread failed to start] [images/stickers/nissanskyliner34gtr.png] (Disabling External HTTP) [ffs_tuning\images\stickers\jackolantern.png]54.37.245.209:22003 External HTTP file download error:[6] Error downloading requested files. Couldn't resolve host name. [getaddrinfo() thread failed to start] [images/stickers/nissanskyliner34gtr.png] (Disabling External HTTP) [ffs_tuning\images\stickers\nissanskyliner34gtr.png]54.37.245.209:22003 & INFO: script.lua download failed: 6 INFO: mod.lua download failed: 6 INFO: music2.mp3 download failed: 6 INFO: music.lua download failed: 6 Error code 6 means: Couldn't resolve host. The given remote host was not resolved. And this error is identical to the HTTP errors above. For some reason it is not possible to establish an HTTPS connection (as I understand it, they use HTTPS for download server). This prevents downloading scripts, maps and other files. Perhaps, you have some program, which intercepts the connection. It's worth trying to get rid of unnecessary programs and try again by going to the server.
  6. Sarrum

    It disconects me

    ?. If you haven't solved the problem yet, download and run MTADiag and follow the instructions. When completed you will be given a pastebin link, post it here.
  7. Sarrum

    MTA script issue

    I checked the logs and here's what I can answer: your notebook does not have a discrete graphics card and memory is allocated from RAM for the integrated graphics card. By default, only 80 MB are allocated and this amount of memory is not enough for the server on which you play. Because of this some fonts and images are not displayed. Actually it's a server problem, because if the custom font is not loaded, they need to use the default - but not about that now. How it can be solved: in short, in the BIOS (restart the PC and start tapping the F10 key) you need to find Advanced Features or similar option, now click on Video/Graphics settings (or VGA Share Memory Size / UMA Frame Buffer Size / Share Memory), allocate more video memory, save the changes and restart your system. BUT it is important to understand that video memory will be taken from RAM, so don't set it too high (considering that you have only 4 GB of RAM).
  8. Sarrum

    Script issues

    Well then, let's gather some information that might be useful. But it is better to do this after you encounter a problem on the server. 1) Download and run MTADiag and follow the instructions. When completed you will be given a pastebin link, post it here. 2) Go to your MTA San Andreas folder, find the MTA/logs/clientscript.log file, upload it to https://upload.mtasa.com/ and share the link here.
  9. Sarrum

    MTA script issue

    ?. Download and run MTADiag and follow the instructions. When completed you will be given a pastebin link, post it here. Perhaps there will be something useful for diagnostics. Then go to your MTA San Andreas folder, find the MTA/logs/clientscript.log file, upload it to https://upload.mtasa.com/ and share the link here.
  10. ?. Download and run MTADiag and follow the instructions. When completed you will be given a pastebin link, post it here.
  11. Sarrum

    Windows 11

    ?. Yes, you can update your OS and play MTA. Currently, there are players who are using Windows 11 and have no issues.
  12. ?. Переместил тему в подфорум Скриптинг. Используйте событие onClientElementStreamIn, оно сработает когда элемент попадёт в зону стрима. Затем проверяйте тип элемента (getElementType(source) == "vehicle"), модель и скрывайте компоненты.
  13. ?. When using downloadFile function, the files must be on the external server too. Make sure they are there.
  14. Sarrum

    Script issues

    ?. Maybe it is a server problem. Have you tried contacting the admins of the server? There may be useful info in the server log.
  15. ?. Такой возможности нет. Но есть альтернативные варианты, которые можно использовать, по типу проверки на нужного игрока в коде.
  16. На вашем месте я бы переустановил полностью сервер, тем самым все файлы и настройки восстановились бы по умолчанию. Затем запустил бы чистый сервер для проверки работоспособности. Однако придётся всё вновь закачивать через FTP. Ну и сделайте копию нужных файлов на свой ПК, если такие имеются.
  17. Ваш сервер (Artemiz RP [RUS] OPEN BETA TEST - 5.9.8.*) на данный момент отображается в списке серверов, однако имеет другие порты: 14663 и HTTP 11697. В конфигурационном файле у вас: <serverport>36748</serverport> <httpport>36749</httpport> Убедитесь, что вы не трогали эти данные, если используете готовый игровой хостинг.
  18. @MaReK_, try installing GTA somewhere else (e.g. C:\Program Files (x86)\Grand Theft Auto San Andreas) and reinstall MTA. @SKYDAZ, ?. Can you try temporarily disabling Bitdefender and see if that has any effect? @MaReK_, same goes for you, if reinstalling GTA to a new folder doesn't help.
  19. ?. Download and run MTADiag and follow the instructions. When completed you will be given a pastebin link, post it here.
  20. ?. Потребление оперативной памяти зависит от самих серверов. Есть сервера, где мало контента/хорошая оптимизация, соответственно там и не требуется такой объём. Либо же наоборот, владельцы злоупотреб‎ляют памятью, что вызывает вылеты, низкий FPS и прочие проблемы.
  21. ?. Покажите содержимое файла конфигурации (mtaserver.conf).
  22. ... - переменное количество аргументов. Почитать можно например здесь или здесь (на англ.). Если коротко, при неопределённом количестве можно вставить в конец списка многоточие (тем самым пропустить перечисление параметров через запятую) и использовать в функции. В данном случае можно поступить таким образом: local args = { ... } outputDebugString ( eventName .. ", " .. tostring ( args [ 1 ] ) .. ", " .. tostring ( args [ 2 ] ) ) -- по аналогии с triggerServerEvent: args[1] - theElement, args[2] - первый аргумент из списка аргументов (и так до бесконечности) -- или: outputDebugString ( eventName .. ", " .. inspect ( args ) ) -- альтернативный вариант, если нужны все аргументы Либо же сразу всё через iprint(...) вывести в дебаг.
×
×
  • Create New...