What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

'VisualTreeHelper' does not contain a definition for 'GetDpi'

Selft

New Member
Joined
Sep 5, 2014
Messages
17
Reaction score
0
Win 7x64, RAM 24GB.

I've installed D3 and latest version of DemonBuddy.
Launched the game, launched the bot - and after 3-5 minutes the game crashes, EVEN if I not pressed Start in the bot (without the launched bot D3 works without problems)

I read the forum and found the council to reinstall .Net and C++.
So I:
1. Uninstalled all versions .Net Framework and Microsoft Visual C++.
2. Reboot.
3. Ran BuddyWizard.exe
It installed .Net 4.6.1 and got stuck on C ++ installation (I watched green flickering bars for about 1 hour and file sizes of vc2015x64.exe/vc2015x86.exe = 0, like here https://www.thebuddyforum.com/threads/db-shuts-off-after-logging-in.294292/)
4. Reboot.
5. Downloaded Visual C++ Redistributable for Visual Studio 2015 from Official Microsoft Download Center and installed it.
6. Reboot.
Launched game and bot and got an error:
...Plugins\Trinity\UI\Visualizer\RadarCanvas\RadarCanvas.cs(1553,183) : error CS0117: 'VisualTreeHelper' does not contain a definition for 'GetDpi'
7. Downloaded all possible versions C++ and installed them (wo 2015).
ABaFkC0.png

8. Reboot.
9. Launched game and bot and got the same error:
...Plugins\Trinity\UI\Visualizer\RadarCanvas\RadarCanvas.cs(1553,183) : error CS0117: 'VisualTreeHelper' does not contain a definition for 'GetDpi'

What else should I do?
(If you need access to my pc, let me know)
 
Last edited:
any chance you have a Win10 machine or you can upgrade to Win10?

there is an issue on Win7 machines
 
In the end the bot started normally.

Steps:
1. I uninstaled .Net 4.6.1
2. Installed .Net 4.7.2 through Windows update.
3. Uninstaled the DemonBuddy.
4. Installed it again through the installer.
It wrote that it installs .Net 4.6.1, but it is not in the list of installed programs (only .Net 4.7.2)
Bot run fine.

But there was another problem - game crashing within 3 min after bot start. Log attached.
As I noticed, game crashed when bot kill mob and opens World map, but then loot appears (for example, after keyvarden), the bot tries to work with map or teleport and raise the loot at the same time, and a crash occurs ...
 

Attachments

Back
Top