Просмотр полной версии : [Вопрос] Не могу не как разобраться.Помогите пожалуйста!
Diman2285
18.08.2015, 13:55
Мод Unknown почему не знаю server_log вот:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[13:53:39]
[13:53:39] Server Plugins
[13:53:39] --------------
[13:53:39] Loading plugin: crashdetect
[13:53:39] CrashDetect v4.10 is OK.
[13:53:39] Loaded.
[13:53:39] Loading plugin: mysql
[13:53:39]
> MySQL plugin R5 successfully loaded.
[13:53:39] Loaded.
[13:53:39] Loading plugin: sscanf
[13:53:39]
[13:53:39] ===============================
[13:53:39] sscanf plugin loaded.
[13:53:39] Version: 2.8.1
[13:53:39] (c) 2012 Alex "Y_Less" Cole
[13:53:39] ===============================
[13:53:39] Loaded.
[13:53:39] Loading plugin: streamer
[13:53:39]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[13:53:39] Loaded.
[13:53:39] Loaded 4 plugins.
[13:53:39]
[13:53:39] Ban list
[13:53:39] --------
[13:53:39] Loaded: samp.ban
[13:53:39]
[13:53:39]
[13:53:39] Filterscripts
[13:53:39] ---------------
[13:53:39] Loading filterscript 'mgmap.amx'...
[13:53:39] Loaded 1 filterscripts.
[13:53:39] [debug] Run time error 19: "File or function is not found"
[13:53:39] [debug] mysql_function_query
[13:53:39] [debug] cache_get_data
[13:53:39] [debug] cache_get_field_content_int
[13:53:39] [debug] cache_get_field_content
[13:53:39] [debug] cache_get_field_content_float
[13:53:39] [debug] mysql_log
[13:53:39] [debug] Run time error 19: "File or function is not found"
[13:53:39] [debug] mysql_function_query
[13:53:39] [debug] cache_get_data
[13:53:39] [debug] cache_get_field_content_int
[13:53:39] [debug] cache_get_field_content
[13:53:39] [debug] cache_get_field_content_float
[13:53:39] [debug] mysql_log
[13:53:39] Script[gamemodes/mg.amx]: Run time error 19: "File or function is not found"
[13:53:39] Number of vehicle models: 0
Помогите пожалуйста
Скиньте строку plugins из server.cfg. Скорее всего, Вы там забыли подключить mysql.dll (.so)
Скиньте строку plugins из server.cfg. Скорее всего, Вы там забыли подключить mysql.dll (.so)
[13:53:39] Loading plugin: mysql
[13:53:39]
> MySQL plugin R5 successfully loaded.
[13:53:39] Loaded.
:russian_roulette:
Desulaid
18.08.2015, 14:28
Попробуй поставить MySQL R34
[13:53:39] Loading plugin: mysql
[13:53:39]
> MySQL plugin R5 successfully loaded.
[13:53:39] Loaded.
:russian_roulette:
[13:53:39] [debug] cache_get_field_content_int
[13:53:39] [debug] cache_get_field_content
[13:53:39] [debug] cache_get_field_content_float
[13:53:39] [debug] mysql_log
[13:53:39] [debug] Run time error 19: "File or function is not found"
[13:53:39] [debug] mysql_function_query
[13:53:39] [debug] cache_get_data
[13:53:39] [debug] cache_get_field_content_int
[13:53:39] [debug] cache_get_field_content
[13:53:39] [debug] cache_get_field_content_float
[13:53:39] [debug] mysql_log
[13:53:39] Script[gamemodes/mg.amx]: Run time error 19: "File or function is not found"
[13:53:39] Number of vehicle models: 0
Логично было предположить что косяк из-за mysqlплагина. Не внимательно прочел лог -_-
Diman2285
18.08.2015, 16:11
Попробуй поставить MySQL R34
Это как?
Desulaid
18.08.2015, 16:11
File or function is not found - файл или функция не определена. Ты MySQL плагин другой версии ставил?
Diman2285
18.08.2015, 16:11
Скиньте строку plugins из server.cfg. Скорее всего, Вы там забыли подключить mysql.dll (.so)
plugins crashdetect mysql sscanf streamer
Desulaid
18.08.2015, 16:12
Вот, попробуй с R34 скомпилировать [получить ссылку без всякого гугла и регистрация] (https://github.com/pBlueG/SA-MP-MySQL/releases)
Diman2285
18.08.2015, 16:17
File or function is not found - файл или функция не определена. Ты MySQL плагин другой версии ставил?
У меня там всё было на линуксе.Я туда добавил .dll файлы.
- - - Добавлено - - -
Вот, попробуй с R34 скомпилировать [получить ссылку без всякого гугла и регистрация] (https://github.com/pBlueG/SA-MP-MySQL/releases)
----------
C P34 при компилирование пишет
C:\Users\Карасёв\Desktop\MyGame\gamemodes\mg.pwn(18622) : error 017: undefined symbol "mysql_ping"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Я почитал что это за еррор и убрал эту строчку и потом я опять попробовал компилировать вышло:
C:\Users\Карасёв\Desktop\MyGame\gamemodes\mg.pwn(18624) : error 010: invalid function or declaration
C:\Users\Карасёв\Desktop\MyGame\gamemodes\mg.pwn(18632) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Строчки с 18624-18632 вот:
}else{
print("Подключиться неудалось, проверьте данные подключения:");
print(" hostname: "#mysql_host" ");
print(" db_name : "#mysql_db" ");
print(" username: "#mysql_user" ");
print(" password: "#mysql_pass" \n ");
mysql = 0, GameModeExit();
print("Перезагрузка... ");
return false;
Desulaid
18.08.2015, 16:17
У меня там всё было на линуксе.Я туда добавил .dll файлы.
И их подключил? :D Но факт остается фактом, MySQL плагин (.so надеюсь) не имеет необходимых функций. Скачай R34 замени все файлы, скомпилируй и заново запусти.
:crazy: Зачем менять версию плагина? :crazy:
Это приведет еще к более большим проблемам. Ты уверен, что инклуд и сам плагин одной версии? А так же покажи mysql_log
- - - Добавлено - - -
plugins crashdetect mysql sscanf streamer
Если ваш сервер стоит на хостинге, то к плагинам стоить добавить .so
Например:
plugins crashdetect.so mysql.so sscanf.so streamer.so
А так же поместить их в папку "plugins"
Diman2285
21.08.2015, 03:43
Я хочу запустить у себя его на компе
мускул лог:17:46:43] [INFO] Now logging: errors
[17:46:43] [INFO] Now logging: errors
[17:46:43] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread(LoadGmat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread(LoadDom) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread(LoadHouse) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread(LoadHata) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread(LoadStuff) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:43] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_users' doesn't exist (error ID: 1146)
[17:46:54] [INFO] Now logging: errors
[17:46:54] [INFO] Now logging: errors
[17:46:54] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread(LoadGmat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread(LoadDom) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread(LoadHouse) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread(LoadHata) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread(LoadStuff) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:46:54] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_users' doesn't exist (error ID: 1146)
[17:48:43] [INFO] Now logging: errors
[17:48:43] [INFO] Now logging: errors
[17:48:44] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread(LoadGmat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread(LoadDom) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread(LoadHouse) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread(LoadHata) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread(LoadStuff) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:44] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_users' doesn't exist (error ID: 1146)
[17:48:55] [INFO] Now logging: errors
[17:48:55] [INFO] Now logging: errors
[17:48:55] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread(LoadGmat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread(LoadDom) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread(LoadHouse) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread(LoadHata) - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread(LoadStuff) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread(LoadMat) - Table 'ordinM1X.mgw_config' doesn't exist (error ID: 1146)
[17:48:55] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_users' doesn't exist (error ID: 1146)
[17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
[17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
Не и таких строчек ещё полно [17:50:18] [ERROR] ProcessQueryThread() - Table 'ordinM1X.mgw_house' doesn't exist (error ID: 1146)
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. Перевод: zCarot