MegaGlest Forum
MegaGlest => MegaGlest => Topic started by: tomreyn on 3 May 2013, 12:36:16
-
If you like to play MegaGlest occasionally but you cannot host and do not like to sit on the lobby waiting for other players, then you can either
- use the Desktop notification option (https://forum.megaglest.org/index.php?topic=9155.0) on play.mg (http://play.mg)
or install one of these applications:
- MGViewer (https://forum.megaglest.org/index.php?topic=7586.0), developed by Titi
- MGTray (https://forum.megaglest.org/index.php?topic=7563.0), developed by M0ellemeister
Both of these tools sit in your Desktops' panel / systray and display notifications as soon as a server gets busy.
Note that these tools are completely useless if nobody hosts. That is, if you do not host a server from time to time then you should not expect others to make servers available either. This game lives from your contributions, so please host a server yourself, too, and wait patiently then.
-
Titi's viewer is working nicely, but MGTray I get this error:
./MGTray: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
libgdk_pixbuf-2.0 is installed so it's not looking in the right place for the library. (I suppose this won't help much in fixing the problem but I thought it should be mentioned).
Also I just found these tools and find them very useful :)
-
Yes they are. :)
Do you think you can run ldd against MGTray so you'll have more details on which files (and path exactly) it is looking for?
Once that's done, I think both authors were looking for hints on which features to implement next, in case you have any suggestions...
-
Here's the output from when runing against ldd:
linux-gate.so.1 => (0xf7767000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf772c000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf75f5000)
libgdk_pixbuf-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf75a4000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf74a3000)
libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xf749f000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf749a000)
libpango-1.0.so.0 => not found
libatk-1.0.so.0 => not found
libcairo.so.2 => not found
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7494000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf72e1000)
/lib/ld-linux.so.2 (0xf7768000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf72bf000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf72b8000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf7277000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7272000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf726b000)
From looking at the output It looks like the problem is the fact that I don't have the 32bit equivalents of these libraries installed.
One idea I have would be to include the ability to connect to a server directly from the program, so you click on the server you want to join (if it's not full), and the game automatically loads into that server. But I think this would mean that the user would have to choose what to execute so that for example, people (like me :P), who have a nvidia card with "optimus" technology can write their own script which starts the game. (I'm not sure at all how this would work tbh)
-
I agree about the missing 32-bit (i386) libs.
When it comes to configuring the MegaGlest executable path, and spawing the game (and connecting to the given server) on double-click on a server in the list, this does already work for me when using MGViewer. If I recall correctly this works on MGTray, too.
Nowadays, at least with Firefox and Chromium/Chrome, there's another option (which others may adopt, yet): The HTML5 desktop notifications (http://notifications.spec.whatwg.org/) standard makes it technically feasible to have the play.mg website (i.e. the masterserver code (https://github.com/MegaGlest/megaglest-masterserver)) notify when a server becomes available (someone would yet need to implement this - patches welcome!), so it would only take a running web browser to know when new servers are available. However, this doesn't allow you to connect to a server on the click of a button, yet. This would take a bit more (mostly) platform specific client code. I actually started writing some quick and dirty server side code for this (which is already live), but the client side handlers are missing as of yet. Once done, such code could be added to the MegaGlest installers, though, so it would become universal.
We've started to discuss this approach in more detail on a separate thread (https://forum.megaglest.org/index.php?topic=9155.0) if anyone is interested in spending time on this.