diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bcfdb9e..e92c93b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.5.9 (2020-01-27) + +* add fast price tagging by clicking the desired bar (#147) + * only works if the item has no note + * only works if the item is inside a premium stash tab +* fix default values are not added as query parameter (#151) +* fix minion stat is recognized as local stat (#149) + ## 0.5.8 (2020-01-26) * add item base values with 7 day history (#84) diff --git a/README.md b/README.md index e3b5dc1f..c917f53e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PoE Overlay 0.5.8 +# PoE Overlay 0.5.9 An Overlay for Path of Exile. The ***core aspect*** is to blend in with the game. Built with Electron and Angular. @@ -38,6 +38,7 @@ This project is currently in a ***pilot phase***. If you encounter any bugs or h * a graphical display of the price distribution
![item](img/item_0.5.8.jpg) * filter your search on all supported properties on click
![item_filter](img/item_filter_0.5.8.jpg) * an in game browser to display the created search
![browser](img/item_browser_0.5.8.jpg) + * lets you price tag the item by clicking the desired bar/value * Customisable keybindings: * bind in game commands to a custom hotkey @@ -78,9 +79,9 @@ These instructions will set you up to run and enjoy the overlay. 1. Head over to [Releases](https://github.com/Kyusung4698/PoE-Overlay/releases) and download the latest zip 2. Extract zip -3. Run `poe-overlay 0.5.8.exe` +3. Run `poe-overlay 0.5.9.exe` 4. Start Path of Exile -5. Wait until you can see `POE Overlay 0.5.8` in the bottom left corner +5. Wait until you can see `POE Overlay 0.5.9` in the bottom left corner 6. Hit `f7` and set `Language` and `League` to meet your game settings #### Shortcuts diff --git a/doc/poe/game_ctlr_c_item.txt b/doc/poe/game_ctlr_c_item.txt index ac9fa47d..27642133 100644 --- a/doc/poe/game_ctlr_c_item.txt +++ b/doc/poe/game_ctlr_c_item.txt @@ -834,4 +834,37 @@ Adds 15-21 Physical Damage to Attacks while you have a Bestial Minion Feed a beast and it will not hunt. Protect it and it will not fight. Ferocity must be learned, not taught. -It is suffering that forges the greatest warriors. \ No newline at end of file +It is suffering that forges the greatest warriors. + +Rarity: Rare +Foe Bane +Vaal Greatsword +-------- +Two Handed Sword +Physical Damage: 55-113 +Elemental Damage: 58-109 (augmented), 18-35 (augmented) +Critical Strike Chance: 5.00% +Attacks per Second: 1.30 +Weapon Range: 13 +-------- +Requirements: +Level: 68 +Str: 122 +Dex: 104 (unmet) +-------- +Sockets: R-R +-------- +Item Level: 86 +-------- +40% increased Global Accuracy Rating (implicit) +-------- ++10 to Dexterity +Adds 58 to 109 Fire Damage +Adds 18 to 35 Cold Damage ++48% to Cold Resistance +25% chance to gain Onslaught for 4 seconds on Kill +Attacks with this Weapon Penetrate 5% Cold Resistance +99% increased Elemental Damage with Attack Skills +-------- +Redeemer Item +-------- \ No newline at end of file diff --git a/main.ts b/main.ts index c54bc807..884f2295 100644 --- a/main.ts +++ b/main.ts @@ -14,6 +14,14 @@ const args = process.argv.slice(1), /* robot js */ +ipcMain.on('click-at', (event, button, position) => { + if (position) { + robot.moveMouse(position.x, position.y); + } + robot.mouseClick(button, false); + event.returnValue = true; +}); + ipcMain.on('key-tap', (event, key, modifier) => { robot.keyTap(key, modifier); event.returnValue = true; @@ -149,7 +157,7 @@ function loadApp(win: BrowserWindow, route: string = '') { } if (serve) { - win.webContents.openDevTools({mode: 'undocked'}); + win.webContents.openDevTools({ mode: 'undocked' }); } } diff --git a/package.json b/package.json index 79d99ab0..bace814a 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "author": { "name": "Kyusung4698" }, - "version": "0.5.8", + "version": "0.5.9", "scripts": { "postinstall": "electron-builder install-app-deps", "ng:serve": "ng serve", diff --git a/src/app/core/service/input/mouse.service.ts b/src/app/core/service/input/mouse.service.ts index 1e8b1d2f..a5478258 100644 --- a/src/app/core/service/input/mouse.service.ts +++ b/src/app/core/service/input/mouse.service.ts @@ -1,20 +1,26 @@ import { Injectable } from '@angular/core'; import { ElectronProvider } from '@app/provider'; import { Point } from '@app/type'; -import { Remote } from 'electron'; +import { IpcRenderer, Remote } from 'electron'; @Injectable({ providedIn: 'root' }) export class MouseService { private readonly electron: Remote; + private readonly ipcRenderer: IpcRenderer; constructor( electronProvider: ElectronProvider) { this.electron = electronProvider.provideRemote(); + this.ipcRenderer = electronProvider.provideIpcRenderer(); } - public getCursorScreenPoint(): Point { + public click(button: 'left' | 'right' | 'middle', position?: Point): void { + this.ipcRenderer.sendSync('click-at', button, position); + } + + public position(): Point { return this.electron.screen.getCursorScreenPoint(); } } diff --git a/src/app/layout/component/user-settings-dialog/user-settings-dialog.component.html b/src/app/layout/component/user-settings-dialog/user-settings-dialog.component.html index 27b3ffd1..647ad9ac 100644 --- a/src/app/layout/component/user-settings-dialog/user-settings-dialog.component.html +++ b/src/app/layout/component/user-settings-dialog/user-settings-dialog.component.html @@ -34,6 +34,25 @@ (click)="openUrl('https://academy.datawrapper.de/article/136-histogram-min-max-median-mean')"> Open 'How to read a Histogram Min Max Median Mean' by 'academy.datawrapper.de' + + + Q.: My screen turns black/white after toggling any feature. Why? + + +

A.: This is mostly caused by an disabled Aero / DWM. Therefore try enabling this windows + feature.
+ As it's required to create transparent windows.

+
+ + + Q.: The graphics are blurry/ graphic bug? + + +

A.: This is mostly caused by incompatible graphic drivers for the current chromium + version.
+ Please run 'run-without-gpu.bat' in order to start the overlay without gpu support (hardware + acceleration).

+