So i was wondering if anyone had the address for setclientdvar for cod5 1.7, or if anyone could tell me how to go on about finding it. Ive been looking around in ollybdg but im not exactly sure what i am looking for, Most likely a call adress ? any help would be appreciated
What dvar are you trying to set to/trying to find?
I am looking for the offset in memory that is called to set any dvar so that after ive unlocked dvars instead of looking for each memory address i just call the set dvar by doing something like this :
Code:
//found this on some site
static void (*hSendCommand)(int bla1,int bla2,char *bla3) = (void (__cdecl *)(int,int,char *))0x004F9AB0;
Code:
hSendCommand(1,1,"cg_thirdPerson 1");
As this method seems less trouble then finding each pointer for each address but im unsure if this would actually work
Posts 1–4 of 4 · Page 1 of 1
Post a Reply
Tags for this Thread
None
Originally Posted by TermsGaming
I am looking for the offset in memory that is called to set any dvar so that after ive unlocked dvars instead of looking for each memory address i just call the set dvar by doing something like this :
Code:
//found this on some site
static void (*hSendCommand)(int bla1,int bla2,char *bla3) = (void (__cdecl *)(int,int,char *))0x004F9AB0;
Code:
hSendCommand(1,1,"cg_thirdPerson 1");
As this method seems less trouble then finding each pointer for each address but im unsure if this would actually work
I had a look for you. "hSendCommand" is actually called Cmd_ExecuteSingleCommand btw and in WaW it is located at 0x0055CD90!