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

KnifeFight


Post New Thread Reply   
 
Thread Tools Display Modes
apothegm
Member
Join Date: Jul 2012
Old 04-18-2018 , 01:31   Re: KnifeFight
Reply With Quote #611

I like Elimination mode for GunGame, and I like this plugin for offering 1v1 knife fights. But they don't play nicely together.

This is because a 1v1 circumstance can occur while someone is already about to respawn. So I added a convar of "sm_knifefight_menudelay" that allows you to increase the delay during which the remaining two players are offered the option to knife fight. The plugin was set to always check for a 1v1 situation a half second after a player dies. My new convar allows you to increase that delay to 1.5 seconds (or whatever you want), which is just enough time for elimination respawns to occur. So now, it's checking against potential 1v2+ scenarios where one team hasn't completely dominated the other.

I hope this makes sense.

Anyway, here's my tweaked version of the plugin.

Remember, increase sm_knifefight_menudelay from 0.5 to 1.5 for GunGame Elimination.

EDIT: This needs more testing. Possibly might need to increase delay to something more than 1.5 seconds.
Blocked Attachments
File Type: smx knifefight.smx

Last edited by apothegm; 04-18-2018 at 19:14.
apothegm is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 06-26-2018 , 04:28   Re: KnifeFight
Reply With Quote #612

https://forums.alliedmods.net/showpo...&postcount=593
On CS:GO linux server is crashing then someone is joining. Anyone have a fixed version?
r3v is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 09-23-2018 , 08:11   Re: KnifeFight
Reply With Quote #613

Quote:
Originally Posted by waylander3 View Post
And..??
Its your mistake, you can fix it by yourself
Thats very helpful.........
Sarin is offline
Rineek
Member
Join Date: Jan 2018
Old 01-15-2019 , 15:03   Re: KnifeFight
Reply With Quote #614

Is there same Plugin for CSGO Linux ?
Rineek is offline
Rineek
Member
Join Date: Jan 2018
Old 02-03-2019 , 06:50   Re: KnifeFight
Reply With Quote #615

Code:
L 02/01/2019 - 01:08:42: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:08:42: [SM] Blaming: redie_beta.smx
L 02/01/2019 - 01:08:42: [SM] Call stack trace:
L 02/01/2019 - 01:08:42: [SM]   [0] PrintToChat
L 02/01/2019 - 01:08:42: [SM]   [1] Line 205, D:\scripting\redie_beta.sp::Event_Player_Death
L 02/01/2019 - 01:08:42: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:08:42: [SM] Blaming: knifefight-csgo.smx
L 02/01/2019 - 01:08:42: [SM] Call stack trace:
L 02/01/2019 - 01:08:42: [SM]   [0] PrintHintText
L 02/01/2019 - 01:08:42: [SM]   [1] Line 448, D:\scripting\include\halflife.inc::PrintHintTextToAll
L 02/01/2019 - 01:08:42: [SM]   [2] Line 999, D:\scripting\knifefight-csgo.sp::VerifyConditions
L 02/01/2019 - 01:08:51: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:08:51: [SM] Blaming: redie_beta.smx
L 02/01/2019 - 01:08:51: [SM] Call stack trace:
L 02/01/2019 - 01:08:51: [SM]   [0] PrintToChat
L 02/01/2019 - 01:08:51: [SM]   [1] Line 205, D:\scripting\redie_beta.sp::Event_Player_Death
L 02/01/2019 - 01:09:01: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:01: [SM] Blaming: EasySpawnProtection.smx
L 02/01/2019 - 01:09:01: [SM] Call stack trace:
L 02/01/2019 - 01:09:01: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:01: [SM]   [1] Line 83, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\include\colors_csgo.inc::CPrintToChat
L 02/01/2019 - 01:09:01: [SM]   [2] Line 268, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\EasySpawnProtection.sp::Event_OnPlayerSpawn
L 02/01/2019 - 01:09:01: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:01: [SM] Blaming: EasySpawnProtection.smx
L 02/01/2019 - 01:09:01: [SM] Call stack trace:
L 02/01/2019 - 01:09:01: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:01: [SM]   [1] Line 83, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\include\colors_csgo.inc::CPrintToChat
L 02/01/2019 - 01:09:01: [SM]   [2] Line 268, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\EasySpawnProtection.sp::Event_OnPlayerSpawn
L 02/01/2019 - 01:09:01: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:01: [SM] Blaming: EasySpawnProtection.smx
L 02/01/2019 - 01:09:01: [SM] Call stack trace:
L 02/01/2019 - 01:09:01: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:01: [SM]   [1] Line 83, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\include\colors_csgo.inc::CPrintToChat
L 02/01/2019 - 01:09:01: [SM]   [2] Line 268, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\EasySpawnProtection.sp::Event_OnPlayerSpawn
L 02/01/2019 - 01:09:11: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:11: [SM] Blaming: EasySpawnProtection.smx
L 02/01/2019 - 01:09:11: [SM] Call stack trace:
L 02/01/2019 - 01:09:11: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:11: [SM]   [1] Line 83, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\include\colors_csgo.inc::CPrintToChat
L 02/01/2019 - 01:09:11: [SM]   [2] Line 338, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\EasySpawnProtection.sp::RemoveProtection
L 02/01/2019 - 01:09:11: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:11: [SM] Blaming: EasySpawnProtection.smx
L 02/01/2019 - 01:09:11: [SM] Call stack trace:
L 02/01/2019 - 01:09:11: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:11: [SM]   [1] Line 83, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\include\colors_csgo.inc::CPrintToChat
L 02/01/2019 - 01:09:11: [SM]   [2] Line 338, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\EasySpawnProtection.sp::RemoveProtection
L 02/01/2019 - 01:09:11: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:11: [SM] Blaming: EasySpawnProtection.smx
L 02/01/2019 - 01:09:11: [SM] Call stack trace:
L 02/01/2019 - 01:09:11: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:11: [SM]   [1] Line 83, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\include\colors_csgo.inc::CPrintToChat
L 02/01/2019 - 01:09:11: [SM]   [2] Line 338, C:\Games\SteamDS\Byte\CSGO\addons\sourcemod\scripting\EasySpawnProtection.sp::RemoveProtection
L 02/01/2019 - 01:09:12: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:12: [SM] Blaming: shop/shop_moneydistributor.smx
L 02/01/2019 - 01:09:12: [SM] Call stack trace:
L 02/01/2019 - 01:09:12: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:12: [SM]   [1] Line 90, D:\CSS\PLUGINS\COMPILE_FOLDER\include\morecolors.inc::CPrintToChat
L 02/01/2019 - 01:09:12: [SM]   [2] Line 121, shop_moneydistributor.sp::GivePoints
L 02/01/2019 - 01:09:12: [SM] Exception reported: Unable to execute a new message, there is already one in progress
L 02/01/2019 - 01:09:12: [SM] Blaming: falldamageheal.smx
L 02/01/2019 - 01:09:12: [SM] Call stack trace:
L 02/01/2019 - 01:09:12: [SM]   [0] StartMessage
L 02/01/2019 - 01:09:12: [SM]   [1] Line 256, D:\scripting\include\usermessages.inc::StartMessageOne
L 02/01/2019 - 01:09:12: [SM]   [2] Line 43, D:\scripting\falldamageheal.sp::OnTakeDamageAlivePost
L 02/01/2019 - 01:09:14: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:14: [SM] Blaming: redie_beta.smx
L 02/01/2019 - 01:09:14: [SM] Call stack trace:
L 02/01/2019 - 01:09:14: [SM]   [0] PrintToChat
L 02/01/2019 - 01:09:14: [SM]   [1] Line 205, D:\scripting\redie_beta.sp::Event_Player_Death
L 02/01/2019 - 01:09:15: [SM] Exception reported: Could not send a usermessage
L 02/01/2019 - 01:09:15: [SM] Blaming: knifefight-csgo.smx
L 02/01/2019 - 01:09:15: [SM] Call stack trace:
L 02/01/2019 - 01:09:15: [SM]   [0] PrintHintText
L 02/01/2019 - 01:09:15: [SM]   [1] Line 448, D:\scripting\include\halflife.inc::PrintHintTextToAll
L 02/01/2019 - 01:09:15: [SM]   [2] Line 999, D:\scripting\knifefight-csgo.sp::VerifyConditions
Rineek is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 08-21-2020 , 05:52   Re: KnifeFight
Reply With Quote #616

If All I wanted to do was get this to check twice if its a 1v1 what would I have to add?

IE.. It checked saw it was 1v1 than 2 seconds later checked again still 1v1 knife fight....
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows
wtfaatp is offline
spazy
New Member
Join Date: Dec 2014
Old 11-12-2020 , 13:39   Re: KnifeFight
Reply With Quote #617

Has anyone gotten this to work on CS:GO? I'm still struggling to find a working smx. Any help would be much appreciated.
spazy 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 04:40.


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