Coder Social home page Coder Social logo

poe-harvestvendor's Introduction

3.19 Changes to harvest are making this tool obsolete, so obviously i am not developing this further, was a fun ride, hope you all enjoyed it :)

PoE-HarvestVendor

A little status update (15.7.2021)

  • i think the tool as envisioned now is essentially feature complete

    • adding things like WTB section, or tech like sorting would require major reworks and rethinking both visually and technically
  • the last thing i want to do before i call this 1.0 release is figure out how to properly handle scaling of the GUI on big resolution screens

    • problem is, as of now, i don't have the time for it or a clue how to do it properly
  • i will still keep fixing bugs and updating to keep it in line with any harvest changes

- Only works if PoE is in WINDOWED / WINDOWED BORDERLESS mode, doesnt work in Fullscreen

- Bigger resolution = more fucked up UI design because i don't know how to handle windows display scaling properly.

⚠️ It's a BETA there will be issues and lacking features :)

  • Convert your Horticrafting station crafts into a post, almost in a smart way
  • Using AHK to call Capture2Text OCR tool on selected screen region
  • Then parsing the text
  • It works as long as OCR doesn't do stupid stuff

FIRST TIME INSTALL

  1. click on DOWNLOAD HERE up there ^ it takes you to the latest releases

  2. get the ahk or exe zip thats marked First_Install

  3. unpack it, it contains all neccessary stuff:

    • capture2text
    • resources folder
    • the tool itself (harvestVendor ahk or exe)
  4. Run HarvestVendor .ahk/.exe 🎉

  • If you download the .ahk file:

UPDATING

  • just get the new HarvestVendor file from the DONWLOAD HERE link, replace the existing and reload

HOW TO USE

  • Default Hotkeys:

    • CTRL + SHIFT + G - opens GUI
    • CTRL + G - starts scan
  • When you start scan, Drag select area with the craft text
    Recommended area

  • wait a moment and crafts will be loaded into the UI

  • set prices if you wish

  • select your league and so on

  • click Create Posting for the section you wish to

  • now you have a Discord formatted message in clipboard

Settings

  • if you game on monitor thats not primary in windows you can change it in settings
  • if you use display scaling in wodnwos, you need to change it in settings
  • if you don't like the default keys, surprise, you can change them in settings

List of features

  • Uses OCR to identify crafts from Horticrafting station
  • Option to rescan last scanned area
  • Counts crafts if there are multiple of the same
  • Sorts them into groups based on TFT Discord rules
  • Allows to set prices for crafts
  • Line of custom text (be careful to not write anything that triggers the discord bot)
  • Checkbox "Can Stream"
  • box for IGN if you want to add that to the post
  • Generates formatted discord post
  • Remembers prices
  • Remembers loaded crafts
  • Outputs Log.csv of sold crafts (entry triggered by Shift+click on the rows delete button)

FAQ

Q. Why does it show lv00?
A. If its unable to read the level it says lv00. You can try delete the craft and rescan it. Or fix the level manualy.

Q. I'm getting error about "WinInet-something"
A. This one?

Get curl binary from here, extract curl.exe from archive and put in into directory with ahk script. Script now will use this tool for version checking.

Q. A craft i have in horticrafting station is not showing up in the result
A. There are 2 possible reasons:

  1. text recognition was too messed up and i couldn't recognize the craft
    - Solution: Run the scan again and select only that one craft
  2. I arbitrarily decided its not worth to list that one, if you want it listed, contact me or open an issue. List of ignored crafts

Q. Help! When I try and take a screenshot, I get the following error about finding a file:

A. The most likely cause for this is that your folder structure containing Capture2Text is incorrect, and you may have an additional folder. Please ensure that your folder structure looks like:

|--> Poe-HarvestVendor
|----> Capture2Text
|-------->  *files for the software, NOT another folder*
|----> PoeHarvestVendor.exe

and does NOT look like:

|--> Poe-HarvestVendor
|----> Capture2Text
|--------> Capture2Text
|--------> *files for the software, NOT another folder*
|----> PoeHarvestVendor.exe

Once you've sorted out the folder structure, try restarting the application to see if it now works.

Used libraries


If you got all the way here and want to throw some beer money my way

PayPal.me link

poe-harvestvendor's People

Contributors

aleab avatar dmpetroff avatar esge avatar keshhere avatar korbeil avatar mrkshw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

poe-harvestvendor's Issues

Feature proposal: default price storage

Storing a default price for a craft category in a json file (or something else, not sure if there's a better way with ahk for easy data persistence).
This default price could be saved when the user clicks on Create posting (ignoring the craft level).

And when the user next uses "Add craft" it would check if there is a default price for the craft category, and pre-fill the box.
Let me know what you think about this :)

"+76" instead of listed itemlevel

i think too many people are retarded and don't know that 76 will work all they way to lvl 100 items.
getting way less sales since this change sadge

Crafts not showing up after capture

After following the recommended capture guide, none of the crafts are showing up in the list that they should be.
I have re installed both this tool and the capture tool as well as ahk.

Crafts not getting added to Harvest Vendor

Hi

Some of my crafts are not getting recognised and added to the app to create a post. Here is a list of 10 crafts in my bench:
1 x Enchant Body Armour: Strength
1 x Reforge Normal or Magic: Chaos
1 x Enchant Body Armour: Max Life
1 x Reforge rare: less likely
1 x Reforge rare: more likely
1 x Refogre rare keep suffixes lucky
1 x Enchant Weapon: Weapon range
3 x Reroll Prefix, Suffix and implicits lucky

Out of the 10 crafts, the following were not recognised:
1 x Reforge rare: less likely
1 x Reforge rare: more likely
1 x Enchant Weapon: Weapon range

This is also not the only time the capture does not recognise some crafts.

[Request] Sort crafts

If the crafts were to be sorted by name, it would help a bit with keeping track which crafts one has loaded from the game and with generated post readability.

Crafts not being added to the list after first successful screen capture

Since introduction of version 0.4.3 app completely stopped working for me. It works correctly with first screen capture after launching but every next subsequent doesn't add new crafts anymore. App lets me select the screen area and seemingly everything works properly but no new entries show up.
No errors logged. Problem repeats on both ahk and exe version. Present on every version past v0.4.2.
Last working version for me is .ahk 0.4.2 version.

Custom Header Request

It would be nice to have a custom header available in case a seller wants to add some customization text. In my case, I want to highlight that I am a provider with a large number of vouches.

I can use the IGN: field for this for now, or edit the createPost() function, but customizing the header within the GUI would be preferable.

Autocounting crafts

there is a problem when doing multiple add crafts that some get added every time even if they werent part of the capture

[Request] Text area for WTB

Can we have a text area for us to create a WTB section as well?

Would be great to use this solely to sell and buy! Would be especially helpful when buying repeated harvests hitting those T1s

v0.7.1 Error Can't load icon

for both ahk and exe

update: Performed a clean reinstall, no more errors. (I was replacing the ahk file initially from a few versions ago)

Error at line 760.

Line Text: switch group {
Error: This line does not contain a recognized action.

The problem will exit.

WANT [create posting for all ]button

I want to sell craft in TFT AND In path of exile Trading,but crafts is not divided into diffent catagory in path of exile Trading.
So i think i need a [create posting for all ]button.

Create Post with "coloured mode in settings" is been blocked in TFT WTS posting => reason WTS is missing

Hello,
thank you for the nice job and Harvestvendor it´s awesome.
My last posting with the settings I have used all the time got rejected due to the failure message ==> Missing WTS in sale text. Investigating the trade chat i havent seen any other coloured post. Seems it is somehow not working anymore. The uncoloured version was still being posted by others while i need to wait for the 15 minutes counter now.
trovebotfailure

Error

image

I'm not sure what I'm doing wrong here

[Request] Add "Ignore lvl of craft" option

HarvestVendor is not able to correctly determine craft levels, so why not add an option to ignore it?
In endgame content / t14-16 maps, all crafts are level 81+; and those who farm low-level maps may simply not use this setting.

[Request] Persistent crafts

It would be useful for the script to save the crafts locally so that parsing wouldn't have to be redone upon terminating and restarting it.

Buttons for export disappeared

Hi, I have been using the app for quite a long time.
And now after update, all buttons for export disappeared (see picture below).

image

Hi :) suggested function

I was checking out your AHK code, and was impressed you were able to get capture2text working with AHK correctly! Last time I tried and was unsuccessful. But anywho, I noticed you are having the user input their dpi scaling manually, and remembered I wrote up a function for that scaling a while back.

  Get_Dpi() {
    return A_ScreenDPI=96?1:A_ScreenDPI/96
  }
Scale_Position(val){
  Return val / Get_Dpi()
}

I hope this helps you! :D

Capturing "wrong" window

I have poe running on my second monitor and every time i run capture it only allows it to select from the main monitor. Unsure if theres something I can edit to make it choose which monitor. or a future feature to add

Can't add crafts

It was working in 0.4.3, after downloading new version (0.4.4) i can't add crafts.

Im clicking "add crafts", marks crafts i want to sell (all i've got atm) and after "Please wait" none of the crafts show off in the window.

Crafts im talking about - reforge keep pref lucky, aug def, fracture prefix 1/3 so definetly not ignored by you.
yes i've got newest ahk and Capture2Text.
yes i tried many times reseting .ahk, readding crafts and changing some settings like league, monitor, clearing and adding etc.

remove non-X/ add X being recognized as remove X/add X

with version 0.24 (i think) everything was fine but after updating to 0.3 remove non-X/add X is being recognized as remove X/add X which can lead to bricked items if people dont pay attention to the output and craft later on

Confusing "lv" indicator near the craft name

Hey, this is not an issue but rather an enhancement request, currently, the craft name goes like - (1x) [Enchant Weapon: Elemental Damage][lv82] < 10c >

lv82 may be really confusing here; thus, you may need to change the phrasing to something like seed level or change the level phrase to the level of the items to which the craft can be applied (i.e lv 100 for all seeds 76+)

Wierd outputs for messages

Reinstalled AHK and Capture2Text, working now.

No idea what's causing it though.

Augment Attack t a if Lil 13 1 fai lv82 7vq7 Zu Li LJ u 17 47 1 1 77 7 0 21w 4 LJ 2 1 t 474 2 71V Zr mfgi
Remove nonAttack 7 53 a 2 add Attack at lv79 mm
Change Cold 5 Gg ll Res into a similartier modifier A 313 that grants Lightning Res lv82 miffmmi
Change Fire 5 fa 3 Res into a similartier modifier A j that grants Lightning Res lv82

Add option for unformated crafts

Since when you search for crafts over ctrl + f it will not highlight formatted text.
So an option to allow an "unformated" sell string would be nice.

Thx

[SOLVED] Line 1506

I have this error, yesterday it worked great. I tried update/reinstall without help. Thank for any help.
Snímka

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.