Comments (12)
Thank you for your report, as soon as possible I will try it on an Ubuntu version on VM.
Bit strange that this issue occurs just on Linux, I will also try to build it inside a Linux enviroment.
Thank you very much again!
from ingsw-project.
gimme 2 minutes I will try under OSX
from ingsw-project.
on OSX it does start, with emessages I already copied above.
from ingsw-project.
So it does start on Windows, on OSX which is a Linux Darwin distro, but not on a Linux distro like Ubuntu.
Interesting, will resolve it, just strange
from ingsw-project.
windows ok
DONT SAY SO!
OSX is the right descendand of original UNIX... (linux is a strange derivation... ) : )
Anyway ok, but we will try on my osx eventually... or windows of nicccolo or your pcs.
from ingsw-project.
client cannot connect.. if another macs... I see:
GRAVE: Connection refused (Connection refused)
localhost:49152 not responding, retrying in 3 seconds...
Jul 05, 2018 3:33:59 PM it.polimi.ingsw.sagrada.network.client.socket.SocketClient connect
from ingsw-project.
Even by setting the correct ip address in the network config.json?
Thank you very much, will take a look on this too.
from ingsw-project.
yes, I copied config & client -> edited Json... and run..
feel free to post new version as needed, I will be glad to download and test
from ingsw-project.
I'm very sorry, just checked the loading of the external resource (network_config.json) from client and it was trying to read from this path "resource" + NETWORK_CONFIG_PATH.
When the network_config.json file instead is at the same level of the running jar.
Will fix the zip containing the file.
I think it could be temporary bypassed by creating a these directories resource/json/config/ and putting inside it the json file.
from ingsw-project.
no prob.
make fixes needed.
I will suggest:
- read file in the SAME directory you run.
- if not present, two ways:
a) use default values
b) exit showing correct syntax:
usage: -Port _Address (and so on..)
(see for an example:
ping
usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize]
[-g sweepminsize] [-h sweepincrsize] [-i wait]
[-l preload] [-M mask | time] [-m ttl] [-p pattern]
[-S src_addr] [-s packetsize] [-t timeout][-W waittime]
[-z tos] host
)
from ingsw-project.
Thank you for your suggestions. As said of point a, it is already done and this is what happened before. It was using localhost as default value of server's ip address.
Will do the point b, seems very useful.
from ingsw-project.
ok.continue fixing and posting new JARs.
from ingsw-project.
Related Issues (8)
- check .gitignore HOT 3
- write consistenty HOT 2
- a big bunch of TODO HOT 4
- is not an issue :) HOT 2
- Pls add group number to readMe. HOT 3
- Test issues HOT 6
- no JAR yet.. HOT 7
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 ingsw-project.