Post: [Release] Edit DVAR's In-Game
03-05-2010, 09:33 PM #1
Fionn
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); This is my first thread in the premium section , and as Cpt.S made me premium for the Mw2 Hacks , Here's the first one.

You can change the dvar and the value you want to increase or decrease to whatever you want , You will see some of them in the video.

You need to add

    self thread increaseDvar();
self thread decreaseDvar()


To onPlayerSpawned() or where ever you want to call it from

    increaseDvar()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
self waittill( "dpad_up" );
value = getDvarInt( "g_speed" ); //gets dvar value
value = value + 20; //increases dvar value by 20(change 20 to whatever you want)
setDvar( "g_speed", value ); //sets dvar
self iPrintlnBold( "g_speed = ", value );
self thread increaseDvar();
}

decreaseDvar()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 2" );
self waittill( "dpad_down" );
value = getDvarInt( "g_speed" );
value = value - 20; //decreases dvar value by 20(change 20 to whatever you want)
setDvar( "g_speed", value );
self iPrintlnBold( "g_speed = ", value );
self thread decreaseDvar();
}


[ame="https://www.youtube.com/watch?v=UigQvcQBGe0"]YouTube- MW2 - Editing dvars in-game[/ame]
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Fionn for this useful post:

Cpt.S
03-06-2010, 08:28 PM #11
.Say Hi.
Rep is so 2010
Can this be done with packet injection?
03-06-2010, 08:50 PM #12
Cooler
Supreme
I wish this worked on PS3 :(
03-06-2010, 08:58 PM #13
TehLynch
You talkin to me?
You can change the title, you had my hopes up i was thinking finally Non-jtag mods but when i read my hopes got shot down :(, good for a jtag users but i noticed most of the users on NGU dont have a clue about any of this stuff as i have experienced i made a good thread but not alot people knew about flashing so it seemed terrible :(, ill give you some +rep for the vid, effort and contribution

The following user thanked TehLynch for this useful post:

Fionn
03-06-2010, 09:01 PM #14
Fionn
Banned
Thanks Cassius , You are one of the few who knows a bit on these.
I did a hack that you didn't need a jtag which was the unreleased camo tutorial.
03-06-2010, 09:30 PM #15
NGU Modded XP
You've Just Been JTAG'ed
Copy and paste much?
03-06-2010, 10:21 PM #16
Fionn
Banned
Originally posted by NGU
Copy and paste much?


The first code isn't mine , I edited it to get the gravity and jump height.

It's not that hard.
03-08-2010, 04:02 AM #17
Reaper
The Grim Reaper
holy crap i iz 1337 thats pimp im glad that im preimum now lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo