Snapshot
hi, i made this little script:
client_cmd(read_data(1), "snapshot") works fine... i tryed to make a timer but nothing... how can i make a timer and on its exit the script will send to clients cmd? |
Re: Snapshot
What language is that?
|
Re: Snapshot
Use set_task. For example, this will delay a function by 15 seconds.
Code:
|
Re: Snapshot
thx :) takes a snapshot every 10 minutes! now i can easly see who has wh!
|
Re: Snapshot
Quote:
http://forums.alliedmods.net/showthread.php?t=43049 |
Re: Snapshot
You can't use amxx to see if someone has wh, or any other hack.
This snapshot function is nothing more then creating a screenshot on their machines, so on the CLIENTS machines. You need them on the server, which means you will have to create a link with either sockets or use another way to transfer those screenshots to the server. But that can easily be prevented by putting up a firewall, or disabling ports. That's why i think you can't make some kind of anticheat plugin with Amxx because it has too much limits. Cheats should be caught at the beginning, and that's the hook of a program, or dll to the game, or the video memory. dutchie out... |
Re: Snapshot
Quote:
There is (apart from spawning an entity) no other way to get the same effects. Spawning an entity is more prone to errors, and will make it needlessly complicated. |
Re: Snapshot
Quote:
I didn't say it wouldn't be more complicated than a set_task, and you already mentioned yourself that you can spawn an entity as another method. he did say he's going to use set_task to take a snapshot every 10 minutes, thus it's one of the points covered in hawk's tutorial. If you mean that it's totally pointless for this type of plugin, then I agree with you. If it were me, I would stick with set_task for something that occurs every 10 minutes, but the point of my statement is so that he knows there are other options that are less expensive than set_task for future references. |
Re: Snapshot
Actually set_task() would be less expensive in this case. You're over complicating things.
|
Re: Snapshot
oh, in that case, you have every right to say I don't know what I'm talking about.
|
| All times are GMT -4. The time now is 00:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.