Game between 2 players - not all info is received...

Hi,

I tried Vassal for the first time with my newly created module, and via 2 different PCs to see what each player sees of the other’s moves.

Well, it roughly works. However, some information are not transmitted. Why? I don’t know, it seems that 90% of the actions done by the first player are received and displayed by the second player. But what about the 10% remaining?

The 2 PCs have the same IP address, but I guess that this has nothing to do with the problem.

Synchronize seems to work. But I won’t synchronize after every action, right?

Hope you know what is going on.

Thus spake “Damiste”:

That may well be the problem. How can packets be routed properly between
them if they don’t have different IPs?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

I believe this is usually not a problem with game servers. I don’t know much about networks but I believe that this is a know problem and easily solvable.

Now, maybe the way Vassal is programmed does not handle this…

Anyway, it seems that synchronizing helps. But that is not enough. My 2 players are all player 1 or player 2 at the same time. I believe that this is not normal, right?

Thus spake “Damiste”:

If the NICs on the two machines have the same local IP address and are on
the same LAN, then it cannot possibly work correctly. Being NATed behind
the same routable IP address is a completely different thing, as in that
case, the two machines should still have different local IPs.

You should only need to synchronize once, at the start of the game.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

The two PCs are linked to the same switch: broadbandbuyer.co.uk/Shop/Sh … uctID=5365

This switch is plugged into my “electrical” network: direct.tesco.com/q/R.204-8716.aspx

which is finally linked to my provider’s router.

Thus spake “Damiste”:

I can’t tell whether your machines are correctly configured from this.
You need to check what IP addresses they have.

Are you connecting peer-to-peer, or via the VASSAL server?

What actions exactly are you not seeing? Please post the module so
we can have a look at it.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)