Comments (9)
(by artofwar)
Just a quick bump to let you know this still doesn't work as of the latest 8746.
Fresh build on OS X 10.8.3, no errors or warnings during compile.
from stratagus.
(by iddqd-mail)
I have this bug too, though I can connect on the localhost if I launch 2 instances of stratagus.exe each with different port using -P command line option
from stratagus.
(by iddqd-mail)
The bug-creating change was added in rev.8675. Will try to investigate the problem.
from stratagus.
(by joris-dauphin)
Little explanation:
In InitNetwork1(),
instead of trying to use a port in range CNetworkParameter::Instance.localPort + [0; 10[
we use only the one specified (CNetworkParameter::Instance.localPort).
(So if it is the server, its port is the one specified, and client don't have to guess which port in range is used).
If we can't use the port, an error message should be displayed on stderr.
This should affects only when using multiple instance on a single machine though...
from stratagus.
(by iddqd-mail)
Well, I've mistaken, the real problem is revision 8665, when UDP protocol handling was changed
from stratagus.
(by iddqd-mail)
Just tested it on network between Windows 2000 SP4 and Windows 7 SP1 and rev.8664 worked well whereas rev.8665 refused to join to game
from stratagus.
(by iddqd-mail)
Looks like i've fixed the bug, but the fix is ugly, need to fix it more correctly
from stratagus.
(by joris-dauphin)
I see you removed an usage of CNetworkParameter::Instance.localHost
I would say this var may be useful when computer has several network cards...
(but I'm not an expert).
The last usage of this variable is in master.cpp for TCP.
So, if you solution is correct,
Can you try if it is useful there and if not remove completely this var ?
I cannot test this network bug since I have only one machine (and previous code worked in that case :-/ ).
Thanks.
from stratagus.
(by artofwar)
Just wanted to note that this appears to be fixed for me now.
Thanks cybermind!
from stratagus.
Related Issues (20)
- [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
- Multiplayer on network won't allow non-host player to be Orc HOT 1
- Wargus 3.3.2 - Bug Extraction process HOT 5
- Wargus - Network out of sync in Single Player Campaign HOT 12
- building tolua.cpp.o: try to execute -L in sh HOT 1
- try to build with /usr/include/lua.h rather than /usr/include/lua-5.1/lua.h (I think) HOT 2
- Documentation typo/incorrect information? HOT 6
- Unexpected behavior when upgrading units to units with lower maximum health HOT 1
- Stratagus failed to load game data. HOT 1
- build stratagus make fatal error: mdns.h HOT 5
- Broken CI with icon with linuxdeploy HOT 2
- Network Desync. HOT 7
- Red Humans Glitch when loading games, followed by a Crash. (War1gus)
- crash on startup HOT 5
- PLEASE modify the uninstaller
- Warcraft 3 HOT 1
- [macOS] Regression: Black text on main menu in Wargus (Stratagus bug) HOT 5
- Crash to desktop when upgrading/morphing unit that is carrying resources into one that cannot
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.