Comments (30)
(by joris-dauphin)
All players should have the same version of stratagus/wargus.
If it is not that the problem,
can you give some info to reproduce the error ?
from stratagus.
(by mrbomfunk)
All players were using the same version 2.2.5.5.
Some info to reproduce the error, hmm... That's what I did:
Hosted a game with 3-player map. A friend connected and I started the game, so we were against one computer player. And from the first minute of playing both of us were seeing the "Network out of sync" error, then, after some minutes playing, game freezed with the "Player send bad command" error.
Also I tried to launch 3 copies of the game on one computer and connected all of them to one game. All of them were getting "Network out of sync" error, so it's not a network issue, I suppose.
from stratagus.
(by erstmap)
Stratagus has always had this problem. I remember back when I was at school we were forced to play Freecraft instead as Wargus 2.4 would go out of sync with more then three players.
I wonder if BOS Wars has fixed this issue? Back porting might be the answer.
from stratagus.
(by pali)
Bos Wars did not fix it too :-(
from stratagus.
(by pali)
Now I tested 2 instances of Wargus 2.2.6 on Ubuntu Oneiric in multiplayer game, both on localhost. And there was no out of sync problem.
Can somebody test network multiplayer game on localhost too? And also on LAN?
from stratagus.
(by iddqd-mail)
Yes, i've just tested localhost on Stratagus 2.2.6 Windows XP SP3 with Doom Wars and everything was OK. Replays are also played well.
from stratagus.
(by iddqd-mail)
Checked on real LAN too with 2 players and 2 computers. Everything was OK, no desyncing
from stratagus.
(by pali)
Bomfunk, can you test if you have still problems with version 2.2.6?
from stratagus.
(by mrbomfunk)
Hmmm, I just can't launch it on my Windows 7... It just says nothing and doesn't appear.
I can try it on Debian Linux though, but I want it to work on Windows. Maybe I'm doing something wrong...
from stratagus.
(by pali)
Yes, there is problem with wargus.exe binary on Windows, see bug 909532
from stratagus.
(by mrbomfunk)
It seems to work good with 2 launched instanses of Wargus, but I can't test it with friends now.
from stratagus.
(by pali)
Seems that bug is fixed on localhost (confirmed by me, cybermind and bomfunk) and on real lan too (confirmed by cybermind). So I closing this bug as fixed, reopen if not. No idea which commit fixed this problem.
from stratagus.
(by mrbomfunk)
No, don't close it.
I tried to play with my friend, but he only can join to my lobby, but when game starts, he is left in lobby, or game is out of sync immediately.
On LAN it works ok, but on the Internet...
from stratagus.
(by janitor)
[Expired for Stratagus because there has been no activity for 60 days.]
from stratagus.
(by iddqd-mail)
Check, if bug is still present in game
from stratagus.
(by artofwar)
After many years, this bug continues to affect us. Currently on stratagus rev 8922, building in OS X 10.10 (Yosemite)
All computers running same version of OS and stratagus, all computers connected to same router.
Starts with "network out of sync" messages and finally ends with "player sent bad command."
Problem seems to worsen as army get bigger on both sides until game eventually stalls.
I build my own binaries for OS X and would not mind building a special version with debugging/logging params to trace this problem down. Thanks for any help.
from stratagus.
(by iddqd-mail)
I need information about game used (Wargus, Doom Wars, Wyrmsun ...), game's version (rev. number for Wargus), map used in game. And please send replay files from all computers. You may also run stratagus with "-i" key to get a more detailed information about game (stratagus will generate a big log file in game's directory (where stratagus.exe is located)). It would be good if you will send those log files from all computers (don't forget to compress them first)
from stratagus.
(by mimoohowy)
Just about any multiplayer wargus game gets 'network out of sync' within 20 minutes or so. I tried stratagus 2.2.7 linux to linux, linux to windows, and also windows to windows. Windows to windows was the least affected. I would imagine it can be easily reproduced since it happens so regularly to me on different machines, but I can provide the logs if stratagus developers never experience these problems.
When it comes to network play, I can also mention that I have problems joining the game unless I start 'startagus -P 6667' - such a server (6667) can be easily connected to.
from stratagus.
(by mimoohowy)
Yes, I can confirm. Freshly built stratagus 2.2.7 + wargus 2.2.7. Compiled on my machine amd64. On this machine I start two instances of wargus in this manner:
./stratagus -W -v 1024x768 &
./stratagus -W -v 1024x768 &
and I play a mutiplayer game between two windows on 192.168.1.2 interface. I start getting 'network out of sync' within 15 minutes on a map that I created in the editor. (BTW, the editor doesn't save many values to the files, like the race, the AI-style, the values of the starting resources (wood, gold, oil) so I edited the map file with a text editor).
The option -i suggested by cybermind is not working:
wszafie:wargus$ ./stratagus -i
./stratagus: invalid option -- 'i'
from stratagus.
(by iddqd-mail)
Please use the recent version from trunk instead of 2.2.7
from stratagus.
(by artofwar)
Just built the latest version 8961 with wargus 1823 scripts.
Network out of sync happens for us immediately upon game start.
ran stratagus with "-i" key and attached resulting log files.
Note: I'm now building stratagus in OS X 10.10.2
I'm available for further testing/debugging when needed.
Thanks for your continued development on this great game.
from stratagus.
(by iddqd-mail)
Please update your Stratagus to rev. 8964 and Wargus to rev.1827 and report if this continues to happen. It would be good if you will describe your network (# of computers, pings, network speed etc)
from stratagus.
(by artofwar)
Updated to Stratagus rev. 8968 / Wargus rev. 1832- "Network out of sync" problem persists.
Local Network: Gigabit network...4 computers in same room, on same hub, all wired.
Only two computers playing on this test, here's the ping statistics between the two computers:
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.487/0.546/0.594/0.030 ms
We continued playing through the "Network out of sync" until we got to the point where someone "sent bad command."
(We suspect this happens when one of the players selects a large army, 40+ troops, but it may be coincidence)
When someone get's the dreaded "player sent bad command" message, it's all downhill from there.
This time around, only the client player saved a log file (attached.) The computer who hosted the game did not leave a log (not sure why because game did not crash, could be operator error I guess.)
In any case, wanted to get this info to you as soon as possible.
from stratagus.
(by mimoohowy)
Fresh Stratagus 2.3.0 + Wargus 2.3.0 @ ubuntu. Still network out of sync :(
I am trying to understand how it works, so that I can help to resolve
this bug:
So there are cycles in the game. Within each cycle the state of each
single unit (each critter even) is passed thru the network. Each record
is plain text, but also contains some hex tag and this tag is checked
against network syncing (what is the "nature" of this hex tag BTW?). At
some point I spotted the "network out of sync" in the console. As I
understand I need to collect both the -p output in the console (network
problems are reported here) and -i output (the state of the units).
Then the first bad cycle should be compared against the previous one and
this is basicaly how I should report it, right?
Please change
-P port Network port to use
into
-P port Network port to use for the client
my tests show this is the meaning of -P option (server fixed to 6660),
unless I am wrong.
Regards,
Karol
from stratagus.
(by micronizer)
Me and my group have been affected by this bug since the first version we tried (2.1), and we always try again with each new release with no result. In fact, each new version seems to get out of sync slightly faster. It always surprises me how multiplayer issues don't seem to get noticed; I suppose few people play wargus multiplayer.
from stratagus.
it's almost end of 2018. wargus 2.4.2 - the issue is still here
from stratagus.
2021 and the issue is still here. Happens with local multiplayer, same router, different pc's.
Happening with us on war1gus as well.
Happens more often when not everyone is hardlinked, and more often with more players.
Happens almost always on the online, different household, public mode.
Any update on any potential fixes for this? We also crash as soon as we get booted from the multiplayer game with the following error message:
We're all running version 3.2.0 portable.
We bought a GOG copy of Warcraft 1 and used that copy to install the data files.
Are there any workarounds or fixes for this issue in either war1gus or wargus?
from stratagus.
@ZackKnopp to sanity check, can you confirm you did not change any settings at all and everything as at default? There are still some bugs remaining with some game-changing settings not being synced correctly and causing desyncs.
from stratagus.
Thanks for the quick reply, I'll try that out sometime this week without changing any settings on fresh installs.
Is there a list of settings somewhere that are okay to change for multiplayer or a list of the ones we're not supposed to touch?
from stratagus.
Tried it out in 3 ways
- Two separate computers over LAN
- (one pc on wifi)
- it worked, but I didn't play out a full game
- Two separate computers over the internet
- Using your 'battlenet' clone
- it worked, but I didn't play out a full game.
- Tried it out on LAN with my brother
- played a full game
- one pc on wifi
- no desynch messages, which is good
- but it did crash halfway through with this error:
And this stderr.txt
Can't find icon
Can't find icon
Stratagus crashed!
A mini dump file "crash.dmp" has been created in the Stratagus folder.
Please send it to our bug tracker: https://github.com/Wargus/stratagus/issues
and tell us what caused this bug to occur.
We're all running version 3.2.0 portable.
No settings were ever changed (fresh installs)
We bought a GOG copy of Warcraft 1 and used that copy to install the data files from setup.exe on all 3 computers
from stratagus.
Related Issues (20)
- Memleak in genversion.cpp
- Undefined behaviour due to alignment issue HOT 5
- Menu backgrounds not working on Mac OS HOT 4
- Unable to build master branch on Mac OS due to use of malloc and memalign() HOT 4
- stratagus/iolib.cpp fails to build on FreeBSD-14-Current; Clang-14.0.5: missing include
- Fix the depot pointer crash with GameSettings.AllyDepositsAllowed
- AppImage for Stratagus and Stargus on Linux! HOT 8
- Crash on startup HOT 1
- Wargus Multiplayer crashing in 3.3.2 HOT 2
- Bug with the Extraction process? HOT 4
- 'Open' on lines 70,71,72 in astar.cpp prevents compiling HOT 2
- adding ultrawide resolutions HOT 2
- Crash at the end of the mission HOT 1
- Failed to load game data - Orc Campaign 6 (Sunnyglade Victory)
- Crash when starting second scenario, after Hillsbrad and briefing
- Screen flashes when starting new building construction HOT 3
- Possible LUA Editing/Modding Code Guide/Reference for Stratagus (WC1, WC2, SC1, etc) + Evidential Plans of Working (Pre-)Releases for Starcraft1/Stargus HOT 5
- [macOS] The Cmake HAS_17_FS test fails with Xcode 14.3 HOT 3
- ui/black_title.png not loading and crashing game
- custom UI artwork HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratagus.