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

Force reconnect according to K/D ratio - 0.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical        Approver:   Xanimos (85)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-18-2006 , 22:20   Force reconnect according to K/D ratio - 0.2
Reply With Quote #1

Force reconnect according to K/D ratio, v0.2 - by v3x


Description:
Tired of people stat whoring on your server? Well you can now control it a bit with this plugin! Once somebody has achieved a certain kill/death ratio over X amount of kills they will be forced to reconnect exactly 3 seconds after they are told about it.

Cvars:
- mp_ratio 4.99
That would make someone reconnect after they've achieved over a 4.99 k/d ratio ( so 5.00 ).
- mp_ratio_kills 25
If the player has achieved the ratio and has that many kills he'll be forced to reconnect.
- mp_ratio_immunity 1
If set to 1 it'll ignore players with the immunity ( flag "a" ). Otherwise set to 0.

Client commands:
- say /ratio
Displays their current ratio in chat.
Note: The player will be notified via console about this command after he is connected.


Requirements:
- AMXX 1.70+
- Cstrike module
Attached Files
File Type: sma Get Plugin or Get Source (force_kdr_reconnect.sma - 2375 views - 2.8 KB)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-18-2006 , 22:45  
Reply With Quote #2

It's a semi-new idea. Lets see what the public has to say about this.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-18-2006 , 23:08  
Reply With Quote #3

Well I was on one of the Hotel California servers and they enforced a rule like this so I decided to make it automated. Btw, it was suggested by someone in the "Suggestions/Requests" forum.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-18-2006 , 23:59  
Reply With Quote #4

I like
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-19-2006 , 00:29  
Reply With Quote #5

I like it too. Code seems decent (Saw some unneeded variables but whatever)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Zergo
New Member
Join Date: Feb 2006
Old 04-19-2006 , 01:33  
Reply With Quote #6

so, because ppl r good u dont want them to keep playing wit a good score and want them to have to keep restarting their score??? seems a bit noobish to me, but otherwise nice work
Zergo is offline
Send a message via AIM to Zergo
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-19-2006 , 01:40  
Reply With Quote #7

Whoever voted it as redundant, please step up and explain why you did so.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
FrontLine
Member
Join Date: Apr 2006
Old 04-19-2006 , 01:44  
Reply With Quote #8

..
__________________
FrontLine is offline
Send a message via MSN to FrontLine
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-19-2006 , 01:49  
Reply With Quote #9

Quote:
Originally Posted by FrontLine
I did.
Explain why.

Edit: Oh, and I gave you some -karma to start you off. Hope you don't mind.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
FrontLine
Member
Join Date: Apr 2006
Old 04-19-2006 , 01:51  
Reply With Quote #10

..
__________________
FrontLine is offline
Send a message via MSN to FrontLine
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 04:26.


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