These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

Multiboxing in Linux

Author
Kropotkin
Center for Advanced Studies
Gallente Federation
#1 - 2012-10-07 21:24:50 UTC
At least one person seems to be multiboxing on Linux.

I see that ISBoxer is allowed for EVE but ISBoxer seems to be a Windows program.

Anyone tried ISBoxer with WINE?

On the X11 side, xlax can propagate keystrokes to multiple XTerm windows; anyone tried it with EVE windows?

Again on the X11 side, there seems to be a way or three to send even synthetic mouse events to application windows. Anyone used this with EVE?
Buzz Skywalker
Sebiestor Tribe
Minmatar Republic
#2 - 2012-10-07 21:51:14 UTC
I do unsynchronized multi-boxing, with toons in different clients in different roles so sending the same keystroke to all windows could be very bad.

That said, you seem to be on the right track.
Katrina Bekers
A Blessed Bean
Pandemic Horde
#3 - 2012-10-07 21:56:05 UTC
I multibox(ed). Just launched multiple clients, identifying every desktop with a timestamped name.

Never tried external programs to "assist" (so to speak) in distributing the same input to more than one target program.

<< THE RABBLE BRIGADE >>

DJ Rubbie
W-Space IT Department
Test Alliance Please Ignore
#4 - 2012-10-09 05:17:15 UTC
Katrina Bekers wrote:
I multibox(ed). Just launched multiple clients, identifying every desktop with a timestamped name.

Never tried external programs to "assist" (so to speak) in distributing the same input to more than one target program.


Can't remember if this was covered before somewhere else, but I launch multiple EVE clients from the command line, and apply a flag to force unique virtual desktops. This is the command I use inside the EVE installation dir (.../CCP/EVE):

.../CCP/EVE $ WINEPREFIX=~/.wine-eve wine explorer /desktop=name1,1920x1080 bin/ExeFile.exe

WINEPREFIX is used to specify a specific wine profile I have just for running eve. Then I call wine, run explore (the wine version) using the /desktop flag, which spawns a virtual desktop with the name 'name1' with the resolution of 1920x1080, and run bin/ExeFile.exe which is the actual eve client (bypassing the launcher). If updates are required the client will tell you about it and restart with the launcher.

To have multiple virtual desktops, change 'name1' to something else, so in a different console tab, in the same directory, I might run this:

.../CCP/EVE $ WINEPREFIX=~/.wine-eve wine explorer /desktop=name7,1920x1080 bin/ExeFile.exe

Then I move that window to a separate virtual desktop, and use the standard desktop manager hotkeys to tab between them, and I found that to be an adequate enough solution (not at the point where I have more than two of the same ship types for PvE activities).

I can run three clients (in non-major fleets) without major fps drop - fourth client tends to start getting things bogged down due to CPU limitations (it only got four cores).

As for isboxer like, I don't know any solutions that works on Linux.
Kropotkin
Center for Advanced Studies
Gallente Federation
#5 - 2012-10-11 01:58:10 UTC  |  Edited by: Kropotkin
Thanks for the messages!

I tried the method of DJ Rubble, in the immediately-previous message, launching one session from one terminal window using
Quote:
WINEPREFIX=~/.wine wine explorer /desktop=dtA,1280x920 bin/ExeFile.exe
and the second session from a second terminal window using
Quote:
WINEPREFIX=~/.wine wine explorer /desktop=dtB,1280x920 bin/ExeFile.exe
.

This started to work: I could put each EVE-containing desktop on a separate video monitor (I have four) by putting the corresponding terminal window on that monitor, and each successfully launched a copy of EVE. Each of the sessions could log into EVE ... but not at the same time!

When I tried to log in the second session, I got a pop-up that said
Quote:

Connection Refused

While we appreciate your enthusiasm to try EVE, we would also appreciate if you could limit yourself to using a single trial or subscription accounts only.

I think I'm going to have to create a second Ubuntu account, do a separate install of EVE for that second account and use that to run the second EVE session. I expect to have the usual fun setting up .Xauthority so the second account can open windows on the display, which of course will belong to the first account.

Unless someone else has a better suggestion?
Katrina Bekers
A Blessed Bean
Pandemic Horde
#6 - 2012-10-11 13:34:31 UTC  |  Edited by: Katrina Bekers
I have an offensive question for you.

Are you trying to log in at the same time with two characters from the same account? Or you're trying to login both a TRIAL account *and* a SUBSCRIBED account at once?

It's offensive because even my pen holder knows that you can login only one char from the same account at a time - just as training a skill can be done on only one char per account at once.

Yes, you need two accounts for multiboxing to work.

Yes, damn icelanders, swimming in our money. That was their plan from day one.

<< THE RABBLE BRIGADE >>

DJ Rubbie
W-Space IT Department
Test Alliance Please Ignore
#7 - 2012-10-11 13:43:37 UTC
Katrina Bekers wrote:
I have an offensive question for you.

Are you trying to log in at the same time with two characters from the same account? Or you're trying to login both a TRIAL account *and* a SUBSCRIBED account at once?

It's offensive because even my pen holder knows that you can login only one char from the same account at a time - just as training a skill can be done on only one char per account at once.

Yes, you need two accounts for multiboxing to work.

Yes, damn icelanders, swimming in our money. That was their plan from day one.


Generally speaking, to log on multiple TRIAL eve accounts you need different machines (real or virtual), but with the latter in mind, this is not strictly true either. Much like switching user accounts (or whatever switch user/sudo like running methods) will bypass this check.

The exercise to do this I will leave to the readers.
Kropotkin
Center for Advanced Studies
Gallente Federation
#8 - 2012-10-11 13:50:54 UTC
Katrina Bekers wrote:
Are you trying to log in at the same time with two characters from the same account? Or you're trying to login both a TRIAL account *and* a SUBSCRIBED account at once?...
One trial and one subscribed. Thanks!

I knew about the restriction that only one character at a time from each account could be logged in, but not about the trial account restriction. CCP can certainly make whatever account restrictions they want, but the error message could have been clearer -- and if I had an ISK for every instance of that in EVE, I could afford a cluster-full of POSes.Ugh
Kontalaa
New Eden Trading Association
#9 - 2012-10-13 19:13:24 UTC
invite your alt via buddy-program, bu a PLEX, activate with PLEX, redeem PLEX you gained for activation, sell the PLEX.

there you have a 51-day-full-char to tryout whtever you desire ;)

--

for the ISBoxer-Stuff:

That should be possible. I tried around with capturing Mouse/Keyboard-Input and redirecting them to different windows whith an X-library for python.
It should be no problem to multiply these inputs.

For the multiple-Accounts i would suggest a 2nd X-Server for eve (switch with ctrl+alt+F7/F8/F9) with a great panning. So you indeed have multiple "fullscreen"-Wines side by side and just need to add an offset for each client. So to say you play on Client 1 and all other Clients gets the same Mouse-Clicks/Keystrokes on the same position. You just wont have the "small" images like ISBoxer does (but you can just move your mouse to the side to get those clients fullscreen).

I dunno how far this is still compliant with the EULA, as all this still requires user-interaction .. but from a programmer point-of-view this is not far different from a scripted bot (i.e. recording keystrokes/mouseclicks and replaying them).

=> should be possible with a bit of hassle
Kropotkin
Center for Advanced Studies
Gallente Federation
#10 - 2012-10-14 02:12:33 UTC  |  Edited by: Kropotkin
Thanks for the message!

I've been thinking more about the use-cases. It finally struck me [whap!] that keyboard keystrokes are a relatively small part of the problem. The big part is mouse actions, and there's a limit to how parallel one can make two ships' display contents. Target lists, for example, will often be differently ordered, so a click that selects a particular target from one ship might select a different target from another ship.

Ctrl-Alt-F7/8/9 to toggle between ships would make only one ship visible at a time. I'm more inclined to put each ship on a separate screen, of which I have four (though I've run EVE, so far, only on two of them, the other two being driven by a considerably-lower-performance display adapter card). That way I could shift my attention from one ship to another just by turning my head, and with no display-rebuilding load on the computer.

I wonder whether I could replicate the mouse pointer on both ships' displays and use a function keystroke to choose which ship(s) get each mouse-click? Could I perhaps use a function keystroke to jump the mouse pointer from ship to ship, rather than have to scroll the mouse pointer by hand?

Clearly a lot of possibilities to explore, even after I get the basic tech working!

As for EULA constraints: the ISBoxer "Is ISBoxer Allowed" page links to a Forum message from a GM from 2010.04.23 that seems to give considerable leeway. (It's message number 274 on that Forum page - don't know why the link doesn't land directly on the message.)
Kontalaa
New Eden Trading Association
#11 - 2012-10-14 03:25:57 UTC
Kropotkin wrote:
I've been thinking more about the use-cases. It finally struck me [whap!] that keyboard keystrokes are a relatively small part of the problem. The big part is mouse actions, and there's a limit to how parallel one can make two ships' display contents. Target lists, for example, will often be differently ordered, so a click that selects a particular target from one ship might select a different target from another ship.


use deterministic methods (sort by name, use broadcasts, ...)


Kropotkin wrote:
Ctrl-Alt-F7/8/9 to toggle between ships would make only one ship visible at a time. I'm more inclined to put each ship on a separate screen, of which I have four (though I've run EVE, so far, only on two of them, the other two being driven by a considerably-lower-performance display adapter card). That way I could shift my attention from one ship to another just by turning my head, and with no display-rebuilding load on the computer.

i meant all eve-clients on one virtual desktop side-by-side.. like having 19200x1080-resolution (ye .. thats no 0 too much!).


Kropotkin wrote:
I wonder whether I could replicate the mouse pointer on both ships' displays and use a function keystroke to choose which ship(s) get each mouse-click? Could I perhaps use a function keystroke to jump the mouse pointer from ship to ship, rather than have to scroll the mouse pointer by hand?

maybe thats possible with X capabilities alone. I know that you can have multiple cursors for multiple mice (i had 2 cursors for my 2 mice) acting independently. You just have to figure out how you "clone" them.

Kropotkin wrote:

As for EULA constraints: the ISBoxer "Is ISBoxer Allowed" page links to a Forum message from a GM from 2010.04.23 that seems to give considerable leeway. (It's message number 274 on that Forum page - don't know why the link doesn't land directly on the message.)

i know that ISBoxer is allowed..

CCPs official standpoint is: as long as the command is directly initiated by a human its ok. They dont define explicitely whats ok and whats not .. One could argue that you initiate your bot "actively", buts thats definitely illigal. I just whant to know where the "Line of automation" (i.e. via G15-macro) is.
Kropotkin
Center for Advanced Studies
Gallente Federation
#12 - 2012-10-14 13:40:42 UTC
Kontalaa wrote:
... I know that you can have multiple cursors for multiple mice (i had 2 cursors for my 2 mice) acting independently. ...
Aha! I use trackballs. I already have four of them in front of me, just in front of my keyboard. Right now I'm using one for each of the four physical boxes at my desk, but I could repurpose one of them, at least experimentally, to give me a second pointer-device for the second ship.
Thanks!