Raised This Month: $ Target: $400
 0% 

[CS:S | CS:GO] KDR Weapon Limit


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-13-2013 , 11:33   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #11

okay, thanks... if needed, I'll rework how the restrictions are handled and whatnot... it works as expected with the DropMode set to 1... I'll make sure I test both methods prior to the next release

Actually, I think I know what the issue is and I'll fix it - I had the code designed to allow for DropMode 3 (drop on death), and now that we're not using that option, I can fix this easy... next update will have the fix.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-13-2013 at 11:58.
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-13-2013 , 17:35   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #12

Plugin Update:

1.0.0.1

* Fixed drop on spawn issues.

If you have Updater and use it to update this plugin, it will update shortly, otherwise, grab the new .smx file and put it on your server then reload the plugin (or better change the map or restart the server).
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-13-2013 at 17:38.
TnTSCS is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 04-14-2013 , 01:01   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #13

Hi.
The source file show: #define PLUGIN_VERSION "1.0.0.0" The .smx file too (lysis).
Code:
{
    name = "KDR Weapon Limit",
    description = "This plugin will limit a player from a list of weapons once they reach certain KDR",
    author = "TnTSCS aka ClarkKent",
    version = "1.0.0.0",
    url = "http://www.sourcemod.net"
};
The translation based on the server language? Because for me not show the HU translations. Only the English.
Ofc. my steam setting is HU.

HU translation file:
Attached Files
File Type: txt kdr_weapon_limit.phrases.txt (1.2 KB, 166 views)

Last edited by pubhero; 04-14-2013 at 01:39.
pubhero is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-14-2013 , 10:48   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #14

I'll update the version number in the plugin (damn I hate when I forget that... LoL)

I'll add the HU language file to the zip file in the HU folder and edit this post when I've uploaded the new version.
__________________
View my Plugins | Donate
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-14-2013 , 20:17   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #15

Plugin Updated.

Fixed version number and added HU translation phrase file. Make sure you have all of the most recent files (.smx and phrases.txt files).
__________________
View my Plugins | Donate
TnTSCS is offline
Noitartsiger
Member
Join Date: Jul 2011
Old 04-15-2013 , 17:31   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #16

I am testing it on productive server meanwhile ...

everything seems to be fine!

Only once in a pre-test in 1:1 when I reconnected and the game restarted (score reset / no map reload) it bugged (showed for the restricted one "your KDR is 0.00 ..." and restarted counting for the other one). So it seems to struggle with the match reset (without map reload).
Noitartsiger is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-15-2013 , 18:07   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #17

I can add a hook for mp_restartgame if that's what you're using... it will reset all KDR information for all clients
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-15-2013 at 18:07.
TnTSCS is offline
Noitartsiger
Member
Join Date: Jul 2011
Old 04-16-2013 , 04:07   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #18

Sounds good and should solve the issue. But it's not quite urgent. I will continue testing ...
Noitartsiger is offline
Noitartsiger
Member
Join Date: Jul 2011
Old 05-26-2013 , 09:14   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #19

Ok, one month on productive servers. Everything seems to be fine

Great work TnTSCS !!!

Maybe you can add a cvar that allow to choose whether score/death data (shown on scorebord) get restored or reseted to 0:0 after reconnect. At the moment it restores the data for players that reconnect and they seem to not like it.

Thanks!
Noitartsiger is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-26-2013 , 12:31   Re: [CS:S | CS:GO] KDR Weapon Limit
Reply With Quote #20

Code:
"sm_kdrwl_maintain" = "1" min. 0.000000 max. 1.000000
 - Maintain restrictions until map changes?
If set to no (0) then players can just reconnect to be able to purchase restricted weapons again.
__________________
View my Plugins | Donate
TnTSCS 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 22:46.


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