Raised This Month: $ Target: $400
 0% 

NoBlock


Post New Thread Reply   
 
Thread Tools Display Modes
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 08-02-2013 , 10:22   Re: NoBlock
Reply With Quote #191

what's wrong with plugin?
__________________
altex is offline
DD32KA
Member
Join Date: Jul 2013
Old 08-02-2013 , 12:53   Re: NoBlock
Reply With Quote #192

it works, sorry.

it was my fail.

This plugin works !
DD32KA is offline
JuiceLEe
New Member
Join Date: Oct 2013
Old 10-07-2013 , 20:41   Re: NoBlock
Reply With Quote #193

Seems to lag our server since the new update.
JuiceLEe is offline
Castile
Member
Join Date: Aug 2012
Old 10-10-2013 , 16:14   Re: NoBlock
Reply With Quote #194

This plugin works great, but two things.

#1. Grenades now officially pass through objects.
#2. Can a team filter be added?
Castile is offline
Saggyen
Junior Member
Join Date: Dec 2013
Old 12-11-2013 , 09:59   Re: NoBlock
Reply With Quote #195

Quote:
Originally Posted by altex View Post
Description
-----------
NoBlock plugin removes player vs. player collisions.
Usefull for Surf servers.

http://forums.alliedmods.net/showthread.php?t=91617

Commands and Cvars
------------------
sm_noblock_version - NoBlock version.

sm_noblock - Removes player vs. player collisions. (Default: 1)
sm_noblock_allow_block - Allow players to use say !block. (Default: 1)
sm_noblock_allow_block_time - Time limit to say !block command. (Default: 20)
sm_noblock_blockafterspawn_time - Disable blocking only for that time from spawn.
(Default: 0; 0 = disabled)
sm_noblock_nades - Removes player vs. nade/flash/smoke collisions. (Default: 1)
sm_noblock_hostages - Removes player vs. hostage collisions. (Default: 0) - Only set this to 1 if you need it.

say !block - Enable/Disable player vs. player collisions.

Requirements
------------
* Counter-Strike: Source
* SourceMod 1.2.0
* You need extension SDK Hooks 1.3 (Updated 2010-05-12) or later
https://forums.alliedmods.net/showthread.php?t=106748

Changelog
---------
1.4.2:
* Fixed
L 09/21/2010 - 19:27:08: [SM] Native "GetEdictClassname" reported: Invalid edict (209 - 209)
L 09/21/2010 - 19:27:08: [SM] Displaying call stack trace for plugin "noblock.smx":
L 09/21/2010 - 19:27:08: [SM] [0] Line 317, noblock.sp::UnblockHostages()
L 09/21/2010 - 19:27:08: [SM] [1] Line 189, noblock.sp::OnRoundStart()

1.4.1:
* Refactoring.

1.4.0:
+ Added cvars: sm_noblock_nades, sm_noblock_hostages. Thanks to GoD-Tony.

1.3.0:
+ Add sm_noblock_blockafterspawn_time variable to disable noblock for spawned player
after some time.
* Fixed two minor bugs.

1.2.0:
* Enables/disables all players blocking when cvar sm_noblock is changed.
It is now not needed to wait until next respawn.
* Code improved. Fixed bugs:
1) L 06/27/2008 - 13:16:50: [SM] Native "GetClientUserId" reported: Client 2 is not connected
2) L 06/27/2008 - 13:43:50: [SM] Native "PrintToChat" reported: Client 2 is not in game
3) L 07/02/2008 - 20:403: [SM] Native "SetEntData" reported: Entity 2 is invalid
4) L 07/15/2008 - 23:02:23: [SM] Native "CloseHandle" reported: Handle 253e00a2 is invalid (error 3)
5) L 09/08/2008 - 156:25: [SM] Plugin encountered error 15: Array index is out of bounds

1.1.1:
+ Added sm_noblock_version.

1.0.0:
+ Added sm_noblock_allow_block, sm_noblock_allow_block_time to allow players to use say !block command.
+ If player already blocking say !block disables blocking.

Credits
-------
* Thanks to GoD-Tony for adding cvars: sm_noblock_nades, sm_noblock_hostages.

* Thanks to sslice for No Block plugin till version 1.0.0.0.
http://forums.alliedmods.net/showthread.php?t=53721
NoBlock is based on its source code.


TODO
----
+ Add version without SDKHooks. Add define.
+ Feature request
Could you add cvar vice versa ?
If sm_noblock_blockafterspawn_time 0 (disabled)
and player can use chat command !noblock
player temporary can go through other players
* Fix bug:
L 11/04/2009 - 23:09:42: Error log file session closed.
L 11/04/2009 - 23:09:53: SourceMod error session started
L 11/04/2009 - 23:09:53: Info (map "surf_sandman_v2") (file "errors_20091104.log")
L 11/04/2009 - 23:09:53: [SM] Native "CloseHandle" reported: Handle e0000b5 is invalid (error 3)
L 11/04/2009 - 23:09:53: [SM] Displaying call stack trace for plugin "noblock.smx":
L 11/04/2009 - 23:09:53: [SM] [0] Line 73, noblock.sp::OnSpawn()
L 11/04/2009 - 23:09:56: [SM] Native "CloseHandle" reported: Handle e0000b5 is invalid (error 1)
L 11/04/2009 - 23:09:56: [SM] Displaying call stack trace for plugin "noblock.smx":
L 11/04/2009 - 23:09:56: [SM] [0] Line 73, noblock.sp::OnSpawn()
L 11/04/2009 - 23:10:43: [SM] Native "CloseHandle" reported: Handle e0000b5 is invalid (error 1)
L 11/04/2009 - 23:10:43: [SM] Displaying call stack trace for plugin "noblock.smx":
L 11/04/2009 - 23:10:43: [SM] [0] Line 73, noblock.sp::OnSpawn()
L 11/04/2009 - 23:14:48: [SM] Native "CloseHandle" reported: Handle e0000b5 is invalid (error 1)
L 11/04/2009 - 23:14:48: [SM] Displaying call stack trace for plugin "noblock.smx":
L 11/04/2009 - 23:14:48: [SM] [0] Line 73, noblock.sp::OnSpawn()
L 11/04/2009 - 23:18:52: [SM] Native "CloseHandle" reported: Handle e0000b5 is invalid (error 1)
L 11/04/2009 - 23:18:52: [SM] Displaying call stack trace for plugin "noblock.smx":
L 11/04/2009 - 23:18:52: [SM] [0] Line 73, noblock.sp::OnSpawn()
L 11/04/2009 - 23:25:11: [SM] Native "CloseHandle" reported: Handle e0000b5 is invalid (error 1)
L 11/04/2009 - 23:25:11: [SM] Displaying call stack trace for plugin "noblock.smx":
L 11/04/2009 - 23:25:11: [SM] [0] Line 73, noblock.sp::OnSpawn()
* Fix bug:
L 08/08/2009 - 00:11:56: [SM] To enable debug mode, edit plugin_settings.cfg,
or type: sm plugins debug 3 on
L 08/08/2009 - 00:157: [SM] Native "CloseHandle" reported: Handle d9d00a8 is
invalid (error 3)
L 08/08/2009 - 00:157: [SM] Debug mode is not enabled for "noblock.smx"
L 08/08/2009 - 00:157: [SM] To enable debug mode, edit plugin_settings.cfg,
or type: sm plugins debug 3 on
L 08/08/2009 - 00:17:16: [SM] Native "CloseHandle" reported: Handle d9d00a8 is
invalid (error 1)
L 08/08/2009 - 00:17:16: [SM] Debug mode is not enabled for "noblock.smx"
+ Feature request
hi plugin is very nice... i miss a thing... when sm_noblock changed to 1/0 it
shows in chatarea (css) "server cvar sm_noblock changed to 1/0" or like
this... can u add a feature to the plugin that ther can be shown "NoBlock is
now enabled/disabled" and that with colours? like green or so?
* Add functionality to check players positions and turn off noblock just for players that has no
collisions with each other. Enable this only if sm_noblock_blockafterspawn_time otpion is
enabled.

My plugins | Donations via PayPal
Hey where you put the File Into?
Saggyen is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 12-11-2013 , 10:09   Re: NoBlock
Reply With Quote #196

First: Improper use of quote

Second: what file?
__________________
View my Plugins | Donate
TnTSCS is offline
tazzle0870
Senior Member
Join Date: May 2010
Old 05-15-2014 , 19:01   Re: NoBlock
Reply With Quote #197

does this work with throwing knifes? also my flashes do not break windows
tazzle0870 is offline
uJIb9
Junior Member
Join Date: Aug 2014
Location: Russian Federation, Perm
Old 07-31-2016 , 06:41   Re: NoBlock
Reply With Quote #198

Will fix or optimize this plugin? Because this is the only working plugin at the moment, but old and would like to optimize for sourcemod 1.8
uJIb9 is offline
Send a message via Skype™ to uJIb9
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 07-31-2016 , 09:02   Re: NoBlock
Reply With Quote #199

Quote:
Originally Posted by uJIb9 View Post
Will fix or optimize this plugin? Because this is the only working plugin at the moment, but old and would like to optimize for sourcemod 1.8
I have this rewritten but with the removal of lots of unuseable code.
my rewrite features the main 2 objectives:

1. Removes player vs. player collisions
2. Removes player vs. nade collisions

both options is included with a cvar to control whatever to do, also this uses HookConVarChange, so no need to restart for changes to apply.

Also this rewrite is only 80 lines total could be less but it would require silly things, Enjoy ;)
Attached Files
File Type: sp Get Plugin or Get Source (noblock_v2.sp - 1506 views - 2.1 KB)
__________________
xines is offline
tazzle0870
Senior Member
Join Date: May 2010
Old 12-30-2016 , 06:25   Re: NoBlock
Reply With Quote #200

altex I love the plug. my throwing knives are not work right... Do i add nades cvar to my server cfg?
tazzle0870 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 02:36.


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