Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use IVAO #5

Open
donggua2096 opened this issue Nov 2, 2020 · 31 comments
Open

Unable to use IVAO #5

donggua2096 opened this issue Nov 2, 2020 · 31 comments

Comments

@donggua2096
Copy link

An error is reported when the unit data is obtained ,error: "not found"}
error: "not found"
It's in this catalog:http://47.94.145.202/api/getclients.php?t=ivao
[
~ KDO_@ QY3@IP(D6G _)G
LM @@$7XM%}G)TVT%P7FQ

](url)

@Iunusov
Copy link
Owner

Iunusov commented Nov 3, 2020

It's required to parse IVAO data as well (every 5 minutes):

$ cd vatsim_parser/
$ ./parse.php ivao

@Iunusov
Copy link
Owner

Iunusov commented Nov 3, 2020

So, you can specify both:
define("STATUS_URL_IVAO", "https://www.ivao.aero/whazzup/status.txt");
define("STATUS_URL_VATSIM", "http://status.vatsim.net/");

and periodically run
./parse.php (e.g. vatsim)
and:
./parse.php ivao

@donggua2096
Copy link
Author

It should be a private FSD with only one server. Can I directly transfer
define(“ STATUS_URL_IVAO”,“ https://www.ivao.aero/whazzup/status.txt ”);
Change to
define(“ STATUS_URL_IVAO”,“ https://xxxxxx/whazzup.txt ”);

@donggua2096
Copy link
Author

Because private servers only have whazzup.txt

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

@donggua2096, I committed small changes in order to support private server.
c4f7c61
Please refer to config.php and define:
define("WHAZZUP_URL_IVAO", "https://xxxxxx/whazzup.txt"); // for private servers
And then use:
./parse.php ivao

@donggua2096
Copy link
Author

I've followed your instructions. Now I'll prompt you:cannot parse data

@donggua2096
Copy link
Author

NSEO UGZI9UKJ(D9YMV$ GC
Uploading whazzup.txt…

@donggua2096
Copy link
Author

NSEO UGZI9UKJ(D9YMV$ GC
whazzup.txt

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

@donggua2096, if you send me your whazzup.txt. I will be able to fix this (probably, format was changed)

@donggua2096
Copy link
Author

I sent it to your email

@donggua2096
Copy link
Author

I also uploaded it

@donggua2096
Copy link
Author

![DateStamp]04/11/2020 09:36
!GENERAL
VERSION = 1
RELOAD = 1
UPDATE = 20201104093650
CONNECTED CLIENTS = 0
CONNECTED SERVERS = 1
!CLIENTS
!SERVERS
FSD01:localhost:City Country:FSD Windows server:1

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

Probably, fixed:
a028d1e
Can you try it?

@donggua2096
Copy link
Author

no problem

@donggua2096
Copy link
Author

No, it's still the same

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

when no clients connected, it might still return an error ("cannot parse data")

@donggua2096
Copy link
Author

If someone is connected properly

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

Ok, then I need whazzup.txt with at least one client connected :)

@donggua2096
Copy link
Author

I'll give it a try

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

If you send me your whazzup.txt with clients connected. I think I will fix it today.

@donggua2096
Copy link
Author

Well, I'll try to give you the result today. We have different time difference

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

Thanks!

@donggua2096
Copy link
Author

I should thank you

@Iunusov
Copy link
Owner

Iunusov commented Nov 4, 2020

@donggua2096, you can use the latest master (6649780) and just specify WHAZZUP_URL_IVAO in your config.php. Hopefully it should be enough.

@donggua2096
Copy link
Author

I tried your new version and still can't

@donggua2096
Copy link
Author

This is connected to the client whazzup.txt

@donggua2096
Copy link
Author

Uploading whazzup.txt…

@donggua2096
Copy link
Author

![DateStamp]05/11/2020 06:04 !GENERAL VERSION = 1 RELOAD = 1 UPDATE = 20201105060418 CONNECTED CLIENTS = 1 CONNECTED SERVERS = 1 !CLIENTS CSC8633:1234:HCL:PILOT::29.966534:105.904030:10222:411:B738/L:410:ZUCK:FL50:ZUUU:FSD:1:1:1202:0:40:0:I:230:250:0:45:2:30:ZUCK:/r/ XSquawkBox:DCT:::::::20201105055020 !SERVERS FSD:localhost:City Country:FSD:1

@donggua2096
Copy link
Author

![DateStamp]05/11/2020 06:04
!GENERAL
VERSION = 1
RELOAD = 1
UPDATE = 20201105060418
CONNECTED CLIENTS = 1
CONNECTED SERVERS = 1
!CLIENTS
CSC8633:1234:HCL:PILOT::29.966534:105.904030:10222:411:B738/L:410:ZUCK:FL50:ZUUU:FSD:1:1:1202:0:40:0:I:230:250:0:45:2:30:ZUCK:/r/ XSquawkBox:DCT:::::::20201105055020
!SERVERS
FSD:localhost:City Country:FSD:1

@donggua2096
Copy link
Author

I sent it to your email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants