Condor flight notificator (v.1.2) telegram bot

Moderators: Uros, Tom, OXO

Post Reply
OolloO
Posts: 4
Joined: Tue Apr 21, 2020 12:29 pm

Condor flight notificator (v.1.2) telegram bot

Post by OolloO » Tue Apr 21, 2020 1:05 pm

Dear pilots!

Two days ago I made for myself new telegram bot for notifications on condor serverlist.
I think - it can be useful for other pilots.

Now the bot can track one event on server list - when count of active pilots on server increase up and more then 2 and
joining on server enabled - bot send notification about server name, scenery, total length and current count of pilots on server.

For example:
Server: Operation Lockdown C2
Scenery: Slovenia2 v:1.00
Pilots: 5/12 -> 101 km

This can help to know - what interesting tasks is active at this moment over all serverlist :D

Bot command list:
/start - starting of subscription.
/stop - temporary stopping subscription.
/maxlen - set maximum length of tasks to avoid big stream of notifications.

This bot can be found in telegram by short address: @condor_hot_bot or over this link https://t.me/condor_hot_bot

I will be very glad - if it can be useful for any pilots :D

Absolutelly free.
Thank you for your feedback.
Last edited by OolloO on Sat May 02, 2020 4:47 am, edited 2 times in total.
Image

Tom
Posts: 2284
Joined: Wed Aug 09, 2006 4:16 pm
Location: Czech Republic
Contact:

Re: Condor flight notificator (v.1.1) telegram bot

Post by Tom » Tue Apr 21, 2020 6:38 pm

My only comment on this any IP causing excessive traffic by trawling our serverlist will be instantly banned. We are facing enough heavy traffic with the current Covid19 issues. You have been warned.
Image

OolloO
Posts: 4
Joined: Tue Apr 21, 2020 12:29 pm

Re: Condor flight notificator (v.1.1) telegram bot

Post by OolloO » Tue Apr 21, 2020 9:18 pm

Image

User avatar
hitzi
Posts: 1653
Joined: Wed May 18, 2005 11:59 am
Location: Germany
Contact:

Re: Condor flight notificator (v.1.1) telegram bot

Post by hitzi » Wed Apr 29, 2020 9:41 pm

You can also use https://condor.hitziger.net and the raw output of the serverlist.

Description (old! some statements arn't true anymore - for example the official serverlist don't support raw output anymore)
RAW output of the alternate serverlist

The alternate serverlist from me supports also RAW output like the official serverlist. You have to call the
following url to get the RAW output:
http://condor.hitziger.net/serverlist/?output=raw

This output has the same syntax like the output of the official serverlist.
The alternate serverlist gives you some more possibilities to get more data. You can ask for extended raw
support, users of a server and text/events. Use the this url to see what's possible:
http://condor.hitziger.net/serverlist/?output=features

Every single feature is diveded by ||
The feature syntax is: feature=output value;extra variable(s)

Example
standard=raw ­> this is the standard raw output. You have to call the serverlist with the parameter /?output=raw
user=user;id;serverurl ­> this is the user output. You have to call the serverlist with the parameter /?output=user
and you need two additional variables. The ID and the serverurl. A complete call would look like /?
output=user&id=2&serverurl=JFMFZCMFFZMDRSRDFLH
You have to notify the serverlist that you want one of the extended features. You have to call the following url
to do this:
http://condor.hitziger.net/serverlist/?output=start

The output is a number which is the id you need for the extendedraw, user and talk output. You have to call
"start" only once. If you don't call a "output" within 10 minutes the ID will be deleted from the database and
you have to call "start" again.
Now that you have the ID you can call the extended raw output. Do this in the following way:
http://condor.hitziger.net/serverlist/? ... draw&id=xy (xy is the id you got from the "start"
call)

The "user" and "talk" output are used in the same way. You just have to tell from which server you want this
data by providing the server url without "cndr://". It should look like this:
http://condor.hitziger.net/serverlist/? ... ZMDRSRDFLH
(JFMFZCMFFZMDRSRDFLH is just a example)
http://condor.hitziger.net/serverlist/? ... ZMDRSRDFLH
Definition of the type field in the "user" output

Attention
All commands which needs the ID looks when the last call from you was and display only the changes until the
last call. The very first call outputs everything but after that it will show only changes. If you receive a empty
output it just means there are no changes since your last call. The "extendedraw" and the "user" output got a
field action. This field is defined in the following way:

0 = new
1 = changed data
2 = deleted

The as deleted marked entries are only 2 minutes in the database until they got really deleted. So don't use a
refreshintervall greater than 1:59 minute or you will maybe miss some deleted servers/users.

OolloO
Posts: 4
Joined: Tue Apr 21, 2020 12:29 pm

@condor_hot_bot (v.1.2) telegram bot

Post by OolloO » Fri May 01, 2020 4:57 pm

Thanks you hitzi !

I will try this later.

Now we can show our new version of @condor_hot_bot (1.2)

See the picture:

1) In web version of Telegram:
2020-05-01_17-19-42.png
2) In iPhone
IMG_0686.PNG
What's new in version 1.2:
1) Minor big fixed
2) No private servers
3) No servers with zero task length
4) Added server host country and added country flag

Subscribe please. Thank to all your feedback.
You do not have the required permissions to view the files attached to this post.
Image

Post Reply