Log in

View Full Version : Found new states (FO3)



Koncord
07-09-2014, 11:47 AM
I found some the state of FO3.


Address description sizeof
0106CAFD TCL 1
010F2C7C should be inverted TCL otherwise there will be problems with collisions 1
0107BA65 TGM 1
1808172E TFC (Last bit) 1

foxtacles
07-09-2014, 05:52 PM
Can you explain what this is in detail?

Koncord
07-09-2014, 06:11 PM
0106CAFD if last bit equal 1 and if last bit 010F2C7C equal 0, then collision disabled.
Or if last bit 0106CAFD equal 0 and if last bit 010F2C7C equal 1, then collision enabled.
0107BA65 if last bit 1 then God mode enabled. If 0 god mode disabled.
1808172E like other.

Koncord
07-09-2014, 08:19 PM
for example:

#include <windows.h>
#include <stdio.h>

int addr_tgm = 0x0107BA65;
int addr_tfc = 0x1808172E;
int addr_tcl = 0x0106CAFD;
int addr_tcl2 = 0x010F2C7C;

void Read(HANDLE *handle)
{
int tgm;
int tfc;
int tcl,tcl2;
ReadProcessMemory(handle, (void*)addr_tgm, &tgm,sizeof(int), NULL);
ReadProcessMemory(handle, (void*)addr_tfc, &tfc,sizeof(int), NULL);
ReadProcessMemory(handle, (void*)addr_tcl, &tcl,sizeof(int), NULL);
ReadProcessMemory(handle, (void*)addr_tcl2, &tcl2,sizeof(int), NULL);
printf("TGM: %d\n", tgm & 0x01);
printf("TCL: %d\t", tcl & 0x01);
printf("TCL2: %d\n", tcl2 & 0x01);
printf("TFC: %d\n", tfc & 0x01);
}

void toggle(HANDLE handle, int addr)
{
int data;
ReadProcessMemory(handle, (void*)addr, &data, sizeof(int), NULL);
data ^= 0x01;
WriteProcessMemory(handle,(void*)addr, &data, sizeof(int), NULL);
}

int main()
{
HWND hwnd;
DWORD pid;
hwnd = FindWindowEx(NULL,NULL,NULL,"Fallout3");
if(hwnd == NULL) return 1;
GetWindowThreadProcessId(hwnd, &pid);
HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS,0,pid);
char command[32];
while(1)
{
gets(command);
if(!strcmp(command,"read"))
Read(handle);
else if(!strcmp(command,"tgm"))
toggle(handle, addr_tgm);
else if(!strcmp(command,"tfc"))
toggle(handle, addr_tgm);
else if(!strcmp(command,"tcl"))
{
toggle(handle, addr_tcl);
toggle(handle, addr_tcl2);
}

else break;
}
return 0;
}

ArathHunter
07-11-2014, 10:44 AM
Well, it looks like he's trying to help things along, whether it's helpful or not at least he's trying and that makes me happy =P