-
Member
Hi I see in the settings file that there is auto gem level. How do I activate this? Thanks
-
Contributor
Originally Posted by
teemo99
Hi I see in the settings file that there is auto gem level. How do I activate this? Thanks
It is already activated, just press A key when you have a gem to level up, it also pick up items on ground.
-
Member
I don't know if this is happening for anyone else, but this macro keeps closing randomly for me and i'll have to reopen it 2-3 times an hour. No error message or anything
I'm running it as admin and i'm running poe through as a limited user if that helps
-
Member
Originally Posted by
felixtheevil
I don't know if this is happening for anyone else, but this macro keeps closing randomly for me and i'll have to reopen it 2-3 times an hour. No error message or anything
I'm running it as admin and i'm running poe through as a limited user if that helps
I've been running into the same problem. Will sometimes get an error on load screen, but that doesn't seem to determine if the macro closes.
-
Member
What are some new successes?
-
Member
The disable Minion on minimap is not working
-
Member
Anyhow to configure speed of Dump inventory items ?
Seem like new version 1.0.1 had slower than old version.
-
very interested in the source code of your program
opened his visual studio to learn C ++ and found a bunch of undefined "addrtype ", "string", "wstring" etc
Could you tell me which "assembly" needs to be connected for "Solution" that they disappear.
Error (active) E0020 identifier "addrtype" is undefined ....\POEMemory.cpp 9
Code:
/*
* PoEMemory.cpp, 8/4/2020 8:51 PM
*
* Path of Exile memory access interface.
*/
#include <WinSock2.h>
template <typename T> T* read(HANDLE handle, addrtype address, T* buffer, int n) {
if (ReadProcessMemory(handle, (LPVOID)address, buffer, n * sizeof(T), 0))
return buffer;
return nullptr;
}
Last edited by GameAssist; 04-02-2021 at 08:54 PM.
-
Contributor
Originally Posted by
wlastas
very interested in the source code of your program
opened his visual studio to learn C ++ and found a bunch of undefined "addrtype ", "string", "wstring" etc
Could you tell me which "assembly" needs to be connected for "Solution" that they disappear.
Error (active) E0020 identifier "addrtype" is undefined ....\POEMemory.cpp 9
Code:
/*
* PoEMemory.cpp, 8/4/2020 8:51 PM
*
* Path of Exile memory access interface.
*/
#include <WinSock2.h>
template <typename T> T* read(HANDLE handle, addrtype address, T* buffer, int n) {
if (ReadProcessMemory(handle, (LPVOID)address, buffer, n * sizeof(T), 0))
return buffer;
return nullptr;
}
You should noticed, I didn't use header files for classes, all source files are included to PoETask.cpp finally.
"addrtype" is defined in PoE.cpp, along with "using namespace std" which needed by string and wstring types.
Code:
g++ -g -Iinclude -Llib -shared -o poeapi.dll PoETask.cpp -lahkpp -lpsapi -lwinmm -ld2d1 -ldwrite -liphlpapi
I used a command line to compile it, so the PoETask.cpp is the only entry.
-
Post Thanks / Like - 1 Thanks
GameAssist (1 members gave Thanks to conajer for this useful post)
-
oh
I saw make.bat but didn't think to parse it.
In any case, I just wanted to see and debug in Visual Studio how your application interacts with POE memory, completely excluding all other functionality.
Well, first I'll try to run list_game_states in a separate mini-app.
But tell me more, what IDE do you use to development and debugging of your application? Are you sitting on Lunix?
Last edited by GameAssist; 04-03-2021 at 01:31 PM.
-
Contributor
Originally Posted by
wlastas
oh
I saw make.bat but didn't think to parse it.
In any case, I just wanted to see and debug in Visual Studio how your application interacts with POE memory, completely excluding all other functionality.
Well, first I'll try to run list_game_states in a separate mini-app.
But tell me more, what IDE do you use to development and debugging of your application? Are you sitting on Lunix?
I use Visual Studio Code for coding, and compiling in embedded console. Of course, I installed MinGW 64bit for development.
-
for the sake of experiment, launched the current version from your site GitHub - conajer/PoEapi: AHK extension for PoE, also provides a PoEapikit application.
W:\PoEapi-master>make
W:\PoEapi-master>g++ -g -Iinclude -Llib -shared -o poeapi.dll PoETask.cpp -lahkpp -lpsapi -lwinmm -ld2d1 -ldwrite -liphlpapi
PoETask.cpp: In function 'BOOL DllMain(HINSTANCE, DWORD, LPVOID)':
PoETask.cpp:546:9: error: 'SetProcessDPIAware' was not declared in this scope
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
PoETask.cpp:546:9: note: suggested alternative: 'GetProcessId'
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
GetProcessId
PoETask.cpp: In function 'int main(int, char**)':
PoETask.cpp:580:5: error: 'SetProcessDPIAware' was not declared in this scope
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
PoETask.cpp:580:5: note: suggested alternative: 'GetProcessId'
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
GetProcessId
W:\PoEapi-master>
-
Contributor
Originally Posted by
wlastas
for the sake of experiment, launched the current version from your site
GitHub - conajer/PoEapi: AHK extension for PoE, also provides a PoEapikit application.
W:\PoEapi-master>make
W:\PoEapi-master>g++ -g -Iinclude -Llib -shared -o poeapi.dll PoETask.cpp -lahkpp -lpsapi -lwinmm -ld2d1 -ldwrite -liphlpapi
PoETask.cpp: In function 'BOOL DllMain(HINSTANCE, DWORD, LPVOID)':
PoETask.cpp:546:9: error: 'SetProcessDPIAware' was not declared in this scope
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
PoETask.cpp:546:9: note: suggested alternative: 'GetProcessId'
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
GetProcessId
PoETask.cpp: In function 'int main(int, char**)':
PoETask.cpp:580:5: error: 'SetProcessDPIAware' was not declared in this scope
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
PoETask.cpp:580:5: note: suggested alternative: 'GetProcessId'
SetProcessDPIAware();
^~~~~~~~~~~~~~~~~~
GetProcessId
W:\PoEapi-master>
You can comment it out, which used by AHK gui.
-
Contributor
I realized something, many offsets in *.cpp are outdated, you should replace them with those in ahk/PoEOffsets.ahk.
Last edited by conajer; 04-03-2021 at 03:41 PM.
-
Originally Posted by
conajer
You can comment it out, which used by AHK gui.
Yes, without SetProcessDPIAware(); it was successfully compiled and it turned out poeapi.dll for 12 mb.
I already tried it with PoEapikit.ahk - everything works !!
But class PoEMemory { .. in VS still produces several errors like:
for all template with ... int len
Code:
template <> std::wstring read(HANDLE handle, addrtype address, int len) {
wchar_t buffer[len + 1];
...
Error (active) E0028 expression must have a constant value
the value of parameter "len" (declared at line 37) cannot be used as a constant