Raised This Month: $ Target: $400
 0% 

Anti No-Flash


Post New Thread Reply   
 
Thread Tools Display Modes
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 04-03-2010 , 11:01   Re: Anti No-Flash
Reply With Quote #61

Quote:
Originally Posted by NiQu View Post
Did you think of people that is using no-flash also could use ESP with that said i wanna say this plugin is to no use

Make it block ESP or something and it would be great.
Stripping player's information should block ESP or wallhacks too during the period you are flashed. It will not block soundhacks though, because they get their info through an entirely different way.

The only purpose for this plugin is removing advantage during "blind" time. It should work well toghether with other anticheats, such as anti-wallhacks.
__________________
Check out my other plugins.
Rul4 is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-03-2010 , 11:38   Re: Anti No-Flash
Reply With Quote #62

Quote:
Originally Posted by Rul4 View Post
Please tell me what's on your mind. It is always good learning something else.
Hmmmm, well from what I can see:
  • Remove the amxmisc include
  • #include <cstrike>
    • Use cs_get_user_team instead of get_user_team (sometimes returns false results)
    • Remove those team defines

But that's just me. I'm sure Hawk has more significant suggestions.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-03-2010 , 12:58   Re: Anti No-Flash
Reply With Quote #63

Quote:
Originally Posted by wrecked_ View Post
Remove the amxmisc include
Don't do that.

Quote:
Originally Posted by wrecked_ View Post
Use cs_get_user_team instead of get_user_team (sometimes returns false results) -> Remove those team defines
Do that.

PHP Code:
    register_cvar("anti_noflash_version"VERSIONFCVAR_SPONLY FCVAR_SERVER); 
FCVAR_SPONLY is meaningless for any multiplayer game. All it does is stop clients from being able to change it, which they couldn't do in the first place.

PHP Code:
 (!id) || !is_user_connected(id
Unnecessary brackets on the !id check, and it's also probably useless to begin with. I suggest you just check if id is between 1 and 32 and skip the connected check, or just remove the !id check and leave is_user_connected().

PHP Code:
            new Classname[33];
            
pev(entpev_classnameClassname,32); 
Make this static.

PHP Code:
        remove_flash(id
Inconsistent use of semicolons. Use #pragma semicolon 1 (then remove it before release) to see if you missed any.

PHP Code:
public remove_flash(id){
        
    
//Remove flashing form target player for testing purposes
    
message_begin(MSG_ONEg_msg_screen_fade, {000}, id);
    
write_short(0);
    
write_short(0);
    
write_short(0);
    
write_byte(0);
    
write_byte(0);
    
write_byte(0);
    
write_byte(0);
    
message_end();    

    } 
Inconsistent indentation.

PHP Code:
message_begin(MSG_ONEg_msg_screen_fade, {000}, id); 
Use MSG_ONE_UNRELIABLE.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 04-12-2010 , 15:43   Re: Anti No-Flash
Reply With Quote #64

I've changed the code according to your suggestions.

Thanks to all of you.
__________________
Check out my other plugins.
Rul4 is offline
1337
Senior Member
Join Date: Mar 2009
Old 04-25-2010 , 10:05   Re: Anti No-Flash
Reply With Quote #65

Quote:
L 04/24/2010 - 04:25:23: [CSTRIKE] Invalid player 1
L 04/24/2010 - 04:25:23: [AMXX] Run time error 10 (plugin "antinoflash.amxx") (n
ative "cs_get_user_team") - debug not enabled!
L 04/24/2010 - 04:25:23: [AMXX] To enable debug mode, add "
debug" after the plug
in name in plugins.ini (without quotes).
Quote:
L 04/24/2010 - 047:13: [CSTRIKE] Invalid player 1
L 04/24/2010 - 047:13: [AMXX] Displaying debug trace (plugin "antinoflash.amxx
")
L 04/24/2010 - 047:13: [AMXX] Run time error 10: native error (native "cs_get_
user_team")
L 04/24/2010 - 047:13: [AMXX] [0] antinoflash.sma::fw_PlayerSpawn (line 143
)
mb fix it man?
1337 is offline
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 04-25-2010 , 14:16   Re: Anti No-Flash
Reply With Quote #66

Quote:
Originally Posted by 1337 View Post
mb fix it man?
Which mod are you running? CS or another one?
__________________
Check out my other plugins.
Rul4 is offline
Old 04-26-2010, 03:25
lazarev
This message has been deleted by lazarev.
lazarev
Veteran Member
Join Date: Sep 2008
Old 04-26-2010 , 03:33   Re: Anti No-Flash
Reply With Quote #67

And how can I detect if player is using noflash? =\
lazarev is offline
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 04-26-2010 , 07:58   Re: Anti No-Flash
Reply With Quote #68

Quote:
Originally Posted by lazarev View Post
And how can I detect if player is using noflash? =\
You can't. At least from the server's perspective. That is why I made this plugin.
__________________
Check out my other plugins.
Rul4 is offline
Duffnexter
Senior Member
Join Date: Aug 2009
Old 04-28-2010 , 22:54   Re: Anti No-Flash
Reply With Quote #69

Quote:
L 04/28/2010 - 211:41: [CSTRIKE] Invalid player 1
L 04/28/2010 - 211:41: [AMXX] Run time error 10 (plugin "antinoflash.amxx") (native "cs_get_user_team") - debug not enabled!
L 04/28/2010 - 211:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
any ideas how to fix it?
__________________
Duffnexter is offline
Send a message via MSN to Duffnexter Send a message via Skype™ to Duffnexter
1337
Senior Member
Join Date: Mar 2009
Old 04-29-2010 , 10:59   Re: Anti No-Flash
Reply With Quote #70

Quote:
Originally Posted by Rul4 View Post
Which mod are you running? CS or another one?
CS
im not alone who get this bug...
im sure EVERYONE gets this bug
1337 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 09:42.


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