Hey everyone!
I've got two issues, the first one (from the surface) looks easier to figure out than the second one, but here's the first problem:
________________________________
Is there any way at all to open multiple RuneScape client processes (legacy; not NXT). I am aware of more trivial methods such as rapidly clicking on the RuneScape icon to open multiple instances at the same time, or, more cleanly, through a batch file.
However I want to be able to open multiple processes of the legacy client through clicking on the program just as what would usually happen, rather than starting them all simultaneously. Please don't search online to try to find a solution for me, I already have.
To be specific, if I try to open a third instance of the client, this appears:
[FUCK MY LIFE - NO LINKS]
If you don't have the RS3 legacy client installed, you can reproduce the same issue with the [official, first-party] OSRS client.
Thanks for the help
________________________________
//
________________________________
I'm trying to set the OSRS (official client) as child to a panel in my form. However, there's a problem. It's impossible to send any kind of keyboard input to the game (e.g. logging in) when it's set as a child. When it's set as child, you'll see that the game window will only ever be in the foreground (focused, modal, whatever you want to call it) if you click on its titlebar, if you click on the actual game itself (the contents of the window), the game goes out of focus (indicated by the color of the titlebar). It's as though the actual game frame is another window, which brings me onto my next point:
I did some analysis of the official OldSch. RuneScape window and its behavior and found a few things:
[FUCK MY LIFE - NO LINKS]
Do you see in the window "WinLister", where it says that its class is "SunAwtFrame". Well, this is obviously the 'part' that is actually the game itself, embedded into the JagexLauncher process. I confirmed that the game frame was in fact an independent embedded process by using the 'Find windows' process' tool and it highlighted the main game frame as an independent process. However, the SunFrame is not visible in the process list, leading me to believe that its some odd kind of Java component that just hasn't been given any kind of handle and, thus, does not appear in the process list.
I cannot possible explain why the SunFrame exhibits this sort of behavior if the game window's set as child, but any programmer out there who is more experienced that me will probably know.
All of this probably sounds basic to all of you Java developers, however I'm not familiar with Java at all so I need your expertise.
How do I go about capturing the inner-most window to be set as child to my form, rather than just the top-level frame?
________________________________
Thanks a lot for your help on either one of those questions