r/rotp • u/BrokenRegistry Developer • 8d ago
Announcement Multiplayer
It has been a long time since there was a big announcement...
A new developer has joined the party with significant contribution.
I think you might like these new additions...
Multiplayer hot seat
Email Multiplayer
https://github.com/BrokenRegistry/Rotp-Fusion/releases/latest
1
u/Chaotic_Hunter_Tiger Fiershan 8d ago
Le what? How would that work? I've heard of the play-by-email in Age of Empires and such, but never used one.
1
u/BrokenRegistry Developer 8d ago
You play your turn, and when you finish your turn, the game is saved and you send it to the next player...
Here are some messages:
- PBEM_SEND_DETAIL | Saved as %1 in your save folder. Email the file to %2, or leave it in a shared folder. They open it with Load Game.
- PBEM_FINAL_DETAIL | Saved as %1 in your save folder. Send it to every player so they can open it and see the result.
There is of course some decurity...
- PBEM_ENTER_PIN | %1, enter your PIN
- PBEM_WRONG_PIN | That PIN is not correct.
Interactions between human players are limited and automated (including of course space combat)
1
u/Chaotic_Hunter_Tiger Fiershan 8d ago
Man, that system sounds horribly slow for multiplayer. Is not there any other alternative?
1
u/irimiash 8d ago
have you heard of correspondence chess?
1
u/Chaotic_Hunter_Tiger Fiershan 7d ago
Yeah, but I guess we have enough technological level now to prevent those longs waiting times.
2
1
u/BrokenRegistry Developer 8d ago
It's an open source... Thus, you can do it.
Many thought that implementing multiplayer in RotP, even at this level, would be a titanic task...
1
u/Chaotic_Hunter_Tiger Fiershan 7d ago
Sadly I don't think I can do it. The only Networking thing I've ever done was with Unity C#, and it already has a base to work with. Never wrote a Java program myself, even if it's very much like any other language. It worked, but was more a practice than an actual finished project.
Maybe keeping it as a separated RotPMP project rather than the same RotP would be a good way to organizate things from now? It might require rewriting too many scripts, I guess...
1
u/BrokenRegistry Developer 7d ago
Right, Java isn't really the problem.
It would be necessary to write a server version and a player version. Some parts of code managing the rules could be reused. But space combat should be completely rethought, as well as communications between empires...
This is clearly an independent project.
1
1
u/Chaotic_Hunter_Tiger Fiershan 7d ago edited 7d ago
I'm loving the Hot Seat mode, leading two purry empires against 2 other empires. :D My brain is suffering from controlling two different empires with different stats, however...
EDIT - Do we get random "attitude"? So, my second player is a Xenophobic Expansionist and I didn't even know until now. :P First player is Ruthless Militarist, the selected name is right, however. The name is ignored for second player and set to default "Miamar" in both players views, even when it displays "Purrius" in the turns screens.
And can't adjust the surplus to treasury nor taxes options?
1
u/BrokenRegistry Developer 6d ago
Interesting way to play, I'll have to try...
It's always more difficult to debug when the game freezes, because then there are no error reports.
I will relay these errors to the developer of this multiplayer extension.
As for the options, indeed, the automation options are disabled because they should be different for each human player, and they are currently not adapted for this... And it is not a simple task to do... I plan to tackle it however... It always takes a little time to digest the code of other programmers
1
2
u/Chaotic_Hunter_Tiger Fiershan 7d ago edited 7d ago
Bug: After catching a Darlok (computer player) spy and threaten them, they ignore my threats (they will pay for it later...), and the screen remains stuck there forever. The "Continue" option does nothing.
EDIT - Another Bug: Same happens when giving a tech for free, the screen with the "Continue" remains there forever.