EVE Online had an ugly habit to close and reopen its client on every disconnect (which, indeed, closes every application launched from it as well). Of course, I can add this application launch to IS startup, and it really launches... but it stays invisible, and thus unaccessible (even though it can do some automated actions, and its main form "Visible" property is set to "true"). There is a workaround, which I've already found: type "dotnet -unload appname", and then relaunch it - it starts up visible then, and everything is OK. The trick is to automate it, though...
1) When I put a line of
"dotnet appname"
in IS startup confuguration for EVE, it launches new application instance automatically, but it stays invisible, much as if I've lanuched it manually.
2) When I put two lines:
"dotnet -unload appname"
"dotnet appname"
- it really unloads an old instance, but it doesn't launch a new ones (i.e. second command is not executed). Manual load works correctly after that (i.e. application launches and it is visible).
I'm out of ideas... how to make it to relaunch both EVE *and* custom application automatically?
How to reproduce the bug:
- launch IS
- launch EVE from it
- open console, launch any application by "dotnet appname"
- log in EVE (trial account works as well)
- imitate disconnect: esc -> log off (it relaunches the game window shortly after that, about 10-15 secs)
- open console, try to launch application again - it launches, but stays hidden.
Invisible application bug
Moderators: Lavish Software Team, Moderators
I don't know why EVE's restart would operate any differently than when it is initially launched. That is what you are saying, right?
Have you tried putting a delay before your app runs? example:
Have you tried putting a delay before your app runs? example:
Code: Select all
timedcommand 100 dotnet whatever
Right. Probably, that's because it is actually RElaunch - i.e. there are some "leftovers" in memory, which make IS display applications incorrectly...Lax wrote:I don't know why EVE's restart would operate any differently than when it is initially launched. That is what you are saying, right?
But yes, with delay unload and reload works like a charm, thanks! Btw, did I get it right: "timedcommand" parameter is in deciseconds?