Giter VIP home page Giter VIP logo

Comments (12)

comidan avatar comidan commented on September 2, 2024

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.

ingconti avatar ingconti commented on September 2, 2024

gimme 2 minutes I will try under OSX

from ingsw-project.

ingconti avatar ingconti commented on September 2, 2024

on OSX it does start, with emessages I already copied above.

from ingsw-project.

comidan avatar comidan commented on September 2, 2024

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.

ingconti avatar ingconti commented on September 2, 2024

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.

ingconti avatar ingconti commented on September 2, 2024

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.

comidan avatar comidan commented on September 2, 2024

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.

ingconti avatar ingconti commented on September 2, 2024

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.

comidan avatar comidan commented on September 2, 2024

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.

ingconti avatar ingconti commented on September 2, 2024

no prob.
make fixes needed.

I will suggest:

  1. read file in the SAME directory you run.
  2. 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.

comidan avatar comidan commented on September 2, 2024

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.

ingconti avatar ingconti commented on September 2, 2024

ok.continue fixing and posting new JARs.

from ingsw-project.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.