VISAB-ORG / VISAB

VISAB is a standalone utility to visualize artificial intelligence agent behavior in games.
1 stars 0 forks source link

Hostname and Linux #50

Closed mfroeh closed 3 years ago

mfroeh commented 3 years ago

I just installed VISAB on a Linux VM and it works just fine. Only installs I had to make for it to work were Java and Maven.

The VM also has a different Hostname than my pc. To connect to VISAB on the VM I simply replaced localhost with the hostname of the VM.

E.g. opening session on localhosted VISAB WebApi: http://localhost:2673/session/open VM hosted VISAB WebApi: http://192.168.178.68:2673/session/open

Therefore, we can and should remove the hostname from VISAB entirely.

VISABConnector versions of >=1.4 support providing your own hostname and port for connecting to visab like this

// Localhosted WebApi
var visabApi = new VISABApi();

// Network hosted WebApi
var visabApi = new VISABApi("http://192.168.178.68", 2673);
mfroeh commented 3 years ago

What is left to test, is for two of us to connect to a peer to peer network and test if it works there aswell.

leRoe93 commented 3 years ago

Very nice, that should be a quite powerful marketing feature for our final version :)

I would offer myself to test this on sunday around midday!

mfroeh commented 3 years ago

This worked by simply connecting to a hamachi network! :rocket: