Whazzup and JoinFS Maps

Suggestions, ideas and general discussion about JoinFS.
n0bullet
Posts: 9
Joined: Tue Dec 11, 2018 1:14 pm

Re: Whazzup and JoinFS Maps

Post by n0bullet »

ATC Roo wrote:I don't own Xplane, but surely the callsign can be set in Xplane?

The map will only show one aircraft for each callsign.
Is it possible to make the map show user with same callsign, would be great if it could work?
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

There are lots of maps about that support the whazzup.txt format.

It's probably best to try another one.
n0bullet
Posts: 9
Joined: Tue Dec 11, 2018 1:14 pm

Re: Whazzup and JoinFS Maps

Post by n0bullet »

ATC Roo wrote:There are lots of maps about that support the whazzup.txt format.

It's probably best to try another one.
Hi Roo tnx for your replys, i have searched for another maps but could not find any, do you know any other map scipts?
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

Anything that shows VATSIM/IVAO traffic should work.

Flightair map is one, servinfo might also be useful.
n0bullet
Posts: 9
Joined: Tue Dec 11, 2018 1:14 pm

Re: Whazzup and JoinFS Maps

Post by n0bullet »

ATC Roo wrote:Anything that shows VATSIM/IVAO traffic should work.

Flightair map is one, servinfo might also be useful.
Tnx, I have installed Flight Air Map but dont really understand where to add adress to mine whazzup.tx file :roll:
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

Fill in all the details at http://YOURMAP/install

Halfway down it will ask you for your source.

The source is your whazzup.txt
Example: http://YourIP/whazzup.txt
DCA309
Posts: 2
Joined: Sun Apr 26, 2020 3:20 pm

Re: Whazzup and JoinFS Maps

Post by DCA309 »

Hi all, new here. I am president of DC-3 Airways, and I have recently downloaded and installed your map, Roo. I got everything working just fine, even modified the JS to update the map every five seconds, but one thing I'd like to do is to change the aircraft markers on the map from what looks like jet aircraft to something that more closely resembles a DC-3. As I am not very familiar with either XML or Javascript, can you point me to the area where I could affect this change? You can have a look at my map by visiting http://dc3airways.net/map/map/index.html. Thanks for your time.

Andy Hatcher
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

Hi Andy,

I remember somebody else wanted to do this.

The easiest way I would say is to replace the .SVG icon in the map/Content/Icons folder.

There are online tools to convert png to svg files if that helps.
DCA309
Posts: 2
Joined: Sun Apr 26, 2020 3:20 pm

Re: Whazzup and JoinFS Maps

Post by DCA309 »

Okay, so I was on the right path. Thank you!
Aeroworx
Posts: 6
Joined: Wed Feb 08, 2017 10:47 am

Re: Whazzup and JoinFS Maps

Post by Aeroworx »

Andy, as I said i will get the DC-3 silhouette symbol from my map, will post the '.svg' to you soon...
RandomThoughts
Posts: 15
Joined: Mon May 04, 2020 5:23 pm

Re: Whazzup and JoinFS Maps

Post by RandomThoughts »

I've got the map working fine on my webserver, and it seems to be reading my whazzup.txt file since details are shown on the map & sidebar. The problem is pilots aren't being removed from the map when they disconnect from JoinFS.

I haven't created a status.txt file because I don't really understand its purpose.

Here's the relevant parts of my settings.php file

Code: Select all

define('WHAZZUP_URL','\Users\JFSAdmin\AppData\Local\JoinFS\whazzup.txt');//Where your Whazzup file is.
define('UPDATE_FREQ',5000);//map refresh time in ms (60secs = 60000)
Map URL: https://jfsmap.airseatac.net

Thanks for looking
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

How long do they stay for?

Are they still showing on the map when they dont show in the whazzup file?
RandomThoughts
Posts: 15
Joined: Mon May 04, 2020 5:23 pm

Re: Whazzup and JoinFS Maps

Post by RandomThoughts »

I'll update a bit later, but pilots are removed from whazzup.txt almost immediately, still showing on map after about 10 minutes. I suspect if I refresh the map in my browser the pilot will disappear.

Web server is IIS8 if it makes any difference
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

Web server shouldn't make a difference.

The map will read the whazzup every 5 seconds (with that config) and display what it has read.

The main JoinFS map has a feature whereby it will wait X seconds after the last position it has read for an aircraft, before it removes it from the map.

For example:
The map reads a position for GABCD, then doesnt get details for GABCD on the next read, but it wont be removed.
On the 3rd read it might get a position for GABCD, so it would be updated on the map and the remove timer is reset.

The remove timer (as I call it) is incase the map or whazzup file misses the data for whatever reason.
This ensures the aircraft stays displayed on the map throughout and doesnt flash on and off as it might do without the timer.

The map you are using may have something similar (it's been a while since I looked at it).
You would need to look at the part of the map code that gains the data if you did want to change it.

I would have thought it would be around 60 seconds if it did exist.
RandomThoughts
Posts: 15
Joined: Mon May 04, 2020 5:23 pm

Re: Whazzup and JoinFS Maps

Post by RandomThoughts »

I've looked at some of the code and if I've understood it correctly it needs a cache.xml file, which I can't find anywhere. I'll try creating it tomorrow and see what happens.
RandomThoughts
Posts: 15
Joined: Mon May 04, 2020 5:23 pm

Re: Whazzup and JoinFS Maps

Post by RandomThoughts »

Well this is weird!!

I created a cache.xml file in the same folder as settings.php. It inherited security settings from the other files so no need to change settings for IIS to be able to read it. Here's the testing scenario -

Pilot 1 joins JoinFS
Pilot 1 shows in cache.xml
Pilot 1 shows on map

Pilot 2 joins JoinFS
Pilot 2 shows in cache.xml
Pilot 2 shows on map

Pilot 2 leaves JoinFS
Pilot 2 is removed from cache.xml
Pilot 2 is removed from map almost immediately

Pilot 1 leaves JoinFS
Pilot 1 is removed from cache.xml
Pilot 1 is NOT removed from map, and is still showing after about 15 minutes

I didn't check whazzup.txt at every stage, but when both pilots left it showed no clients
RandomThoughts
Posts: 15
Joined: Mon May 04, 2020 5:23 pm

Re: Whazzup and JoinFS Maps

Post by RandomThoughts »

One final observation, it seems to be the same pilot left on the map whether they're the first or last to leave JoinFS
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

You'll have to work out why they're different.

Their sim?
Their callsign?
Their aircraft?
RandomThoughts
Posts: 15
Joined: Mon May 04, 2020 5:23 pm

Re: Whazzup and JoinFS Maps

Post by RandomThoughts »

I can't see how any of this would affect it since both whazzup.txt and cache.xml show no pilots when no pilots are connected, but one remains on the map
ATC Roo
Posts: 597
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Whazzup and JoinFS Maps

Post by ATC Roo »

RandomThoughts wrote:I can't see how any of this would affect it since both whazzup.txt and cache.xml show no pilots when no pilots are connected, but one remains on the map
Something is making the map think it's still there.
For Example: If the aircraft callsign was ATC1 the map may think it's a controller.
Controllers might have a different timeout than aircraft?

I know that spaces and special characters like : or \ in callsigns and aircraft types have caused similar issues.
Post Reply