Folgende Warnungen sind aufgetreten:
Warning [2] preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead - Line: 1007 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/highlighter.php 1007 preg_match_all
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] Invalid argument supplied for foreach() - Line: 1008 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
/inc/highlighter.php 1008 errorHandler->error
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead - Line: 1007 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/highlighter.php 1007 preg_match_all
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] Invalid argument supplied for foreach() - Line: 1008 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
/inc/highlighter.php 1008 errorHandler->error
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead - Line: 1007 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/highlighter.php 1007 preg_match_all
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] Invalid argument supplied for foreach() - Line: 1008 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
/inc/highlighter.php 1008 errorHandler->error
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead - Line: 1007 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/highlighter.php 1007 preg_match_all
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message
Warning [2] Invalid argument supplied for foreach() - Line: 1008 - File: inc/highlighter.php PHP 7.4.33 (Linux)
File Line Function
/inc/highlighter.php 1008 errorHandler->error
/inc/highlighter.php 353 generic_highlight
/inc/plugins/coolcode.php 133 php_highlight
/inc/plugins/coolcode.php 61 coolcode_run
/inc/class_plugins.php 139 coolcode_end
/inc/class_parser.php 232 pluginSystem->run_hooks
/printthread.php 184 postParser->parse_message



Home of Gamehacking - Archiv
FarCry 4 Pointerscann - Druckversion

+- Home of Gamehacking - Archiv (http://archiv-homeofgamehacking.de)
+-- Forum: Gamehacking (http://archiv-homeofgamehacking.de/forumdisplay.php?fid=3)
+--- Forum: Gamehacking (http://archiv-homeofgamehacking.de/forumdisplay.php?fid=6)
+--- Thema: FarCry 4 Pointerscann (/showthread.php?tid=2955)



FarCry 4 Pointerscann - Shad0wEalk3r - 20.06.2016

Hallo Zusammen,

Ich versuche mich schon seit längerem den Base Pointer von div. Sachen in FC zu finden. leider ohne Erfolg.
Nun habe ich mit dem Pointerscanner einen gefunden der auch Funktioniert. auch nach neustart etc.

Hier das Bild: 
[Bild: ea2df2478d62429ba4508dcf142e4a14.png]

Nun aber, 2 Fragen dazu:

1. Warum steht da unten links FC64.dll und nicht die FarCray4 .exe?
2. Wie muss ich dies in C++ angeben damit ich auf diese Adresse schreiben kann? ich benutze diesen Code:

PHP-Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <Windows.h>
#include <iostream>

using namespace std;

int main()
{
HWND hwnd;
hwnd = FindWindow(0, "Microsoft Solitaire Collection");
DWORD Id;
HANDLE ProcessHandle;
int value;
unsigned adress = 0x12ABCB5F5B8;
unsigned adress2 = 0x12ABCB5F978;
//cout << hwnd << endl;

if (!hwnd)
{
cout << "Solitaire nicht gefunden ...!!!" << endl;
}
else{
cout << "Solitaire gefunden...\n Fensterhandle: " << hwnd << endl;
GetWindowThreadProcessId(hwnd, &Id);
cout << "Id: " << Id <<endl;
ProcessHandle = OpenProcess(PROCESS_VM_WRITE | PROCESS_VM_OPERATION, false, Id);
cout << "ProcessHandle: " << ProcessHandle << endl;
cout << "Wie viele Punkte möchtest du haben: ";
cin >> value;
fflush(stdin);

WriteProcessMemory(ProcessHandle, (LPVOID)adress, &value, sizeof(int), NULL);
WriteProcessMemory(ProcessHandle, (LPVOID)adress2, &value, sizeof(int), NULL);
cout << "Wert geschrieben" << endl;
}



cin.get();
}


Ich weis das der Code hier den Wert nur einmal erhöhen würde, mir geht es nur darum das ich verstehe wie man dies Rechnen muss und es in C++ angeben muss.

Liebe Grüsse


RE: FarCry 4 Pointerscann - iNvIcTUs oRCuS - 21.06.2016

Warum das ganze nicht in der FyrCry4.exe zu finden ist, ist relativ einfach erklärt.
Sämtliche Far Cry Games ab Nr. 2, also Far Cry 2 bis aktuell Far Cry Primal, nutzen die Dunia Engine.
Far Cry Primal nimmt dabei eine Sonderposition ein da diese Engine doch sehr aufgebohrt wurde...

Egal... Jedenfalls ist es bei Far Cry 2 bis 4 so das sämtliche Cheats innerhalb einer DLL zu finden sind.
Folglich ist auch davon auszugehen das der Pointerpfad zu jener DLL führt, bzw. von jener DLL ausgeht.

Jedenfalls gibt es sehr viele Spiel bei denen die Cheat Offsets nicht in der eigentlichen EXE Datei stehen. Z.B. ist es ein Indiz dafür wenn die EXE Datei nur ein paar Kilobytes groß ist.

In jedem Falle musst Du per Trainer die PID ermitteln. Ob nun über den Prozessnamen oder über den Fenstertitel ist dabei dir überlassen.
Was du allerdings noch ermitteln musst ist die Basisadresse des Moduls (der DLL). Hierzu hat bereits Acubra ein Code Snippet gepostet.

Guckst Du hier...
http://homeofgamehacking.de/showthread.php?tid=840