Помогите с сомби мод

Обсуждаем все, что относится к выделенным серверам *NIX (Unix, Linux) и Windows
Ответить
Сообщение
Автор
BMW M6
Капитан
Капитан
Сообщения: 338
Зарегистрирован: 15.09.2011
Благодарил (а): 9 раз
Поблагодарили: 5 раз

#1 Сообщение 11.03.2012, 18:21

Поставил скины, сервер включается но плагин ZR не работает. Ругается на файл playerclasses.txt
Вот его содержание:
// ============================================================================
//
// Zombie:Reloaded Class configuration
//
// See Class Configuration (3.7) in the manual for detailed info.
//
// ============================================================================
//
// SHORT DESCRIPTIONS
//
// Attribute: Values: Description:
// ----------------------------------------------------------------------------
// enabled yes/no Enables or disables a class.
// team number Specifies what team the class belongs to:
// 0 - Zombies
// 1 - Humans
// 2 - Admin mode classes (incomplete feautre!)
// team_default yes/no Marks the class as the default class in the team.
// flags number Special class flags (bit field). To combine multiple flags
// use a sum of the flag values. Available flags:
// 1 - Admins only
// 2 - Mother zombies only
// group text Restrict class to member of this SourceMod group. Leave blank for no restriction.
// name text The class name used in class menu.
// description text The class description used in class menu.
// model_path text Path to model to use. Relative to cstrike folder.
// alpha_initial number Initial transparency setting.
// alpha_damaged number Transparency when damaged.
// alpha_damage number How much damage to do before switching alpha.
// overlay_path text Overlay displayed at the player.
// nvgs yes/no Give and turn on night vision.
// fov number Field of view value. 90 is default.
// has_napalm yes/no Allows player to throw napalm grenades. Humans only.
// napalm_time decimal Napalm burn duration. Zombies only.
// immunity_mode number Sets the immunity mode.
// immunity_amount decimal Sets the immunity value.
// no_fall_damage on/off Disables fall damage.
// health number How many health points to give.
// health_regen_interval decimal Sets the regeneration interval. 0 to disable.
// health_regen_amount number How much HP to give per interval.
// health_infect_gain number How much HP to give when the player infects someone. Zombies only.
// kill_bonus number How many points to give per kill. Zombies only.
// speed decimal The player speed.
// knockback decimal Force of the knockback when shot at. Zombies only.
// jump_height decimal Multiplier of the players jump height. 0.0 means no jump boost, 1.0 is normal.
// jump_distance decimal Multiplier of the players jump distance. 0.0 means no forward jump boost, 1.0 is normal.

"classes"
{
// ------------------------------------------
//
// Zombie classes
//
// ------------------------------------------
"zombie_classic"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""

"name" "Zombie"
"description" "Zombie"

// Model
"model_path" "models/player/zh/zh_charple001.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "no"
"napalm_time" "3"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"

"health" "7500"
"health_regen_interval" "0.0"
"health_regen_amount" "100"
"health_infect_gain" "100"
"kill_bonus" "2"

"speed" "325"
"knockback" "4"
"jump_height" "1.1"
"jump_distance" "1.1"
}

"zombie_fast"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""

"name" "Zombie_fast"
"description" "Zombie_fast"

// Model
"model_path" "models/player/zh/zh_corpse002.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "yes"
"napalm_time" "0.0"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"

"health" "7500"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"

"speed" "325"
"knockback" "0"
"jump_height" "1.1"
"jump_distance" "1.1"
}

"zombie_mutated"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""

"name" "Zombie_mutated"
"description" "Zombie_mutated"

// Model
"model_path" "models/player/zh/zh_zombie003.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "yes"
"napalm_time" "0.0"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"

"health" "7500"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"

"speed" "310"
"knockback" "1.0"
"jump_height" "1.1"
"jump_distance" "1.1"
}

"fatty"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""

"name" "fatty"
"description" "fatty"

// Model
"model_path" "models/player/elis/fty/fatty.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "yes"
"napalm_time" "0.0"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"

"health" "7500"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"

"speed" "275"
"knockback" "1.0"
"jump_height" "1.1"
"jump_distance" "1.1"
}

"mother_zombie"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" "0"

"name" "Mother zombie"
"description" "Mother zombie"

// Model
"model_path" "models/player/zh/zh_charple001.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "yes"
"napalm_time" "0.0"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"

"health" "7500"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"

"speed" "230"
"knockback" "1.0"
"jump_height" "1.1"
"jump_distance" "1.1"
}

"mother_zombie_admin"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "3"
"group" ""

"name" "mother_zombie_admin"
"description" "mother_zombie_admin"

// Model
"model_path" "models/player/zh/zh_charple001.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "yes"
"napalm_time" "0.0"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"

"health" "7500"
"health_regen_interval" "0.25"
"health_regen_amount" "10"
"health_infect_gain" "700"
"kill_bonus" "1"

"speed" "250"
"knockback" "1.0"
"jump_height" "1.1"
"jump_distance" "1.1"
}

"hidden"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "3"
"group" ""

"name" "hidden"
"description" "hidden"

// Model
"model_path" "models/player/elis/hdv3/hidden.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "yes"
"napalm_time" "0.0"

// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"

"health" "7500"
"health_regen_interval" "0.25"
"health_regen_amount" "10"
"health_infect_gain" "700"
"kill_bonus" "1"

"speed" "250"
"knockback" "1.0"
"jump_height" "1.1"
"jump_distance" "1.1"
}

kadet89
Майор
Майор
Сообщения: 557
Зарегистрирован: 26.12.2006

#2 Сообщение 11.03.2012, 18:25

На оф. сайте в оф. теме спроси
И там телепатов тоже нет, поэтому "сервер включается но плагин ZR не работает. Ругается на файл playerclasses.txt" не прокатит, предется всетаки поднапрячься, проявить немного уважения, и написать всё подробно.

BMW M6
Капитан
Капитан
Сообщения: 338
Зарегистрирован: 15.09.2011
Благодарил (а): 9 раз
Поблагодарили: 5 раз

#3 Сообщение 11.03.2012, 19:34

Код: Выделить всё

vlad@vlad:~$ cd /home/vlad/server/zm/css/ && ./start.sh
Starting ZombieMod
Starting ZombieMod finish
vlad@vlad:~/server/zm/css$ screen -r zm
  09 "MapChooser" (1.4.1) by AlliedModders LLC
  10 "Anti-Ping Mask" (1.6.0) by atom0s
  11 "Anti-Flood" (1.4.1) by AlliedModders LLC
  12 "Sound Commands" (1.4.1) by AlliedModders LLC
  13 "HLstatsX CE Ingame Plugin" (1.6.15) by psychonic
  14 "Client Preferences" (1.4.1) by AlliedModders LLC
  15 "Round and Map End Sound" (2.4.5) by FrozDark (HLModders.ru LLC)
  16 "Admin File Reader" (1.4.1) by AlliedModders LLC
  17 "Rock The Vote" (1.4.1) by AlliedModders LLC
  18 "Welcome Sound" (0.0.1) by R-Hehl
  19 "Nextmap" (1.4.1) by AlliedModders LLC
  20 "Admin Help" (1.4.1) by AlliedModders LLC
  21 "Admin Menu" (1.4.1) by AlliedModders LLC
  22 "Weapon Restrict" (3.0.7) by Dr!fter
  23 "Map Nominations" (1.4.1) by AlliedModders LLC
  24 "Fun Votes" (1.4.1) by AlliedModders LLC
  25 "Basic Votes" (1.4.1) by AlliedModders LLC
  26 "Fun Commands" (1.4.1) by AlliedModders LLC
  27 <Error> "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
  28 "Player Commands" (1.4.1) by AlliedModders LLC
Load Errors:
Zombie:Reloaded: [Player Classes] [Config Validation] The class configuration doesn't match the team requirements.
V70
OC linux
Стоит последняя версия ZR
Вот логи

Код: Выделить всё

L 03/11/2012 - 19:29:43: SourceMod error session started
L 03/11/2012 - 19:29:43: Info (map "zm_kobi_panic") (file "errors_20120311.log")
L 03/11/2012 - 19:29:43: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 03/11/2012 - 19:29:43: [admin-flatfile.smx]  (line 8) Unknown group "Admin"
L 03/11/2012 - 19:29:43: [admin-flatfile.smx]  (line 16) Unknown group "Admin"
L 03/11/2012 - 19:29:43: [zombiereloaded.smx] [Player Classes] [Config Validation] Warning: Invalid group at index 4: "0"
L 03/11/2012 - 19:29:43: [zombiereloaded.smx] [Player Classes] [Config Validation] Warning: Invalid class at index 4, disabled class. Class error flags: 16.
L 03/11/2012 - 19:29:43: [SM] Plugin encountered error 25: Call was aborted
L 03/11/2012 - 19:29:43: [SM] Native "SetFailState" reported: [Player Classes] [Config Validation] The class configuration doesn't match the team requirements.
L 03/11/2012 - 19:29:43: [SM] Displaying call stack trace for plugin "zombiereloaded.smx":
L 03/11/2012 - 19:29:43: [SM]   [0]  Line 344, src/zr/log.inc::LogEvent()
L 03/11/2012 - 19:29:43: [SM]   [1]  Line 632, src/zr/playerclasses/playerclasses.inc::ClassLoad()
L 03/11/2012 - 19:29:43: [SM]   [2]  Line 222, src/zombiereloaded.sp::OnConfigsExecuted()

Аватара пользователя
Punkk
Капитан
Капитан
Сообщения: 481
Зарегистрирован: 04.01.2008
Поблагодарили: 11 раз

#4 Сообщение 11.03.2012, 20:07

А без скинов все работало ?
Ну и если да То правь то что надбавлял
+ у тебя несуществующие группы присутствуют

BMW M6
Капитан
Капитан
Сообщения: 338
Зарегистрирован: 15.09.2011
Благодарил (а): 9 раз
Поблагодарили: 5 раз

#5 Сообщение 11.03.2012, 20:26

Да, работало :)

Ответить