29-11-2006, 10:26 PM
Verrigan Wrote:You said you didn't see any use for it in Elysium. (Can't quote this, cause my thread on the Elysium forums was deleted on my request)
There are much better ways of stopping speed hacks, that's all I really said. I wasn't singling out Elysium either, because it'd be the same for Mirage.
Verrigan Wrote:As for it being slower.. Of course it's slower. It's using 64 bits on a 32 bit system, but my FPS on Kronia is still exactly the same, so it must not be hurting anything too badly.
FPS cap that might not be binding in slower machines. Just thought I'd point that out...
Verrigan Wrote:You were being critical where being critical wasn't warranted.. I clearly stated the slowness of my approach as being a con. That wasn't the issue.. The issue was whether or not it works.. and, the answer to that is yes. You got stuck on the slowness of it, and it's not really all that slow... Apparently you didn't even bother to test it.. So whatever.
You PMed me about your tutorial specifically, so I payed more attention to it. Of course I didn't test if it stopped speed hacks because I myself have never used one before (and never will, frankly). I did use your code and tried it out with a sample application to see if the actual tick count thing worked, however. I only made my version because you stated the memory thing as a con and I thought I could fix that. I was just suggesting an alternative that didn't have your cons, but I created my own anyway so there wasn't much point (I'm guessing my way is slower than yours).
What the heck, I'll download a speed hack and try out various methods myself. I'll make a simple program with all of them and even figure out the respective speeds (with the original GetTickCount as the control). You win Verrigan, mainly because I'd hate to not have you participate with Elysium any longer just because I butted into your tutorial.
PS. Your topic is in the hidden recycle bin, I can restore it at your request.
EDIT: Perfect results! I downloaded SpeederXP and make this sample exe to compare GetTickCount, your method, and my method. Before running SpeederXP, all the tick counts were in perfect unison. I maxed out SpeederXP and...
GetTickCount said 514 seconds had elapsed.
Verrigan's method said 10 seconds had elapsed.
Pingu's method said 10 second has elapsed.
My computer is fast and didn't freeze up (still 1% comp usage at max speed). It's obvious that both our method work, but I'll set up a speed test now to see who's is actually faster.

EDIT EDIT:
Contrary to popular belief, speed hacks DO effect the interval of timers in a project. There goes your old tutorial Verrigan...