From cf423fa5251def9f8c541684ff9551b4f764b101 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 26 Feb 2019 20:26:47 -0500 Subject: [PATCH] small fixes --- GUI/mainwindow.cpp | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index ff0e42d..c7aeeba 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -121,7 +121,7 @@ void MainWindow::ProcessConnected(DWORD processId) if (hookList != allProcesses.rend()) for (auto hookInfo : hookList->split(" , ")) if (auto hp = Util::ParseCode(S(hookInfo))) Host::InsertHook(processId, hp.value()); - else swscanf_s(S(hookInfo).c_str(), L"|%I64d:%I64d:%[^\n]", &savedThreadCtx.first, &savedThreadCtx.second, savedThreadCode, (unsigned)ARRAYSIZE(savedThreadCode)); + else swscanf_s(S(hookInfo).c_str(), L"|%I64d:%I64d:%[^\n]", &savedThreadCtx.first, &savedThreadCtx.second, savedThreadCode, std::size(savedThreadCode)); } void MainWindow::ProcessDisconnected(DWORD processId) diff --git a/README.md b/README.md index 788de32..40c4900 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [日本語](https://github.com/Artikash/Textractor/blob/master/README_JP.md) **Textractor** (a.k.a. NextHooker) is an open-source x86/x64 video game text hooker for Windows/Wine based off of [ITHVNR](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine).
-Watch the [tutorial video](https://youtu.be/eecEOacF6mw) for a super quick rundown on its usage. +Watch the [tutorial video](https://youtu.be/eecEOacF6mw) for a quick rundown on using it. [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=akashmozumdar%40gmail.com&item_name=Textractor%20development¤cy_code=USD) @@ -14,7 +14,7 @@ Watch the [tutorial video](https://youtu.be/eecEOacF6mw) for a super quick rundo Releases of Textractor can be found [here](https://github.com/Artikash/Textractor/releases).
The last release of ITHVNR can be found [here](https://drive.google.com/open?id=13aHF4uIXWn-3YML_k2YCDWhtGgn5-tnO).
-If you get a dll missing error, you probably need to (download and re)install the [Microsoft Visual C++ Redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). +Try running vc_redist.x86.exe if you get an error when starting Textractor. ## Features