Проблема с модом

Добро пожаловать!

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

Зарегистрироваться!
  • Если Вы желаете помогать развитию проекта, готовы заполнять раздел(-ы) и подсказывать другим пользователям на портале, есть возможность попасть в команду редакторов. Для этого следует обратиться в техническую поддержку
Pawn-Samp
Активный
Пользователь
Регистрация
4 Май 2024
Сообщения
165
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team


Server Plugins
--------------
Loading plugin: sscanf


===============================

sscanf plugin loaded.

Version: 2.8.3

(c) 2018 Alex "Y_Less" Cole

===============================

Loaded.
Loading plugin: CRP
Failed.
Loading plugin: crashdetect
CrashDetect plugin 4.19
Loaded.
Loading plugin: streamer


*** Streamer Plugin v2.9.4 by Incognito loaded ***

Loaded.
Loading plugin: pawnraknet
[Pawn.RakNet] plugin v1.6.0 loading...
[Pawn.RakNet]

| Pawn.RakNet 1.6.0 | 2016 - 2023
|--------------------------------
| Author and maintainer: katursis


| Compiled: Feb 12 2023 at 19:36:19
|--------------------------------------------------------------
| Repository: https://github.com/katursis/Pawn.RakNet
|--------------------------------------------------------------
| Wiki: https://github.com/katursis/Pawn.RakNet/wiki

Loaded.
Loading plugin: mysql_static
Failed.
Loading plugin: YSF

==============================================
YSF 2.2 (compiled Sep 19 2021 13:01:03) loaded
(c) 2008 Alex "Y_Less" Cole
(c) 2010 - 2018 kurta999
(c) 2018 - 2020 IllidanS4
Server version: 0.3.7 R2-1 or R2-2, Windows
==============================================

Loaded.
Loading plugin: pawncmd
Pawn.CMD plugin v3.2.0 by urShadow has been loaded
Loaded.
Loading plugin: TOTP
TOTP plugin v1.0.1 by Games loaded.
Loaded.
Loading plugin: mapandreas
Loaded.
Loading plugin: CLA
Loaded.
Loading plugin: LauncherAddon

========[ LauncherAddon 1.3 ]========

Версия сервера: 0.3.7 R2
Операционная система: Windows

(c) - legendabrn -

Проверка активации...
Проверка активации успешно пройдена
===============================

Loaded.
Loaded 10 plugins.


Started server on 127.0.0.1:1171, with maxplayers: 50 lanmode is OFF.


Filterscripts
---------------
Loading filterscript 'map.amx'...
[Launcher Addon]: Warning - В загружаемом AMX не подключен инклуд LauncherAddon.inc
Loading filterscript 'bitstream_ruslan.amx'...
Unable to load filterscript 'bitstream_ruslan.amx'.
Loading filterscript 'activity_palace.amx'...
[Launcher Addon]: Warning - В загружаемом AMX не подключен инклуд LauncherAddon.inc
[Sinister Yard] Sinister Yard was successfully authenticated.
Loaded 2 filterscripts.

[debug] Run time error 19: "File or function is not found"
[debug] ConvertRusToPwn
[debug] cache_get_row
[debug] mysql_query
[debug] cache_get_row_count
[debug] cache_delete
[debug] mysql_format
[debug] mysql_tquery
[debug] cache_get_row_int
[debug] mysql_connect
[debug] mysql_errno
[debug] mysql_set_charset
[debug] mysql_close
[debug] cache_get_field_content_int
[debug] mysql_escape_string
[debug] mysql_pquery
[debug] cache_insert_id
[debug] cache_get_row_float
[debug] orm_create
[debug] orm_addvar_int
[debug] orm_addvar_float
[debug] orm_addvar_string
[debug] orm_setkey
[debug] orm_update
[debug] orm_destroy
[debug] cache_get_field_content
[debug] cache_get_data
[debug] cache_get_field_content_float
[debug] Run time error 19: "File or function is not found"
[debug] ConvertRusToPwn
[debug] cache_get_row
[debug] mysql_query
[debug] cache_get_row_count
[debug] cache_delete
[debug] mysql_format
[debug] mysql_tquery
[debug] cache_get_row_int
[debug] mysql_connect
[debug] mysql_errno
[debug] mysql_set_charset
[debug] mysql_close
[debug] cache_get_field_content_int
[debug] mysql_escape_string
[debug] mysql_pquery
[debug] cache_insert_id
[debug] cache_get_row_float
[debug] orm_create
[debug] orm_addvar_int
[debug] orm_addvar_float
[debug] orm_addvar_string
[debug] orm_setkey
[debug] orm_update
[debug] orm_destroy
[debug] cache_get_field_content
[debug] cache_get_data
[debug] cache_get_field_content_float
Script[gamemodes/arizona.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
может кто то знает что делать
 
Пользователь
Регистрация
15 Ноя 2023
Сообщения
21

Решение проблемы: Run time error 19: "File or function is not found"​

В этом уроке я изложу все варианты,которые я знаю из за которых может появится данная ошибка в консоли при запуске сервера.

1.У вас может быть не скомпилирован мод

Заходим в папку gamemodes и открываем .pwn файл и нажимаем в клавишу F5

2.Мод не до конца скомпилировался, или amx. файл поврежден

Проверяем размер amx. файла, если 0 кб, значит ошибка компиляции. Проблема в исходном коде, или ошибка запуска компилятора. Запускайте pawncc.exe от имени администратора.
Иногда amx. повреждается при передаче через ftp, проверьте размер рабочего amx. с размером залитого на сервер. В случае несовпадения - повторите передачу amx. на сервер

3.У вас нету в моде "точки входа" (функция main)
Открываем мод и добавляем в любое место: ( не в stock и не public естественно )

PHP:
PHP код:
main(){}

4.У вас не установлена программы на компьютере Net Framework или Microsoft Visual C++
Net Framework: http://www.microsoft.com/downloads/r...D-AAB15C5E04F5
Microsoft Visual:http://www.microsoft.com/downloads/r...3-37BF0912DB84

5.Не прописаны в server.cfg плагины(нужно проверить используются в моде они или нет для начала)
Заходим в папку с сервером и находим файл server.cfg и если у вас нету строки plugins,то добавляем в конце plugins Имя плагина
Если у вас стоит Linux то после имя плагина должно быть написано так Имя плагина.so

6. Стоит pawn от другой версии sa:mp, и сам сервер тоже от другой
 
Pawn-Samp
Активный
Пользователь
Регистрация
4 Май 2024
Сообщения
165
@z1poff,Сделал как вы сказали вот
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team


Server Plugins
--------------
Loading plugin: mysql
>> plugin.mysql: R41-4 successfully loaded.
Loaded.
Loading plugin: sscanf


===============================

sscanf plugin loaded.

Version: 2.8.3

(c) 2018 Alex "Y_Less" Cole

===============================

Loaded.
Loading plugin: CRP
Failed.
Loading plugin: crashdetect
CrashDetect plugin 4.19
Loaded.
Loading plugin: streamer


*** Streamer Plugin v2.9.4 by Incognito loaded ***

Loaded.
Loading plugin: pawnraknet
[Pawn.RakNet] plugin v1.6.0 loading...
[Pawn.RakNet]

| Pawn.RakNet 1.6.0 | 2016 - 2023
|--------------------------------
| Author and maintainer: katursis


| Compiled: Feb 12 2023 at 19:36:19
|--------------------------------------------------------------
| Repository: https://github.com/katursis/Pawn.RakNet
|--------------------------------------------------------------
| Wiki: https://github.com/katursis/Pawn.RakNet/wiki

Loaded.
Loading plugin: mysql_static
Failed.
Loading plugin: YSF

==============================================
YSF 2.2 (compiled Sep 19 2021 13:01:03) loaded
(c) 2008 Alex "Y_Less" Cole
(c) 2010 - 2018 kurta999
(c) 2018 - 2020 IllidanS4
Server version: 0.3.7 R2-1 or R2-2, Windows
==============================================

Loaded.
Loading plugin: pawncmd
Pawn.CMD plugin v3.2.0 by urShadow has been loaded
Loaded.
Loading plugin: TOTP
TOTP plugin v1.0.1 by Games loaded.
Loaded.
Loading plugin: mapandreas
Loaded.
Loading plugin: CLA
Loaded.
Loading plugin: LauncherAddon

========[ LauncherAddon 1.3 ]========

Версия сервера: 0.3.7 R2
Операционная система: Windows

(c) - legendabrn -

Проверка активации...
Проверка активации успешно пройдена
===============================

Loaded.
Loaded 11 plugins.


Started server on port: 1171, with maxplayers: 50 lanmode is OFF.


Filterscripts
---------------
Loading filterscript 'map.amx'...
[Launcher Addon]: Warning - В загружаемом AMX не подключен инклуд LauncherAddon.inc
Loading filterscript 'bitstream_ruslan.amx'...
Unable to load filterscript 'bitstream_ruslan.amx'.
Loading filterscript 'activity_palace.amx'...
[Launcher Addon]: Warning - В загружаемом AMX не подключен инклуд LauncherAddon.inc
[Sinister Yard] Sinister Yard was successfully authenticated.
Loaded 2 filterscripts.

[debug] Run time error 19: "File or function is not found"
[debug] ConvertRusToPwn
[debug] cache_get_row
[debug] cache_get_row_int
[debug] cache_get_field_content_int
[debug] cache_get_row_float
[debug] cache_get_field_content
[debug] cache_get_data
[debug] cache_get_field_content_float
[debug] Run time error 19: "File or function is not found"
[debug] ConvertRusToPwn
[debug] cache_get_row
[debug] cache_get_row_int
[debug] cache_get_field_content_int
[debug] cache_get_row_float
[debug] cache_get_field_content
[debug] cache_get_data
[debug] cache_get_field_content_float
Script[gamemodes/arizona.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
 
Создатель WayDev
Команда форума
Администратор
Регистрация
13 Мар 2022
Сообщения
781
@Rasul,

Loading plugin: mysql_static
Failed.

Если запускаешь сервер на Windows - вместо статической версии используй обычную (для чайников: вместо mysql_static - mysql в server.cfg).
 
Сверху