-
Member
Originally Posted by
amakkara
What do you mean US servers? As far as I know, EU and US players play on the same servers.
Thanks for that!
The "temp" version that I quoted, added a server dropdown that only listed the EuServer and Garena servers, so I assumed it wouldn't be able to log into the US servers. Yet another lesson in assuming, since actually trying to login, after seeing your message, shows it is able to log into my account and show my stash tabs for both standard and the current temporary league (Breach)!
Unfortunately, when I try to "Start Sorting", it fails to detect that PoE is running. Doesn't matter which of the 4 executables (steam/direct and x32/x64) I'm running, the sorter errors out with a "Path of Exile isn't running" message. I'm guessing the sorter is using a signature for the PoE executable that changed with one of the PoE updates that have dropped since the author of the temp sorter rolled their version.
-
Post Thanks / Like - 1 Thanks
Parog (1 members gave Thanks to idsmoker for this useful post)
-
I used to use this way back when but didn't have the C# knowledge then to help.
I fixed the PoE detection to see if it would still work and it does. I'd like to add more features to it like the 4x sized stash tab but don't have any (Let me know if you'd like to contribute one and I can modify it to handle it)
I'd like to make a small dynamic loot filter based for chaos recipe farming. It has most of the things I need already, I just need to learn the classes that are in it a bit more to put the behavior in. Basically something that would watch for pieces you need for chaos recipe and add it to the top of your item filter to highlight them.
I also want to add sorting for items with a dimension bigger than 1x1. I need some help understanding the algorithm for this though.
Also, if someone else wants to add a UI for the chaos recipe thing, I would love some help with that as well.
What's a Parog?
Looking for competitive Valorant team!
-
Post Thanks / Like - 2 Thanks
tsm-evo,
zaffrex (2 members gave Thanks to Parog for this useful post)
-
Originally Posted by
Parog
I used to use this way back when but didn't have the C# knowledge then to help.
I fixed the PoE detection to see if it would still work and it does. I'd like to add more features to it like the 4x sized stash tab but don't have any (Let me know if you'd like to contribute one and I can modify it to handle it)
I'd like to make a small dynamic loot filter based for chaos recipe farming. It has most of the things I need already, I just need to learn the classes that are in it a bit more to put the behavior in. Basically something that would watch for pieces you need for chaos recipe and add it to the top of your item filter to highlight them.
I also want to add sorting for items with a dimension bigger than 1x1. I need some help understanding the algorithm for this though.
Also, if someone else wants to add a UI for the chaos recipe thing, I would love some help with that as well.
I would advise adding if no image -> download image -> save image -> load image to memory to reduce the downloads every time you reopen the program
-
Post Thanks / Like - 1 Thanks
Parog (1 members gave Thanks to Sithylis for this useful post)
-
Member
If someone could make this work for DX11/64bit I would be forever grateful!
At the moment Im switching over to DX9/32bit when I want to sort big tab
-
Originally Posted by
arbifoolish
If someone could make this work for DX11/64bit I would be forever grateful!
At the moment Im switching over to DX9/32bit when I want to sort big tab
try this, ive only change the speed on moving items and what exe it looks for http://puu.sh/tvx8c/0e66f2c5a9.rar
Last edited by Sithylis; 01-22-2017 at 04:55 AM.
Reason: 32/64 bit version
-
Member
Originally Posted by
Sithylis
Thanks for the upload but the file seems to be broken or the website that you are uploading to does not work.
-
For those of you who want to run it on 64 bit/DX11 normal or steam client and don't want to run a compiled EXE from a relatively new account, this is the function that needs to be changed in PoeStashSorterModels project. (The solution has 2 projects, make sure you open "POEStashSorter.sln" and have visual studio 2012 or later installed.) -- Not the cleanest code, but I'm not here to refactor what already works.
Code:
public static bool OpenPathOfExile()
{
const int swRestore = 9;
var arrProcesses = Process.GetProcessesByName("PathOfExile");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExileSteam");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExile_x64");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExile_x64Steam");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
throw new Exception("Path Of Exile isn't running");
}
What's a Parog?
Looking for competitive Valorant team!
-
Post Thanks / Like - 1 Thanks
toadskin (1 members gave Thanks to Parog for this useful post)
-
Member
I did the changes as you wrote but I am still getting the same error. Is it because Im using a 4K display? Im running everything on admin.
-
Originally Posted by
arbifoolish
I did the changes as you wrote but I am still getting the same error. Is it because Im using a 4K display? Im running everything on admin.
Don't need to run anything as admin. Did your recompile it after the changes and used the binary from the compile ( not the one you usually run ) ?
All this does is check if there's a process named one of those 4 names. Check manually if it's there. If it is, then you did something wrong.
What's a Parog?
Looking for competitive Valorant team!
-
Member
I get tons of error when I compile so I have to press "run last successful build.
Same problem happens when I login after that tough.
Imgur: The most awesome images on the Internet
-
Active Member
Originally Posted by
Parog
Code:
public static bool OpenPathOfExile()
{
const int swRestore = 9;
var arrProcesses = Process.GetProcessesByName("PathOfExile");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExileSteam");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExile_x64");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExile_x64Steam");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
throw new Exception("Path Of Exile isn't running");
}
Code:
var processNames = new List<string> { "PathOfExile", "PathOfExileSteam", "PathOfExile_x64", "PathOfExile_x64Steam" };
var poeProc = Process.GetProcesses().FirstOrDefault(p => processNames.Contains(p.ProcessName));
if (poeProc != null)
{
currentProcess = poeProc;
var hWnd = currentProcess.MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
throw new Exception("Path Of Exile isn't running");
Btw., you're on reddit: https://www.reddit.com/r/pathofexile...e_auto_market/
-
Post Thanks / Like - 1 Thanks
Parog (1 members gave Thanks to AsylioN for this useful post)
-
Member
If someone could compile a working x64 .rar for me, I would be very grateful!
-
Active Member
Havent been able to do it neither. Gives exception on start. Parog? :/
-
Member
Anyone know of a tool like this or a updated version of this?
-
Member
This works to get past the error about POE not running however, when running, POE sorter minimizes and the mouse does not move at all.
When I bring POE StashSorter to the front again suddenly the mouse jumps to the POE screen and moves around but does not actually click on anything until it is done with the Sorting algorithm.
No items actually get moved.
I am running PathOfExile_x64 on windows 10
Any ideas?
Originally Posted by
Parog
For those of you who want to run it on 64 bit/DX11 normal or steam client and don't want to run a compiled EXE from a relatively new account, this is the function that needs to be changed in PoeStashSorterModels project. (The solution has 2 projects, make sure you open "POEStashSorter.sln" and have visual studio 2012 or later installed.) -- Not the cleanest code, but I'm not here to refactor what already works.
Code:
public static bool OpenPathOfExile()
{
const int swRestore = 9;
var arrProcesses = Process.GetProcessesByName("PathOfExile");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExileSteam");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExile_x64");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
arrProcesses = Process.GetProcessesByName("PathOfExile_x64Steam");
if (arrProcesses.Length > 0)
{
currentProcess = arrProcesses[0];
var hWnd = arrProcesses[0].MainWindowHandle;
if (IsIconic(hWnd))
ShowWindowAsync(hWnd, swRestore);
SetForegroundWindow(hWnd);
return true;
}
throw new Exception("Path Of Exile isn't running");
}