Raised This Month: $32 Target: $400
 8% 

set_task Help Please


Post New Thread Reply   
 
Thread Tools Display Modes
SANTO37
Member
Join Date: Aug 2008
Old 03-23-2020 , 14:59   Re: set_task Help Please
Reply With Quote #21

My goal is to check different cfg files. Can you help?
SANTO37 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-23-2020 , 15:10   Re: set_task Help Please
Reply With Quote #22

Stop being ignorant. Read what people tell you. You don't need to call the function more than once.

If you need more files, simply run multiple "szFilename" checks?!
__________________

Last edited by OciXCrom; 03-23-2020 at 15:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
SANTO37
Member
Join Date: Aug 2008
Old 03-24-2020 , 11:00   Re: set_task Help Please
Reply With Quote #23

I'm trying to make an anti-cheat plugin. All my work is about to be finished but I'm not good at AMXX. I need to run the code I shared with you every 10 seconds. Rather than give me reason, I want you to solve this problem. As I said, I'm not good at AMXX.
SANTO37 is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 03-24-2020 , 13:03   Re: set_task Help Please
Reply With Quote #24

Quote:
Originally Posted by SANTO37 View Post
Rather than give me reason, I want you to solve this problem.
There's nothing to solve because the code already does what it intends to.
__________________
gabuch2 is offline
SANTO37
Member
Join Date: Aug 2008
Old 03-24-2020 , 13:08   Re: set_task Help Please
Reply With Quote #25

Yes, the code works, but it should work to check the same file every 10 seconds.
SANTO37 is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 03-24-2020 , 13:12   Re: set_task Help Please
Reply With Quote #26

buddy, once the player connected, they get kick, and if he's kicked, what to check anymore in 10 seconds??
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-24-2020 , 14:22   Re: set_task Help Please
Reply With Quote #27

If you closed a door, do you need to close the door again after 10 seconds?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
SANTO37
Member
Join Date: Aug 2008
Old 03-25-2020 , 07:14   Re: set_task Help Please
Reply With Quote #28

will be connected to the game server.
The server will create a file in the game directory.
anti-cheat.exe will delete this created file.
The server will check the file again after 10 seconds.
If the file is not deleted. Anti-cheat program is not working
The player will be expelled from the server.
Now I ask you a lot. How can I run this code every 10 seconds instead of asking a question?
Please don't ask questions and help me
Please.
SANTO37 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-25-2020 , 22:48   Re: set_task Help Please
Reply With Quote #29

Running the code still won't be able to check some random file. The inconsistent_file functionality is for files that are loaded by the game itself (which the server has some visibility to). Random files won't be loaded by the game.
__________________

Last edited by fysiks; 03-25-2020 at 22:50.
fysiks 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 12:15.


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