Raised This Month: $ Target: $400
 0% 

force_unmodified bug?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 05-07-2014 , 21:31   force_unmodified bug?
Reply With Quote #1

Using force_unmodified i can check for only one file if i return PLUGIN_HANDLED in inconsistent_file?
Can someone test this? Should it work like that?

If i use force_unmodified on two files, and on both of them i should get inconsistency, but only one file is checked for consistency.

Example:

Code:
#include < amxmodx > public plugin_precache( ) {     force_unmodified( force_exactfile, { 0, 0, 0 }, { 0, 0, 0 }, "sprites/gas_puff_01.spr" );     force_unmodified( force_exactfile, { 0, 0, 0 }, { 0, 0, 0 }, "sprites/gas_puff_02.spr" ); } public inconsistent_file( id, const sFile[ ], sReason[ 64 ] ) {     log_to_file( "test.txt",  "File name: %s", sFile );     return PLUGIN_HANDLED; }

Code:
L 05/08/2014 - 03:20:41: File name: sprites/gas_puff_02.spr
Shouldn't i also see sprites/gas_puff_01.spr in log?
Any idea how to solve this?

ps. Sorry for bad explanation. I attached code and log.

Last edited by OvidiuS; 05-08-2014 at 07:29.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
 


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 09:42.


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