Online Multiplayer

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

Moderators: Flumminator, Zomis

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

Online Multiplayer

Post by Lizbona »

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 »

Wait, how is this even possible? How to do it?
User avatar
Holger
Site Admin
Posts: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Online Multiplayer

Post by Holger »

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: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Online Multiplayer

Post by Holger »

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 »

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 »

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?
User avatar
Eizzoux
Posts: 567
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: Online Multiplayer

Post by Eizzoux »

Well, I visited my imagination and... Heh, imagined player customize for network play (changing colors of clothes and skin, change person and etc. :lol:
𒈟
MateFizyChem
Posts: 30
Joined: Sun Oct 30, 2016 7:16 pm

Re: Online Multiplayer

Post by MateFizyChem »

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 »

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