Всем привет.
При добавлении классов в models.txt получаю это:
Как только стираю добавленный класс (или любой другой) меню начинает работать исправно. Проверил на нескольких скинах (классах). Выглядит, как где то я допустил ошибку или существует лимит на добавление классов (сомнительно). Даже если "перекопировать" один класс несколько раз не добавляя новый то меню выбора скинов перестаёт работать и игроки респаунятся с дефолтным скином ксгоу.
Ошибка:
Содержимое models.txt (если добавить ещё один класс то появится неисправное меню как на скрине выше)
Решение проблемы (да это ограничение кол-ва классов, сомнительное оказалось правдой):
При добавлении классов в models.txt получаю это:
Как только стираю добавленный класс (или любой другой) меню начинает работать исправно. Проверил на нескольких скинах (классах). Выглядит, как где то я допустил ошибку или существует лимит на добавление классов (сомнительно). Даже если "перекопировать" один класс несколько раз не добавляя новый то меню выбора скинов перестаёт работать и игроки респаунятся с дефолтным скином ксгоу.
Ошибка:
[0] Line 107, zr/models.inc::ModelsLoad()
[1] Line 222, zombiereloaded.sp::OnConfigsExecuted()
Содержимое models.txt (если добавить ещё один класс то появится неисправное меню как на скрине выше)
// ================================================== ==========================
//
// ZOMBIE:RELOADED
// Model configuration
//
// See Model Configuration (3.5) section in the manual for detailed info.
//
// ================================================== ==========================
//
// SHORT DESCRIPTIONS
//
// Attribute: Description:
// ----------------------------------------------------------------------------
// name Name of model file, without extension.
// path Path to model files. MUST end with "/".
// team Model type:
// "zombies"
// "humans"
// access Access type:
// "public" - Everyone can use the model.
// "admins" - Model can only be used by admins.
// "hidden" - Model is excluded from public random selections.
// "motherzombies" - Model can only be used by mother zombies.
// "group" - Use group authentication.
// group If access is "group": A SourceMod group name. Otherwise blank ("").
"models"
{
"ghoulfix"
{
"name" "ghoulfix"
"path" "models/player/mapeadores/morell/ghoul/"
"team" "zombies"
"access" "public"
"group" ""
}
"hellknight_small"
{
"name" "hellknight_small"
"path" "models/player/custom_player/kodua/doom2016/"
"team" "zombies"
"access" "group"
"group" "zr_donator"
}
"hellknight_small"
{
"name" "hellknight_small"
"path" "models/player/custom_player/kodua/doom2016/"
"team" "zombies"
"access" "group"
"group" "zr_vip"
}
"xeno_soldier"
{
"name" "xeno_soldier"
"path" "models/player/custom_player/legacy/xeno_soldier/"
"team" "zombies"
"access" "group"
"group" "zr_vip"
}
"blindzombie_v1f"
{
"name" "blindzombie_v1f"
"path" "models/player/custom_player/legacy/gxp/hla_jeff/"
"team" "zombies"
"access" "group"
"group" "zr_blindzombie"
}
"giant_headcrab"
{
"name" "giant_headcrab"
"path" "models/player/custom_player/kodua/giant_headcrab/"
"team" "zombies"
"access" "group"
"group" "zr_giant_headcrab"
}
"siren_head_v1"
{
"name" "siren_head_v1"
"path" "models/player/custom_player/legacy/gxp/siren_head/"
"team" "zombies"
"access" "group"
"group" "zr_siren_head_v1"
}
"grinch_fix"
{
"name" "grinch_fix"
"path" "models/player/custom_player/mizapro/grinch/"
"team" "zombies"
"access" "public"
"group" ""
}
"haipa"
{
"name" "haipa"
"path" "models/player/custom_player/xlegend/haipa/"
"team" "humans"
"access" "group"
"group" "zr_haipa"
}
"2b_v1"
{
"name" "2b_v1"
"path" "models/player/custom_player/legacy/gxp/nier/2b/"
"team" "humans"
"access" "group"
"group" "zr_2b_v1"
}
"hunk_infected"
{
"name" "hunk_infected"
"path" "models/player/custom_player/resident/hunk/"
"team" "humans"
"access" "group"
"group" "zr_hunk_infected"
}
"vector"
{
"name" "vector"
"path" "models/player/custom_player/resident/vector/"
"team" "humans"
"access" "group"
"group" "zr_vector"
}
"shark"
{
"name" "shark"
"path" "models/player/custom_player/nf/shark/"
"team" "humans"
"access" "group"
"group" "zr_shark"
}
"white"
{
"name" "white"
"path" "models/player/custom_player/owston/amongus/"
"team" "humans"
"access" "group"
"group" "zr_amongus"
}
"deadpool"
{
"name" "deadpool"
"path" "models/player/custom_player/kuristaja/deadpool/"
"team" "humans"
"access" "group"
"group" "zr_deadpool"
}
"sauron"
{
"name" "sauron"
"path" "models/player/custom_player/legacy/sauron/"
"team" "humans"
"access" "group"
"group" "zr_sauron"
}
"santa"
{
"name" "santa"
"path" "models/player/custom_player/legacy/santa/"
"team" "humans"
"access" "public"
"group" ""
}
"natalie"
{
"name" "natalie"
"path" "models/player/custom_player/kuristaja/cso2/natalie_santagirl/"
"team" "humans"
"access" "public"
"group" ""
}
"stormtrooper"
{
"name" "stormtrooper"
"path" "models/player/custom_player/kuristaja/stormtrooper/"
"team" "humans"
"access" "public"
"group" ""
}
"mcwhite"
{
"name" "mcwhite"
"path" "models/player/custom_player/legacy/GFLclan/mcwhite/"
"team" "humans"
"access" "public"
"group" ""
}
"niko"
{
"name" "niko"
"path" "models/player/custom_player/voikanaa/gtaiv/"
"team" "humans"
"access" "public"
"group" ""
}
"leon_fix"
{
"name" "leon_fix"
"path" "models/player/custom_player/darnias/"
"team" "humans"
"access" "public"
"group" ""
}
"re3_jill_cop"
{
"name" "re3_jill_cop"
"path" "models/player/custom_player/caleon1/re3_jill_cop/"
"team" "humans"
"access" "public"
"group" ""
}
"cortana"
{
"name" "cortana"
"path" "models/player/custom_player/voikanaa/halo4/"
"team" "humans"
"access" "group"
"group" "zr_donator"
}
"lara"
{
"name" "lara"
"path" "models/player/custom_player/voikanaa/tru/"
"team" "humans"
"access" "group"
"group" "zr_donator"
}
"tm_leet_variant_classic"
{
"name" "tm_leet_variant_classic"
"path" "models/player/custom_player/legacy/"
"team" "humans"
"access" "group"
"group" "zr_donator"
}
"banana_joe"
{
"name" "banana_joe"
"path" "models/player/custom_player/kuristaja/banana_joe/"
"team" "humans"
"access" "group"
"group" "zr_donator"
}
"t-600"
{
"name" "t-600"
"path" "models/player/custom_player/kuristaja/t-600/"
"team" "humans"
"access" "group"
"group" "zr_donator"
}
"cortana"
{
"name" "cortana"
"path" "models/player/custom_player/voikanaa/halo4/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"lara"
{
"name" "lara"
"path" "models/player/custom_player/voikanaa/tru/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"tm_leet_variant_classic"
{
"name" "tm_leet_variant_classic"
"path" "models/player/custom_player/legacy/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"banana_joe"
{
"name" "banana_joe"
"path" "models/player/custom_player/kuristaja/banana_joe/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"t-600"
{
"name" "t-600"
"path" "models/player/custom_player/kuristaja/t-600/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"reinhardt_n"
{
"name" "reinhardt_n"
"path" "models/player/custom_player/mizapro/reinhardt/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"citizen"
{
"name" "citizen"
"path" "models/player/mapeadores/morell/citizen/"
"team" "humans"
"access" "group"
"group" "zr_member"
}
"rapier"
{
"name" "rapier"
"path" "models/player/custom/rapier/"
"team" "humans"
"access" "group"
"group" "zr_member"
}
"helga"
{
"name" "helga"
"path" "models/player/custom_player/kuristaja/cso2/helga/"
"team" "humans"
"access" "group"
"group" "zr_member"
}
"picolas"
{
"name" "picolas"
"path" "models/player/custom_player/kuristaja/picolas_cage/"
"team" "humans"
"access" "group"
"group" "zr_member"
}
"pedobear"
{
"name" "pedobear"
"path" "models/player/custom_player/eminem/pedobear/"
"team" "humans"
"access" "group"
"group" "zr_member"
}
"samus"
{
"name" "samus"
"path" "models/player/samus/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"heavy_redv2"
{
"name" "heavy_redv2"
"path" "models/player/custom_player/kuristaja/tf2/heavy/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"heavy_bluv2"
{
"name" "heavy_bluv2"
"path" "models/player/custom_player/kuristaja/tf2/heavy/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"doomslayer"
{
"name" "doomslayer"
"path" "models/player/custom_player/legacy/doomslayer/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"nanosuit"
{
"name" "nanosuit"
"path" "models/player/kuristaja/nanosuit/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"ezio"
{
"name" "ezio"
"path" "models/player/custom_player/voikanaa/acb/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"agent47"
{
"name" "agent47"
"path" "models/player/custom_player/voikanaa/hitman/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"jill"
{
"name" "jill"
"path" "models/player/custom_player/voikanaa/rehd/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
"zero"
{
"name" "zero"
"path" "models/player/custom_player/legacy/invexgaming/zero/"
"team" "humans"
"access" "group"
"group" "zr_vip"
}
}
Сообщения автоматически склеены:
Решение проблемы (да это ограничение кол-ва классов, сомнительное оказалось правдой):
error 15: Array index is out of bounds? - AlliedModders
error 15: Array index is out of bounds? Zombie:Reloaded
forums.alliedmods.net
Последнее редактирование: