Настройка Расширения

ĦĄŇĢǾVξŘ

καταλημμα
Сообщения
293
Реакции
336
оно по дефолту с sourcemod`ом идет в папке extensions
путь: server\cstrike\addons\sourcemod\extensions
Для windows все расширения заканчиваются .dll
Для linux все расширения заканчиваются .so
 

Юра Савченко

Участник
Сообщения
20
Реакции
0
оно по дефолту с sourcemod`ом идет в папке extensions
путь: server\cstrike\addons\sourcemod\extensions
Для windows все расширения заканчиваются .dll
Для linux все расширения заканчиваются .so

он у меня есть, а вот плагины пишут
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "jail_ct_quiz.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "sm_ctban.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "JailBro_Balance.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "RoundEndSound.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "otkaz.smx": Native "ConVar.AddChangeHook" was not found
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
с чем это связано ?
 

September

Участник
Сообщения
5,238
Реакции
2,742
  • Команда форума
  • #4
он у меня есть, а вот плагины пишут
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "jail_ct_quiz.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "sm_ctban.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "JailBro_Balance.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "RoundEndSound.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "otkaz.smx": Native "ConVar.AddChangeHook" was not found
L 07/22/2015 - 18:22:05: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
с чем это связано ?

В databases.cfg

прописано?
HTML:
"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
 

Юра Савченко

Участник
Сообщения
20
Реакции
0
В databases.cfg

прописано?
HTML:
"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}

у меян небыло прописано этого в бд, спасибо
но у меня теперь другая проблема
L 07/22/2015 - 18:54:01: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error: config file 'addons/sourcemod/configs/questions_list.cfg' not exists or not correct
L 07/22/2015 - 18:54:01: [SM] Displaying call stack trace for plugin "jail_ct_quiz.smx":
L 07/22/2015 - 18:54:01: [SM] [0] Line 80, C:\Users\Sergey\Desktop\���� ���\sourcemod\scripting\jail_ct_quiz.sp::OnMapStart()
L 07/22/2015 - 18:54:01: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error: config file 'addons/sourcemod/configs/questions_list.cfg' not exists or not correct
L 07/22/2015 - 18:54:01: [SM] Displaying call stack trace for plugin "JailBro_Balance.smx":
L 07/22/2015 - 18:54:01: [SM] [0] Line 1080, C:\Users\Sergey\Desktop\���� ���\sourcemod\scripting\JailBro_Balance.sp::OnMapStart()
[SM] The plugin list has been refreshed and reloaded.
L 07/22/2015 - 18:54:01: [sm_ctban.smx] Default database database connection failure: Could not find database conf "default"
L 07/22/2015 - 18:54:01: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error while connecting to default database. Exiting.
L 07/22/2015 - 18:54:01: [SM] Displaying call stack trace for plugin "sm_ctban.smx":
L 07/22/2015 - 18:54:01: [SM] [0] Line 534, /home/forums/content/files/5/4/6/4/8/143438.attach::DB_Callback_Connect()
 

dron216

Участник
Сообщения
111
Реакции
26
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error: config file 'addons/sourcemod/configs/questions_list.cfg' not exists or not correct
Файл по пути addons/sourcemod/configs/questions_list.cfg не найден.

L 07/22/2015 - 18:54:01: [sm_ctban.smx] Default database database connection failure: Could not find database conf "default"
Ошибка подключения к БД, не удается найти конфигурацию БД "default"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
- эта секция отсутствует в databases.cfg
 

September

Участник
Сообщения
5,238
Реакции
2,742
  • Команда форума
  • #7
у меян небыло прописано этого в бд, спасибо
но у меня теперь другая проблема
L 07/22/2015 - 18:54:01: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error: config file 'addons/sourcemod/configs/questions_list.cfg' not exists or not correct
L 07/22/2015 - 18:54:01: [SM] Displaying call stack trace for plugin "jail_ct_quiz.smx":
L 07/22/2015 - 18:54:01: [SM] [0] Line 80, C:\Users\Sergey\Desktop\���� ���\sourcemod\scripting\jail_ct_quiz.sp::OnMapStart()
L 07/22/2015 - 18:54:01: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error: config file 'addons/sourcemod/configs/questions_list.cfg' not exists or not correct
L 07/22/2015 - 18:54:01: [SM] Displaying call stack trace for plugin "JailBro_Balance.smx":
L 07/22/2015 - 18:54:01: [SM] [0] Line 1080, C:\Users\Sergey\Desktop\���� ���\sourcemod\scripting\JailBro_Balance.sp::OnMapStart()
[SM] The plugin list has been refreshed and reloaded.
L 07/22/2015 - 18:54:01: [sm_ctban.smx] Default database database connection failure: Could not find database conf "default"
L 07/22/2015 - 18:54:01: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2015 - 18:54:01: [SM] Native "SetFailState" reported: Error while connecting to default database. Exiting.
L 07/22/2015 - 18:54:01: [SM] Displaying call stack trace for plugin "sm_ctban.smx":
L 07/22/2015 - 18:54:01: [SM] [0] Line 534, /home/forums/content/files/5/4/6/4/8/143438.attach::DB_Callback_Connect()

Заходишь в /cfg/sourcemod/ и открываешь файл ctbans.cfg

sm_ctban_database_driver "default" меняешь на sm_ctban_database_driver "ctban"

в databases.cfg пропиши
HTML:
"ctbans"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"ctbans"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		"port"				"3306"
	}

Потом зайди в addons/sourcemod/configs/ и создай файл questions_list.cfg
 
Сверху Снизу