View Single Post
Re: Reply "hlcoder": fake client command
Old
  (#7)
XAD
Member
 
Status: Offline
Posts: 4
Join Date: Jan 2005
Default Re: Reply "hlcoder": fake client command - 15-01-2005

FYI: "kill" (used to "slay"), "hurtme" (used to "slap"), "buy", "drop" also tested and works... but "use" is not sent as a ConCommand or ClientCommand so it has to be done differently (both for real players and bots)...

/X

PS! ConCommand can be listed in console or loop through the ConCommandBase list (also using a hexeditor in the binary files are very usefull)...

**Edit** What I'm doing is first to check the ConCommand list and if no match is found then I call game.dll's ClientCommand... both wrapped with code to tokenize the command and redirect the engine's Cmd_<> functions to use the new string instead of engine's token...

Last edited by XAD; 15-01-2005 at 15:07..
  
Reply With Quote