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

!box


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 01-16-2016 , 16:20   !box
Reply With Quote #1

Hello


So I've tried this version https://forums.alliedmods.net/showthread.php?t=186322


However, it forces this cvar mp_autokick 1, which will kick, and temp ban players after killing their teammates.


So, if anyone could edit it for me, then that would be appreciated.
__________________
weeeishy is offline
Mathiaas
Senior Member
Join Date: Aug 2014
Location: Sweden ♥
Old 01-17-2016 , 07:12   Re: !box
Reply With Quote #2

Quote:
// Kick idle/team-killing players
// Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
// Default: "1"
mp_autokick "0"

// Kick players who team-kill within this many seconds of a round restart.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "5"
mp_spawnprotectiontime "0"

// The damage threshhold players have to exceed in a match to get kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "300"
mp_td_dmgtokick "0"

// The damage threshhold players have to exceed in a match to get warned that they are about to be kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "200"
mp_td_dmgtowarn "0"

// The damage threshold players have to exceed at the start of the round to be warned/kick.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "50"
mp_td_spawndmgthreshold "0"
Try changing these ConVars inside the plugin as well.

http://forums.steampowered.com/forum...78&postcount=3

Last edited by Mathiaas; 01-17-2016 at 09:31.
Mathiaas is offline
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 01-17-2016 , 08:19   Re: !box
Reply With Quote #3

I tried to look at the Source, and I found the mp_autokick cvar, but it didn't show a value. I'm not expert by any means with the coding thing.

Help :/
__________________
weeeishy is offline
Mathiaas
Senior Member
Join Date: Aug 2014
Location: Sweden ♥
Old 01-17-2016 , 09:39   Re: !box
Reply With Quote #4

You could try this, it should change the other 4 CVars.
It's untested tho.

Before trying it however, you could just start the box-fight and change these 4 CVars manually and see if it works.

If it doesn't, you could add me and I'll help you out.
Attached Files
File Type: sp Get Plugin or Get Source (jailbreakbox.sp - 176 views - 5.3 KB)

Last edited by Mathiaas; 01-17-2016 at 09:44.
Mathiaas is offline
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 01-17-2016 , 10:18   Re: !box
Reply With Quote #5

Quote:
Originally Posted by Mathiaas View Post
You could try this, it should change the other 4 CVars.
It's untested tho.

Before trying it however, you could just start the box-fight and change these 4 CVars manually and see if it works.

If it doesn't, you could add me and I'll help you out.
Thank you so much, I'll compile, and test it.
__________________
weeeishy is offline
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 01-17-2016 , 10:39   Re: !box
Reply With Quote #6

Quote:
Originally Posted by Mathiaas View Post
You could try this, it should change the other 4 CVars.
It's untested tho.

Before trying it however, you could just start the box-fight and change these 4 CVars manually and see if it works.

If it doesn't, you could add me and I'll help you out.
Well, I've tested it, and it still banned from the server for 15 mins. :/
__________________
weeeishy is offline
Mathiaas
Senior Member
Join Date: Aug 2014
Location: Sweden ♥
Old 01-17-2016 , 10:41   Re: !box
Reply With Quote #7

Quote:
Originally Posted by weeeishy View Post
Well, I've tested it, and it still banned from the server for 15 mins. :/
Have you checked so the CVars are being set?
Mathiaas is offline
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 01-17-2016 , 10:51   Re: !box
Reply With Quote #8

Quote:
Originally Posted by Mathiaas View Post
Have you checked so the CVars are being set?
Yeah, I did setup the cvars.
__________________
weeeishy is offline
Mathiaas
Senior Member
Join Date: Aug 2014
Location: Sweden ♥
Old 01-17-2016 , 13:15   Re: !box
Reply With Quote #9

Not sure if there's a CVar that still needs to be changed or so, I'll try it out in a bit.
Mathiaas is offline
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 01-17-2016 , 16:05   Re: !box
Reply With Quote #10

Quote:
Originally Posted by Mathiaas View Post
Not sure if there's a CVar that still needs to be changed or so, I'll try it out in a bit.
Cool, I'll be waiting.
__________________
weeeishy 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 12:51.


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