AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   !box (https://forums.alliedmods.net/showthread.php?t=277783)

weeeishy 01-16-2016 16:20

!box
 
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.

Mathiaas 01-17-2016 07:12

Re: !box
 
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

weeeishy 01-17-2016 08:19

Re: !box
 
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 :/

Mathiaas 01-17-2016 09:39

Re: !box
 
1 Attachment(s)
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.

weeeishy 01-17-2016 10:18

Re: !box
 
Quote:

Originally Posted by Mathiaas (Post 2384051)
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 01-17-2016 10:39

Re: !box
 
Quote:

Originally Posted by Mathiaas (Post 2384051)
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. :/

Mathiaas 01-17-2016 10:41

Re: !box
 
Quote:

Originally Posted by weeeishy (Post 2384068)
Well, I've tested it, and it still banned from the server for 15 mins. :/

Have you checked so the CVars are being set?

weeeishy 01-17-2016 10:51

Re: !box
 
Quote:

Originally Posted by Mathiaas (Post 2384069)
Have you checked so the CVars are being set?

Yeah, I did setup the cvars.

Mathiaas 01-17-2016 13:15

Re: !box
 
Not sure if there's a CVar that still needs to be changed or so, I'll try it out in a bit.

weeeishy 01-17-2016 16:05

Re: !box
 
Quote:

Originally Posted by Mathiaas (Post 2384107)
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.


All times are GMT -4. The time now is 15:24.

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