Page 6 of 7

Re: Whazzup and JoinFS Maps

Posted: Sat Dec 15, 2018 8:50 pm
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?

Re: Whazzup and JoinFS Maps

Posted: Sun Dec 16, 2018 1:01 pm
by ATC Roo
There are lots of maps about that support the whazzup.txt format.

It's probably best to try another one.

Re: Whazzup and JoinFS Maps

Posted: Sun Dec 16, 2018 5:26 pm
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?

Re: Whazzup and JoinFS Maps

Posted: Sun Dec 16, 2018 6:44 pm
by ATC Roo
Anything that shows VATSIM/IVAO traffic should work.

Flightair map is one, servinfo might also be useful.

Re: Whazzup and JoinFS Maps

Posted: Tue Dec 18, 2018 4:58 pm
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:

Re: Whazzup and JoinFS Maps

Posted: Tue Dec 18, 2018 5:38 pm
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

Re: Whazzup and JoinFS Maps

Posted: Sun Apr 26, 2020 4:08 pm
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

Re: Whazzup and JoinFS Maps

Posted: Mon Apr 27, 2020 11:19 am
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.

Re: Whazzup and JoinFS Maps

Posted: Mon Apr 27, 2020 11:34 am
by DCA309
Okay, so I was on the right path. Thank you!

Re: Whazzup and JoinFS Maps

Posted: Fri May 01, 2020 12:24 pm
by Aeroworx
Andy, as I said i will get the DC-3 silhouette symbol from my map, will post the '.svg' to you soon...

Re: Whazzup and JoinFS Maps

Posted: Mon May 11, 2020 4:51 pm
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

Re: Whazzup and JoinFS Maps

Posted: Mon May 11, 2020 6:04 pm
by ATC Roo
How long do they stay for?

Are they still showing on the map when they dont show in the whazzup file?

Re: Whazzup and JoinFS Maps

Posted: Mon May 11, 2020 6:45 pm
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

Re: Whazzup and JoinFS Maps

Posted: Mon May 11, 2020 7:20 pm
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.

Re: Whazzup and JoinFS Maps

Posted: Mon May 11, 2020 8:15 pm
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.

Re: Whazzup and JoinFS Maps

Posted: Tue May 12, 2020 11:50 am
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

Re: Whazzup and JoinFS Maps

Posted: Tue May 12, 2020 3:57 pm
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

Re: Whazzup and JoinFS Maps

Posted: Tue May 12, 2020 7:21 pm
by ATC Roo
You'll have to work out why they're different.

Their sim?
Their callsign?
Their aircraft?

Re: Whazzup and JoinFS Maps

Posted: Wed May 13, 2020 11:27 am
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

Re: Whazzup and JoinFS Maps

Posted: Wed May 13, 2020 2:42 pm
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.