Comments (6)
I ran netstat and the server is listening on port 35666. I built a debug version and the client reports
[INFO] ScannerServer::New server: 127.0.0.1 35666 Server
[INFO] ScannerServer::New server: 192.168.1.18 35666 Server
I don't see anything from the server console.
It seems like the server isn't acknowledging that it's getting a connection.
from emptyepsilon.
Actually, I just found the problem or at least a problem.
It's a problem in SeriousProton, file src/multiplayer_client.cpp, line 35. status is never equal to ReadyToConnect. It's equal to 1. It should be checking for a number not text.
Commit b59b013 broke it, but technically it's been broken longer than that, it's just now the problem pops up.
from emptyepsilon.
Actually, state is an enum, and enum have number values that match "identifier" values. ReadyToConnect however is 0, not 1. The problem is in the constructor of that code. And yes, I screwed up. But the code was not broken before.
from emptyepsilon.
(fixed in serious proton source)
from emptyepsilon.
Ok. that works. All I know is I had the logger spit out the status and I only saw integers. I'm not that good with C/C++.
from emptyepsilon.
Guess you learned something new today :-)
from emptyepsilon.
Related Issues (20)
- Linux server crashes when clients try to connect HOT 6
- [Issue] When the player ship docks at a station, it jerks
- [Scenario issue] "The Black Wall" from Dyrian HOT 8
- unexpected mass spawning of ships HOT 3
- Game won't start with current version on OpenSuSe 15.4 HOT 2
- Borderline Fever scenario error: attempt to call a number value (local '_') HOT 2
- Check
- build/MacOS Needs Update HOT 1
- error when running from command line HOT 2
- Unable to complete the weapons tutorial HOT 1
- Regular releases? HOT 2
- Colored Bands for the Science station has poor accessability HOT 1
- Inconsistency in UI Layout HOT 3
- Build Errors with GLM 1.0.0 HOT 2
- Missing guidance HOT 1
- [Android] Shader Error HOT 8
- Potential Error in Windows MSVC Build Process HOT 1
- [Android] Confirmed devices that run EE HOT 1
- LUA Serial Communication HOT 3
- Theme selector missing GUI Elements
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 emptyepsilon.