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

[CS:GO] ckSurf (1.18f, 24.11.2015)


Post New Thread Reply   
 
Thread Tools Display Modes
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 11-04-2015 , 03:23   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #601

Hi, is it possible to make a "only Top xxx" who are allowed to connect?
mazdarx8 is offline
Wulfy
Senior Member
Join Date: Apr 2015
Location: Belgium
Old 11-05-2015 , 14:08   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #602

Is there a way to only allow admins with the z flag to get the cksurf menu in the admin menu? I don't want every admin to be able to change every setting.
Wulfy is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 11-05-2015 , 15:45   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #603

Quote:
Originally Posted by Wulfy View Post
Is there a way to only allow admins with the z flag to get the cksurf menu in the admin menu? I don't want every admin to be able to change every setting.
This is very important, idk why the plugin author made such vital commands available to non-root admins...

there's not even a cvar option
__________________

Last edited by PresidentEvil; 11-05-2015 at 15:45.
PresidentEvil is offline
Chevalier
BANNED
Join Date: Aug 2015
Location: Anywhere
Old 11-06-2015 , 11:23   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #604

Quote:
Originally Posted by Wulfy View Post
Is there a way to only allow admins with the z flag to get the cksurf menu in the admin menu? I don't want every admin to be able to change every setting.
Heres a simple fix for the time being. Just head over to admins_groups.cfg and set up something like this

"ADMINS"
{
"flags" "bcdefgjkoqr"
"immunity" "90"
"Overrides"
{
"sm_zones" "allow"
"sm_resetplayertimes" "allow"
}
}

Here you can add endless commands that you want your admins to have.
Chevalier is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 11-06-2015 , 15:03   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #605

Quote:
Originally Posted by Chevalier View Post
Heres a simple fix for the time being. Just head over to admins_groups.cfg and set up something like this

"ADMINS"
{
"flags" "bcdefgjkoqr"
"immunity" "90"
"Overrides"
{
"sm_zones" "allow"
"sm_resetplayertimes" "allow"
}
}

Here you can add endless commands that you want your admins to have.
that doesnt remove the commands from the admin menu, it changes nothing
__________________
PresidentEvil is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 11-06-2015 , 15:20   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #606

Quote:
Originally Posted by Wulfy View Post
Is there a way to only allow admins with the z flag to get the cksurf menu in the admin menu? I don't want every admin to be able to change every setting.
Change line 26 of ckSurf.sp ( line number may vary, the version I have on my computer is from a while ago ) to

PHP Code:
#define ADMIN_LEVEL2 ADMFLAG_ROOT 
Darkness_ is offline
SmakGezgo
Junior Member
Join Date: Sep 2015
Old 11-06-2015 , 22:06   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #607

I am having a strange problem. When ever someone beats their map record, nothing happens. I don't know where to see the error that caused this as I can not seem to find it in the error logs. Does anyone know how to fix this?
SmakGezgo is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 11-07-2015 , 04:15   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #608

PHP Code:
//Points for skill group 2-9: percentage * (MaxPointsFromMaps
//MaxPointsFromMaps = MapCount * 850p
"ckSurf.SkillGroups"
{
    
"1"
    
{
        
"name"                "NEW"
    
}    
    
"2"
    
{
        
"name"                "SCRUB"
        "percentage"        "0.005"
    
}
    
"3"
    
{
        
"name"                "TRAINEE"
        "percentage"        "0.01"
    
}    
    
"4"
    
{
        
"name"                "CASUAL"
        "percentage"        "0.030"
    
}    
    
"5"
    
{
        
"name"                "REGULAR"
        "percentage"        "0.05"
    
}    
    
"6"
    
{
        
"name"                "SKILLED"
        "percentage"        "0.1"
    
}    
    
"7"
    
{
        
"name"                "EXPERT"
        "percentage"        "0.15"
    
}    
    
"8"
    
{
        
"name"                "SEMIPRO"
        "percentage"        "0.22"
    
}    
    
"9"
    
{
        
"name"                "PRO"
        "percentage"        "0.3"
    
}
    
"10"
    
{
        
"name"                "SMOOT"
        "percentage"        "0.4"
    
}
    
"11"
    
{
        
"name"                "GOD"
        "percentage"        "0.8"
    
}    

Any reason those last two ranks wont show up? Have I missed something?
checkster is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 11-07-2015 , 05:01   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #609

Quote:
Originally Posted by Darkness_ View Post
Change line 26 of ckSurf.sp ( line number may vary, the version I have on my computer is from a while ago ) to

PHP Code:
#define ADMIN_LEVEL2 ADMFLAG_ROOT 
No need for that cause in the inc its defined, to my knowlege

PHP Code:
AddToTopMenu(g_hAdminMenu"sm_ckadmin"TopMenuObject_ItemTopMenuHandler2serverCmds"sm_ckadmin"ADMFLAG_RCON); 
Line 8 admin.sp

Last edited by checkster; 11-07-2015 at 05:07.
checkster is offline
Jaykrog
Senior Member
Join Date: May 2015
Old 11-07-2015 , 12:25   Re: [CS:GO] ckSurf (1.17, 13.7.2015)
Reply With Quote #610

Quote:
Originally Posted by checkster View Post
PHP Code:
//Points for skill group 2-9: percentage * (MaxPointsFromMaps
//MaxPointsFromMaps = MapCount * 850p
"ckSurf.SkillGroups"
{
    
"1"
    
{
        
"name"                "NEW"
    
}    
    
"2"
    
{
        
"name"                "SCRUB"
        "percentage"        "0.005"
    
}
    
"3"
    
{
        
"name"                "TRAINEE"
        "percentage"        "0.01"
    
}    
    
"4"
    
{
        
"name"                "CASUAL"
        "percentage"        "0.030"
    
}    
    
"5"
    
{
        
"name"                "REGULAR"
        "percentage"        "0.05"
    
}    
    
"6"
    
{
        
"name"                "SKILLED"
        "percentage"        "0.1"
    
}    
    
"7"
    
{
        
"name"                "EXPERT"
        "percentage"        "0.15"
    
}    
    
"8"
    
{
        
"name"                "SEMIPRO"
        "percentage"        "0.22"
    
}    
    
"9"
    
{
        
"name"                "PRO"
        "percentage"        "0.3"
    
}
    
"10"
    
{
        
"name"                "SMOOT"
        "percentage"        "0.4"
    
}
    
"11"
    
{
        
"name"                "GOD"
        "percentage"        "0.8"
    
}    

Any reason those last two ranks wont show up? Have I missed something?
cKsurf only allows 9 ranks right now.
Jaykrog 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 08:20.


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