Raised This Month: $ Target: $400
 0% 

[CSGO]Update broke plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 04-02-2015 , 05:06   [CSGO]Update broke plugin
Reply With Quote #1

Hello!

Latest CSGO update broke the FlashProtect plugin. For some reason it can't get the time, that players are in flashes so it sets the time 0 (shows 0 in chat too).

This is where it gets something wrong:
Code:
/* Get the time the player was flashed for */
new Float:flashTime = GetEntPropFloat(i, Prop_Send, "m_flFlashDuration");
Errorlog:
Code:
L 04/02/2015 - 00:09:32: [SM] Displaying call stack trace for plugin "flashprotect.smx":
L 04/02/2015 - 00:09:32: [SM]   [0]  Line 92, C:\Users\T*****\Desktop\scripting\flashprotect.sp::Event_FlashbangDetonate()
L 04/02/2015 - 00:11:10: [SM] Native "GetEntPropFloat" reported: Entity 27 (27) is invalid
L 04/02/2015 - 00:11:10: [SM] Displaying call stack trace for plugin "flashprotect.smx":
L 04/02/2015 - 00:11:10: [SM]   [0]  Line 92, C:\Users\T*****\Desktop\scripting\flashprotect.sp::Event_FlashbangDetonate()
L 04/02/2015 - 00:12:18: Error log file session closed.
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 04-06-2015 , 00:20   Re: [CSGO]Update broke plugin
Reply With Quote #2

Looks like improper client validation checks.
SM9 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:22.


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