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

[CS:S] Flashbang Tools


Post New Thread Reply   
 
Thread Tools Display Modes
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-25-2013 , 09:57   Re: [CS:S] Flashbang Tools
Reply With Quote #21

Code:
"Games"
{
	"cstrike"
	{
		"Signatures"
		{
			"Deafen"
			{
				"library"		"server"
				"windows"		"\x55\x8B\xEC\x83\xEC\x28\x89\x4D\xD8\x8B\x45\xD8\x8B\x10\x8B\x4D\xD8"
				"linux"			"@_ZN9CCSPlayer6DeafenEf"
			}
			"CFlashbangProjectile::Detonate"
			{
				"library"		"server"
				"windows"		"\x53\x56\x8B\xF1\x8B\x86\x00\x01\x00\x00\xC1\xE8\x0B\x57\xA8\x01\x74\x2A\xE8\x2A\x2A\x2A\x2A\xF3\x0F\x10\x05\x2A\x2A\x2A\x2A\x6A\x40"
				"linux"			"@_ZN20CFlashbangProjectile8DetonateEv"
			}
			"PercentageOfFlashForPlayer"
			{
				"library"		"server"
				"windows"		"\x55\x8B\xEC\x81\xEC\xB0\x00\x00\x00\x56\x8B\x75\x08\x8B\x06"
				"linux"			"@_Z26PercentageOfFlashForPlayerP11CBaseEntity6VectorS0_"
			}

		}
	}
}
Dr!fter is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 09-28-2013 , 04:14   Re: [CS:S] Flashbang Tools
Reply With Quote #22

Dr!fter, how did you find a description of these functions (prototypes ...e.t.c)?

Last edited by kadet.89; 09-28-2013 at 06:29.
kadet.89 is offline
Send a message via Skype™ to kadet.89
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 09-28-2013 , 12:45   Re: [CS:S] Flashbang Tools
Reply With Quote #23

Using a hex editor (probably IDA : Hex Rays) and searching in the linux server binary. Function names are present so it's that hard to find a function you want.

ProdigySim has streamed himself doing some sig scanning. i.e. http://www.twitch.tv/prodigysim/c/2536037

There are also threads on the subject in the forum.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 10-05-2013 , 09:01   Re: [CS:S] Flashbang Tools
Reply With Quote #24

PHP Code:
/**
* @param client        The hegrenade entity

* @return             Plugin_Handled or higher to block. Anything else to ignore
*  
*/
forward Action:OnHEDetonate(entity);


/**
* @param client        The grenade entity

* @return             Plugin_Handled or higher to block. Anything else to ignore
*  
*/
forward Action:OnGrenadeSpawn(entity); 
replace grenade model:
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	542
Size:	52.8 KB
ID:	126506  
Attached Files
File Type: zip flashbang-tools-src.zip (25.0 KB, 155 views)
File Type: zip flashtools.zip (44.2 KB, 208 views)

Last edited by kadet.89; 10-06-2013 at 04:55.
kadet.89 is offline
Send a message via Skype™ to kadet.89
falafili
Junior Member
Join Date: Feb 2013
Old 01-18-2014 , 09:43   Re: [CS:S] Flashbang Tools
Reply With Quote #25

Hi all!
I have some troubles with loading this extension:
L 01/18/2014 - 18:28:41: [SM] Unable to load extension "flashtools.ext": /lib32/libm.so.6: version `GLIBC_2.15' not found (required by bin/libvstdlib.so)
Server's working on linux and that's why it causes such error, is not it?
Hope u will help =)
falafili is offline
Desura
New Member
Join Date: Jan 2014
Old 02-03-2014 , 04:50   Re: [CS:S] Flashbang Tools
Reply With Quote #26

Can we add flash duration?
Desura is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-07-2014 , 07:43   Re: [CS:S] Flashbang Tools
Reply With Quote #27

Quote:
Originally Posted by Desura View Post
Can we add flash duration?
Hook event "player_blind" to get player who get blinded by flashbang.
Then change player propertie "m_flFlashDuration"
PHP Code:
new Float:duration GetEntPropFloat(clientProp_Send"m_flFlashDuration");
duration += 5.0// 5 seconds longer blind
SetEntPropFloat(clientProp_Send"m_flFlashDuration"duration); 
Bacardi is offline
josegold
New Member
Join Date: Feb 2014
Old 02-19-2014 , 11:52   Re: [CS:S] Flashbang Tools
Reply With Quote #28

This came to me helpfully, good
__________________
josegold is offline
Send a message via AIM to josegold Send a message via Skype™ to josegold
Schneemann
Junior Member
Join Date: Feb 2014
Old 02-22-2014 , 13:40   Re: [CS:S] Flashbang Tools
Reply With Quote #29

Hello
I use this plugin in combination with Trikz Redux 1.7.2 and get some trouble.
little question, the server always crash after I toggled "auto flash", or/and "auto switch".

Sourcemod version: 1.6.0-hg4254 (tested with sm v. 1.5.3-hg3997 too)
Timer 2.0.6 fixed
Trikz Redux 1.7.2
Flashbang Tools: Flashbang Tools 0.0.3 & newst gamedata

Till now, I didn't found any solution for my problem.

Greetz
Schnee
Schneemann is offline
poppin-fresh
AlliedModders Donor
Join Date: Aug 2010
Old 04-20-2014 , 05:35   Re: [CS:S] Flashbang Tools
Reply With Quote #30

Hey, Todays update has seemed to break the plugin. I've updated sourcemod so it must be gamedata? This still works fine on my linux (debian) server but seems to be broken on windows

L 04/20/2014 - 17:19:05: [CSTRIKE] Sigscan for TerminateRound failed - Disabling detour to prevent crashes
L 04/20/2014 - 17:19:05: [CSTRIKE] TerminateRound detour could not be initialized - Disabled OnTerminateRound forward
L 04/20/2014 - 17:19:05: [FBTOOLS] Sigscan for CFlashbangProjectile:etonate failed - Disabling detour to prevent crashes
L 04/20/2014 - 17:19:05: [FBTOOLS] CFlashbangProjectile:etonate detour could not be initialized - Disabled OnFlashDetonate forward
poppin-fresh 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 06:58.


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