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

Immunity Reserve Slots (2.0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-25-2009 , 12:09   Re: Immunity Reserve Slots
Reply With Quote #11

Yeah sure, I'll add that to the list!

Though you know that does take a knock on effect with your server ranking right? Just so you know!
Jamster is offline
Kenny Loggins
SourceMod Donor
Join Date: Jun 2008
Location: Rochester, MN
Old 05-25-2009 , 12:36   Re: Immunity Reserve Slots
Reply With Quote #12

Wow nice plugin thank you for you work on this!
__________________

Server Admin / Leader
ClanAO.com
Kenny Loggins is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-25-2009 , 13:40   Re: Immunity Reserve Slots
Reply With Quote #13

Thanks!

I am attaching a "testing" version of 0.2 here, it has all the features requested, much testing will be appreciated, if all goes well for a week or so I'll update the original post.

To use the lowest time option for kicking set sm_irs_kicktype to 3.

New cvar's:

sm_irs_kickreason
Default: "Slot reserved"
Message to display when a client is kicked for a normal reserve slot.

sm_irs_kickreason_immunity
Default: "Slot reserved - low immunity"
Message to display when a client is kicked for a reserve slot based on immunity.

Last edited by Jamster; 06-03-2009 at 16:04. Reason: More up to date version in the OP.
Jamster is offline
Pacmaney
Senior Member
Join Date: May 2009
Old 05-25-2009 , 16:16   Re: Immunity Reserve Slots
Reply With Quote #14

This compatible with one of the nightly 1.2 builds?
Pacmaney is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 05-25-2009 , 16:33   Re: Immunity Reserve Slots
Reply With Quote #15

Thanks, I'll give your testing version a try. I don't think that one or two people is going to affect my server ranking, especially when the person who is coming in is a regular and will probably be there for a few hours.

Do you know how long the maximum length on the kick string can be, if any? I'd hate to put a long message and it just get chopped off since it's pretty hard to test. Thanks.
__________________
msleeper is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-25-2009 , 18:05   Re: Immunity Reserve Slots
Reply With Quote #16

Maximum length is set to 255 but I am not sure what the limit is for convar strings in source (or the reason for disconnect messages).

Pacmaney: yes, and 1.3.

Last edited by Jamster; 05-25-2009 at 18:09.
Jamster is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 05-25-2009 , 19:44   Re: Immunity Reserve Slots
Reply With Quote #17

Looks like the messages get truncated at 40-something characters, not sure if this is an issue with the plugin/SourceMod (doubt it) or TF2.
__________________
msleeper is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-25-2009 , 19:57   Re: Immunity Reserve Slots
Reply With Quote #18

Theres a way to use multiple lines for kick messages but I dont know how...
__________________

DontWannaName is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 05-25-2009 , 20:07   Re: Immunity Reserve Slots
Reply With Quote #19

Actually someone just reported that SourceBans' banning message does it too, and I know for a fact that worked.
__________________
msleeper is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 05-26-2009 , 10:37   Re: Immunity Reserve Slots
Reply With Quote #20

I'll look into it.
Jamster is offline
Reply


Thread Tools
Display Modes

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 11:21.


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