iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
991 stars 552 forks source link

Possible Plugin: New Player "Warning" #434

Open yoshimo opened 11 years ago

yoshimo commented 11 years ago

there are new messages now: 23:11 Skoodge created their first Link. 23:11 Skoodge created their first Control Field maybe we could make use of this, collect them with "first seen" and add them to a tracking window, so one can ask them to join local communities, offer help and introduce them properly to the game

tb52s7 commented 11 years ago

Wouldn't this cause false positives for players visiting from areas you don't ordinarily view on your map? The server doesn't say "hey it's a new agent"; the script would have to figure it out and the script is only capable of determining data in areas it can see. Maybe I'm missing the big picture on this one.

Edit: Are you saying the server does provide "first" activity for new agents now?

vita10gy commented 11 years ago

There are new server messages that essentially do announce a new player. On Jul 19, 2013 7:49 PM, "tb527" notifications@github.com wrote:

Wouldn't this cause false positives for players visiting from areas you don't ordinarily view on your map? The server doesn't say "hey it's a new agent"; the script would have to figure it out and the script is only capable of determining data in areas it can see. Maybe I'm missing the big picture on this one.

— Reply to this email directly or view it on GitHubhttps://github.com/jonatkins/ingress-intel-total-conversion/issues/434#issuecomment-21285300 .

jonatkins commented 11 years ago

I can't say I've actually seen these new messages in IITC yet, although I have seen in-app screenshots of them. I need to check that the COMM parsing code isn't accidentally hiding them (can anyone confirm one way or the other?)

I'm not sure active tracking of these is a good idea though. However, I believe they are formatted in a unique way (no ":" on the name) so we could highlight them differently in the faction COMM tab, as we already strip out the colon for regular messages.

yoshimo commented 11 years ago

IITC seems to show them already: unbenannt

yoshimo commented 11 years ago
    ["689c2bc285794b938a000946b718806b.d", 1374268293075, {
        "plext": {
            "text": "[secure]  Skoodge created their first Control Field",
            "markup": [
                ["SECURE", {
                    "plain": "[secure] "
                }],
                ["TEXT", {
                    "plain": " "
                }],
                ["PLAYER", {
                    "plain": "Skoodge",
                    "guid": "f6df1b3223414cfb97548c3d90ae3b61.c",
                    "team": "RESISTANCE"
                }],
                ["TEXT", {
                    "plain": " created their first Control Field"
                }]
            ],
            "plextType": "PLAYER_GENERATED",
            "team": "RESISTANCE"
        }
    }],