wanjizheng / iBarter_WPF

1 stars 1 forks source link

App closes itself after splash screen #3

Closed MTVirux closed 1 week ago

MTVirux commented 2 months ago

Hello there! First time trying to use the app. I've installed and repaired the runtime multiple times between attempts.

Order of events happening:

  1. I run the app as admin
  2. Splashscreen pops up
  3. Loads a bit
  4. Focuses my game
  5. Resizes the window (I play in windowed mode)
  6. Splash screen disappears
  7. Resizes my game back to what it was
  8. Closes itself after a while

I'm running Windows 11 Pro 10.0.22631 Build 22631 Also tried changing the game to fullscreen and windowed fullscreen

EDIT: Beta 2 starts but any interaction with the app causes it to crash

legacy3 commented 1 month ago

I second this issue. Will try to look into it myself, but it's def broken for me aswell.

legacy3 commented 1 month ago

I looked into this issue, and it's not really possible to fix. The core of this program is a DLL (PureDM.dll) loaded via NuGet, and the WPF app connects to it by passing an API key. I unpacked the DLL (packed with UPX) and used IDA to analyze it. It appears that PureDM is a bypass DLL for Xigncode. Be warned that running this program might be risky for your game account. Despite successfully unpacking the UPX-packed DLL and examining it, I found no definitive way to determine what it does to your PC. The program can spawn random processes, performs some unusual actions with cmd.exe, and connects you to a random server. This is not a local operation.

TL;DR: I'm not suggesting this is malicious, but be cautious of what you run. Also, this software isn't entirely open source; only the non-critical part is. Thus, fixing this issue is not possible.

wanjizheng commented 1 month ago

PureDM.dll is the package I use to:

  1. bind the game window.
  2. take screenshots from the game window.
  3. convert the screen coordinates to game coordinates.
  4. OCR and image recognition (Emgu CV).

Yes, the application will be blocked by your anti-virus software and close automatically unless you white list this file.

Kamiikaze commented 2 weeks ago

Even whitelisting file + folder, just closes the app after splash screen

wanjizheng commented 1 week ago

j

Ok, just noticed today that the PureDM.dll has some compatibility issues with the latest Windows 11 updates. I'll update the version shortly to fix this problem.

wanjizheng commented 1 week ago

Beta 4.0 was released, and the compatibility issue was fixed.