Exslims / MercuryTrade

An overlay application for Path of Exile(Tracking, Trading, Chat, etc)
MIT License
496 stars 168 forks source link

Mercury Trade disapears #78

Closed Hejtero closed 7 years ago

Hejtero commented 7 years ago

So like yesterday or 2 days ago my Mecury Trade started to desapear, i mean i hear the trade sound but pannel just isnt there, i can click then on my system bar to "restore default icon" but still then it desapear after any alt tab or so.

Also it needs a lot more time to load when i start the program.

I tryed both launchers and so, sometimes the messages pop up and shows the messages even from like 2h ago. Also its seems laggy as hell. When i run it after deleting all in appdata the clicks occured like 10 sec late and so lol

Exslims commented 7 years ago

I made some changes and hope they will help to solve this problem in next update

Hejtero commented 7 years ago

thanks, when we can expect it?

Exslims commented 7 years ago

about 2-3h

ryhmaeoamk commented 7 years ago

The issue still persists after the update. The problem I'm having is that the MercuryTrade notification bar and notifications are visible but they are behind the poe main window. This usually happens after alt+tabbing and seems to be worse after the update. When you set the game to windowed mode and move the window you can see the mercurytrade panels behind the game on desktop.

ryhmaeoamk commented 7 years ago

Has not happened with dx9ex so far. I was using dx11.

EDIT: Happened with dx9ex as well.

slicplaya commented 7 years ago

I'm using dx9ex as well i've tried numerous options. Deleted history, fresh install. It just started happening randomly one day, and I have to do the exact same thing restart restore to default to get it to pop up in game. It still hides behind poe screen after alt tabbing.

MasonTallis commented 7 years ago

Happening for me as well. Started in the .12 update, kept on when I rolled back to .11, still persistent.

Behavior is as stated above, app restart combined with PoE restart are all that fixes it. Might need some special compatibility to work with alt-tabbing/borderless windowed. Looks like it's still being drawn, but it's not being drawn as an overlay (always on top) of the expected window.

Exslims commented 7 years ago

guys, have you tried .exe as admin?

MasonTallis commented 7 years ago

Where is there an .exe? All I see in releases are .jar files, which Windows' context menu does not support run-as-admin for.

E: Nvm, found it. Will report back. E2: This seems to work. I was able to force the exe to not work when not run as admin, and the jar, but not admin executable. Might be the way to go for now.

Hejtero commented 7 years ago

The update didn't change anything for me, still don't work :S. It still is laggy, click takes few sec to trigger and it still disapear after alt tab :( . MasonTallis can you explaing step by step what did you do to make it work?

MasonTallis commented 7 years ago

I just downloaded the rar archive, extracted everything (to the same place obv.), and ran the executable as admin.

Hejtero commented 7 years ago

Than i did try this before and it dont work T_T. So hard to trade without Mercury when i got used to it

Exslims commented 7 years ago

you tried .exe as admin? and it didn't work?

slicplaya commented 7 years ago

Are you talking about Java being the .exe? Cuz i only find the executable jar file It doesn't allow me to change my permissions on an executable file

slicplaya commented 7 years ago

Yea found the .exe, did a fresh install and had it run as administrator only. It still runs correctly, but once u alt tab and go back the overlay doesn't show above the game. Looks like no more Mercury trade for me. I'll still use it in background for the sound tho.

Hejtero commented 7 years ago

i have the same problem as slicplaya + mercury trade lags, it takes a while to run and then clicks are sent with like 5 sec delay

Exslims commented 7 years ago

could you provide this information:

  1. Your OS
  2. Steam/Standalone client
  3. when and what version the last time it worked correctly Thanks
slicplaya commented 7 years ago

Windows 8.1(eww) Standalone 1.0.1

Exslims commented 7 years ago

and as I understand it the problem appeared suddenly and the updates have nothing to do with?

Exslims commented 7 years ago

@slicplaya and even on this version(1.0.1 or 1.0.0.*) of mercury does not work now?

slicplaya commented 7 years ago

lemme delete everything again n try older version

Exslims commented 7 years ago

ye, u can reset application by deleting MercuryTrade folder from %userprofile%/appdata/local

Hejtero commented 7 years ago

i did try the first versioni downloaded some time ago and it don't work. i got windows 7 proffesional 64 bit standalone

Exslims commented 7 years ago

it looks very weird, did you try re-install java maybe?

slicplaya commented 7 years ago

I just tried 1.0.0.0, reinstalled java the master everything. It works perfect, but as soon as I alt+tab n go back. the overlay disappears and is put in the background under the game no matter what.

Exslims commented 7 years ago

try to run the game not from the administrator and mercury(.exe) from the administrator please.

slicplaya commented 7 years ago

I never run poe as admin so that's covered

Exslims commented 7 years ago

in app.log file alter alt+tab something appeared?

slicplaya commented 7 years ago

Everything works correctly. The problem is the overlay goes underneath the game screen once you alt+tab off the game even once. At that point you cannot see it anymore unless u change the resolution and move the game windowed, restore default location, or restarting it. Still makes the sounds and everything.

Exslims commented 7 years ago

so, your game in windowed fullscreen right now? its doesn't work in fullscreen.

Exslims commented 7 years ago

ok, i made some changes and please download MercuryTrade.jar from this link and try again. https://github.com/Exslims/MercuryTrade/releases/tag/1.0.1.3a

Hejtero commented 7 years ago

seems like it now stays on top if i replace the jar and use exe as admin but need to test it little longer

Hejtero commented 7 years ago

its still like laggy, i hear the song then the trade window pop up like 15sec later and the Item Grid option sometimes dont even show up ;s but its useable now at least

Hejtero commented 7 years ago

poe trade macro works ok as usuall for me, mercury started to work also but as i stated before its laggy, the trade window shows way to late, i usually hear the sound and invite manually, then windows usually shows mid trade, sometimes it shows faster sometimes slower

Exslims commented 7 years ago

Hi, could you provide app.log file from %userprofile%/appdata/local/MercuryTrade

Exslims commented 7 years ago

i updated last .jar, could you try this https://github.com/Exslims/MercuryTrade/releases/tag/1.0.1.3a

Hejtero commented 7 years ago

nothing changed for me with the new jar (btw if im trying to use the jar to run mercury layout don't even show up) with the exe layout is there but still sometimes work ok and sometimes window pop up in like middle of the trade

Exslims commented 7 years ago

@Hejtero buttons works ok?

Hejtero commented 7 years ago

not rly :( the panel seems to freeze from time to time and thats the reason that i hear the sound but window dont pop up. When i click on the pannel after hearing the sound it seems freezed but after few sec it unfreeze and then window imediatelly pop up. I don't know why it works like that lol, when i was watching a movie with PoE in background every time someone wanted to trade the window pop up normally, 0 freezes but if im browsing poe trade or playing the game, it freezes somehow and becouse of this window pop up with few seconds delay

LehMarc commented 7 years ago

The question may be a bit funny, but do you use RivaTuner? I had a problem with MT (Mercury Trade) after installed the Creators Update for Win 10. Double clicked the .exe file, nothing happened. I then found out that the program RivaTuner caused problems. Deleted RivaTuner (MSI Afterburner) - MT works again :)

From the logfile:

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa5514fd0c, pid=10828, tid=0x000000000000366c

JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode windows-amd64 compressed oops) Problematic frame: C [d3d9.dll+0xfd0c]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.

Exslims commented 7 years ago

lmao I have no ideas how it can affecting mercury, but the problem is clearly that something was installed and mercury have stopped working.

Exslims commented 7 years ago

found this issue https://bugs.openjdk.java.net/browse/JDK-8178537

Exslims commented 7 years ago

guys, who have this issue, please try this version: https://github.com/Exslims/MercuryTrade/releases/tag/1.0.1.3a

DavRo89 commented 7 years ago

Hi, i got the same problem with windows 10 and this is the log:

2017-04-24 18:08:58.596 [AWT-EventQueue-0] ERROR ErrorHandler - java.lang.InternalError: java.io.FileNotFoundException: \C:\Program Files\Java\jre1.8.0_121\lib\charsets.jar
    at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.lang.ClassLoader.getBootstrapResource(Unknown Source)
    at java.lang.ClassLoader.getResource(Unknown Source)
    at java.lang.ClassLoader.getResource(Unknown Source)
    at java.net.URLClassLoader.getResourceAsStream(Unknown Source)
    at java.util.ResourceBundle$RBClassLoader.getResourceAsStream(Unknown Source)
    at java.util.ResourceBundle$Control$1.run(Unknown Source)
    at java.util.ResourceBundle$Control$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.util.ResourceBundle$Control.newBundle(Unknown Source)
    at java.util.ResourceBundle.loadBundle(Unknown Source)
    at java.util.ResourceBundle.findBundle(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at sun.awt.windows.WMenuItemPeer$2.run(Unknown Source)
    at sun.awt.windows.WMenuItemPeer$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.windows.WMenuItemPeer.<clinit>(Unknown Source)
    at sun.awt.windows.WToolkit.createPopupMenu(Unknown Source)
    at java.awt.PopupMenu.addNotify(Unknown Source)
    at java.awt.Component.add(Unknown Source)
    at sun.awt.windows.WTrayIconPeer$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: \C:\Program Files\Java\jre1.8.0_121\lib\charsets.jar
    at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.access$800(Unknown Source)
    at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
    at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
    ... 43 more

2017-04-24 18:09:00.654 [AWT-EventQueue-0] ERROR ErrorHandler - java.lang.NoClassDefFoundError: Could not initialize class sun.awt.windows.WPopupMenuPeer
    at sun.awt.windows.WToolkit.createPopupMenu(Unknown Source)
    at java.awt.PopupMenu.addNotify(Unknown Source)
    at java.awt.Component.add(Unknown Source)
    at sun.awt.windows.WTrayIconPeer$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

2017-04-24 18:09:00.918 [AWT-EventQueue-0] ERROR ErrorHandler - java.lang.NoClassDefFoundError: Could not initialize class sun.awt.windows.WPopupMenuPeer
    at sun.awt.windows.WToolkit.createPopupMenu(Unknown Source)
    at java.awt.PopupMenu.addNotify(Unknown Source)
    at java.awt.Component.add(Unknown Source)
    at sun.awt.windows.WTrayIconPeer$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

2017-04-24 18:09:01.108 [AWT-EventQueue-0] ERROR ErrorHandler - java.lang.NoClassDefFoundError: Could not initialize class sun.awt.windows.WPopupMenuPeer
    at sun.awt.windows.WToolkit.createPopupMenu(Unknown Source)
    at java.awt.PopupMenu.addNotify(Unknown Source)
    at java.awt.Component.add(Unknown Source)
    at sun.awt.windows.WTrayIconPeer$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Exslims commented 7 years ago

@DavRo89 please try to re-install java

DavRo89 commented 7 years ago

Reinstalled java but nothing changed, the log is empty now

Exslims commented 7 years ago

@DavRo89 could you try this software, https://johann.loefflmann.net/en/software/jarfix/index.html some people it helped.

DavRo89 commented 7 years ago

Tried with the software but nothing changed, i hear the sound but the bar with buttons is not showing

Exslims commented 7 years ago

@DavRo89 have you tried alternative laucnher?(with .exe as admin)

DavRo89 commented 7 years ago

Now with the exe and run as administrator seems to works, thanks for the help