Raised This Month: $ Target: $400
 0% 

Constant 101 FPS on local server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OlikA
Junior Member
Join Date: Aug 2009
Location: Caldeum
Old 05-15-2010 , 11:06   Constant 101 FPS on local server?
Reply With Quote #1

I have a question regarding achieving constant 101 FPS. I would like to make a scripted event on a local server that replays a client's (who connected to this server) character movement series which requires constant FPS to abuse gameplay as much as possible. The slightest difference in FPS has impact on the outcome. I will use this as a demonstration, not for cheating or something.

Is there any way to change the elapsed time between frames to a constant value, that every HL function will use it? For example: the player's speed increment uses that time value which calculated from the elapsed time between the last frame and the actual frame. So I would change the "elapsed time" to a constant time (that represents that I play 101 FPS) so I will have the same outcome whenever I replay the preprogrammed input series.

I wrote a plugin that reads the pitch and yaw (view angles) and client commands (+forward;+moveright) from a file. So I think I have to get constant FPS on both the server and client to achieve the very same outcome. I don't use wait;, only read 3 lines per frame from a file. I don't care if I have 101 FPS but not in realtime (slower gameplay but real 101 FPS), the recorded gameplay (demo file) will be replayed perfectly (not on 101 fps but that won't have impact on the outcome).

Does anyone have an idea about how to solve this problem?
Also if you have any question regarding the project (to ensure I'm not about making a cheat plugin or something that would ruin or abuse a community), just ask me and I response.

Last edited by OlikA; 05-15-2010 at 11:14. Reason: removed an unnecessary bracket and added a semicolon.
OlikA 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 03:33.


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