You are viewing our Forum Archives. To view or take place in current topics click here.
Setting Dvars in Realtime C# (XRCP)?
Posted:
Setting Dvars in Realtime C# (XRCP)?Posted:
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Ive done some research and all I can find on this topic is this line of code:
Jtag.Call(0x823FF408, 0, "set Dvar Value; set Dvar Value;");
I've tried making a button, then adding this into the button's code:
Jtag.Call(0x823FF408, 0, "Cbuf_AddText(Hello)");
and things along those lines like
Jtag.Call(0x823FF408, 0, "settimescale, 1");
But none of them work. Apparently 0x823FF408 is a console that you can send dvars too. But i'm a little confused. Can anyone explain what i'd type in exactly to set a dvar? Give an example?
Jtag.Call(0x823FF408, 0, "set Dvar Value; set Dvar Value;");
I've tried making a button, then adding this into the button's code:
Jtag.Call(0x823FF408, 0, "Cbuf_AddText(Hello)");
and things along those lines like
Jtag.Call(0x823FF408, 0, "settimescale, 1");
But none of them work. Apparently 0x823FF408 is a console that you can send dvars too. But i'm a little confused. Can anyone explain what i'd type in exactly to set a dvar? Give an example?
#2. Posted:
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Cent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Xenon4Life wroteCent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
Jtag.Call(0x823FF408, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x823FF408, 0, "set cg_fov \"80\"");
There's a few examples. If it doesn't work, make sure you're on the correct TU (tu11).
- 1useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Cent wroteXenon4Life wroteCent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
Jtag.Call(0x823FF408, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x823FF408, 0, "set cg_fov \"80\"");
There's a few examples. If it doesn't work, make sure you're on the correct TU (tu11).
Right. I was on Tu12. Thanks a bunch man +rep
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Xenon4Life wroteCent wroteXenon4Life wroteCent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
Jtag.Call(0x823FF408, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x823FF408, 0, "set cg_fov \"80\"");
There's a few examples. If it doesn't work, make sure you're on the correct TU (tu11).
Right. I was on Tu12. Thanks a bunch man +rep
The TU12 offset is 0x82400AD8.
Jtag.Call(0x82400AD8, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x82400AD8, 0, "set cg_fov \"80\"");
- 1useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Cent wroteXenon4Life wroteCent wroteXenon4Life wroteCent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
Jtag.Call(0x823FF408, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x823FF408, 0, "set cg_fov \"80\"");
There's a few examples. If it doesn't work, make sure you're on the correct TU (tu11).
Right. I was on Tu12. Thanks a bunch man +rep
The TU12 offset is 0x82400AD8.
Jtag.Call(0x82400AD8, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x82400AD8, 0, "set cg_fov \"80\"");
Hey, could you explain what the offset is for? Is that a console or something?
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Feb 24, 201311Year Member
Posts: 105
Reputation Power: 4
Status: Offline
Joined: Feb 24, 201311Year Member
Posts: 105
Reputation Power: 4
Cent wroteXenon4Life wroteCent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
Jtag.Call(0x823FF408, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x823FF408, 0, "set cg_fov \"80\"");
There's a few examples. If it doesn't work, make sure you're on the correct TU (tu11).
\" \" is not needed for int values!
- 2useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 179
Reputation Power: 8
XeXWill_V wroteCent wroteXenon4Life wroteCent wrote Jtag.Call(0x823FF408, 0, "set dvarname \"dvarvalue\"");
Thanks so i'm trying this:
0x823FF408, 0, "^ 7 \"999\"");
//To set player_sprintTime (%s to set value)
"^ 7 \"%s\""
and nothing happens in game... Could you give me an example of what you'd type in, with a dvar to make it work?
Jtag.Call(0x823FF408, 0, "set player_sprintTime \"10\"");
Jtag.Call(0x823FF408, 0, "set cg_fov \"80\"");
There's a few examples. If it doesn't work, make sure you're on the correct TU (tu11).
\" \" is not needed for int values!
Would it have us for any sort of dvars?
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Offsets are where functions are located at. 0x823FF408 is the offset to set dvars is located at on Tu11.
- 0useful
- 1not useful
You are viewing our Forum Archives. To view or take place in current topics click here.