If you're OK with heading into undocumented territory, then you can
disable pretty much any cvar or console command, even ones the engine
has installed.  There's a whole load of function pointers that have been
added to the end of various interfaces in the Half-Life 1 engine (I
posted on this list asking about them a while back).  cl_enginefunc_t
contains two that will return the start of the cvar and console command
linked lists.  Just walk the list until you find the timerefresh command
and replace it's function pointer with your own.

I've uploaded a copy of the updated structures at
http://homepage.ntlworld.com/pr.searle/testns/cdll_int.h
If anyone can throw any light on the functions marked 'unknown', I'd be
grateful too :)

Disclaimer: Don't forget that all these extra functions are undocumented
by Valve and could disappear or fail to work without warning.
--
Philip Searle

Jorge Rodriguez wrote:
TS has this problem where the timerefresh command can cause you to do
like, eight stunts in a row. The command doesn't seem to be a problem
with most Valve mods, the most I can remember as far as exploits go is
that it lets people concjump really high in TFC if you do it right.
Basically, this is not good. It is an carmackian engine function which
was intended for benchmarking, but I don't think anybody uses it
anymore. Can Valve look into disabling or allowing modders to disable
this command?
--
Jorge "Vino" Rodriguez



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to