Results 1 to 7 of 7
  1. #1
    intervention61's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    285
    Reputation
    10
    Thanks
    875
    My Mood
    Cool

    __asm editing dvars

    Ok, by following hell_demon's guide this method works for dvars which are FLOAT :
    __asm
    {
    mov EAX, DWORD PTR DS:[0x9FFC08];
    mov DWORD PTR DS:[EAX+0x10], 90;
    }

    for dvars which are BYTE how would i get it to work? tried cahnging dword to BYTE didnt work
    mov EAX, BYTE PTR DS:[0x9FFC08];
    mov BYTE PTR DS:[EAX+0x10], 90;

  2. #2
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    Try push pop instead of mov.

  3. The Following User Says Thank You to kibbles18 For This Useful Post:

    intervention61 (07-28-2011)

  4. #3
    intervention61's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    285
    Reputation
    10
    Thanks
    875
    My Mood
    Cool
    Thanks, works with asm code injection .. but not C++ inline assembly anyone know how to fix it?
    Code:
    PUSHAD
    PUSHFD
    MOV EAX, DWORD PTR DS:[0x9FFC08]
    MOV EBX, 1
    MOV [EAX + 10], EBX 
    POPAD
    Last edited by intervention61; 07-28-2011 at 01:17 PM.

  5. #4
    Khalifa.'s Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    46
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    What template are you using ?

  6. #5
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    Code:
    PUSH EAX
    MOV EAX, DWORD PTR DS:[0X9FFC08]
    PUSH 90
    POP EAX
    POP EAX

  7. The Following User Says Thank You to kibbles18 For This Useful Post:

    intervention61 (07-29-2011)

  8. #6
    Fovea's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    325
    Reputation
    101
    Thanks
    411
    My Mood
    Amused
    Code:
    const DWORD dwSomething = 0x009FFC08;
    
    __asm
    {
      mov eax, dword ptr ds:[dwSomething]
      mov eax, [eax]
      mov dword ptr ds:[eax+0x10], 90
    }

  9. The Following User Says Thank You to Fovea For This Useful Post:

    intervention61 (07-29-2011)

  10. #7
    intervention61's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    285
    Reputation
    10
    Thanks
    875
    My Mood
    Cool
    Thanks fovea works perfectly
    +rep fovea and kibbles.
    /solved

Similar Threads

  1. packet editing
    By terence in forum Hack Requests
    Replies: 1
    Last Post: 09-23-2007, 07:51 AM
  2. EndLess' edited system.mrs
    By EndLess in forum Gunz Hacks
    Replies: 22
    Last Post: 02-22-2006, 09:22 AM
  3. any way to use wpe for damage editing?
    By zelda803 in forum WarRock - International Hacks
    Replies: 10
    Last Post: 02-09-2006, 02:33 AM
  4. Edited Tutorial: Bypass (Perm)
    By SpiderByte in forum WarRock - International Hacks
    Replies: 24
    Last Post: 01-28-2006, 04:36 AM
  5. Runescape money edit...perminant?
    By wardo1926 in forum General Game Hacking
    Replies: 19
    Last Post: 01-27-2006, 06:34 PM