Online Multiplayer

Discussion about Rocks'n'Diamonds, Boulder Dash, Supaplex, Emerald Mine and any other BD hybrid.

Moderators: Zomis, Flumminator

Post Reply
Lizbona
Posts: 1
Joined: Thu Aug 21, 2014 10:59 am

Online Multiplayer

Post by Lizbona » Fri Jul 08, 2016 10:13 am

I think it should be updated in the future. Me and a few friends are desperately trying to play it in online multiplayer. I set the server and everything port and that. But it still has issues and when we actually manage to start a game together, it starts to lag and we can barerly make the player move.

MateFizyChem
Posts: 30
Joined: Sun Oct 30, 2016 7:16 pm

Re: Online Multiplayer

Post by MateFizyChem » Mon Oct 31, 2016 5:54 pm

Wait, how is this even possible? How to do it?

User avatar
Holger
Site Admin
Posts: 3225
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Online Multiplayer

Post by Holger » Mon Oct 31, 2016 8:17 pm

I think it should be updated in the future.
Definitely yes! It is not only not very well maintained (for example, there seem to be some problems with the version 4 release candidates that have to be fixed), but it also is way too user-unfriendly (expecially on WIndows systems).

It should be possible to just start network gaming by pressing a button and (optionally, if not running as "the server") entering the hostname or IP address of the computer that acts a the server.
But it still has issues and when we actually manage to start a game together, it starts to lag and we can barerly make the player move.
Within the same LAN, it should work just fine and without lag. Over the net, I would indeed expect bad lagging (as the network communication has to be done in each single game frame, which is 50 times per second). It may or may not be possible to optimize this without breaking the game logic...

User avatar
Holger
Site Admin
Posts: 3225
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Online Multiplayer

Post by Holger » Mon Oct 31, 2016 8:22 pm

Wait, how is this even possible? How to do it?
... and yes, it's also virtually not documented, although quite easy:

Computer A: Start as "./rocksndiamonds --network"
Computer B: Start as "./rocksndiamonds --network <hostname of computer A>"

Select player color on each computer and make sure that team mode is enabled in the setup. Now select a team-mode enabled level set (that contains more than one player, like "Classic Emerald Mine") and start the game.

That should do it...

MateFizyChem
Posts: 30
Joined: Sun Oct 30, 2016 7:16 pm

Re: Online Multiplayer

Post by MateFizyChem » Mon Oct 31, 2016 8:42 pm

Holger wrote:
Wait, how is this even possible? How to do it?
... and yes, it's also virtually not documented, although quite easy:

Computer A: Start as "./rocksndiamonds --network"
Computer B: Start as "./rocksndiamonds --network <hostname of computer A>"

Select player color on each computer and make sure that team mode is enabled in the setup. Now select a team-mode enabled level set (that contains more than one player, like "Classic Emerald Mine") and start the game.

That should do it...
:D I lived under the window(Got it?).

MateFizyChem
Posts: 30
Joined: Sun Oct 30, 2016 7:16 pm

Re: Online Multiplayer

Post by MateFizyChem » Tue Nov 01, 2016 11:48 am

Holger wrote:
Wait, how is this even possible? How to do it?
... and yes, it's also virtually not documented, although quite easy:

Computer A: Start as "./rocksndiamonds --network"
Computer B: Start as "./rocksndiamonds --network <hostname of computer A>"

Select player color on each computer and make sure that team mode is enabled in the setup. Now select a team-mode enabled level set (that contains more than one player, like "Classic Emerald Mine") and start the game.

That should do it...
How do I find a hostname?

Eizzoux
Posts: 309
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: Online Multiplayer

Post by Eizzoux » Tue Nov 01, 2016 8:42 pm

Well, I visited my imagination and... Heh, imagined player customize for network play (changing colors of clothes and skin, change person and etc. :lol:
Nothing in here...*

MateFizyChem
Posts: 30
Joined: Sun Oct 30, 2016 7:16 pm

Re: Online Multiplayer

Post by MateFizyChem » Tue Nov 01, 2016 9:08 pm

I found out I have to use the internet protocol(I hope no one forgot it meaning "ip".).
I checked in my computer using 2 terminals. It felt funny, but it does not check the lag's presence, does it? :mrgreen:

MateFizyChem
Posts: 30
Joined: Sun Oct 30, 2016 7:16 pm

Re: Online Multiplayer

Post by MateFizyChem » Wed Nov 02, 2016 3:00 pm

I tried with 2 command prompts in the same system, I got this from stderr.txt:
rocksndiamonds.exe: warning: cannot open configuration file 'C:\Users\(not leaking my name no way)\Documents\Rocks'n'Diamonds\editorsetup.conf'
rocksndiamonds.exe: fatal error: cannot connect to network game server
.

R'n'D, why do you discriminate Windows? :lol:

Post Reply