Raised This Month: $119 Target: $400
 29% 

[CS:S] Flashbang Tools


Post New Thread Reply   
 
Thread Tools Display Modes
8guawong
AlliedModders Donor
Join Date: Dec 2013
Old 07-16-2016 , 22:45   Re: [CS:S] Flashbang Tools
Reply With Quote #41

new windows gamedata required for csgo i think

Last edited by 8guawong; 07-16-2016 at 22:50.
8guawong is offline
BulgarPL
Member
Join Date: Dec 2015
Old 11-29-2016 , 05:54   Re: [CS:S] Flashbang Tools
Reply With Quote #42

L 11/29/2016 - 11:51:11: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 11/29/2016 - 11:51:11: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward

On csgo, new Gamedata? Pls Help
BulgarPL is offline
BulgarPL
Member
Join Date: Dec 2015
Old 11-29-2016 , 05:55   Re: [CS:S] Flashbang Tools
Reply With Quote #43

Quote:
Originally Posted by Dr!fter View Post
This extension adds some useful forwards sourcepawn for flashbangs. Ive had it for a very long time. But found it mostly useless to me and thought others would find it useless as well (It was originally for learning). But recently I've noticed people trying to do things with flashbangs. Removing the sound when you are flashed. Grabbing info when it detonates etc... So I decided to release it.

Note: I only tested in windows. It was a rather rushed release everything still compiled the signatures for windows were correct.

Forwards:
PHP Code:
/**
* @param client        Client index
* @param distance    How far the flash is from the player which will effect the volume and length of the "deafen"

* @return             Plugin_Handled or higher to block. Plugin_Changed if distance was changed. Plugin_Continue to ignore.
*  
*/
forward Action:OnDeafen(client, &Float:distance);

/**
* @param entity        The flashbang entity

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

/**
* @param client        Client index
* @param entity        The flashbang entity
* @param pos        The position vector of the flashbang
* @param percent    The percent?

* @return             Plugin_Handled or higher to ignore player. Plugin_Changed if percent was changed. Plugin_Continue to ignore 

*/
forward Action:OnGetPercentageOfFlashForPlayer(cliententityFloat:pos[3], &Float:percent); 
I have no clue how the percent for OnGetPercentageOfFlashForPlayer works. I tried changing it and couldn't notice any changes (its been awhile since i tried) but you can try it

Example:
PHP Code:
#include <sourcemod>
#include <flashtools>

public Action:OnDeafen(client, &Float:distance)
{
    
//Dont "Deafen" anyone
    
return Plugin_Handled;
}
public 
Action:OnGetPercentageOfFlashForPlayer(cliententityFloat:pos[3], &Float:percent)
{
    new 
owner GetEntPropEnt(entityProp_Send"m_hOwnerEntity");
    new 
team GetClientTeam(client);
    new 
team2 GetClientTeam(owner);
    
//Dont team flash but flash the owner
    
if(team == team2 && owner != client)
    {
        return 
Plugin_Handled;
    }
    
    return 
Plugin_Continue;
}
public 
Action:OnFlashDetonate(entity)
{
    new 
bool:cookies false;
    
    
//Stop Detonate
    
if(cookies)
        return 
Plugin_Handled;
    
    return 
Plugin_Continue;
    

I couldn't think of anything useful for OnFlashDetonate i guess its useful for getting info from the flashbang or stopping one from detonating for some reason.

You only need flashbang-tools.zip for most stuff unless you need to recompile.
Can u Pls update gamedata?
BulgarPL is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 12-02-2016 , 16:48   Re: [CS:S] Flashbang Tools
Reply With Quote #44

hf
Attached Files
File Type: txt fbtools.games.txt (1.7 KB, 63 views)
Dr!fter is offline
romeo7
Member
Join Date: Mar 2017
Old 03-26-2017 , 14:25   Re: [CS:S] Flashbang Tools
Reply With Quote #45

not working in CSGO. please update
Error:
[FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
[FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
romeo7 is offline
NickischLP
Senior Member
Join Date: Jun 2013
Location: Germany
Old 07-17-2017 , 15:24   Re: [CS:S] Flashbang Tools
Reply With Quote #46

Flashbang tools is creating errors:
Code:
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
L 07/11/2017 - 20:48:53: [FBTOOLS] Sigscan for PercentageOfFlashForPlayer failed - Disabling detour to prevent crashes
L 07/11/2017 - 20:48:53: [FBTOOLS] PercentageOfFlashForPlayer detour could not be initialized - Disabled OnGetPercentageOfFlashForPlayer forward
__________________
NickischLP is offline
Send a message via Skype™ to NickischLP
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-20-2017 , 15:24   Re: [CS:S] Flashbang Tools
Reply With Quote #47

I am no longer maintaining this. This plugin https://forums.alliedmods.net/showthread.php?t=301429 can help developers modify their code accordingly.
Dr!fter is offline
dinhojack
Junior Member
Join Date: Sep 2017
Old 09-25-2017 , 08:15   Re: [CS:S] Flashbang Tools
Reply With Quote #48

I don't think you can change the collision of the flash.
dinhojack is offline
BulgarPL
Member
Join Date: Dec 2015
Old 10-18-2017 , 18:16   Re: [CS:S] Flashbang Tools
Reply With Quote #49

Quote:
Originally Posted by Dr!fter View Post
hf
Can u pls update the gamedata. I rly need this.
BulgarPL is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-18-2017 , 21:42   Re: [CS:S] Flashbang Tools
Reply With Quote #50

Quote:
Originally Posted by BulgarPL View Post
Can u pls update the gamedata. I rly need this.
Quote:
Originally Posted by Dr!fter View Post
I am no longer maintaining this. This plugin https://forums.alliedmods.net/showthread.php?t=301429 can help developers modify their code accordingly.
Dr!fter 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 15:00.


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