Try push pop instead of mov.
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;
Try push pop instead of mov.
intervention61 (07-28-2011)
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.
What template are you using ?
Code:PUSH EAX MOV EAX, DWORD PTR DS:[0X9FFC08] PUSH 90 POP EAX POP EAX
intervention61 (07-29-2011)
Code:const DWORD dwSomething = 0x009FFC08; __asm { mov eax, dword ptr ds:[dwSomething] mov eax, [eax] mov dword ptr ds:[eax+0x10], 90 }
intervention61 (07-29-2011)
Thanks fovea works perfectly
+rep fovea and kibbles.
/solved