Raised This Month: $ Target: $400
 0% 

[BUG] ZR loading before Admin Groups and desables private classes.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
G2KV
BANNED
Join Date: Dec 2010
Old 04-04-2013 , 09:52   [BUG] ZR loading before Admin Groups and desables private classes.
Reply With Quote #1

[BUG] ZR loading before Admin Groups and desables private classes.

Code:
 "Fat Majini"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 "vip gold"
        
        "name"                 "Fat Majini - VIP Gold Class"
        "description"           "+HP 6000 | +Speed 320| +Jump 1.2 | Knockback 1.2"
        
        // Model
        "model_path"           "models/player/slow/amberlyn/re5/fat_majini/slow_css.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          "overlays/zr/zvision"
        "nvgs"                  "no"
        "fov"                   "110"
        
        // Effects
        "has_napalm"            "yes"
        "napalm_time"           "12.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "no"
        
        "health"                "6000"
        "health_regen_interval" "0.25"
        "health_regen_amount"   "5"
        "health_infect_gain"    "700"
        "kill_bonus"            "1"
        
        "speed"                 "320"
        "knockback"             "1.2"
        "jump_height"           "1.2"
        "jump_distance"         "1.2"
    }
Here is the problem :

"group" "vip gold" is alredy made in Sourcebans but every 3-4 maps this stops working ,so ZR is loading before the groups and then desables my Classes which are set to be used by a specific group.

Code:
16:49:45  SourceMod Version Information:
             SourceMod Version: 1.5.0-dev+3824
             SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.0-dev+3824)
             SourcePawn API: v1 = 4, v2 = 4
             Compiled on: Apr  3 2013 09:33:49
             Build ID: 3824:1bdf91c47e13
             http://www.sourcemod.net/
Code:
16:50:03 Metamod:Source version 1.10.0-dev
         Build ID: 817:e04a06a9a8d7-dev
         Loaded As: Valve Server Plugin
         Compiled on: Feb  5 2013
         Plugin interface version: 15:14
         SourceHook version: 5:5
         http://www.metamodsource.net/
I tried with many ZR version including the latest beta snapshots but all of them have this problem ,also changed many SM snapshots to see if that is not the problem ,but still ....

Richard ,can you please fix this problem for us ?

G2KV is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 04-04-2013 , 13:14   Re: [BUG] ZR loading before Admin Groups and desables private classes.
Reply With Quote #2

This might be a valid bug. ZR loads and validates classes when configs are executed (shortly after map start). It might not be certain that the admin database isn't ready at that time, so it won't be able to validate groups.

It can be fixed by delaying group validation until the admin database is ready and go through classes again and check groups. But I don't know to do that. I couldn't find a suitable event, callback or function to tell if all admin settings are loaded and ready. Anyone know how to do this (that is compatible with SourceBans too)?
__________________
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
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 21:56.


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