POE-Addon-Launcher / PAL2

Path of Exile Addon Launcher and Manager
116 stars 20 forks source link

League Overlay fails with error when autostarted #17

Closed vith closed 5 years ago

vith commented 5 years ago
---------------------------
Overlay.ahk
---------------------------
Error at line 21.

#Include file "Gdip_All.ahk" cannot be opened.

The program will exit.
---------------------------
OK   
---------------------------

It works when launching manually by doubleclicking the addon in the installed list.

This was noticed in the issue for adding support for League Overlay here but deserves its own (open) issue.

POE-Addon-Launcher commented 5 years ago

Can't reproduce

finlaybrown commented 5 years ago

This can be fixed by opening "Overlay.ahk" and modifying the line #Include, Gdip_All.ahk And adding the full path like #Include, C:\Users\Username\AppData\Local\PAL\Addons\League Overlay\Gdip_All.ahk

And doing the same for the 4 image files global image1 := "Syndicate.png" global image2 := "Incursion.png" global image3 := "Map.png" global image4 := "Fossil.png" To global image1 := "C:\Users\Username\AppData\Local\PAL\Addons\League Overlay\Syndicate.png" global image2 := "C:\Users\Username\AppData\Local\PAL\Addons\League Overlay\Incursion.png" global image3 := "C:\Users\Username\AppData\Local\PAL\Addons\League Overlay\Map.png" global image4 := "C:\Users\Username\AppData\Local\PAL\Addons\League Overlay\Fossil.png"