Raised This Month: $51 Target: $400
 12% 

Configuring ZR Issues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 12-15-2013 , 11:01   Configuring ZR Issues
Reply With Quote #1

I am currently trying to configure and use Zombie Reloaded for CS:GO. I have done absolutely everything I needed to do to start using Zombie Reloaded. And I get this error.

What does it mean? How can I fix it?

21 <Error> "Zombie:Reloaded" (3.1) by Greyscale | Richard Helgeby
Load Errors:
Zombie:Reloaded: [Player Classes] [Config Validation] The class configuration doesn't match the team requirements.

EDIT: I may have fixed it. Will post later.

EDIT2: Nope, still have error.
__________________

Last edited by ReZy; 12-15-2013 at 11:12.
ReZy is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 12-15-2013 , 11:49   Re: Configuring ZR Issues
Reply With Quote #2

Error messages before that message usually tell why requirements aren't met. Most likely invalid or missing values in one or more classes.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 12-15-2013 , 11:56   Re: Configuring ZR Issues
Reply With Quote #3

My models.txt

Code:
// ============================================================================
//
//                              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"
{
	"zh1fix"
	{
		"name" 		"zh1fix"
		"path" 		"models/player/mapeadores/kaem/zh/"
		"team" 		"zombies"
		"access" 	"public"
		"group" 	""
	}

	"zh2fix"
	{
		"name" 		"zh2fix"
		"path" 		"models/player/mapeadores/kaem/zh/"
		"team" 		"zombies"
		"access" 	"public"
		"group" 	""
	}

	"zh3fix"
	{
		"name" 		"zh3fix"
		"path" 		"models/player/mapeadores/morell/zh/"
		"team" 		"zombies"
		"access" 	"public"
		"group" 	""
	}
}
__________________

Last edited by ReZy; 12-15-2013 at 12:00.
ReZy is offline
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 12-15-2013 , 14:31   Re: Configuring ZR Issues
Reply With Quote #4

It's not an issue with that file it's an issue with playerclasses.txt
Jargon is offline
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 12-15-2013 , 14:44   Re: Configuring ZR Issues
Reply With Quote #5

My playerclasses.txt

Code:
"classes"
{
    // ------------------------------------------
    //
    // Zombie classes
    //
    // ------------------------------------------
    "zombie_classic"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Classic"
        "description"           "++HP | -Speed | -Jump | -Knockback"
        
        // Model
        "model_path"            "models/player/mapeadores/kaem/zh/zh1fix.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"           "10.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "5000"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "700"
        "kill_bonus"            "2"
        
        "speed"                 "300"
        "knockback"             "3"
        "jump_height"           "1.1"
        "jump_distance"         "1.2"
    }
    
    "zombie_fast"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Fast"
        "description"           "--HP | +Speed | +Jump | +Knockback"
        
        // Model
        "model_path"            "models/player/mapeadores/kaem/zh/zh2fix.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"           "5.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "2000"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "500"
        "kill_bonus"            "2"
        
        "speed"                 "420"
        "knockback"             "8"
        "jump_height"           "1.3"
        "jump_distance"         "1.2"
    }
    
    "zombie_mutated"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Mutated"
        "description"           "+HP | -Speed | ++Jump | +Knockback"
        
        // Model
        "model_path"            "models/player/mapeadores/morell/zh/zh3fix.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"           "15.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "3000"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "850"
        "kill_bonus"            "2"
        
        "speed"                 "330"
        "knockback"             "6"
        "jump_height"           "1.4"
        "jump_distance"         "1.3"
    }
    
    // ------------------------------------------
    //
    // Human classes
    //
    // ------------------------------------------
    
    "human_normal"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Normal Human"
        "description"           "Default Counter-Strike settings"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "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"                "100"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "0"
        "kill_bonus"            "2"
        
        "speed"                 "300"
        "knockback"             "0"
        "jump_height"           "1.0"
        "jump_distance"         "1.0"
    }
    
    "human_vip"
    {
        // General
        "enabled"               "no"
        "team"                  "1"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 ""      // Write the name of a SourceMod group for vip players ("zr_vip"), then make it in SourceMod.
        
        "name"                  "VIP Human"
        "description"           "Human class for important players"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "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"                "200"
        "health_regen_interval" "1.0"
        "health_regen_amount"   "10"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "300"
        "knockback"             "0"
        "jump_height"           "1.2"
        "jump_distance"         "1.2"
    }
    
    "human_admin"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "no"
        "flags"                 "1"
        "group"                 ""
        
        "name"                  "Admin Human"
        "description"           "Human class for admins"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "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"                "200"
        "health_regen_interval" "1.0"
        "health_regen_amount"   "10"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "360"
        "knockback"             "0"
        "jump_height"           "1.2"
        "jump_distance"         "1.2"
    }
    
    "human_speedy"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Speedy"
        "description"           "Fast human"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "0.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "0"
        
        "health"                "100"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "360"
        "knockback"             "0"
        "jump_height"           "1.0"
        "jump_distance"         "1.0"
    }
    
    "human_light"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Light"
        "description"           "Regular human with improved jump skills"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "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"                "100"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "260"
        "knockback"             "0"
        "jump_height"           "1.3"
        "jump_distance"         "1.3"
    }
}
__________________
ReZy is offline
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 12-15-2013 , 14:57   Re: Configuring ZR Issues
Reply With Quote #6

I think I found the problem.

My playerclasses.txt says:
Code:
// Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
The default one says:
Code:
// Player behavior
        "immunity_mode"         "infect"        // Invulnerable to infection,
        "immunity_amount"       "25"            // until HP go below 25.
        "immunity_cooldown"     "60"
        "no_fall_damage"        "yes"
Immunity_Mode is set to an integer rather it's supposed to be a variable (I.E infect, none)
__________________

Last edited by ReZy; 12-15-2013 at 14:59.
ReZy is offline
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 12-15-2013 , 14:58   Re: Configuring ZR Issues
Reply With Quote #7

Yup:

Quote:
Originally Posted by Jargon View Post
If you use your old playerclasses.txt file, Z:R will not validate any of your classes that are missing the new immunity fields and will crash!
Jargon is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 12-15-2013 , 15:13   Re: Configuring ZR Issues
Reply With Quote #8

Again, check the error logs. If anything goes wrong, the error logs should explain it. I repeat this in many threads and they sill miss it. Remember that multiple error can be related, so that there are usually more information in previous messages.

In this case it would be messages about invalid values.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)

Last edited by rhelgeby; 12-15-2013 at 15:15.
rhelgeby is offline
Send a message via MSN to rhelgeby
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 12-15-2013 , 16:44   Re: Configuring ZR Issues
Reply With Quote #9

OH, that's what you meant. Didn't understand your post.. XD
__________________
ReZy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode