View Single Post
Re: Lightmap performance drop
Old
  (#9)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: Lightmap performance drop - 29-01-2005

Slightly off topic:
===============

I'm trying some things to prevent certain commands from being used, the only problem is that some are handled completely by the engine and cannot be blocked or changed.

I found this in the QuakeWorld client source...
Code:
typedef struct cmd_function_s
{
	struct cmd_function_s	*next;
	char					*name;
	xcommand_t				function;
} cmd_function_t;

...
...
...
...

static	cmd_function_t    *cmd_functions;		// possible commands to execute
Since both engines are similar I hope that structure hasn't changed so that the functions can be hooked after they are received by the network socket.

The question is how do I find it in memory?
If I were to get some memory reading tool I could look for "rate" or something and find the start of the command list by working backwards.

Can you reccommend any memory searching tools?
I looked for memory dumping programs but only found pages relating to the windows blue screen physical memory dump.
  
Reply With Quote